:root {
  --primary-color: #00A99D; /* Vibrant Teal */
  --secondary-color: #4A5568; /* Cool Gray */
  --background-dark: #060918; /* Deep Navy */
  --background-light: #F7FAFC;
  --text-light: #E2E8F0;
  --text-dark: #1A202C;
  --gradient-start: #060918;
  --gradient-end: #1a2a45;
  --font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

/* --- Override Bootswatch/Bootstrap --- */
.bg-light-subtle {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
  color: #fff;
}

.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
  padding: 12px 30px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 169, 157, 0.2);
}

.btn-primary:hover, .btn-primary:focus {
  background: #00c4b3;
  border-color: #00c4b3;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 169, 157, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #606c80;
    border-color: #606c80;
    transform: translateY(-2px);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 169, 157, 0.25);
    color: #fff;
}

/* --- Animations --- */
.background-animation .shape {
  position: absolute;
  background-color: rgba(0, 169, 157, 0.1);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}
.background-animation .shape:nth-child(1) { width: 400px; height: 400px; top: 10%; left: 10%; animation-duration: 25s; }
.background-animation .shape:nth-child(2) { width: 250px; height: 250px; top: 60%; right: 5%; animation-duration: 18s; animation-delay: 3s; }
.background-animation .shape:nth-child(3) { width: 150px; height: 150px; top: 30%; right: 40%; animation-duration: 30s; animation-delay: 1s; }

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navbar --- */
.navbar {
  transition: background-color 0.4s ease, padding 0.4s ease;
  padding: 1.5rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff !important;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
  color: rgba(255, 255, 255, 0.8) !important;
}

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

.navbar.navbar-scrolled {
  background-color: rgba(6, 9, 24, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.dropdown-menu {
    background-color: #1a2a45;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dropdown-item {
    color: var(--text-light);
}
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active {
    background-color: var(--primary-color);
    color: #fff;
}


/* --- Hero Section --- */
.hero-section {
  padding: 12rem 0;
  position: relative;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  overflow: hidden;
}

.hero-title {
  color: #fff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.hero-image {
    animation: fadeIn 1.5s ease-out;
}

/* --- Page Header --- */
.page-header {
    padding: 8rem 0 4rem 0;
    background: linear-gradient(135deg, var(--gradient-end) 0%, var(--gradient-start) 100%);
    text-align: center;
}

/* --- Sections & Cards --- */
.section-title {
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-light);
  opacity: 0.7;
  letter-spacing: 0.5px;
}

.feature-card, .service-card, .feature-card-alt {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-color);
  padding: 1rem;
}

.feature-card:hover, .service-card:hover, .feature-card-alt:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), #007a70);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.card-title {
    color: #fff;
}

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

.service-card img {
    border-radius: 12px 12px 0 0;
    height: 200px;
    object-fit: cover;
}

.cta-section {
    background: url(../images/placeholder.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    padding: 6rem 0;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6, 9, 24, 0.8);
}
.cta-section .container {
    position: relative;
    z-index: 2;
}


/* --- Footer --- */
.footer {
  background-color: #03050f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading {
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.footer-text, .footer-links a, .footer-contact-info span {
  color: var(--text-light);
  opacity: 0.7;
}
.footer-links a {
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: var(--primary-color);
  opacity: 1;
  padding-left: 5px;
}
.footer-contact-info i {
  color: var(--primary-color);
  margin-right: 10px;
}
.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.footer-contact-info a {
    text-decoration: none;
    color: var(--text-light);
    opacity: 0.7;
    transition: color 0.3s ease;
}
.footer-contact-info a:hover {
    color: var(--primary-color);
    opacity: 1;
}
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}
.footer-copyright {
  color: var(--text-light);
  opacity: 0.5;
  font-size: 0.9rem;
}

/* --- Cookie Consent --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a2a45;
    color: var(--text-light);
    padding: 1rem;
    z-index: 1050;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.cookie-consent-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}
.cookie-consent-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cookie-modal-content {
    background-color: var(--background-dark);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    width: 90%;
    max-width: 500px;
}
.cookie-modal-content .btn-close {
    filter: invert(1);
}

/* --- Misc Pages --- */
.legal-content h4 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(0, 169, 157, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}
.contact-details p {
    margin-bottom: 0;
}
.contact-details a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}
.contact-details a:hover {
    color: var(--primary-color);
}
.thank-you-icon i {
    font-size: 6rem;
    color: var(--primary-color);
}
.feature-card-alt .card-body {
    display: flex;
    align-items: flex-start;
}
.feature-card-alt .feature-icon {
    margin-right: 1.5rem;
    margin-bottom: 0;
}

/* Timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--background-dark);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.03);
    position: relative;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}
@media screen and (max-width: 768px) {
    .process-timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::after {
        left: 21px;
    }
}