/* ===============================
   Global Reset & Variables
================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* prevent horizontal scroll */
}
:root {
    --primary-blue: #2563eb;
    --secondary-green: #10b981;
    --light-blue: #dbeafe;
    --light-green: #d1fae5;
    --white: #ffffff;
    --dark-gray: #374151;
    --light-gray: #f3f4f6;
    --medium-gray: #e5e7eb;
}

body {
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Utility Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ===============================
   Hero Section
================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero img {
    position: absolute;
    inset: 0;
    margin-top: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg, #6e8efb, #a777e3); /* blue overlay */

}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: var(--white);
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--secondary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===============================
   slider Section
================================= */

    .hero-section {
        width: 100%;
          
            margin: 0px ;
            padding: 0px;
            position: relative;
        }

        .slider-container {
            position: relative;
            overflow: hidden;
            border-radius: 0px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            height: 500px;
        }

        .slider {
            display: flex;
            transition: transform 0.5s ease-in-out;
            height: 100%;
        }

        .slide {
            min-width: 100%;
            display: flex;
            position: relative;
        }

        .image-container {
            flex: 1;
            overflow: hidden;
        }

        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .slide:hover .image-container img {
            transform: scale(1.05);
        }

        .content {
            flex: 1;
            background: linear-gradient(180deg, #6e8efb, #a777e3);
            color: white;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .content h2 {
            font-size: 2.2rem;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .content p {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .cta-button {
            display: inline-block;
            background: #fff;
            color: #6e8efb;
            padding: 14px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            width: fit-content;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .cta-button:hover {
            background: #f5f5f5;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        .slider-controls {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .slider-dot.active {
            background: #fff;
            transform: scale(1.2);
        }

        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.8);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s ease;
            font-size: 1.5rem;
            color: #6e8efb;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .arrow:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }

        .arrow-left {
            left: 20px;
        }

        .arrow-right {
            right: 20px;
        }


/* ===============================
   Intro Section
================================= */
.intro {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.intro-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===============================
   Services Section
================================= */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

/* ===============================
   Trust Badges
================================= */
.trust-badges {
    padding: 60px 0;
    background: var(--white);
}

.badges-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.badge {
    text-align: center;
    max-width: 250px;
}

.badge-icon {
    font-size: 2.5rem;
    color: var(--secondary-green);
    margin-bottom: 15px;
}

.badge h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

/* ===============================
   Why Choose Us
================================= */
.why-choose {
    padding: 80px 0;
    background: var(--light-green);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* ===============================
   Testimonials
================================= */
/* Testimonials */
        .testimonials {
            padding: 80px 0;
            background-color: var(--white);
        }

        .testimonial-slider {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            overflow: hidden;
        }

        .testimonial-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .testimonial {
            min-width: 100%;
            padding: 30px;
            background-color: var(--light-blue);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .testimonial-content {
            padding: 20px;
            background-color: var(--white);
            border-radius: 10px;
            margin-bottom: 20px;
            position: relative;
        }

        .testimonial-content:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 40px;
            width: 30px;
            height: 30px;
            background-color: var(--white);
            transform: rotate(45deg);
        }

        .testimonial-author {
            display: flex;
            align-items: center;
        }

        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 15px;
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-details h4 {
            color: var(--primary-blue);
            margin-bottom: 5px;
        }

        .author-details p {
            color: var(--dark-gray);
            font-size: 0.9rem;
        }

        .testimonial-controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
        }

        .testimonial-controls button {
            background-color: var(--primary-blue);
            color: var(--white);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .testimonial-controls button:hover {
            background-color: var(--secondary-green);
        }

/* ===============================
   CTA Section
================================= */
.cta {
    padding: 100px 20px;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-green));
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta .btn {
    background: var(--white);
    color: var(--primary-blue);
}

.cta .btn:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
}

/* ===============================
   Animations
================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Slide from Left */
.slide-left { transform: translateX(-70px); }
.slide-left.is-visible { transform: translateX(0); opacity: 1; }

/* Slide from Right */
.slide-right { transform: translateX(70px); }
.slide-right.is-visible { transform: translateX(0); opacity: 1; }

/* Slide in Left/Right (Why Choose Us) */
.slideInLeft { transform: translateX(-70px); }
.slideInLeft.is-visible { transform: translateX(0); opacity: 1; }

.slideInRight { transform: translateX(70px); }
.slideInRight.is-visible { transform: translateX(0); opacity: 1; }
/* ===============================
   Responsive Styles
================================= */
@media (max-width: 950px) {
    .intro-content { flex-direction: column; }
    .hero-content h1 { font-size: 2.8rem; }
    .slide {
                flex-direction: column;
            }
            
            .slider-container {
                height: auto;
            }
            
            .image-container {
                height: 300px;
            }
            
            .content {
                padding: 30px;
            }
            
            .content h2 {
                font-size: 1.8rem;
            }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .section-title h2 { font-size: 2rem; }
    .badges-container { gap: 30px; }
     .hero-section {
                margin: 20px auto;
                padding: 10px;
            }
            
            .content {
                padding: 20px;
            }
            
            .content h2 {
                font-size: 1.5rem;
            }
            
            .content p {
                font-size: 1rem;
            }
            
            .cta-button {
                padding: 12px 25px;
                font-size: 0.9rem;
            }
            
            .arrow {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
     
}

@media (max-width: 480px) {
    .hero { height: 80vh; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }
    .btn { padding: 12px 25px; font-size: 0.95rem; }

}

