﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: #1a202c;
    background: #f7fafc;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
 
    min-height: 60vh;
    padding: 5rem 0;
    display: flex;
    align-items: center;
}

    .hero-section h1 {
        font-size: 2.5rem;
        font-weight: 500;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        color: #fff;
    }

    .hero-section p {
        font-size: 1.25rem;
        font-weight: 300;
        margin-bottom: 2rem;
        opacity: 0.95;
        
    }

    .hero-section .btn {
        font-size: 1.1rem;
        padding: 0.75rem 2.5rem;
        border-radius: 50px;
        transition: all 0.3s ease;
    }

    .hero-section .btn-light {
        background: #fff;
        color: #3182ce;
    }

        .hero-section .btn-light:hover {
            background: #ebf8ff;
            color: #2b6cb0;
        }

    .hero-section .btn-outline-light {
        border-color: #fff;
        color: #fff;
    }

        .hero-section .btn-outline-light:hover {
            background: #fff;
            color: #3182ce;
        }

/* Services Section */
#services {
    padding: 5rem 0;
    background: #fff;
}

    #services h2 {
        font-size: 2.5rem;
        font-weight: 600;
        color: #3182ce;
        text-align: center;
        margin-bottom: 3rem;
    }

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        border-color: #63b3ed;
    }

    .service-card i {
        font-size: 2.75rem;
        color: #63b3ed;
        margin-bottom: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #3182ce;
        margin-bottom: 1rem;
    }

    .service-card p {
        font-size: 1rem;
        color: #4a5568;
    }

/* Portfolio Section */
#portfolio {
    padding: 5rem 0;
    background: #edf2f7;
}

    #portfolio h2 {
        font-size: 2.5rem;
        font-weight: 600;
        color: #3182ce;
        text-align: center;
        margin-bottom: 3rem;
    }

.portfolio-item {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

    .portfolio-item:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(49, 130, 206, 0.9);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
}

.portfolio-overlay .status-badge {
    font-size: 0.85rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1rem;
    border-radius: 20px;
}

.portfolio-overlay .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

/* Why Choose Us Section */
#why-choose-us {
    padding: 5rem 0;
    background: #fff;
}

    #why-choose-us h2 {
        font-size: 2rem;
        font-weight: 600;
        color: #212529;
        text-align: center;
        margin-bottom: 1rem;
    }

        #why-choose-us h2 span {
            color: #007bff;
        }

    #why-choose-us h6 {
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #007bff;
    }

    #why-choose-us .lead {
        font-size: 1.25rem;
        color: #6c757d;
    }

    #why-choose-us .content-wrapper h3 {
        font-size: 1.5rem;
        font-weight: 100;
        color: #333;
        margin-bottom: 1.5rem;
    }

    #why-choose-us .content-wrapper p {
        font-size: 1rem;
        color: #555;
        margin-bottom: 1.5rem;
    }

    #why-choose-us .list-unstyled li {
        font-size: 1rem;
        color: #333;
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
    }

        #why-choose-us .list-unstyled li i {
            font-size: 1rem;
            margin-right: 0.75rem;
            color: #28a745;
        }

.stats-wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .stats-wrapper:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

.stat-item {
    text-align: center;
}

    .stat-item i {
        font-size: 2rem;
        color: #007bff;
        margin-bottom: 0.75rem;
    }

    .stat-item h3 {
        font-size: 2rem;
        font-weight: 700;
        color: #222;
        margin-bottom: 0.5rem;
    }

    .stat-item p {
        font-size: 0.9rem;
        color: #666;
    }

#why-choose-us .btn-primary {
    background: #007bff;
    border: none;
    padding: 0.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s ease;
}

    #why-choose-us .btn-primary:hover {
        background: #0056b3;
    }

/* FAQ Section */
#faq {
    padding: 5rem 0;
    background: #f8f9fa;
    position: relative;
}

    #faq h2 {
        font-size: 1.25rem;
        font-weight: 300;
        color: #212529;
        text-align: center;
        margin-bottom: 0.5rem;
    }

        #faq h2 span {
            color:#3182ce;
        }

    #faq .lead {
        font-size: 1rem;
        color: #6c757d;
        text-align: center;
    }

    #faq .faq-image {
        max-width: 100%;
        transition: transform 0.3s ease;
    }

        #faq .faq-image:hover {
            transform: scale(1.05);
        }

    #faq .accordion-item {
        background: #fff;
        border-radius: 6px;
        border: none;
        margin-bottom: 0.75rem;
        transition: all 0.3s ease;
    }

        #faq .accordion-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        }

    #faq .accordion-button {
        background: #fff;
        color: #212529;
        padding: 0.5rem;
        font-size: 1rem;
        font-weight: 300;
        border-radius: 6px 6px 0 0;
        transition: background 0.3s ease;
    }

        #faq .accordion-button:not(.collapsed) {
            background: #e7f1ff;
            color: #0d6efd;
        }

        #faq .accordion-button:focus {
            box-shadow: none;
        }
    
        #faq .accordion-body {
        padding: 0.75rem;
        font-size: 1rem;
        color: #495057;
        background: #fff;
        border-radius: 0 0 6px 6px;
    }
            #faq .accordion-body p,
            #faq .accordion-body ul,
            #faq .accordion-body blockquote,
            #faq .accordion-body .alert,
            #faq .accordion-body .table {
                margin-bottom: 0.5rem; /* Reduced spacing */
            }

                #faq .accordion-body ul li {
                    font-size: 0.9rem; /* Match body */
                }
    #faq .btn-outline-primary {
        border-color: #0d6efd;
        color: #0d6efd;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }
    #faq .accordion-body .faq-btn {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        font-size: 0.85rem;
        color: #0d6efd;
        text-decoration: none;
        border: 1px solid #0d6efd;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
        #faq .btn-outline-primary:hover {
            background: #0d6efd;
            color: #fff;
        }

    #faq .faq-views {
        font-weight: bold;
        color: #0d6efd;
    }

/* Testimonials Section */
#testimonials {
    padding: 5rem 0;
    background: #fff;
}

    #testimonials h2 {
        font-size: 2.5rem;
        font-weight: 600;
        color: #3182ce;
        text-align: center;
        margin-bottom: 3rem;
    }

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

    .testimonial-card:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        border-color: #63b3ed;
    }

    .testimonial-card p {
        font-size: 1.1rem;
        color: #4a5568;
        font-style: italic;
    }

    .testimonial-card .fw-semibold {
        font-size: 1rem;
        color: #3182ce;
        margin-top: 1rem;
    }

/* Contact Section */
#contact {
    padding: 5rem 0;
    background: #f8f9fa;
}

    #contact h2 {
        font-size: 2rem;
        font-weight: 600;
        color: #1a202c;
        text-align: center;
        margin-bottom: 1rem;
    }

    #contact .lead {
        font-size: 1.25rem;
        color: #6c757d;
        text-align: center;
    }

    #contact .card {
        border-radius: 12px;
        padding: 1.5rem;
        transition: transform 0.3s ease;
    }

        #contact .card:hover {
            transform: translateY(-5px);
        }

    #contact .form-label {
        font-size: 1rem;
        color: #495057;
    }

    #contact .form-control {
        border-radius: 8px;
        padding: 0.75rem;
        font-size: 1rem;
        border: 1px solid #ced4da;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        #contact .form-control:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 8px rgba(13, 110, 253, 0.2);
        }

    #contact .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 8px;
        background: #0d6efd;
        border: none;
        transition: background 0.3s ease;
    }

        #contact .btn-primary:hover {
            background: #0056b3;
        }
    /* Contact Icons */
    #contact .contact-icon {
        color: #0d6efd; /* Primary blue for consistency */
        transition: color 0.3s ease;
    }

    #contact .card:hover .contact-icon {
        color: #0056b3; /* Darker blue on hover */
    }

    /* Social Links */
    #contact .social-links a {
        font-size: 1.5rem;
        margin: 0 0.75rem;
        transition: opacity 0.3s ease;
    }

    #contact .social-links .social-linkedin {
        color: #0077b5; /* LinkedIn Blue */
    }

        #contact .social-links .social-linkedin:hover {
            opacity: 0.8;
        }

    #contact .social-links .social-twitter {
        color: #1da1f2; /* Twitter Blue */
    }

        #contact .social-links .social-twitter:hover {
            opacity: 0.8;
        }

    #contact .social-links .social-github {
        color: #333; /* GitHub Black */
    }

        #contact .social-links .social-github:hover {
            opacity: 0.8;
        }
/* Responsive Adjustments for Contact */
@media (max-width: 768px) {
    #contact h2 {
        font-size: 1.5rem;
    }

    #contact .contact-icon {
        font-size: 1rem; /* Slightly smaller on mobile */
    }

    #contact .social-links a {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    #contact .contact-icon {
        font-size: 0.75rem;
    }

    #contact .social-links a {
        font-size: 0.75rem;
    }
}
/* About Paragraph Styling */
.about-paragraph {
    background-color: #e9ecef; /* Light gray background */
    padding: 2.5rem; /* Increased from 1.5rem to make the container larger */
    font-size: 1.5rem; /* Matches fs-4 for larger text */
    line-height: 1.6; /* Improved readability with larger text */
    border-radius: 16px; /* Slightly larger corners for a bigger feel */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Slightly larger shadow */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Added transform for hover */
}

    .about-paragraph:hover {
        background-color: #dee2e6; /* Darker on hover */
        transform: scale(1.02); /* Slight scale-up on hover for interactivity */
    }
/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        padding: 3rem 0;
    }

        .hero-section h1 {
            font-size: 2rem;
        }

        .hero-section p {
            font-size: 1rem;
        }

    #services h2, #portfolio h2, #why-choose-us h2, #faq h2, #testimonials h2, #contact h2 {
        font-size: 2rem;
    }

    .portfolio-item {
        height: 240px;
    }

    #why-choose-us .content-wrapper h3 {
        font-size: 1.5rem;
    }

    #faq .faq-image {
        max-width: 60%;
    }
}

@media (max-width: 576px) {
    .portfolio-item {
        height: 200px;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    #why-choose-us .stat-item h3 {
        font-size: 1.5rem;
    }
}




/* Team Section */
#team {
    padding: 5rem 0;
    background: #fff;
}

    #team h2 {
        font-size: 1.5rem;
        font-weight: 400;
        color: dodgerblue;
        text-align: center;
        margin-bottom: 1rem;
    }

        #team h2 span {
            color: #007bff;
        }

    #team h6 {
        font-size: 0.9rem;
        font-weight:500;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: cornflowerblue;
    }

    #team .lead {
        font-size: 1.25rem;
        color: #6c757d;
        text-align: center;
    }

.team-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

    .team-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        border-color: #63b3ed;
    }

.team-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #0d6efd;
    transition: transform 0.3s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.team-card p.text-primary {
    font-size: 1rem;
    font-weight: 500;
    color: #0d6efd;
}

.team-card p.text-muted {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.team-card .social-links a {
    font-size: 1.25rem;
    color: #0d6efd;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

    .team-card .social-links a:hover {
        color: #0056b3;
    }

/* Responsive Adjustments for Team */
@media (max-width: 768px) {
    #team h2 {
        font-size: 1.5rem;
    }

    .team-img {
        width: 120px;
        height: 120px;
    }

    .team-card h4 {
        font-size: 1.25rem;
    }

    .team-card p.text-primary {
        font-size: 0.9rem;
    }

    .team-card p.text-muted {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .team-img {
        width: 100px;
        height: 100px;
    }

    .team-card {
        padding: 1.5rem;
    }
}

/* Swiper Reviews Carousel */
.swiper-reviews-carousel {
    padding-top: 1rem;
    margin-bottom: 3rem;
    overflow: hidden;
}

#swiper-reviews {
    height: 450px; /* Fixed carousel height */
}

    #swiper-reviews .swiper-slide {
        height: 100%; /* Fill carousel height */
        display: flex;
        align-items: stretch; /* Stretch card to full height */
    }

    #swiper-reviews .review-card {
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        background: #fff;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 400px; /* Exact height for all cards */
        width: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

        #swiper-reviews .review-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

    #swiper-reviews .card-body {
        padding: 2rem;
        height: 400px; /* Exact height, matching card */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
    }

    #swiper-reviews .client-logo {
        max-width: 120px;
        height: 60px; /* Fixed height for logos */
        object-fit: contain; /* Ensure logos scale uniformly */
        margin: 0 auto;
        transition: transform 0.3s ease;
    }

    #swiper-reviews .review-card:hover .client-logo {
        transform: scale(1.1);
    }

    #swiper-reviews .review-text {
        font-size: 1.25rem;
        color: green;
        font-style: italic;
        height: 90px; /* Fixed height for text (approx 3 lines) */
        margin: 1rem 0;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }

    #swiper-reviews .text-warning {
        color: #ffc107 !important;
        height: 40px; /* Fixed height for stars */
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
    }

    #swiper-reviews .ri-star-fill,
    #swiper-reviews .ri-star-line {
        font-size: 1.5rem;
        margin: 0 2px;
        transition: transform 0.3s ease;
    }

    #swiper-reviews .review-card:hover .ri-star-fill,
    #swiper-reviews .review-card:hover .ri-star-line {
        transform: scale(1.2);
    }

    #swiper-reviews .review-card .card-footer {
        height: 60px; /* Fixed height for name section */
        margin-top: auto; /* Push to bottom */
        text-align: center;
    }

    #swiper-reviews h6 {
        font-size: 1.1rem;
        font-weight: 600;
        color: #1a202c;
        margin-bottom: 0.25rem;
    }

    #swiper-reviews p.small {
        font-size: 0.9rem;
        color: #6c757d;
    }

    #swiper-reviews .swiper-pagination {
        position: relative;
        margin-top: 1.5rem;
    }

    #swiper-reviews .swiper-pagination-bullet {
        background: #007bff;
        opacity: 0.5;
        width: 10px;
        height: 10px;
    }

    #swiper-reviews .swiper-pagination-bullet-active {
        opacity: 1;
        background: #0056b3;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    #swiper-reviews {
        height: 400px;
    }

        #swiper-reviews .review-card {
            height: 350px;
        }

        #swiper-reviews .card-body {
            padding: 1.5rem;
            height: 350px;
        }

        #swiper-reviews .review-text {
            font-size: 1.1rem;
            height: 66px; /* 2 lines at 1.5rem line-height */
            -webkit-line-clamp: 2;
        }

        #swiper-reviews .client-logo {
            height: 50px;
        }

        #swiper-reviews .text-warning {
            height: 35px;
        }

        #swiper-reviews .review-card .card-footer {
            height: 50px;
        }
}



