/* Global CSS - Consolidated styles for all pages */

:root {
  --brand-teal: #13bfc7;
  --brand-dark: #0e8a92;
  --brand-mid: #1ca6b3;
  --dark: #222;
  --light: #fff;
  --gray: #f4f4f4;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --rounded: 14px;
  --primary-bg: #0A2342;
  --secondary-bg: #102A43;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--gray);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fade effect for body */
body.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

/* Typography */
strong {
  color: var(--brand-teal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 1rem 0;
}

/* Navigation Styles */
.nav-container {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: top 0.3s;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-brand {
  flex-shrink: 0;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--brand-dark);
  text-decoration: none;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
}

.nav-menu li a:hover {
  color: var(--brand-dark);
}

.nav-menu li a i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

/* Services Dropdown */
.services-dropdown {
  position: relative;
}

.services-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.services-dropdown:hover a i,
.dropdown-menu:hover + a i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  min-width: 200px;
  width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  pointer-events: none;
  border: 1px solid #e9ecef;
  min-height: 50px;
  display: block;
}

/* Create a hover bridge between Services link and dropdown */
.services-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  z-index: 9998;
}

.dropdown-menu li {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #f8f9fa;
  color: var(--brand-dark);
  border-left-color: var(--brand-dark);
}

/* Desktop CTA */
.desktop-cta {
  display: flex;
  align-items: center;
}

.cta-button {
  background: linear-gradient(135deg, #007f80, #005f60);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 127, 128, 0.2);
}

.cta-button:hover {
  background: linear-gradient(135deg, #005f60, #004d4d);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 127, 128, 0.3);
  color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--brand-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle:hover .hamburger-line {
  background: #007f80;
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100dvh;
  background: #ffffff;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.4s ease;
  overflow-y: auto;
  z-index: 1000;
}

body.menu-open {
  overflow: hidden;
  height: 100%;
  touch-action: none;
  scroll-action: none;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: flex-end;
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.close-btn {
  font-size: 2rem;
  cursor: pointer;
  color: var(--brand-dark);
  background: none;
  border: none;
  padding: 0.5rem;
  line-height: 1;
}

.close-btn:hover {
  color: #007f80;
}

.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.mobile-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu li a {
  display: block;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu li a:hover {
  background: #f8f9fa;
  color: var(--brand-dark);
}

/* Mobile Services Dropdown */
.mobile-services-dropdown .dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-services-dropdown .dropdown-toggle i {
  transition: transform 0.3s ease;
}

.mobile-services-dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f8f9fa;
}

.mobile-services-dropdown.active .mobile-dropdown-menu {
  display: block;
}

.mobile-dropdown-menu li a {
  padding-left: 3rem;
  font-size: 1rem;
  color: #666;
}

.mobile-dropdown-menu li a:hover {
  color: var(--brand-dark);
}

.mobile-nav-footer {
  padding: 1.5rem;
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  color: #007f80;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
  background: #007f80;
  color: #fff;
  transform: translateY(-2px);
}

.mobile-cta-button {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #007f80, #005f60);
  color: #fff;
  text-decoration: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-cta-button:hover {
  background: linear-gradient(135deg, #005f60, #004d4d);
  transform: translateY(-2px);
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-content {
    padding: 1rem 1.5rem;
  }
  
  .logo {
    font-size: 1.3rem;
  }
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none;
  }
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--brand-mid);
}

/* Hero Section Base */
.hero {
  background: linear-gradient(to right, var(--primary-bg), var(--secondary-bg));
  color: var(--light);
  text-align: center;
  padding: 6rem 1rem 5rem 1rem;
  position: relative;
  overflow: hidden;
  margin-top: 75px;
}

.hero-logo {
  width: 220px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15)) brightness(1.05);
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  position: relative;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Common Button Styles */
.cta-btn {
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-dark));
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

.cta-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 191, 199, 0.3);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.py-5 {
  padding: 3rem 0;
}

/* Animation Classes */
[data-aos] {
  pointer-events: none;
}

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