@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary: #125E90; /* Dark Blue from Logo */
  --primary-light: #1A74B0;
  --secondary: #4495C8; /* Light Blue from Logo Swoosh */
  --secondary-hover: #5BA6D6;
  --text-dark: #1A1A1A;
  --text-light: #4A5568;
  --bg-light: #F8F9FA;
  --white: #FFFFFF;
  --border-color: #E2E8F0;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Utilities */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body.dark-theme {
  --text-dark: #F8F9FA;
  --text-light: #A0AEC0;
  --bg-light: #121212;
  --white: #1E1E1E;
  --border-color: #2D3748;
}

body.dark-theme h1, body.dark-theme h2, body.dark-theme h3, body.dark-theme h4, body.dark-theme h5, body.dark-theme h6 {
  color: #F8F9FA;
}

body.dark-theme p, body.dark-theme span, body.dark-theme li, body.dark-theme a:not(.btn):not(.nav-link) {
  color: #E2E8F0;
}

body.dark-theme .text-dark {
  color: #F8F9FA !important;
}

body.dark-theme .text-light {
  color: #A0AEC0 !important;
}

body.dark-theme .btn-primary,
body.dark-theme .btn-secondary,
body.dark-theme .btn-outline {
  color: #FFFFFF !important;
}

body.dark-theme .header {
  background: var(--white);
}

body.dark-theme .card {
  background: var(--white);
}

.theme-toggle-container {
    display: inline-flex;
    gap: 0.25rem;
    align-items: center;
    background: var(--bg-light);
    padding: 0.25rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-right: 1rem;
}

.theme-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--box-shadow);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h2 {
  font-size: 34px;
}

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

ul {
  list-style: none;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section-padding {
  padding: var(--space-xl) 0;
}

.text-center {
  text-align: center;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  padding: 0.2rem 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 80px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 50px;
}

.logo span {
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-link {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-link:hover {
  color: var(--secondary);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-family: var(--font-heading);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn-secondary {
  background-color: #cba346;
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #d8b157;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Hero Section */
.hero {
  height: 70vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  margin-top: 80px; /* Offset for sticky header */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  color: var(--white);
}

/* Inner pages have text-center wrapping the hero-content */
.text-center .hero-content {
  max-width: 1000px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: var(--space-sm);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

.hero p:last-child {
  margin-bottom: 0;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Stretched link to make the entire card clickable */
.card a.text-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

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

.card-img-wrapper {
  height: 200px;
  margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) var(--space-md);
  overflow: hidden;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--text-light);
  flex-grow: 1;
  margin-bottom: var(--space-sm);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: var(--box-shadow-hover);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

/* Footer */
.footer {
  background-color: #125e90;
  color: #FFFFFF !important;
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer h3 {
  color: #FFFFFF !important;
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.footer p {
  color: #CBD5E1;
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: #CBD5E1;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  font-size: 0.9rem;
}

/* CTA Banner */
.cta-banner {
  background-color: #000000;
  padding: var(--space-lg) 0;
  text-align: center;
}

.cta-banner h2 {
  color: #FFFFFF !important;
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: #FFFFFF !important;
}

.cta-banner .btn-outline {
  background-color: transparent !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}

.cta-banner .btn-outline:hover {
  background-color: #FFFFFF !important;
  color: #000000 !important;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
}

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

/* Related Services */
.related-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.related-services-list li a {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.related-services-list li a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateX(5px);
}

.related-services-list li a::before {
  content: '\f105'; /* FontAwesome right angle bracket */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 10px;
  color: var(--secondary);
  transition: var(--transition);
}

.related-services-list li a:hover::before {
  color: var(--white);
}

/* Trust Section */
.trust-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}


/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: var(--border-radius-md);
    padding: 0.5rem 0;
    border-top: 3px solid var(--primary);
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-item {
    color: var(--text-dark);
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    display: block;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}
.dropdown-item:last-child {
    border-bottom: none;
}
.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    padding-left: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .logo img { height: 60px; }
  h1 { font-size: 34px !important; }
  h2 { font-size: 26px !important; }
  .section-padding { padding: 3rem 0 !important; }
  .nav-menu, .header-contact { display: none; }
  .mobile-toggle { display: block; }

  .dropdown-menu {
      position: static;
      display: none;
      box-shadow: none;
      border-top: none;
      padding-left: 1rem;
      background-color: transparent;
  }
  .dropdown.active .dropdown-menu {
      display: block;
  }
  .dropdown:hover .dropdown-menu {
      display: none;
  }
  .dropdown.active:hover .dropdown-menu {
      display: block;
  }
  .dropdown {
      width: 100%;
  }
  .dropdown > .nav-link {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
  }

  
  

  /* Mobile Menu Active State */
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: var(--space-md);
    box-shadow: var(--box-shadow);
    align-items: flex-start;
  }
  
  .header-contact.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: transparent;
    padding: 1.5rem 0 0 0;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    box-shadow: none;
  }

  .grid-4 { 
    gap: 0.5rem; 
  }
  .grid-4 .card {
    padding: 1rem 0.5rem;
  }
  .grid-4 h4 {
    font-size: 1.1rem;
  }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  
  .hero {
    height: auto;
    padding: var(--space-xl) 0;
    text-align: center;
    margin-top: 65px; /* Adjust offset for mobile header */
  }
  
  .hero-content { margin: 0 auto; }
  .hero-content p { font-size: 16px !important; }
  .hero-btns { justify-content: center; flex-direction: column; }
  
  .cta-banner .btn {
    display: block;
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }
}

/* Utility Classes */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--white); }

/* Scroll Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, visibility;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}


/* Sticky Side Buttons */
.sticky-side-buttons {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.sticky-btn {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white !important;
  padding: 20px 10px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0 8px 8px 0; /* Becomes top-left/bottom-left physically after rotation */
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 2px 0 10px rgba(0,0,0,0.2);
  letter-spacing: 1px;
}

.sticky-btn:hover {
  padding-bottom: 30px; /* Creates a slide-out effect */
}

.sticky-btn i {
  font-size: 1.3rem;
  /* Icons rotated 90deg inline to face left instead of down */
}

.sticky-call {
  background-color: var(--primary);
}

.sticky-wa {
  background-color: #00b900;
}

.whatsapp-float {
  display: none !important;
}

@media (max-width: 768px) {
  .sticky-side-buttons {
    transform: translateY(-50%) scale(0.8);
    right: -5px;
  }
}

/* Dark Theme Overrides */
body.dark-theme .footer {
  background-color: #121212 !important;
}
body.dark-theme .premium-services-section {
  background-color: #000000 !important;
}
