/* ===== BASE STYLES ===== */
:root {
  /* Color Scheme */
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #fca311;
  --text-light: #f8f8f8;
  --text-muted: #b8b8b8;
  --bg-dark: #0f0f1a;
  --card-bg: #242424;
  --text-color:#000;
  --transition-speed: 0.3s;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  
  /* Typography */
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--bg-dark);
  font-size: 17px;
}

/* ===== COMPONENT STYLES ===== */

                      /* Navigation */
.nav-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--primary-color);
  color: var(--text-light);
  position: relative;
}

/* Desktop navigation styles (horizontal) */
.desktop-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 60px;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
text-decoration: none;
color: var(--text-light);
}
.logo img{
  width:120px ;
 padding-top: 10px;
}
.nav-links {
display: flex;
list-style: none;
position: relative;
z-index: 1000;
}

.nav-links li {
margin-left: 2rem;
}

.nav-links a {
color: var(--text-light);
text-decoration: none;
font-weight: 500;
transition: color var(--transition-speed);
padding: 0.5rem 0;
position: relative;
}

.nav-links a:not(.nav-cta):hover {
color: #f1c40f;
}

.nav-links a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: #f1c40f;
transition: width var(--transition-speed);
}

.nav-links a:not(.nav-cta):hover::after {
width: 100%;
}
.nav-links .nav-cta{
background: var(--accent);
padding-right:.625rem;
padding-left: .625rem;
border-radius: .375rem;
transition: 0.3s ease;
}
.nav-links .nav-cta:hover{
background: #ee9911;
box-shadow: 0 4px 12px rgba(252, 163, 17, 0.3);
}
/* Mobile navigation styles */
.mobile-nav-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  float: right;
}

.mobile-nav {
  position:fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background-color: var(--bg-dark);
  transition: right var(--transition-speed);
  z-index: 10000;
  padding: 1rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
  list-style: none;
  margin-top: 1rem;
}

.mobile-nav-links li {
  margin: 1rem 0;
}

.mobile-nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color var(--transition-speed);
}

.mobile-nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-speed), visibility var(--transition-speed);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}



/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 50vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl);
}

.hero-grid {
  display: flex;
  width: 100%;
  gap: var(--space-xl);
  align-items: center;
}
.hero-text {
  flex: 1;
}

.hero-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.hero-subheading {
  font-size: var(--text-xl);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.hero-img {
  flex: 1;
  border-radius: .375rem;
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  min-height:50vh;
  object-fit: cover;
  border-radius: .375rem;
}

/* Content Sections */
section {
  padding: var(--space-xl);
  max-width: 90%;
  margin: 0 auto;
}

section h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  color: var(--accent);
}

/* Testimonials */
.testimonials-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
    font-size: 2rem;
    position: relative;
}
.section-subheading{
  text-align: center;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    margin: 15px auto 0;
}

/* ===== TEAM SECTION ===== */
        .team-section {
            padding: var(--space-xl) 0;
            background-color: var(--primary);
        }

        .section-header {
            text-align: center;
            margin-bottom: var(--space-xl);
        }

        /* .section-title {
            font-size: 2.5rem;
            margin-bottom: var(--space-sm);
            position: relative;
            display: inline-block;
        } */
/* 
        .section-title:after {
            content: '';
            position: absolute;
            width: 60%;
            height: 4px;
            background-color: var(--accent);
            bottom: -10px;
            left: 20%;
        } */

        .section-subtitle {
            color: var(--text-muted);
            max-width: 700px;
            margin: 0 auto;
        }

        /* Team Grid - Desktop First */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--space-lg);
        }

        .team-member {
            background: var(--secondary);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform var(--transition-speed), box-shadow var(--transition-speed);
        }

        .team-member:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        .member-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            display: block;
        }

        .member-info {
            padding: var(--space-md);
            text-align: center;
        }

        .member-name {
            font-size: 1.25rem;
            margin-bottom: 0.25rem;
            color: var(--primary);
        }

        .member-position {
            color: var(--accent);
            font-weight: 600;
            margin-bottom: var(--space-sm);
            display: block;
        }

        .member-bio {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: var(--space-sm);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 0.75rem;
        }

        .social-links a {
            color: var(--primary);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition-speed);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        .social-links a:hover {
                    color: var(--accent);
                }
/* ===== MODAL STYLES ===== */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity var(--transition-speed);
        }

        .modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            background-color: var(--bg-dark);
            max-width: 800px;
            width: 90%;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            max-height: 90vh;
        }

        .modal-image {
            width: 40%;
            object-fit: cover;
        }

        .modal-info {
            width: 60%;
            padding: var(--space-lg);
            overflow-y: auto;
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 1.5rem;
            color: #fff;
            cursor: pointer;
            background: none;
            border: none;
        }


/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform var(--transition-speed);
    will-change: transform;
}

/* Individual Testimonial Card */
.testimonial-card {
    min-width: 100%;
    padding: 30px;
    background-color: #e0ddd3;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition-speed);
}

.testimonial-card.active {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #f1c40f;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-text::before {
    top: -15px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -25px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--accent);
}

.author-info h4 {
    color: var(--text-color);
    margin-bottom: 5px;
    text-align: left;
}

.author-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
    text-align: left;
}

/* Navigation Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #bdc3c7;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.dot.active {
    background-color: var(--accent);
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-arrow {
    background-color: var(--text-light);
    color: var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    pointer-events: all;
    transition: all var(--transition-speed);
}

.slider-arrow:hover {
    background-color: var(--accent);
    color: var(--text-light);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 8px;
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 var(--space-md);
}

.faq-answer.open {
  max-height: 500px;
  padding: 0 var(--space-md) var(--space-md);
}

.faq-answer p {
  color: var(--text-muted);
}

.arrow {
  transition: transform 0.3s ease;
}

.arrow.rotate {
  transform: rotate(180deg);
}

/* Contact Form */

.contact form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 5rem;
}

.contact input,
.contact textarea {
  padding: var(--space-sm);
  border-radius: 6px;
  border: 1px solid var(--text-muted);
  background: var(--card-bg);
  color: var(--text-light);
}

.contact textarea {
  min-height: 150px;
}

/* Base styles for the footer */
.modern-footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}

.footer-about p {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #ecf0f1;
  font-size: 20px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--accent);
  transition: 0.3s ease;;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.5s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #bdc3c7;
}
.footer-bottom a{
  text-decoration: none;
  color: #fff;
}

/* Buttons */
button {
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 163, 17, 0.3);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
  .hero-img {
    order: -1;
    max-width: 500px;
  }
  .swiper-slide {
      padding: var(--space-md);
    }
    .team-grid {
                grid-template-columns: repeat(3, 1fr);
            }
  }

  @media (max-width: 768px) {
  .desktop-nav {
      display: none;
  }
.hero-grid{
  flex-direction: column-reverse;
}
.hero-grid .hero-img{
  position: absolute;
  z-index: 0;
  top: 12%;
}
.hero-grid .hero-text{
  z-index: 1000;
  position: relative;
  margin-top:20%;

}
.mobile-nav-btn {
    display: block;
}

.mobile-nav {
    display: block;
}
.footer-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

.footer-heading {
        margin-bottom: 15px;
}

.footer-logo {
        font-size: 20px;
}
section{
  padding: var(--space-sm);
}
section h2{
  margin-bottom: var(--space-md);
  font-size: var(--space-md);
} 
.team-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: var(--space-md);
            }

            .member-image {
                height: 250px;
            }
}

 @media (max-width: 480px) {
            .team-grid {
                grid-template-columns: 1fr;
                max-width: 400px;
                margin: 0 auto;
            }

            .section-title {
                font-size: 2rem;
            }
        }

@media (max-width: 768px) {
.testimonial-card {
    min-width: 50%;
    padding: 40px;
}
  .mobile-nav {
    display: none;
}
}
@media (min-width: 992px) {
.testimonial-card {
    min-width: 33.333%;
}
 }