/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
  background-color: transparent;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

header.header-inner {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

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

/* Desktop Menu */
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  position: relative;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: white;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: 10px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  list-style: none;
}

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

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.5rem;
  color: var(--color-text-main);
  font-weight: 400;
  white-space: nowrap;
}

.dropdown-menu a::after {
  display: none; /* Hide underline effect for dropdown items */
}

.dropdown-menu a:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-accent);
}

/* Sections */
section {
  padding: var(--spacing-section) 0;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to right, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 1) 100%);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
}

.about-text p {
  text-align: justify;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  height: 100%;
  min-height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  mix-blend-mode: color;
  opacity: 0.1;
  z-index: 1;
}

/* Services Section */
.services-section {
  background: linear-gradient(to bottom, #ffffff 0%, #f6f9fa 50%, #eef5f7 100%);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

/* Contact Section */
.contact-section {
  background: radial-gradient(circle at top left, var(--color-primary-dark), var(--color-primary));
  color: white;
}

.contact-section h2, .contact-section .section-subtitle, .contact-grid p {
  color: white;
}

.contact-section .section-subtitle {
  color: var(--color-accent-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* Footer */
footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo img {
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    display: none;
  }
  .navbar {
    padding: 0 1rem;
  }
  .logo img {
    height: 45px !important;
  }
  .nav-cta {
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
  }
  
  /* Hero Section */
  .hero {
    padding-top: 6rem;
    min-height: 80vh;
  }
  .hero-content h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }
  .hero-content .section-subtitle {
    font-size: 1rem !important;
  }
  .hero-bg::after {
    background: 
      linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 1) 100%);
  }
  .hero-content .btn {
    display: block;
    width: 100%;
    margin: 0 0 1rem 0 !important;
    text-align: center;
  }

  /* Typography Globals for Mobile */
  h2 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }
  h3 {
    font-size: 1.5rem !important;
  }
  p {
    font-size: 1rem !important;
  }
  
  /* Grids and Layout */
  .about-grid, .contact-grid, .footer-content, .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* About Section specific */
  .about-image {
    min-height: 250px;
  }
  
  /* Services grid mobile */
  .services-grid {
    margin-top: 2rem;
    gap: 1.5rem;
  }
  
  /* Sections Padding */
  section {
    padding: 3rem 0;
  }

  /* Footer */
  .footer-content {
    gap: 2rem;
    text-align: center;
  }
  .footer-logo {
    text-align: center;
  }
  .footer-content p {
    margin: 0 auto;
  }
}

