/* Base Styles */
:root {
    --primary-color:    #111159;
    --primary-dark: #0a0a8f;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: #f77206d3;
    color: var(--primary-color);
    /* border: 1px solid #f77206d3; */
}

.btn-secondary:hover {
    background-color: #0a0a8f;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

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

#homeVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    /* min-height: 100%; */
    width: auto;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
    filter: brightness(0.5); /* Optional: darken video for text readability */
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    font-family: var(--font-secondary);
}

.logo span {
    color: var(--primary-color);
    color: #FF7D29;
} */

.logo {
     width: 400px;
    height: 50px;
    /* border-radius: 50%; */
    object-fit:contain;
    /* border: 3px solid var(--primary-color); */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    /* background-color: #f8fafc; */
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 120px);
}

.hero-content {
    flex: 1;
    margin-left: -65px;
    padding-right: 40px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.0rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    width: max-content;
}

.hero-title2 {
    font-size: 2.0rem;
    margin-top: -100px;
    line-height: 1.2;
    width: max-content;
}


.hero-subtitle {
    font-size: 1.2rem;
    /* color: var(--gray-color); */
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    position: relative;
    animation: fadeIn 1s ease;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(-5deg);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.scroll-indicator span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.3;
    animation: bounce 1.5s infinite ease-in-out;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Stats Section */
.stats {
    /* background-color: var(--primary-color); */
     background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.core-values-card {
   grid-column: 1 / -1;        /* Span the entire row */
  justify-self: center;       /* Center the card in that row */
  max-width: 700px;           /* Limit width for readability */
  text-align: left !important;
}


.core-values-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

.core-values-card li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
}


.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(3px);
}

/* Featured Services Section */
.featured-services {
    background-color: #f8fafc;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}



.featured-card {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.featured-content {
    padding: 30px;
    color: white;
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.featured-card:hover .featured-content {
    transform: translateY(0);
    opacity: 1;
}

.featured-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.featured-card p {
    margin-bottom: 20px;
}

/* About Section */
.about .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

.years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.label {
    font-size: 0.9rem;
    text-align: center;
}

.about-content {
    flex: 1;
}

.about-features {
    margin: 30px 0;
    text-align: justify;
}

.feature {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Process Section */
.process-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 97%;
    width: 2px;
    background-color: var(--light-gray);
    z-index: 1;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.step:hover .step-number {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.step-content {
    padding-top: 15px;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonial-slider {
    padding: 20px;
}

.testimonial-slide {
    padding: 20px;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.client-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.client-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.client-details p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content p::before {
    top: -15px;
    left: -10px;
}

.testimonial-content p::after {
    bottom: -25px;
    right: -10px;
}

.rating {
    color: var(--warning-color);
}

.client-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
    opacity: 0.7;
}

.client-logos img {
    height: 80px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-logos img:hover {
    filter: grayscale(0);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 600px;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact .container {
    display: flex;
    gap: 60px;
}

.contact-content {
    flex: 1;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.info-item {
  flex: 1 1 300px;
  display: flex;
  gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}



.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-col ul li a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #94a3b8;
}

.legal-links {
    display: flex;
    gap: 20px;
    
}

.legal-links a {
    color: #94a3b8;
    transition: var(--transition);
}

.legal-links a:hover {
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-title2 {
    font-size: 1.0rem;
    line-height: 1.4;
    padding: 0 10px;
    width: auto;
     margin-top: -100px;
  }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about .container {
        flex-direction: column;
    }
    
    .contact .container {
        flex-direction: column;
    }
}

@media (max-width:1366px){
        .hero-title2 {
    font-size: 1.5rem;
    line-height: 1.4;
    padding: 0 10px;
    width: auto;
     margin-top: -100px;
  }

    .hero-title {
    font-size: 2.2rem;
    line-height: 1.4;
    padding: 0 10px;
    width: auto;
  }
    
}



@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .hero-title2 {
    font-size: 1.0rem;
    line-height: 1.4;
    padding: 0 10px;
    width: auto;
     /* margin-top: -150px; */
  }

    .services-grid{
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .legal-links {
        justify-content: space-between;
        width: 100%;
    }

    .contact .container {
        flex-direction: column;
    }

    .info-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-item i {
    margin-left: 0 !important;
  }

  .info-item > div {
    margin-bottom: 15px;
  }
}




/* Swiper Styles */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--light-gray);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}


/* Add these styles to your existing CSS */

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    width: 80%;
    max-width: 1000px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #000;
}

.modal-body {
    padding: 20px;
}

/* Service-specific content styles */
.service-details h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.service-details img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-details p {
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: justify;
}

.service-features {
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* iamge popup */

.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 80vw;
  max-height: 80vh;
  overflow: auto;
}

.popup-content img {
  width: 100%;
  height: auto;
  display: block;
}

#closePopup {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.more-details{
   display: flex;
  justify-content: center;
  align-items: center;
  
}









/* Modern Slider Styles */
.modern-slider {
    position: relative;
    width: 80%;
    height: 50vh;
    min-height: 400px;
margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.modern-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease, transform 1.2s ease;
    transform: scale(1.02);
}

.modern-slider .slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.modern-slider .slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    color: white;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* Slider Pagination */
.slider-pagination {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-pagination .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-pagination .dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    z-index: 10;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: var(--primary-color);
    transition: width 0.1s linear;
}

/* Slider Content Animation */
.slide-content .container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    transition-delay: 0.3s;
}

.slide.active .slide-content .container {
    opacity: 1;
    transform: translateY(0);
}



#modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden; /* Locks background scroll */
}

#modalOverlay.active {
  display: flex;
}

.modal {
  background: #fff;
  width: 90%;
  max-width: 800px;
  max-height: 90vh; /* Important: prevents full overflow */
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: 80vh; /* 👈 Controls internal scroll */
}

/* Optional: Make scrollbars look nicer */
.modal-body::-webkit-scrollbar {
  width: 6px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 4px;
}

/* FuLL Mobile Responsive Code */
/* ------------------------------
   Mobile Responsive Fixes
   ------------------------------ */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

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

  .hero-content {
    text-align: center;
    padding: 20px 10px;
    margin-left: -5px;
  }

  .hero-title {
    font-size: 1.4rem;
    line-height: 1.4;
    padding: 0 10px;
    width: auto;
  }

 .hero-title2 {
    font-size: 1.0rem;
    line-height: 1.4;
    padding: 0 10px;
    width: auto;
     margin-top: -100px;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
  }

  .hero-buttons .btn {
    width: 90%;
    max-width: 300px;
    text-align: center;
    border-radius: 6px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    z-index: 1001;
  }

  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #000;
  }

  .navbar {
    position: relative;
    width:100%
  }
    .contact .container {
    flex-direction: column;
  }
}