:root {
  --primary-blue: #2563eb;
  --primary-orange: #ea580c;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --transition: 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--gray-900);
  background-color: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background-color: var(--white);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
		  height: 55px;              
		  width: 55px;               
		  border-radius: 55%;        
		  object-fit: cover;         
		  border: 1.5px solid #fff;    
		  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); 
		}

/* 
.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 18px;
}

.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-blue);
}
*/
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 500;
  transition: color var(--transition);
  font-size: 14px;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link-active {
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
}

.menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 24px;
  height: 2px;
  background-color: var(--gray-900);
}

/*moble nav  */

.mobile-nav {
            display: none;
            flex-direction: column;
            gap: 1rem;
            padding-bottom: 1rem;
        }

        .mobile-nav a {
            color: #ffffff;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .mobile-nav a:hover {
            color: #06b6d4;
        }

        @media (min-width: 768px) {
            nav {
                display: flex;
            }
            .menu-button {
                display: none !important;
            }
        }

        @media (max-width: 767px) {
            .menu-button {
                display: block;
            }
        }




/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  background-image: url("./public/images/hero_1.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  text-align: center;
  padding: 0 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--white);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

/* Services Section */
.services {
  background-color: var(--light-bg, #fafafa);
  padding: 60px 20px;
}

.services .section-header {
  text-align: center;
  margin-bottom: 40px;
}


.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
  padding: 10px;
}

.service-card {
  flex: 0 0 calc(33.333% - 16px);
  padding: 16px;
}

.service-card-inner {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 24px;
  text-align: center;
  height: 100%;
  transition: box-shadow var(--transition);
}

.service-card-inner:hover {
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

/* Image display */
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-inner h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.service-card-inner p {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.5;
}


.service-card h3 {
  font-size: 1.2rem;
  margin: 16px 0 8px;
}

.service-card p {
  font-size: 0.95rem;
  padding: 0 16px 20px;
  color: #555;
}

.carousel-btn {
  background: var(--accent-color, #004aad);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--accent-hover, #0066cc);
}






/* === Responsive Fixes for Services === */

/* Tablets */
@media (max-width: 992px) {
  .service-card {
    flex: 0 0 calc(50% - 15px);
  }

  .service-image {
    height: 200px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .carousel-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .carousel {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }

  .service-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    padding: 10px;
  }

  .service-card-inner {
    padding: 16px;
  }

  .service-image {
    max-height: 160px;
    aspect-ratio: 16/10;
    margin-bottom: 12px;
  }

  .service-card-inner h3 {
    font-size: 16px;
  }

  .service-card-inner p {
    font-size: 13px;
  }

  .carousel-btn {
    display: none;
  }
}

/* About Section */
.about {
  padding: 64px 0;
  background-color: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content h2 {
  font-size: 36px;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.about-content p {
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
}

.about-list svg {
  color: var(--primary-blue);
  flex-shrink: 0;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
}

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

/* Why Choose Us Section */
.why-choose {
  padding: 64px 0;
  background-color: var(--white);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-choose-card {
  padding: 32px;
  background-color: var(--gray-50);
  border-left: 4px solid var(--primary-blue);
  border-radius: 8px;
  transition: box-shadow var(--transition);
}

.why-choose-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-choose-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.why-choose-card p {
  color: var(--gray-700);
  line-height: 1.7;
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: #d1d5db;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--white);
  font-weight: bold;
  margin-bottom: 16px;
  font-size: 16px;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 16px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #60a5fa;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #60a5fa;
}


/* ===============================
   ✅ MOBILE OPTIMIZATION FIXES
================================= */

html, body {
  max-width: 100%;
  overflow-x: hidden; /* Prevents unwanted white bar */
}

/* HEADER */
@media (max-width: 768px) {
  .header-content {
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-button.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile Nav Overlay */
  .mobile-nav {
      display: none;
	  flex-direction: column;
	  align-items: center;
	  background-color: var(--white);
	  position: absolute;
	  top: 80px;
	  left: 0;
	  right: 0;
	  border-top: 1px solid #e5e7eb;
	  z-index: 999;
	  padding: 1rem 0;
  }

  .mobile-nav.show {
    display: flex;
  }

  .mobile-nav a {
	  color: var(--gray-900);
	  font-weight: 500;
	  text-decoration: none;
	  font-size: 16px;
	  padding: 8px 0;
  }
}

@media (max-width: 767px) {
  html, body {
    overflow-x: hidden;
  }

.menu-button.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-button.active span:nth-child(2) {
  opacity: 0;
}
.menu-button.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* HERO SECTION */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 6rem 1.5rem 4rem;
    background-position: center;
    background-size: cover;
    text-align: center;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
}

/* SERVICES */
@media (max-width: 768px) {
  .carousel-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .carousel {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }

  .service-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }

  .carousel-btn {
    display: none;
  }
}

/* ABOUT SECTION */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-image {
    height: 250px;
  }

  .about-list {
    align-items: center;
  }
}

/* WHY CHOOSE */
@media (max-width: 768px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-choose-card {
    padding: 24px;
  }
}

/* FOOTER */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
