/* Reset and Base Styles */
:root {
    --primary-color: #0093d5; /* New main blue */
    --secondary-color: #33b5e5; /* Lighter tint for harmony */
    --accent-color: #0093d5; /* Changed accent to dark blue for hover */
    --text-color: #222;
    --heading-color: var(--secondary-color);
    --background-light: #f5f8ff;
    --background-medium: #e3f2fd;
    --background-dark: #0093d5;
    --white: #fff;
    --glass-bg: rgba(0, 147, 213, 0.18); /* Translucent new blue */
    --glass-blur: blur(12px);
    --shadow-main: 0 8px 32px 0 rgba(0, 147, 213, 0.18);
    --gradient-main: linear-gradient(135deg, #0093d5 0%, #33b5e5 100%);
    --gradient-hero: linear-gradient(120deg, #0093d5 0%, #33b5e5 100%);
    --light-blue: #e3f2fd;
    --light-pink: #fce4ec;
}

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

body {
    font-family: 'Lato', 'Roboto', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #f5f8ff;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Lato', sans-serif;
    color: var(--heading-color);
    font-weight: 700;
    letter-spacing: 0.02em;
}

section {
    padding: 7rem 2rem 6rem 2rem;
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* Added horizontal padding to container */
}

/* Navigation Bar Styles */
.navbar {
    position: sticky;
    top: 1.5rem;
    width: 100%;
    background: var(--glass-bg);
    box-shadow: var(--shadow-main);
    backdrop-filter: var(--glass-blur);
    border-radius: 0 0 24px 24px;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s, box-shadow 0.3s;
    z-index: 1000;
}

.navbar.scrolled {
    background: var(--glass-bg);
    box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.12);
}

.logo {
    display: flex;
    align-items: center;
    height: 56px;
}

.navbar-logo {
    height: 256px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

.navbar.scrolled .logo h1 {
    color: var(--secondary-color); /* Use secondary color when scrolled */
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-toggle {
    color: var(--secondary-color); /* Secondary color when scrolled */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.nav-links a.active, .nav-links a:hover {
    background: var(--gradient-main);
    color: #fff;
    text-shadow: 0 2px 8px rgba(26,115,232,0.12);
}

@media screen and (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem 1rem;
    }
    .logo {
        height: 44px;
    }
    .navbar-logo {
        height: 44px;
        max-width: 140px;
    }
    .nav-toggle {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 1.2rem;
        z-index: 1100;
        color: var(--primary-color);
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 8px 32px 0 rgba(0, 147, 213, 0.08);
        border-radius: 0 0 18px 18px;
        padding: 1.2rem 0 1.2rem 0;
        margin: 0;
        z-index: 1001;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 0.7rem 0;
    }
    .nav-links a {
        color: var(--primary-color);
        font-size: 1.1rem;
        padding: 0.7rem 1.2rem;
        border-radius: 8px;
        display: inline-block;
        width: 90%;
        margin: 0 auto;
        transition: background 0.2s, color 0.2s;
    }
    .nav-links a.active, .nav-links a:hover {
        background: var(--gradient-main);
        color: #fff;
    }
}

@media screen and (max-width: 600px) {
    .navbar {
        padding: 0.7rem 0.5rem;
    }
    .navbar-logo {
        height: 36px;
        max-width: 110px;
    }
    .nav-toggle {
        right: 1rem;
        top: 0.8rem;
        font-size: 1.4rem;
    }
    .nav-links {
        padding: 0.7rem 0 0.7rem 0;
    }
    .nav-links a {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
}

/* Hero Section Styles */
.hero {
    min-height: 90vh;
    background: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 2rem;
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 147, 213, 0.08);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    text-shadow: none;
    margin-bottom: 1.2rem;
    letter-spacing: 0.03em;
    animation: fadeInDown 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.5s both;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 147, 213, 0.08);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Mobile Optimizations */
@media screen and (max-width: 900px) {
    .hero {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        max-width: 100%;
        height: 350px;
        order: -1; /* Move image to top on mobile */
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .navbar-logo {
        height: 180px;
        max-width: 250px;
    }
}

@media screen and (max-width: 600px) {
    .hero {
        padding: 1rem 0.5rem;
    }

    .hero-content {
        padding: 1.2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-image {
        height: 280px;
        border-radius: 16px;
    }

    .hero-image img {
        border-radius: 16px;
    }

    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    .navbar-logo {
        height: 60px;
        max-width: 140px;
    }
}

@media screen and (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image {
        height: 240px;
    }

    .navbar-logo {
        height: 50px;
        max-width: 110px;
    }
}

.cta-button {
    background: var(--gradient-main);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 32px;
    padding: 1.1rem 2.8rem;
    box-shadow: 0 4px 24px 0 rgba(233,30,99,0.18);
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
    outline: none;
    animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.8s both;
}
.cta-button:hover {
    background: linear-gradient(120deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 32px 0 rgba(26,115,232,0.18);
    transform: translateY(-2px) scale(1.04);
}

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

/* About Us Section Styles */
.about-section {
    background: linear-gradient(120deg, #f5f8ff 60%, #e3f2fd 100%);
    position: relative;
    overflow: visible;
}
.about-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background: rgba(255,255,255,0.7);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    padding: 3rem 2rem 2rem 2rem;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.about-image {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(26,115,232,0.10);
    transition: transform 0.5s cubic-bezier(.77,0,.18,1), box-shadow 0.5s;
}
.about-content {
    flex: 0 0 50%;
    max-width: 50%;
    background: rgba(255,255,255,0.5);
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(26,115,232,0.06);
    padding: 2rem 2rem 2rem 3rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* SVG Wave Divider */
.section-divider {
    display: block;
    width: 100%;
    height: 60px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.about-section h2 {
    font-size: 0.9rem; /* Smaller font size for 'About Us' heading */
    color: var(--heading-color); /* Heading color to match other sections */
    margin-bottom: 0.5rem; /* Reduced bottom margin */
    text-align: left; /* Align to the left */
    width: 100%; /* Ensure it takes full width */
    padding: 0 1rem; /* Add horizontal padding to match container */
}

.about-image {
    flex: 0 0 50%; /* Fixed 50% width, no shrinking/growing */
    max-width: 50%; /* Ensure it doesn't exceed 50% */
    padding: 1rem; /* Add padding */
    display: flex;
    justify-content: center; /* Center image horizontally */
    align-items: center; /* Center image vertically */
    position: relative; /* Needed for absolute positioning of years-of-experience */
}

.about-content h3 {
    font-size: 2.2rem; /* Larger heading size */
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2; /* Adjusted line height */
}

.about-content p {
    margin-bottom: 1.5rem; /* Increased bottom margin for paragraphs */
    color: var(--text-color);
    font-size: 1.1rem; /* Slightly larger font size for paragraphs */
}

/* Years of Experience Box Styles */
.years-of-experience {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: var(--accent-color); /* Use accent color */
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-size: 1.8rem; /* Larger font size */
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 2; /* Ensure it's above the image */
}

/* Feature Blocks Styles */
.feature-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    background: rgba(255,255,255,0.5);
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(26,115,232,0.06);
    padding: 2rem 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.4s both;
}
.feature-item {
    flex: 1 1 180px;
    min-width: 180px;
    max-width: 260px;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(26,115,232,0.06);
    padding: 1.2rem 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 0 auto;
}
.feature-item i {
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: color 0.3s, text-shadow 0.3s;
    text-shadow: 0 2px 8px rgba(26,115,232,0.10);
    flex-shrink: 0;
}
.feature-item:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 24px 0 rgba(233,30,99,0.10);
}
.feature-item:hover i {
    color: var(--accent-color);
    text-shadow: 0 4px 16px rgba(233,30,99,0.18);
}

.feature-text h4 {
    font-size: 1.1rem;
    color: var(--secondary-color); /* Secondary color for feature titles */
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0; /* Remove bottom margin */
}

/* Schedule Consultation Button Styles */
.schedule-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color); /* Use primary color to match CTA */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 2.5rem; /* Space above the button */
    font-weight: bold;
}

.schedule-button:hover {
    background-color: var(--secondary-color); /* Secondary color on hover */
}

.schedule-button i {
    margin-left: 0.8rem; /* Space between text and arrow */
}

/* Responsive Design for About Us Section */
@media screen and (max-width: 900px) {
    .about-image, .about-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 1rem 0;
    }
    .about-content {
        padding: 2rem 1rem 1rem 1rem;
        margin-top: 0;
    }
    .about-section .container {
        flex-direction: column;
        padding: 2rem 1rem 1rem 1rem;
    }
    .feature-blocks {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem 0.5rem;
    }
    .feature-item {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 400px;
        width: 100%;
        justify-content: flex-start;
        text-align: left;
        padding: 1.2rem 1rem;
    }
    .feature-item i {
        font-size: 2rem;
    }
}

/* Stats Counter Section Styles */
.stats-counter-section {
    background: linear-gradient(120deg, #0093d5 0%, #33b5e5 100%);
    color: #fff;
    position: relative;
    overflow: visible;
}
.stats-counter-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    padding: 3rem 2rem 2rem 2rem;
    margin-bottom: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.counter-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    width: 100%;
}
.counter-item {
    flex: 1 1 200px;
    min-width: 180px;
    max-width: 260px;
    background: rgba(255,255,255,0.10);
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(26,115,232,0.10);
    padding: 2rem 1rem 1.5rem 1rem;
    margin: 0 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
    text-align: center;
}
.counter-item:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 24px 0 rgba(233,30,99,0.10);
}
.counter-item i {
    font-size: 3.2rem;
    color: #fff;
    text-shadow: 0 4px 24px rgba(26,115,232,0.18);
    filter: drop-shadow(0 0 8px #e91e63aa);
    transition: filter 0.3s, color 0.3s;
}
.counter-item:hover i {
    color: var(--accent-color);
    filter: drop-shadow(0 0 16px #1a73e8cc);
}
.counter {
    font-size: 3.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(26,115,232,0.18);
}
.counter-item p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

/* Responsive adjustments for Stats Counter Section */
@media screen and (max-width: 900px) {
    .counter-items {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .counter-item {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}

/* Services Section Styles */
.services-section {
    padding: 6rem 2rem;
    background: linear-gradient(120deg, #e3f2fd 0%, #f5f8ff 100%);
    text-align: center;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-section h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 3rem;
}

.services-slider {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(260px, 1fr));
    gap: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background: rgba(0, 147, 213, 0.08);
    border-radius: 24px;
    box-shadow: 0 4px 24px 0 rgba(26,115,232,0.08);
}

.service-tile {
    width: 320px;
    margin-right: 0;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.10);
    background: rgba(255,255,255,0.7);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.service-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.service-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 147, 213, 0.3) 0%,
        rgba(0, 147, 213, 0.3) 100%
    );
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    z-index: 2;
    transition: background 0.3s;
    text-align: left;
}

.service-tile:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 12px 32px 0 rgba(26,115,232,0.18);
}

.service-tile:hover img {
    transform: scale(1.08);
}

.service-tile:hover .service-content-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 147, 213, 0.92) 0%,
        rgba(0, 147, 213, 0.7) 100%
    );
}

.service-tile h3 {
    font-size: 1.3rem;
    color: #fff;
    text-align: left;
    margin-bottom: 0.5rem;
    transition: transform 0.3s;
}

.service-tile:hover h3 {
    transform: translateY(-10px);
}

.service-tile p {
    font-size: 1rem;
    color: #fff;
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    margin-bottom: 0;
    transform: translateY(10px);
}

.service-tile:hover p {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 1100px) {
    .services-slider {
        grid-template-rows: repeat(2, minmax(220px, 1fr));
        gap: 1.2rem;
    }
    .service-tile {
        width: 260px;
    }
}

@media screen and (max-width: 900px) {
    .services-slider {
        grid-auto-flow: row;
        grid-template-rows: none;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .service-tile {
        width: 100%;
        min-width: 220px;
        max-width: 400px;
        margin: 0 auto;
        height: 260px;
    }
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 6rem 2rem;
    background: linear-gradient(120deg, #e3f2fd 0%, #f5f8ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.testimonials-section .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.testimonials-section h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 3rem;
}
.testimonial-slider-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: visible;
}
.testimonial-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}
.testimonial-item {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    transition: opacity 0.5s, transform 0.5s;
}
.testimonial-item.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    z-index: 2;
    transform: scale(1.03);
}
.testimonial-item p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    background: rgba(255,255,255,0.95);
    border-radius: 16px 16px 16px 0;
    padding: 1.2rem 1.5rem 1.2rem 1.5rem;
    box-shadow: 0 2px 8px 0 rgba(26,115,232,0.08);
    position: relative;
}
.testimonial-item p::after {
    content: '';
    position: absolute;
    left: 30px;
    bottom: -18px;
    width: 0;
    height: 0;
    border-top: 18px solid rgba(255,255,255,0.95);
    border-left: 18px solid transparent;
}
.testimonial-stars {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #ffc107;
    font-size: 1.3rem;
    text-align: left;
    filter: drop-shadow(0 0 6px #ffc10788);
    animation: glowStars 2s infinite alternate;
}
@keyframes glowStars {
    0% { filter: drop-shadow(0 0 6px #ffc10788); }
    100% { filter: drop-shadow(0 0 16px #ffc107cc); }
}
.testimonial-item h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    text-align: right;
    margin-bottom: 0;
    margin-left: auto;
    font-weight: 700;
}
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 147, 213, 0.12);
    border: none;
    color: #0093d5;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, color 0.2s;
}
.testimonial-arrow.left { left: -40px; }
.testimonial-arrow.right { right: -40px; }
.testimonial-arrow:hover { background: var(--primary-color); color: #fff; }
.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
}
.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}
.testimonial-dots .dot.active {
    background: var(--primary-color);
}
@media screen and (max-width: 700px) {
    .testimonials-section .container {
        max-width: 98vw;
        padding: 0;
    }
    .testimonial-slider-wrapper {
        max-width: 98vw;
        padding: 0;
    }
    .testimonial-item {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        font-size: 1rem;
    }
    .testimonial-arrow.left { left: 0; }
    .testimonial-arrow.right { right: 0; }
}

/* Gallery Section Styles */
.gallery-section, .achievements-section {
    padding: 4rem 2rem;
    background: linear-gradient(120deg, #e3f2fd 0%, #f5f8ff 100%);
    text-align: center;
}
.gallery-section .container, .achievements-section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.gallery-section h2, .achievements-section h2 {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
}
.gallery-grid, .achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.gallery-grid img, .achievements-grid img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(0,147,213,0.10);
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
    cursor: pointer;
    background: rgba(255,255,255,0.7);
    animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}
.gallery-grid img:hover, .achievements-grid img:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 24px 0 rgba(0,147,213,0.12);
    filter: brightness(1.08) saturate(1.2);
}
.gallery-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--gradient-main);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    margin-top: 2rem;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(26,115,232,0.10);
}
.gallery-button:hover {
    background: linear-gradient(120deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 4px 16px 0 rgba(233,30,99,0.12);
}
@media screen and (max-width: 1100px) {
    .gallery-grid, .achievements-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    .gallery-grid img, .achievements-grid img {
        height: 160px;
    }
}
@media screen and (max-width: 800px) {
    .gallery-grid, .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .gallery-grid img, .achievements-grid img {
        height: 120px;
    }
}
@media screen and (max-width: 500px) {
    .gallery-grid, .achievements-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
    .gallery-grid img, .achievements-grid img {
        height: 100px;
    }
}

/* Contact Us Section Styles */
.contact-section {
    padding: 4rem 2rem;
    background: linear-gradient(120deg, #f5f8ff 60%, #e3f2fd 100%);
    text-align: center;
}
.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: left;
    background: rgba(255,255,255,0.7);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    padding: 3rem 2rem 2rem 2rem;
    align-items: flex-start;
    animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}
.contact-section h2 {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 2rem;
}
.contact-details, .contact-iframe {
    flex: 1;
    min-width: 300px;
    padding: 1rem;
    background: rgba(255,255,255,0.5);
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(26,115,232,0.06);
    margin-bottom: 1rem;
}
.contact-details h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}
.contact-details p {
    margin-bottom: 1.2rem;
    color: var(--text-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.contact-details p a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s;
}
.contact-details p a:hover {
    color: var(--accent-color);
}
.contact-details p i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}
.contact-iframe iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(26,115,232,0.10);
}
@media screen and (max-width: 900px) {
    .contact-section .container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem 1rem 1rem;
    }
    .contact-details, .contact-iframe {
        min-width: 0;
        width: 100%;
        padding: 1rem 0;
    }
    .contact-iframe iframe {
        height: 300px;
    }
}

/* WhatsApp Contact Button Styles */
.whatsapp-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    background: #0093d5;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
    border-radius: 32px;
    text-decoration: none;
    margin-top: 1.2rem;
    box-shadow: 0 2px 8px 0 rgba(37, 211, 102, 0.15);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    border: none;
}
.whatsapp-contact-btn i {
    font-size: 1.4em;
}
.whatsapp-contact-btn:hover {
    background: #0675a8;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px 0 rgba(37, 211, 102, 0.18);
}

/* Contact Map Responsive */
.contact-map {
    margin-top: 1.5rem;
}
.contact-map iframe {
    width: 100%;
    min-width: 200px;
    max-width: 100%;
    height: 320px;
    border-radius: 16px;
    border: 0;
    box-shadow: 0 2px 8px 0 rgba(26,115,232,0.10);
}
@media screen and (max-width: 900px) {
    .contact-map iframe {
        height: 220px;
    }
}
@media screen and (max-width: 600px) {
    .contact-map iframe {
        height: 160px;
    }
}

/* Footer Flex Adjustments (no map) */
.footer-flex {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0rem;
}
.footer-content {
    flex: 2 1 350px;
    display: flex;
    flex-wrap: wrap;
    gap: 0rem;
    min-width: 260px;
    margin-left: 0.5rem;
    justify-content: flex-start;
    align-items: flex-start;
}
@media screen and (max-width: 900px) {
    .footer-flex {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-content {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        justify-content: center;
    }
}

/* Footer Styles */
footer {
    background: rgba(0, 147, 213, 0.85);
    color: #fff;
    padding: 4rem 2rem 1rem;
    position: relative;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    box-shadow: 0 -4px 24px 0 rgba(26,115,232,0.10);
    margin-top: 4rem;
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255,255,255,0.18);
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}
footer .container, .footer-section, .footer-bottom {
    position: relative;
    z-index: 1;
}
footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 2rem;
}
.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin-bottom: 0.8rem;
}
.footer-section ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}
.footer-section ul li a:hover {
    color: var(--accent-color);
}
.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icon {
    display: inline-block;
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    padding: 0.5rem;
}
.social-icon:hover {
    color: var(--accent-color);
    background: rgba(26,115,232,0.12);
    transform: scale(1.15) rotate(-8deg);
}
.footer-section.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.footer-section.contact-info p i {
    margin-right: 0.8rem;
    color: white;
}
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #fff2;
    font-size: 0.95rem;
    color: #e3f2fd;
}
@media screen and (max-width: 900px) {
    footer .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .footer-section {
        margin-bottom: 2rem;
    }
    .footer-section:last-child {
        margin-bottom: 0;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-section.contact-info p {
        justify-content: center;
    }
}

/* Floating Action Buttons Styles */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000; /* Ensure buttons are above other content */
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px; /* Space between buttons */
}

.floating-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px; /* Button size */
    height: 50px;
    border-radius: 50%; /* Circular shape */
    background-color: transparent; /* Transparent background initially */
    color: #ffffff; /* Icon color */
    font-size: 1.8rem;
    text-decoration: none; /* Remove underline */
    box-shadow: none; /* No initial shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease; /* Added color transition */
}

.floating-buttons.scrolled .floating-button {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.floating-button:hover {
    opacity: 0.8; /* Slight opacity change on hover */
}

.floating-button.go-top-btn {
    color: #ffffff; /* White icon color for go to top */
    background-color: transparent; /* Transparent initially */
    box-shadow: none; /* No shadow initially */
}

.floating-buttons.scrolled .floating-button.go-top-btn {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.hidden{
    display: none;
}

/* Responsive adjustments for Floating Buttons */
@media screen and (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }

    .floating-button {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* Image Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top (higher than navbar and floating buttons) */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black with opacity */
    padding-top: 60px; /* Place content 60px from the top */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Add Animation */
.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* Responsive adjustments for Modal */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

/* Before and After Section Styles */
.before-after-section {
    padding: 6rem 2rem;
    background: linear-gradient(120deg, #f5f8ff 60%, #e3f2fd 100%);
    text-align: center;
}
.before-after-section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.before-after-section h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 3rem;
}
.before-after-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: 1fr;
    gap: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background: rgba(0, 51, 102, 0.08);
    border-radius: 24px;
    box-shadow: 0 4px 24px 0 rgba(26,115,232,0.08);
}
.before-after-item {
    width: 320px;
    height: 240px;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(26,115,232,0.10);
    overflow: hidden;
    scroll-snap-align: start;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.before-after-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    transition: transform 0.3s;
}
.before-after-item:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 12px 32px 0 rgba(26,115,232,0.12);
}
@media screen and (max-width: 1100px) {
    .before-after-item {
        width: 240px;
        height: 180px;
    }
    .before-after-grid {
        gap: 1.2rem;
    }
}
@media screen and (max-width: 700px) {
    .before-after-grid {
        grid-auto-flow: row;
        grid-template-rows: none;
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .before-after-item {
        width: 100%;
        min-width: 180px;
        max-width: 400px;
        height: 180px;
        margin: 0 auto;
    }
}

/* Fly-in Effects */
.fly-in-left {
    opacity: 0;
    transform: translateX(-100px); /* Increased distance for more noticeable effect */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Increased duration for smoother animation */
    will-change: transform, opacity; /* Optimize for animations */
}

.fly-in-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.fly-in-right {
    opacity: 0;
    transform: translateX(100px); /* Increased distance for more noticeable effect */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Increased duration for smoother animation */
    will-change: transform, opacity; /* Optimize for animations */
}

.fly-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

.gallery-grid p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Remove pink/purple accent colors from shadows, overlays, and button effects
.cta-button, .gallery-button, .service-tile:hover, .feature-item:hover, .counter-item:hover, .testimonial-arrow:hover, .social-icon:hover {
    box-shadow: 0 8px 32px 0 rgba(26,115,232,0.18) !important;
    background: linear-gradient(120deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
}
.feature-item:hover i, .counter-item:hover i {
    color: var(--accent-color) !important;
    text-shadow: 0 4px 16px rgba(26,115,232,0.18) !important;
} */
.social-icon:hover {
    background: rgba(26,115,232,0.12) !important;
}
.footer-section h3 {
    color: white !important;
}

/* --- Revert Our Vision Section Styles to Original --- */
.our-vision-section {
    padding: 4rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('gallery/WhatsApp\ Image\ 2025-05-19\ at\ 11.47.19\ AM.jpeg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}
.our-vision-section .container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.our-vision-section h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
}
.our-vision-section p {
    font-size: 1.1rem;
    color: #f1f1f1;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}
.our-vision-section p:last-child {
    margin-bottom: 0;
}
