:root {
  --primary-bg: #0A0E1A; /* Deep navy */
  --secondary-bg: #1A202C; /* Dark charcoal */
  --light-bg: #f8f9fa; /* Off-white for light sections */
  --accent-color: #00F5D4; /* Vibrant teal/mint */
  --accent-hover: #00e0c3;
  --text-light: #F0F2F5; /* Light gray for text on dark bg */
  --text-dark: #1A202C; /* Dark charcoal for text on light bg */
  --text-secondary-light: #A0AEC0; /* Lighter gray for subtitles on dark */
  --text-secondary-dark: #4A5568; /* Gray for subtitles on light */
  --border-color: rgba(255, 255, 255, 0.1);
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --border-radius: 12px;
  --card-bg: #1F2937;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--primary-bg);
  color: var(--text-light);
  line-height: 1.7;
}

#animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, var(--primary-bg) 0%, #111827 100%);
  overflow: hidden;
}

/* Override Bootswatch default colors */
.bg-light-subtle {
    background-color: var(--light-bg) !important;
    color: var(--text-dark) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

.text-secondary {
    color: var(--text-secondary-dark) !important;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent-color), #00c7b1);
  border: none;
  color: var(--text-dark) !important;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 245, 212, 0.2);
}

.btn-primary:hover, .btn-primary:focus {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 245, 212, 0.4);
  background: linear-gradient(45deg, var(--accent-hover), #00F5D4);
}

.cta-button {
    font-size: 1.1rem;
    padding: 15px 35px;
}

/* Navbar */
.navbar {
  background-color: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: background-color 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(10, 14, 26, 0.9);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light) !important;
}

.nav-link {
  color: var(--text-secondary-light) !important;
  font-weight: 600;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  padding: 180px 0 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary-bg) 50%, rgba(0, 245, 212, 0.05) 100%);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary-light);
  max-width: 550px;
  margin-bottom: 2rem;
}

.hero-image {
    border: 3px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}


/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.py-5 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}


/* Service Cards */
.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: all 0.3s ease-in-out;
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-top-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.card-text {
    color: var(--text-secondary-light);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color), #00c7b1);
  color: var(--text-dark);
  font-size: 1.8rem;
}

/* About Section */
.about-section img {
    border: 5px solid white;
}

/* Page Headers (for internal pages) */
.page-header-section {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(160deg, var(--primary-bg) 50%, rgba(0, 245, 212, 0.05) 100%);
}
.page-title { font-size: 3rem; font-weight: 800; }
.page-subtitle { font-size: 1.2rem; color: var(--text-secondary-light); }

/* Service Details */
.service-process-list .icon-circle-small, .contact-info-card .icon-circle-small {
    width: 45px;
    height: 45px;
    background-color: rgba(0, 245, 212, 0.1);
    color: var(--accent-color);
    font-size: 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-card {
    background-color: white;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.sidebar-title { color: var(--text-dark); }
.sidebar-list li {
    color: var(--text-secondary-dark);
    margin-bottom: 0.8rem;
}
.sidebar-list i { color: var(--accent-color); }

/* Contact page */
.form-control {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    color: #212529;
}
.form-control:focus {
    background-color: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 245, 212, 0.25);
    color: #212529;
}

.contact-info-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.contact-info-title { color: var(--text-dark); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.2rem;}
.contact-info-text, .contact-info-text a {
    color: var(--text-secondary-dark);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-info-text a:hover { color: var(--accent-color); }

/* Thank you page */
.thank-you-section {
    min-height: calc(100vh - 160px); /* Adjust based on footer height */
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-circle-large {
    width: 100px;
    height: 100px;
    font-size: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), #00c7b1);
    color: var(--text-dark);
}


/* Footer */
.footer-section {
  background-color: var(--secondary-bg);
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary-light);
}
.footer-heading {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.footer-text {
  font-size: 0.9rem;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--text-secondary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent-color);
}
.footer-divider {
  border-color: var(--border-color);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}
.footer-copyright {
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-target {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-target.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in { animation: fadeIn 1s ease-out forwards; opacity: 0; }
.animate-fade-in-delay1 { animation: fadeIn 1s 0.3s ease-out forwards; opacity: 0; }
.animate-fade-in-delay2 { animation: fadeIn 1s 0.6s ease-out forwards; opacity: 0; }
.animate-fade-in-delay3 { animation: fadeIn 1s 0.9s ease-out forwards; opacity: 0; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    color: var(--text-light);
    padding: 1.5rem;
    z-index: 1050;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    border-top: 1px solid var(--border-color);
    transition: transform 0.5s ease-in-out;
    transform: translateY(100%);
}

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

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

.cookie-consent-text {
    flex-grow: 1;
    margin-right: 1rem;
}

.cookie-consent-actions button {
    margin-left: 0.5rem;
}

.cookie-settings-modal .modal-content {
    background-color: var(--secondary-bg);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}
.cookie-settings-modal .modal-header {
    border-bottom: 1px solid var(--border-color);
}
.cookie-settings-modal .modal-footer {
    border-top: 1px solid var(--border-color);
}
.cookie-settings-modal .form-switch .form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.cookie-settings-modal .form-check-input:disabled {
    background-color: var(--text-secondary-dark);
    border-color: var(--text-secondary-dark);
}
.cookie-settings-modal .form-check-label {
    color: var(--text-light);
}

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