/* Base Styles */
:root {
  --primary: #0B2545;
  --secondary: #13315C;
  --accent: #EF8354;
  --highlight: #8B1E3F;
  --bg-light: #F8F9FA;
  --bg-dark: #134074;
  --text-dark: #212529;
  --text-light: #F8F9FA;
  --alert: #D8315B;
  --success: #1E9E74;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--highlight);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-light);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent);
}

.btn-secondary {
  background-color: var(--primary);
  color: var(--text-light);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--primary);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--text-light);
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  background-color: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.navbar-scrolled {
  padding: 0.5rem 0;
  background-color: rgba(248, 249, 250, 0.98);
  box-shadow: var(--shadow-lg);
}

.navbar-brand img {
  height: 40px;
  transition: var(--transition);
}

.navbar-scrolled .navbar-brand img {
  height: 35px;
}

.navbar-nav .nav-link {
  color: var(--primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent);
}

.navbar-toggler {
  border: none;
  outline: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
  height: 20px;
  width: 30px;
  display: inline-block;
}

.navbar-toggler-icon:before,
.navbar-toggler-icon:after,
.navbar-toggler-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.navbar-toggler-icon:before {
  top: 0;
}

.navbar-toggler-icon span {
  top: 50%;
  transform: translateY(-50%);
}

.navbar-toggler-icon:after {
  bottom: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: translateY(9px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 10rem 0 5rem;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(11, 37, 69, 0.9), rgba(19, 49, 92, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(248, 249, 250, 0.9);
  margin-bottom: 2.5rem;
}

/* Trust & Certifications */
.trust-bar {
  background-color: var(--primary);
  padding: 1.5rem 0;
  color: var(--text-light);
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-badge i {
  font-size: 2rem;
  color: var(--accent);
}

.trust-badge span {
  font-weight: 500;
  font-size: 0.9rem;
}

/* Key Offerings */
.offerings {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent);
}

.offering-card {
  padding: 2rem;
  border-radius: var(--radius);
  background-color: #fff;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.offering-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--accent);
  transition: var(--transition);
}

.offering-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.offering-card:hover:before {
  width: 10px;
}

.offering-card h3 {
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.offering-card p {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.offering-card .btn {
  margin-top: auto;
}

.offering-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* Database Specific Blocks */
.database-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.database-card {
  background-color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.database-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.database-card-header {
  padding: 1.5rem;
  background-color: var(--primary);
  color: var(--text-light);
}

.database-card-header h3 {
  color: white;
}

.database-card-body {
  padding: 1.5rem;
}

.database-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.database-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.database-card ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Performance Benchmarking */
.benchmarking {
  padding: 5rem 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.benchmarking h2 {
  color: var(--text-light);
}

.benchmarking-steps {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.benchmarking-step {
  flex: 1 1 300px;
  margin: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--radius);
  position: relative;
}

.benchmarking-step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.benchmarking-step h3 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Call to Action */
.cta {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.contact-form {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary);
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: var(--radius);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(239, 131, 84, 0.25);
}

textarea.form-control {
  height: auto;
  min-height: 150px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.iti {
  width: 100%;
}

/* Technical Summary */
.tech-summary {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.tech-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.tech-spec {
  flex: 1 1 300px;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tech-spec h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.tech-spec h3 i {
  color: var(--accent);
}

.tech-spec p {
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer h4:after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(248, 249, 250, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding-left: 0;
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 0.75rem;
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 249, 250, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(248, 249, 250, 0.6);
}

.footer-bottom .country-lang {
  display: inline-block;
  margin-left: 1rem;
  padding: 0.25rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 1rem;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: var(--transition);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-settings {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cookie-settings.show {
  opacity: 1;
  visibility: visible;
}

.cookie-settings-content {
  background-color: #fff;
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.cookie-settings-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.cookie-category:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cookie-category-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
}

.cookie-category-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.cookie-category-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-category-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 34px;
}

.cookie-category-toggle .slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

.cookie-category-toggle input:checked + .slider {
  background-color: var(--accent);
}

.cookie-category-toggle input:focus + .slider {
  box-shadow: 0 0 1px var(--accent);
}

.cookie-category-toggle input:checked + .slider:before {
  transform: translateX(30px);
}

.cookie-category-description {
  font-size: 0.9rem;
  color: #666;
}

.cookie-settings-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* Responsive */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .hero h1 {
    font-size: 4.5rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .trust-badges {
    gap: 1rem;
  }
  
  .trust-badge {
    flex-basis: 45%;
    justify-content: center;
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 7rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .trust-badge {
    flex-basis: 100%;
  }
  
  .offering-card {
    margin-bottom: 2rem;
  }
  
  .database-card {
    margin-bottom: 2rem;
  }
  
  .benchmarking-step {
    flex-basis: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 6rem 0 2rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* Page-specific styles */
.page-header {
  padding: 8rem 0 3rem;
  background-color: var(--primary);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(11, 37, 69, 0.95), rgba(19, 49, 92, 0.8));
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item {
  color: rgba(248, 249, 250, 0.7);
}

.breadcrumb-item.active {
  color: var(--accent);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(248, 249, 250, 0.5);
}

.page-content {
  padding: 4rem 0;
}

/* Corporate Responsibility */
.responsibility-section {
  margin-bottom: 4rem;
}

.responsibility-section:last-child {
  margin-bottom: 0;
}

.responsibility-title {
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.responsibility-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 80%;
  background-color: var(--accent);
}

/* Technical Specs */
.specs-section {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #eee;
}

.specs-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.specs-table th,
.specs-table td {
  padding: 1rem;
  border: 1px solid #eee;
}

.specs-table th {
  background-color: var(--primary);
  color: var(--text-light);
  text-align: left;
}

.specs-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.db-optimization {
  padding: 2rem;
  background-color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.db-optimization h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.db-optimization h3 i {
  color: var(--accent);
}

.db-features {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.db-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: var(--radius);
}

.db-feature i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

/* Contact Page */
.contact-info {
  padding: 2rem;
  background-color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.contact-details {
  list-style: none;
  padding-left: 0;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.contact-details i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.map-container {
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Thank You Page */
.thank-you {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.thank-you h1 {
  margin-bottom: 1.5rem;
}

.thank-you p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Privacy, Terms, Cookie Policy Pages */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.policy-section h3 {
  color: var(--secondary);
  margin: 1.5rem 0 1rem;
}

.policy-list {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-list li {
  margin-bottom: 0.75rem;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.policy-table th,
.policy-table td {
  padding: 0.75rem 1rem;
  border: 1px solid #eee;
}

.policy-table th {
  background-color: var(--primary);
  color: var(--text-light);
}

.policy-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.policy-update {
  font-style: italic;
  color: #666;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* Modal Dialog */
.modal-dialog {
  max-width: 500px;
}

.modal-content {
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  background-color: var(--primary);
  color: var(--text-light);
  border-bottom: none;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.modal-title {
  color: var(--text-light);
}

.modal-header .btn-close {
  color: var(--text-light);
  filter: invert(1) brightness(200%);
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  border-top: none;
  padding: 1rem 2rem 2rem;
}

/* AOS Animations */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Custom animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fade-in.show {
  opacity: 1;
}

/* Swiper customization */
.swiper-pagination-bullet {
  background-color: var(--accent);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent);
}

.swiper-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}