/* Base Styles */
:root {
  --primary-color: #2e2e38;
  --secondary-color: #0077b6;
  --accent-color: #00b4d8;
  --text-color: #333333;
  --text-light: #666666;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --gray-light: #f0f0f0;
  --gray: #dddddd;
  --success: #28a745;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: inherit;
    margin: 0 auto;
    padding: 0 40px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #005f92;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Header Styles */
header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 215px;
}

.navbar {
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.sltd {
  color: var(--accent-color);
}

.nav-link.sltd::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.contact-email {
  display: flex;
  align-items: center;
  margin-left: 40px;
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.contact-email:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.contact-email i {
  margin-right: 8px;
  color: var(--accent-color);
}

.contact-email a {
  color: var(--white);
}

.contact-email a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Enhanced Hero Section with Auto-Slider using IMG tags */
.hero {
    position: relative;
    min-height: 500px;
    color: var(--white);
    display: flex;
    align-items: center;
    text-align: left;
    overflow: hidden;
    height: calc(100vh - 99px);
}



/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.floating-whatsapp a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.floating-whatsapp a:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp i {
  font-size: 1.5rem;
}
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none; /* ADD THIS */
  z-index: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto; /* ADD THIS */
  z-index: 1;
}


.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  display: none;
}

.hero-content {
    position: absolute;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    padding-top: 0;
    padding-right: 445px;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-content::before {
        content: '';
        position: absolute;
        background: #0000005c;
        height: 100%;
        width: 100%;
        left: 0;
    }
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
  font-family: "Montserrat", sans-serif;
  position: relative;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 300;
  position: relative;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 300;
  opacity: 0.9;
  position: relative;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  position: relative;
}

/* Clean Centered Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.indicator:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.indicator.active {
  background-color: var(--accent-color);
  transform: scale(1.2);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  height: 70px;
  width: 70px;
  line-height: 70px;
  border-radius: 50%;
  background-color: rgba(0, 119, 182, 0.1);
  margin: 0 auto 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--text-light);
}

/* Content Sections */
.content-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-family: "Montserrat", sans-serif;
}

.section-description {
  max-width: 800px;
  margin: 20px auto 0;
  color: var(--text-light);
  font-size: 16px;
}

.section-divider {
  height: 4px;
  width: 70px;
  background-color: var(--secondary-color);
  margin: 0 auto;
}

/* Insights Section */
.insights-section {
  background-color: var(--background-light);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.insight-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.insight-image {
  height: 200px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.insight-card:hover .insight-image img {
  transform: scale(1.05);
}

.insight-content {
  padding: 25px;
}

.insight-date {
  display: block;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.insight-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.insight-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.read-more {
  color: var(--secondary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  border-bottom: 3px solid var(--secondary-color);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin: 15px 0 20px;
  padding: 0;
}

.service-features li {
  padding: 5px 0;
  color: var(--text-light);
  font-size: 14px;
  position: relative;
  padding-left: 20px;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.service-link {
  color: var(--secondary-color);
  font-weight: 500;
  position: relative;
}

.service-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.service-link:hover::after {
  width: 100%;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: self-start;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  height: 642px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 40px 30px 30px;
  color: var(--white);
}

.overlay-content h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.overlay-content p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.about-text {
  padding-left: 20px;
}

.about-intro {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.4;
}

.about-text p {
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1rem;
}

.about-specializations {
  list-style: none;
  margin: 25px 0;
  padding: 0;
}

.about-specializations li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

.about-specializations li i {
  color: var(--secondary-color);
  margin-right: 12px;
  margin-top: 4px;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-cta {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary-outline:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a1a24 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 70px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 10px;
  color: var(--accent-color);
  margin-top: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

.footer-locations {
  margin-top: 15px;
}

.footer-locations p {
  margin-bottom: 5px;
  font-size: 13px;
}
/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown menu - hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: 100%;
  left: 0;
}

/* Dropdown item styling */
.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #2e2e3817;
}

/* Hover effect on items */
.dropdown-item:hover {
  background-color: #f0f0f0;
}

/* Show the dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.about-hero {
    background: url(images/about-us-banner.jpg) no-repeat center center / cover;
    height: 35vh;
    min-height: inherit;
    background-color: #007fff;
}




/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

      .hero-content {
        position: absolute;
        z-index: 2;
        animation: fadeInUp 1s ease-out;
        padding-top: 0;
        padding-right: 0;
        text-align: left;
        bottom: 0;
        padding-bottom: 0;
        padding-right: 20px;
        top: 0;
        display: flex;
        align-items: baseline;
        justify-content: center;
        flex-direction: column;
    }
    .hero h1 {
        font-size: 28px;
        position: relative;
    }
        .hero-subtitle {
        position: relative;
    }
        .hero-buttons {
        position: relative;
    }
 .about-hero .hero-content {
    padding-bottom: 35px;
    padding-right: 20px;
  }
  .slide-indicators {
    bottom: 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-text {
    padding-left: 0;
  }

  .about-image {
    height: 400px;
  }

  /* .hero-description {
    display: none;
  } */

  header {
    padding: 5px 0;
    top: 0;
    padding-top: 10px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 30px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .navbar.show {
    right: 0;
  }

  nav {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .nav-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  .contact-email {
    margin: 20px 0 0;
    width: 100%;
    justify-content: center;
    display: none;
  }

  .hero {
    height: 65vh;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .slide-indicators {
    bottom: 15px;
    gap: 10px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-section {
    padding: 35px 0;
  }

  .about-image {
    height: 300px;
  }

  .image-overlay {
    padding: 20px;
  }

  .overlay-content h4 {
    font-size: 1.2rem;
  }

  .hero-overlay {
    background: linear-gradient(135deg, rgb(0 0 0 / 35%) 0%, rgb(0 0 0 / 54%) 100%);
    z-index: 1;
    display: none;
  }
.hero-slide img {
  position: relative;
}
/* .hero-slide img::before {
  content: '';
  position: absolute;
  background: #0000004f;
  height: 100%;
  width: 100%;
  left: 0;
} */
.hero-content::before {
    content: '';
  position: absolute;
  background: #0000005c;
  height: 100%;
  width: 100%;
  left: 0;
}
  .about-cta {
    flex-direction: column;
  }

  .about-cta .btn {
    width: 100%;
    text-align: center;
  }

section.hero.about-hero {
          height: 35vh;
}
    .contact-hero .hero-content {
        padding-bottom: 35px;
        padding-right: 20px;
    }
    .header-container {
    padding: 0 20px;
}

  .floating-whatsapp {
    bottom: 1rem;
    right: 1rem;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 18px;
    padding-bottom: 0;
    margin-bottom: 15px;
    line-height: inherit;
    font-weight: 700;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 10px;
    justify-content: start;
    margin-top: 0;
  }

  .btn {
    width: max-content;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .insights-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .slide-indicators {
    bottom: 10px;
    gap: 8px;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }
}
