/* css/styles.css */

/* Reset and Base Styles */
:root {
    --primary-color: #297f8e;
    --primary-dark: #1a4f5a;
    --primary-light: #e6f4f7;
    --secondary-color: #f8b739;
    --accent-color: #e53e3e;
    --text-color: #555555;
    --text-light: #777777;
    --text-dark: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --dark: #2c2c2c;
    --gray: #f5f5f5;
    --light-gray: #fafafa;
    --border-color: #e0e0e0;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Stats Counter */
.stats-counter {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, #f4fdff 0%, #f0f8fa 100%);
    /* background-color: #fff; */
    overflow: hidden;
}

.stats-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLDAsMCwuMDIpIi8+PC9wYXR0ZXNuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
    opacity: 0.5;
    z-index: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    /* background: linear-gradient(135deg, #f4fdff 0%, #f0f8fa 100%); */
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #297f8e, #1a4f5a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a4f5a;
    margin: 0 0 10px;
    position: relative;
    display: inline-block;
}

.stat-item h3::after {
    content: '+';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #ff9a3c;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover h3::after {
    opacity: 1;
}

.stat-item p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
    position: relative;
    padding-top: 10px;
}

.stat-item p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #297f8e, #1a4f5a);
    opacity: 0.7;
}

/* Services Section */
.services {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);

    /* background: linear-gradient(135deg, #f4fdff 0%, #fafcfd 100%); */
    /* background-color: #fff; */
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
}

.section-header .subtitle {
    display: inline-block;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a4f5a;
    margin: 0 0 15px;
    line-height: 1.3;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(41, 127, 142, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #297f8e 0%, #1a4f5a 100%);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2.5rem;
    color: #297f8e;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 0 0 15px;
    color: #1a4f5a;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #297f8e;
}

.service-card p {
    color: #6c757d;
    margin: 0 0 20px;
    line-height: 1.7;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #297f8e;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 3px;
    margin-top: auto;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff9a3c;
    transition: width 0.3s ease;
}

.read-more:hover {
    color: #1a4f5a;
}

.read-more:hover::after {
    width: 100%;
}

.read-more i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .services {
        padding: 100px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header .subtitle {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
}

/* About Section - Modern Layout */
.about {
    padding: 100px 0;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-color: #f8f9fa;
    z-index: 0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
    padding-right: 40px;
}

.about-image {
    flex: 1 1 45%;
    min-width: 300px;
    position: relative;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    transition: transform 0.5s ease;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 25px;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .label {
    font-size: 0.85rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about .subtitle {
    display: inline-block;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.about h2 {
    font-size: 1.8rem;
    color: #1a4f5a;
    margin: 0 0 20px;
    line-height: 1.3;
}

.about p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 0 35px;
    padding: 0;
    list-style: none;
}

.features-row {
    /* display: flex; */
    /* flex-wrap: wrap; */
    display: block;
    gap: 15px;
    margin-bottom: 10px;
}

.about-features li {
    position: relative;
    padding: 15px 20px 15px 55px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    font-size: 0.95rem;
    flex: 1 1 calc(50% - 20px);
    min-width: 200px;
}

.about-features li i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0 30px;
    padding: 0;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive adjustments for about section */
@media (max-width: 1024px) {
    .about-content {
        gap: 40px;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
        right: -20px;
        bottom: -20px;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 70px 0;
    }
    
    .about::before {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        order: 2;
        text-align: center;
    }
    
    .about-image {
        order: 1;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .about h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .experience-badge {
        right: 20px;
        bottom: -30px;
    }
}

.about-features li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-features li:hover i {
    color: #1a4f5a;
    transform: translateY(-50%) scale(1.1);
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .about {
        padding: 100px 0;
    }
    
    .about-content {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }
    
    .about-text {
        order: 1;
        text-align: left;
        flex: 1;
    }
    
    .about-image {
        order: 2;
        flex: 1;
    }
    
    .about h2 {
        font-size: 2.2rem;
    }
    
    .about p {
        font-size: 1.05rem;
    }
    
    .about-features {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .features-row {
        flex: 1;
        min-width: 250px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .about {
        padding: 120px 0;
    }
    
    .about h2 {
        font-size: 2.5rem;
    }
    
    .about::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 300px;
        height: 300px;
        background: linear-gradient(45deg, rgba(41, 127, 142, 0.1), transparent);
        border-radius: 50%;
        z-index: 0;
    }
    
    .about-image:hover {
        transform: translateY(-10px);
    }
    
    .about-image:hover img {
        transform: scale(1.03);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    /* background: linear-gradient(135deg, #eff9fb 0%, #b1c6ca 100%); */
    /* background-color: #fff; */
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLDAsMCwuMDIpIi8+PC9wYXR0ZXNuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
    opacity: 0.15;
    /* z-index: 1; */
}
/* 
.testimonials .section-header {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.testimonials .subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.testimonials h2,
.testimonials p {
    color: white;
} */

/* .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
} */

/* ===================================
   Testimonials Section - Compact Carousel
   =================================== */
.testimonials {
    padding: 80px 0;
    /* background-color: #f9fafc; */
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLDAsMCwuMDIpIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
    opacity: 0.15;
}

.testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0 50px;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 300px;
    width: max-content;
    gap: 20px;
    padding: 0 15px;
}

.testimonial-slide {
    width: calc((100% - 40px) / 3);
    flex-shrink: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 120px;
    color: rgba(41, 127, 142, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
    display: block;
}

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin: 0;
    position: relative;
    padding-left: 25px;
}

.testimonial-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 15px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #1a4f5a);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-light);
}

.author-details h4 {
    margin: 0 0 5px;
    color: #1a4f5a;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-details span {
    display: block;
    font-size: 0.9rem;
    color: #718096;
}

/* Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 0;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    margin: 0 10px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #e2e8f0;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-color);
    width: 30px;
}
/* Responsive Adjustments */
@media (max-width: 1200px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonial-slide {
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 767px) {
    .testimonial-carousel {
        padding: 10px 0 30px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .testimonial-carousel::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .testimonial-track {
        width: max-content;
        padding: 0 15px;
        gap: 15px;
        margin: 0 auto;
    }
    
    .testimonial-slide {
        width: 280px;
        min-width: 280px;
        padding: 0 5px;
        scroll-snap-align: start;
    }
    
    .testimonial-card {
        width: 100%;
        height: 100%;
        padding: 20px;
        margin: 0;
        box-sizing: border-box;
    }
    
    .testimonial-nav {
        display: none; /* Hide navigation on mobile since we're scrolling */
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 50px 0;
    }
    
    .testimonial-carousel {
        padding: 10px 0 40px;
    }
    
    .testimonial-track {
        padding: 0 10px;
        gap: 15px;
    }
    
    .testimonial-slide {
        width: 85%;
        min-width: 85%;
        padding: 0 10px;
        margin: 0;
        scroll-snap-align: center;
    }
    
    .testimonial-card {
        padding: 20px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .testimonial-nav {
        margin-top: 20px;
    }
    
    .testimonial-prev,
    .testimonial-next {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .testimonial-dots {
        margin: 0 5px;
    }
}

@media (max-width: 576px) {
    .testimonials {
        padding: 40px 0;
    }
    
    .testimonial-slide {
        width: 90%;
        min-width: 90%;
        padding: 0 5px;
    }
    
    .testimonial-card {
        padding: 18px 15px;
    }
    
    .testimonial-content i {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        padding-left: 20px;
    }
    
    .testimonial-content p::before {
        width: 12px;
        top: 10px;
    }
    
    .testimonial-author {
        padding-top: 15px;
    }
    
    .testimonial-author img {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .author-details h4 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }
    
    .author-details span {
        font-size: 0.8rem;
    }
    
    .testimonial-nav {
        margin-top: 15px;
    }
    
    .testimonial-prev,
    .testimonial-next {
        width: 34px;
        height: 34px;
    }
    
    .testimonial-dot {
        width: 8px;
        height: 8px;
    }
    
    .testimonial-dot.active {
        width: 20px;
    }
}

@media (max-width: 576px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 1.1rem;
    }
    
    .author-info span {
        font-size: 0.9rem;
    }
}

/* Partners Section */
.partners {
    padding: 100px 0;
    /* background-color: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); */
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f1f5f9' fill-opacity='0.8'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

.partners .container {
    position: relative;
    z-index: 2;
}
/* 
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    display: inline-block;
    background: rgba(41, 127, 142, 0.1);
    color: #297f8e;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.partners h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a4f5a;
    margin-bottom: 10px;
    line-height: 1.3;
} */

/* Partners Carousel Container */
.partners-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 0;
}

.partners-carousel {
    width: 100%;
    max-width: 800px; /* Reduced to ensure scrolling on desktop */
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 60px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.partner-slide {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo-circle {
    width: 150px;
    height: 150px;
    /* background: #ffffff; */
    /* border: 2px solid #e2e8f0; */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 15px; */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); */
    position: relative;
    overflow: hidden;
}

/* .partner-logo-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(41, 127, 142, 0.1) 0%, rgba(26, 79, 90, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
} */

/* .partner-logo-circle:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(41, 127, 142, 0.2);
    filter: drop-shadow(0 8px 25px red);
} */

.partner-logo-circle:hover::before {
    opacity: 1;
}

.partner-logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.partner-logo-circle:hover img {
    transform: scale(1.05);
}

/* Navigation Buttons */
.partner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.partner-nav:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(41, 127, 142, 0.3);
}

.partner-nav-prev {
    left: -25px;
}

.partner-nav-next {
    right: -25px;
}

.no-partners {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

/* Responsive Design for Partners Carousel */
@media (max-width: 1200px) {
    .partners {
        padding: 90px 0;
    }
    
    .partners-carousel {
        max-width: 700px;
    }
    
    .partners-track {
        gap: 50px;
    }
    
    .partner-logo-circle {
        width: 140px;
        height: 90px;
    }
}

@media (max-width: 992px) {
    .partners {
        padding: 80px 0;
    }
    
    .partners-carousel {
        max-width: 600px;
    }
    
    .partners-track {
        gap: 40px;
    }
    
    .partner-logo-circle {
        width: 130px;
        height: 80px;
        padding: 12px;
    }
    
    .partner-nav {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .partners {
        padding: 70px 0;
    }
    
    .partners-carousel-container {
        padding: 15px 0;
    }
    
    .partners-carousel {
        max-width: 500px;
    }
    
    .partners-track {
        gap: 30px;
    }
    
    .partner-logo-circle {
        width: 120px;
        height: 70px;
        padding: 10px;
        border-width: 2px;
    }
    
    .partner-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .partner-nav-prev {
        left: -20px;
    }
    
    .partner-nav-next {
        right: -20px;
    }
}

@media (max-width: 480px) {
    .partners {
        padding: 60px 0;
    }
    
    .partners-carousel {
        max-width: 350px;
    }
    
    .partners-track {
        gap: 20px;
        justify-content: flex-start;
    }
    
    .partner-logo-circle {
        width: 100px;
        height: 60px;
        padding: 8px;
    }
    
    .partner-nav {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .partner-nav-prev {
        left: -15px;
    }
    
    .partner-nav-next {
        right: -15px;
    }
}

/* ===================================
   Modern Hero Slider Styles
   =================================== */
/* Hero Slider Styles */
:root {
    --primary-color: #297f8e;
    --primary-dark: #1a4f5a;
    --primary-light: #e6f4f7;
    --secondary-color: #f8b739;
    --accent-color: #e53e3e;
    --text-color: #555555;
    --text-light: #777777;
    --text-dark: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --dark: #2c2c2c;
    --gray: #f5f5f5;
    --light-gray: #fafafa;
    --border-color: #e0e0e0;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    max-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8f6f8 50%, var(--light-bg) 100%);
}

/* Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    bottom: -200px;
    right: -150px;
    animation-delay: 10s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    top: 30%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    33% { 
        transform: translateY(-30px) rotate(120deg) scale(1.1); 
    }
    66% { 
        transform: translateY(20px) rotate(240deg) scale(0.9); 
    }
}

/* Slide Styles */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


.hero-content {
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-slide.active .hero-text {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-media {
    flex: 1;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide.active .hero-media {
    animation: slideInRight 1s ease-out 0.5s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Text Styles */
.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 500px;
}

/* Button Styles */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(41, 127, 142, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(41, 127, 142, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

/* Finance Visual Styles */
.finance-visual {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.15);
}

/* Growth Visual (Slide 1) */
.growth-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    padding-bottom: 50px;
}

.growth-pillar {
    width: 60px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px 8px 0 0;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    animation: pillarRise 1.5s ease-out forwards;
    opacity: 0;
}

.growth-pillar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px 8px 0 0;
}

.gp-1 { height: 100px; animation-delay: 0.2s; }
.gp-2 { height: 180px; animation-delay: 0.4s; background: linear-gradient(180deg, var(--secondary-color), #e6a000); }
.gp-3 { height: 260px; animation-delay: 0.6s; background: linear-gradient(180deg, var(--accent-color), #d32f2f); }
.gp-4 { height: 340px; animation-delay: 0.8s; background: linear-gradient(180deg, var(--primary-light), var(--primary-color)); }

@keyframes pillarRise {
    from { height: 0; opacity: 0; }
    to { opacity: 1; }
}

.growth-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.growth-line-path {
    stroke: var(--dark);
    stroke-width: 4;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2.5s ease-out forwards 1s;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.2));
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.growth-float {
    position: absolute;
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 15;
}

.g-float-1 { top: 20%; left: 10%; color: var(--secondary-color); animation: iconFloat 4s ease-in-out infinite; }
.g-float-2 { bottom: 25%; right: 5%; color: var(--accent-color); animation: iconFloat 4s ease-in-out infinite 1.5s; }
.g-float-3 { top: 35%; right: 20%; color: var(--primary-color); animation: iconFloat 4s ease-in-out infinite 0.7s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Team Network Visual (Slide 2) */
.team-network-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.network-line {
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-dasharray: 10;
    animation: dashMove 20s linear infinite;
    opacity: 0.6;
}

@keyframes dashMove {
    to { stroke-dashoffset: 1000; }
}

.network-node {
    position: absolute;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 2;
    transition: transform 0.3s ease;
}

.network-node:hover {
    transform: scale(1.1);
}

.center-node {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
    color: var(--primary-color);
    border: 4px solid var(--primary-light);
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(41, 127, 142, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(41, 127, 142, 0); }
    100% { box-shadow: 0 0 0 0 rgba(41, 127, 142, 0); }
}

.node-a {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    color: var(--secondary-color);
    top: 40px;
    animation: floatNode 4s ease-in-out infinite;
}

.node-b {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    color: var(--accent-color);
    bottom: 110px;
    left: 66px;
    animation: floatNode 4s ease-in-out infinite 1s;
}

.node-c {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    color: #e6a000;
    bottom: 110px;
    right: 66px;
    animation: floatNode 4s ease-in-out infinite 2s;
}

@keyframes floatNode {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Services Hub Visual (Slide 3) */
.services-hub-visual {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-center {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hub-core {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 5;
}

.hub-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed rgba(41, 127, 142, 0.3);
    animation: spinRing 20s linear infinite;
}

.ring-1 {
    width: 250px;
    height: 250px;
}

.ring-2 {
    width: 400px;
    height: 400px;
    animation-direction: reverse;
    animation-duration: 30s;
}

@keyframes spinRing {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.service-orbit {
    position: absolute;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 15;
    transition: all 0.3s ease;
}

.service-orbit:hover {
    transform: scale(1.15) !important;
    z-index: 20;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.orbit-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.orbit-content i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.orbit-content span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--dark);
}

.orb-1 { top: 30px; left: 50%; margin-left: -45px; animation: popIn 0.5s ease backwards 0.2s; border: 3px solid var(--secondary-color); }
.orb-2 { right: 30px; top: 50%; margin-top: -45px; animation: popIn 0.5s ease backwards 0.4s; border: 3px solid var(--accent-color); }
.orb-3 { bottom: 30px; left: 50%; margin-left: -45px; animation: popIn 0.5s ease backwards 0.6s; border: 3px solid #e6a000; }
.orb-4 { left: 30px; top: 50%; margin-top: -45px; animation: popIn 0.5s ease backwards 0.8s; border: 3px solid var(--accent-color); }

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Navigation Styles */
.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.slider-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.slider-indicator.active::before {
    width: 8px;
    height: 8px;
}

.slider-indicator:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(41, 127, 142, 0.5);
}

/* Arrow Navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 2rem;
}

.slider-arrow.next {
    right: 2rem;
}

.slider-arrow::before {
    content: '';
    width: 12px;
    height: 12px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
}

.slider-arrow.prev::before {
    transform: rotate(135deg);
}

.slider-arrow.next::before {
    transform: rotate(-45deg);
}

/* Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(41, 127, 142, 0.2);
    z-index: 10;
    width: 100%;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0;
    transition: width 5s linear;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider {
        min-height: 650px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1rem;
        margin-top: 2.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .finance-visual {
        width: 300px;
        height: 300px;
    }

    .building-container {
        height: 180px;
    }

    .building:first-child {
        height: 150px;
    }

    .building-2 {
        height: 120px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow.prev {
        left: 1rem;
    }

    .slider-arrow.next {
        right: 1rem;
    }
    .hero-media{
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .bbtn {
        width: 100%;
        justify-content: center;
    }

    .finance-visual {
        width: 250px;
        height: 250px;
    }
    .hero-media{
        display: none;
    }
}
/* Enquiry Form Section */
.enquiry-form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.enquiry-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #297f8e, #1a4f5a);
    z-index: 1;
}

.enquiry-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08); */
    padding: 60px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.enquiry-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.enquiry-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #297f8e, #1a4f5a);
}

.enquiry-form {
    position: relative;
    z-index: 2;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 5px;
    gap: 20px;
}

.form-group {
    flex: 1;
    min-width: 200px;
    position: relative;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 0 0 100%;
}

.form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
    height: 20px;
    display: flex;
    align-items: center;
}

.form-group.full-width i {
    top: 25px;
    transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px 16px 55px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    color: #1e293b;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    font-family: inherit;
    position: relative;
    z-index: 1;
    height: 56px;
}

.form-group textarea {
    height: 150px;
    resize: none;
    padding-top: 20px;
    line-height: 1.6;
    padding-left: 55px;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236378' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 50px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #297f8e;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(41, 127, 142, 0.1);
}

.form-group input:focus + i,
.form-group select:focus + i,
.form-group textarea:focus + i {
    color: #1a4f5a;
}

/* Label animation */
.form-group label {
    position: absolute;
    left: 55px;
    top: 18px;
    color: #94a3b8;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
    font-size: 1rem;
    background: transparent;
    padding: 0 5px;
}

.form-group.focused label,
.form-group.has-value label {
    top: -10px;
    left: 50px;
    font-size: 0.8rem;
    color: #297f8e;
    font-weight: 500;
    background: white;
}

.form-group.focused i,
.form-group.has-value i {
    color: #297f8e;
}

/* Submit button */
.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #1a4f5a 0%, #297f8e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #1a4f5a 0%, #297f8e 80%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 79, 90, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit i.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Message Styling */
.enquiry-form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    display: none;
}

.enquiry-form-message.success {
    background: #e6f4f1;
    color: #1687a7;
    border: 1px solid #1687a7;
}

.enquiry-form-message.error {
    background: #fde0e0;
    color: #d00000;
    border: 1px solid #d00000;
}

.enquiry-form-message.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .enquiry-form-section {
        padding: 80px 0;
    }
    
    .enquiry-form-container {
        padding: 40px 30px;
    }
    
    .form-group {
        flex: 0 0 calc(50% - 15px);
    }
    
    .form-group.full-width {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .enquiry-form-section {
        padding: 70px 0;
    }
    
    .enquiry-form-container {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .form-row {
        flex-direction: column;
        margin: 0 0 15px;
        gap: 15px;
    }
    
    .form-group {
        flex: 1;
        width: 100%;
        margin: 0;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        height: 52px;
    }
    
    .form-group textarea {
        height: 140px;
    }
}

/* Stats Counter */
.stats-counter {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #297f8e, #1a4f5a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #1a4f5a;
    margin: 0 0 10px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.stat-item p {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

/* Responsive Design for Stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--light-bg);
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-info {
    padding: 60px;
    background: var(--primary-color);
    color: var(--white);
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 20px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-item h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    opacity: 0.9;
}

.form-container {
    padding: 60px;
}

.form-container h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png') center/cover;
    opacity: 0.1;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #1a1f2b;
    color: #a0a8b8;
    padding: 80px 0 0;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: #a0a8b8;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
    position: relative;
}



.footer-links a:hover,
.footer-services a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-links a:hover::before,
.footer-services a:hover::before {
    opacity: 1;
    left: 0;
}

/* Footer About Section */
.footer-about {
    padding-right: 30px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    /* filter: brightness(0) invert(1); */
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    padding-bottom: 25px;
}

.footer-about p::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #297f8e, #1a4f5a);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #297f8e, #1a4f5a);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 50%;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a i {
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-about {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .footer-about p::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        max-width: 150px;
    }
    
    .footer-about p {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
    }
}

/* Newsletter Form */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.newsletter-form .form-group {
    position: relative;
    display: flex;
    margin-bottom: 10px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 4px 0 0 4px;
    border-right: none;
    transition: var(--transition);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn {
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.newsletter-form .btn i {
    margin: 0;
}

.form-message {
    font-size: 0.85rem;
    margin-top: 10px;
    min-height: 20px;
}

/* Footer Contact */
.footer-contact li {
    margin-bottom: 20px;
    padding-left: 35px;
    position: relative;
}

.footer-contact i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
}

.footer-legal a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -12px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-legal a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.footer h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: #a0a8b8;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.footer-contact i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-legal a {
    color: #a0a8b8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 40px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-container,
    .contact-info {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about,
    .footer-newsletter {
        text-align: left;
    }
    
    .footer-links,
    .footer-services {
        text-align: left;
    }
    
    .footer-links a,
    .footer-services a {
        justify-content: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-legal a:not(:last-child)::after {
        display: none;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        padding-right: 0;
    }
    
 
    
    .form-container,
    .contact-info {
        padding: 25px 20px;
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

.section-padding {
    padding: 100px 0;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Top Header Bar */
.top-header {
    background-color: #2c2c2c;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.consultation-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
}

.book-schedule {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.book-schedule:hover {
    color: #297f8e;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info .email {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #444;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #297f8e;
}

/* Main Navigation */
.main-navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-section {
    flex-shrink: 0;
}

.logo-section .logo {
    height: 35px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
    margin: 0 30px;
}

.nav-link {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #297f8e;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #297f8e;
}

/* Enhanced Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dropdown-toggle:hover {
    background-color: rgba(41, 127, 142, 0.08);
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
    font-weight: 600;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary-dark);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    z-index: 1000;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 16px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    z-index: -1;
}

.dropdown-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #4a5568;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    border-radius: 6px;
    margin: 2px 6px;
}

.dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
    transition: height 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(41, 127, 142, 0.06);
    color: var(--primary-dark);
    transform: translateX(4px);
}

.dropdown-content a:hover::before {
    height: 16px;
}

.dropdown-content a i {
    margin-right: 10px;
    font-size: 14px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    width: 16px;
    text-align: center;
}

.dropdown-content a:hover i {
    color: var(--primary-dark);
    transform: scale(1.05);
}

/* Dropdown separator */
.dropdown-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 8px 16px;
}

/* Special styling for featured dropdown items */
.dropdown-content a.featured {
    background: linear-gradient(135deg, rgba(41, 127, 142, 0.1) 0%, rgba(26, 79, 90, 0.05) 100%);
    border: 1px solid rgba(41, 127, 142, 0.2);
    font-weight: 600;
    color: var(--primary-dark);
}

.dropdown-content a.featured:hover {
    background: linear-gradient(135deg, rgba(41, 127, 142, 0.15) 0%, rgba(26, 79, 90, 0.08) 100%);
    transform: translateX(12px) scale(1.02);
}

/* Dropdown hover effects for desktop */
@media screen and (min-width: 769px) {
    .dropdown:hover .dropdown-toggle {
        background-color: rgba(41, 127, 142, 0.08);
    }
    
    .dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
        color: var(--primary-dark);
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Focus states for accessibility */
.dropdown-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.dropdown-content a:focus {
    background: linear-gradient(135deg, rgba(41, 127, 142, 0.12) 0%, rgba(41, 127, 142, 0.06) 100%);
    color: var(--primary-dark);
    outline: none;
}

/* Loading state for dropdown */
.dropdown.loading .dropdown-arrow {
    animation: dropdownSpin 1s linear infinite;
}

@keyframes dropdownSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Multi-level dropdown support */
.dropdown-content .dropdown {
    width: 100%;
}

.dropdown-content .dropdown-content {
    left: 100%;
    top: 0;
    margin-left: 8px;
}

.dropdown-content .dropdown-toggle {
    padding: 14px 20px;
    margin: 0 8px;
    border-radius: 8px;
    justify-content: space-between;
}

.dropdown-content .dropdown-arrow {
    transform: rotate(-90deg);
}

.dropdown-content .dropdown.active .dropdown-arrow {
    transform: rotate(0deg);
}

/* Show dropdown on hover for desktop */
/* @media screen and (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
} */

/* CTA Section */
.nav-cta-section {
    background-color: #e53e3e;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-align: center;
    min-width: 160px;
    flex-shrink: 0;
}
.nav-cta-section:hover {
    background-color: #297f8e;
    color: #fff;
}

.nav-cta-text {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
    line-height: 1.2;
}

.nav-phone-number {
    display: block;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2;
}


/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c2c2c;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* Mobile Responsive */
@media screen and (max-width: 1024px) {
    .navbar-content {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 20px;
        margin: 0 20px;
    }
    
    .cta-section {
        min-width: 140px;
        padding: 10px 15px;
    }
    
    .cta-text {
        font-size: 12px;
    }
    
    .phone-number {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .top-header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 8px 15px;
    }
    
    .top-left, .top-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .navbar-content {
        height: 60px;
        padding: 0 15px;
    }
    
    .logo-section .logo {
        height: 35px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        gap: 0;
        margin: 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        text-align: left;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .cta-section {
        display: none;
    }
    
   .dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        font-size: 16px;
        font-weight: 600;
        color: #2c2c2c;
        background: transparent;
        border-radius: 0;
        justify-content: space-between;
    }

    .dropdown-toggle:hover {
        background: linear-gradient(135deg, rgba(41, 127, 142, 0.05) 0%, rgba(41, 127, 142, 0.02) 100%);
        color: var(--primary-dark);
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
        margin: 0;
        padding: 8px 0;
        width: 100%;
        border-radius: 0;
        opacity: 1;
        transform: none;
        border-left: 3px solid var(--primary-color);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dropdown-content::before {
        display: none;
    }
    
    .dropdown-content.show {
        display: block;
        animation: mobileDropdownSlide 0.3s ease-out;
    }

    @keyframes mobileDropdownSlide {
        from {
            opacity: 0;
            max-height: 0;
            padding: 0;
        }
        to {
            opacity: 1;
            max-height: 300px;
            padding: 8px 0;
        }
    }

    .dropdown-content a {
        padding: 16px 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 15px;
        color: #4a5568;
        margin: 0;
        border-radius: 0;
        position: relative;
        transition: all 0.3s ease;
    }

    .dropdown-content a::before {
        display: none;
    }

    .dropdown-content a:hover {
        background: linear-gradient(135deg, rgba(41, 127, 142, 0.08) 0%, rgba(41, 127, 142, 0.04) 100%);
        color: var(--primary-dark);
        transform: none;
        padding-left: 32px;
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .dropdown-content a i {
        margin-right: 12px;
        color: var(--primary-color);
        font-size: 16px;
        width: 20px;
        text-align: center;
    }

    .dropdown-content a:hover i {
        color: var(--primary-dark);
        transform: scale(1.1);
    }

    .dropdown-arrow {
        margin-left: auto;
        font-size: 14px;
        color: var(--primary-color);
    }
}

@media screen and (max-width: 480px) {
    .social-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo-section .logo {
        height: 35px;
    }

    
    .hero-content p {
        font-size: 16px;
    }
    
    .nav-menu {
        padding: 15px;
    }
    
    .nav-link {
        padding: 12px 0;
        font-size: 15px;
    }
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}
/* 
.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.2;
    z-index: 1;
} */
/* 
.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
} */

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--white);
    background-color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 8px;
    max-width: fit-content;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--white);
}

.blog-content h3 {
    margin: 0 0 15px;
    font-size: 1.4rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--text-dark);
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    margin-bottom: 20px;
    color: var(--text-color);
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.read-more i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-grid {
        gap: 25px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .blog-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .blog-section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .blog-date {
        top: 15px;
        right: 15px;
        padding: 8px 12px;
    }
    
    .date-day {
        font-size: 1.3rem;
    }
    
    .date-month {
        font-size: 0.8rem;
    }
}

/* Ensure the blog section has proper spacing after it */
.blog-section + section {
    padding-top: 80px;
}

/* Hero Slider - Mobile Responsive Styles */
