:root {

    /* OLD */
/*    --primary: #AB47BC;*/
/*    --primary: #9575CD;*/
    
    
    /* LATEST */
/*    --primary: #F7396F;*/
    --primary: #f7396f;
    /* --primary: #00796B; */
    
    --width-container: 1400px;
/*    --black:  #212121;*/
    /* --black:  #041c3c; */
    --blue: #1C2A38;
    --white: #FAFAFA;

    --text: #333;
}

html, body {
    margin: 0;
    padding: 0;

    height: 100%;
    overflow-x: hidden;

    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--blue);
    /* background-color: var(--black); */
    /* color: var(--white); */
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.pointer {
    cursor: pointer !important;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text);
}

/* Header styles */
header {
    height: 100vh;
    /* min-height: 100vh; */
    min-height: 1300px;
    padding: 2rem;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    overflow: hidden;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--width-container);
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.logo img {
    height: 90px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

.cta-button {
    background: #007bff;
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.hero-content {
    width: 100%;
    max-width: var(--width-container);
    margin: 4rem auto 0;
    padding: 0 2rem;
    position: relative;
    z-index: 100;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #1a1a1a;
}

.hero-content h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #666;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 0 1.5rem;
    margin-top: 2.5rem;
}
    .hero-ctas > .cta-primary {
        border: 2px solid var(--blue);
    }

.cta-primary {
    background: var(--blue);
    color: var(--white) !important;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.cta-primary:hover {
    background: #2a3f52;
}

.cta-secondary {
    color: var(--blue) !important;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--blue);
    transition: background-color 0.3s ease;
    display: inline-block;
}

.cta-secondary:hover {
    background: rgba(28, 42, 56, 0.05);
}

/* Update the nav CTA to match the new style */
.nav-links .cta-button {
    background: var(--blue);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.nav-links .cta-button:hover {
    background: #2a3f52;
    transform: none;
    box-shadow: none;
}

/* Responsive design */
@media (max-width: 980px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

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

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-primary, .cta-secondary {
        text-align: center;
    }
}

/* Blob animations */
@keyframes blob1 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(300px, -150px) scale(1.3); }
    66% { transform: translate(-100px, 100px) scale(0.8); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes blob2 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-200px, 200px) scale(0.7); }
    66% { transform: translate(150px, -150px) scale(1.4); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes blob3 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(250px, 150px) scale(1.2); }
    66% { transform: translate(-200px, -200px) scale(0.8); }
    100% { transform: translate(0, 0) scale(1); }
}

.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.35;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, var(--primary) 0%, rgba(247, 57, 111, 0.3) 70%);
    top: -200px;
    left: -100px;
    animation: blob1 20s infinite ease-in-out;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, var(--primary) 0%, rgba(247, 57, 111, 0.2) 70%);
    top: 30%;
    right: -100px;
    animation: blob2 25s infinite ease-in-out;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, var(--primary) 0%, rgba(247, 57, 111, 0.15) 70%);
    bottom: 60px;
    left: 30%;
    animation: blob3 30s infinite ease-in-out;
}

.dynamic-text {
    /* color: #666; */
    color: var(--primary);
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

/* .wave-separator {
    position: relative;
    width: 100%;
    line-height: 0;
    z-index: 2;
    margin-bottom: -4px;
}

#main {
    background: var(--blue);
    color: var(--white);
    min-height: 60vh;
    width: 100%;
    padding: 4rem 0 0 0;
    position: relative;
    z-index: 1;
} */

.wavy-separator-container {
    position: absolute;
    width: 110%;
    min-width: 1480px;
    height: 100%;
    overflow-x: hidden;
    pointer-events: none;
    bottom: 0;
    left: -7.5%;
    z-index: 20;
    /* right: 0; */
    /* transform: scaleX(-1); */
}

    .wavy-separator {
        width: 100%;
        height: 100%;
        position: absolute;
        right: 0;
        display: flex;
        align-items: flex-end;
        margin-bottom: 0px;
    }

    .wavy-separator.outer-2 {
        opacity: 0.1;
        bottom: 30px;
        left: 50px;
        z-index: 5;
        animation: wiggle 5s ease-in-out infinite 0s alternate;
        
    }

    .wavy-separator.outer-1 {
        opacity: 0.2;
        bottom: 10px;
        left: 10px;
        z-index: 4;
        animation: wiggle 5s ease-in-out infinite 1s alternate;
    }

    .wavy-separator.inner {
        bottom: 0;
        left: 0;
        z-index: 6;
    }

    @keyframes wiggle {
        0% {
            transform: translateX(0px);
        }

        50% {
            transform: translateX(40px);
        }

        100% {
            transform: translateX(-20px);
        }
    }

    .wiggle-animation-1 {
        animation: wiggle 5s ease-in-out infinite 0s alternate;
    }

    .wiggle-animation-2 {
        animation: wiggle 5s ease-in-out infinite 1s alternate;
    }

.phone-mockup {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: var(--width-container);
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 10;
    /* perspective: 1000px; */
    /* transform-style: preserve-3d; */
}

.phone-mockup-screen {
    position: absolute;
    left: 0;
    bottom: -40px;
    height: 62%;
    aspect-ratio: 1/1.5;
    /* transform: translateX(-12%) rotate(-5deg) rotateX(5deg) rotateY(5deg); */
    transform: translateX(-12%) rotate(-6deg);
    /* transform: translateX(-12%); */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
    /* animation: floatPhone 8s ease-in-out infinite; */
    /* transform-style: preserve-3d; */
    border-radius: 32px;
}

/* Commenting out the animation keyframes for now
@keyframes floatPhone {
    0% {
        transform: translateX(-12%) translateY(0) rotate(-5deg) rotateX(10deg) rotateY(-5deg);
    }
    25% {
        transform: translateX(-14%) translateY(-10px) rotate(5deg) rotateX(12deg) rotateY(-3deg);
    }
    50% {
        transform: translateX(-12%) translateY(0) rotate(-5deg) rotateX(10deg) rotateY(-5deg);
    }
    75% {
        transform: translateX(-10%) translateY(10px) rotate(-15deg) rotateX(8deg) rotateY(-7deg);
    }
    100% {
        transform: translateX(-12%) translateY(0) rotate(-5deg) rotateX(10deg) rotateY(-5deg);
    }
}
*/

.mockup-slider {
    position: absolute;
    top: 5%;   /* adjust to fit the screen area of your frame */
    left: 20%; /* adjust to fit the screen area of your frame */
    width: 60%;  /* adjust to fit the screen area of your frame */
    height: 85%; /* adjust to fit the screen area of your frame */
    overflow: hidden;
    border-radius: 32px; /* match the iPhone screen corners */
    z-index: 1;
    background: #000;
}

.mockup-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.mockup-frame {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
    /* box-shadow: 1px 1px 40px 0 rgba(0, 0, 0, 0.5); */
    /* filter: drop-shadow(1px 1px 14px rgba(0, 0, 0, 0.5)); */
}


#main {
    /* min-height: 100vh; */
    margin-bottom: 100px;
    background-color: var(--blue);
    
    /* This is to fix the bug of a tiny 1-px gap between the bottom of the hero section and the top of the main section (no longer needed as the body bg is now blue. */
    /* position: relative;
    top: -2px; */
}

.certifications {
    position: absolute;
    top: calc(38% + 65px);
    right: 10vw;
    /* left: 40%; */
    /* bottom: 8vw; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
    align-items: flex-start;
    align-items: stretch;
    z-index: 12;
}

.cert-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #bebebe;
    box-shadow: 0 4px 12px -2px rgba(28,42,56,0.10);
    padding: 1.2rem 1.5rem 1rem 1.5rem;
    /* min-width: 220px; */
    /* min-width: 280px; */
    width: 320px;
    min-height: 110px;
    gap: 0.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.cert-card::after {
    /* content: '';
    position: absolute;
    top: -32px;
    right: -32px;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #f7396f 60%, #ffb347 100%);
    border-radius: 0 0 60px 60px;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.2s; */
}

.cert-card:nth-child(2)::after {
    background: linear-gradient(135deg, #007bff 60%, #00e6e6 100%);
}
.cert-card:nth-child(3)::after {
    background: linear-gradient(135deg, #ffb347 60%, #f7396f 100%);
}
.cert-card:nth-child(4)::after {
    background: linear-gradient(135deg, #6f42c1 60%, #00e6e6 100%);
}
.cert-card:nth-child(5)::after {
    background: linear-gradient(135deg, #088c2b 60%, #00b894 100%);
}
.cert-card:nth-child(6)::after {
    background: linear-gradient(135deg, #ff0004 60%, #00e6e6 100%);
}

.cert-card:hover::after {
    opacity: 0.28;
}

.cert-card:hover {
    box-shadow: 0 8px 32px 0 rgba(28,42,56,0.18);
    /* transform: translateY(-2px) scale(1.03); */
}

.cert-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #1C2A38;
    /* margin-bottom: 0.7rem; */
    margin-bottom: 0;
    text-align: left;
    width: 100%;
}

.cert-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.2rem;
}

.cert-icon img {
    width: auto;
    height: 36px;
    display: block;
}

.cert-year {
    font-size: 1rem;
    color: #888;
    font-weight: 500;
    /* margin-left: 0.5rem; */
}

.cert-subtitle {
    /* font-size: 0.8rem; */
    color: #C62828;
    font-weight: 800;
    opacity: 0.75;
}

/* Remove unused styles */
.cert-img, .cert-info { display: none !important; }

@media (max-width: 980px) {
    header {
        height: auto;
        padding-bottom: 120px;
    }

    /* .hero-content h1 {
        font-size: 2.2rem;
        text-align: center;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-content h1 .fixed-text,
    .hero-content h1 .dynamic-text {
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    } */

    .hero-content h1 .fixed-text {
        font-size: 2rem;
        white-space: nowrap;
        display: block;
        text-align: center;
    }

    .hero-content h1 .dynamic-text {
        font-size: 2rem;
        color: var(--primary);
        display: block;
        /* position: relative; */
        text-align: center;
    }

    .hero-content h2 {
        font-size: 0.95rem;
        text-align: center;
        margin: 0 auto;
    }

    .certifications {
        position: relative;
        grid-template-columns: 1fr;
        gap: 1rem;
        right: auto;
        justify-content: center;
        align-items: center;
        margin-top: 2rem;
        margin-bottom: 1rem;
        padding: 0;
    }
    .cert-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .phone-mockup {
        position: relative;
        /* height: 500px; */
        width: 100%;
        height: auto;
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .phone-mockup-screen {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        /* height: 80%; */
        /* width: 100%; */
        height: 600px;
        bottom: 0;
    }

    .mockup-slider {
        top: 5%;
        left: 20%;
        width: 60%;
        height: 85%;
    }

    .hero-content {
        margin-top: 2rem;
        padding: 0 1rem;
    }    

    .hero-ctas {
        justify-content: center;
    }
}

/* Testimonials Section */
.testimonials-section {
    margin-top: 20px;
    padding: 80px 20px;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    /* color: #1e2939; */
    color: var(--white);
    margin-bottom: 60px;
    font-weight: 700;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.testimonial-card {
    /* background: white; */
    /* background-color: #657687; */
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-icon {
    /* color: #4a90e2; */
    color: var(--primary);
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    /* color: #4a5568; */
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e4e8eb;
}

.author-info h4 {
    margin: 0;
    /* color: #1e2939; */
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info p {
    margin: 5px 0 0;
    /* color: #64748b; */
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Animation for testimonial cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.4s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .testimonials-section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Add a subtle gradient background to the cards */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    /* background: linear-gradient(90deg, #4a90e2, #67b26f); */
    background: linear-gradient(90deg, var(--blue), #838d96);
    border-radius: 20px 20px 0 0;
}

/* Footer Styles */
.footer {
    background-color: #101828;
    color: #fff;
    padding: 60px 0 0 0;
    position: relative;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.footer-brand {
    width: 360px;
}

.footer-logo {
    height: 50px;
    width: auto;
    /* filter: brightness(0) invert(1); */
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--primary);
}

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

.social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: #fff;
    background: var(--primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Footer */
@media (max-width: 980px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }


}

/* Add a subtle gradient overlay to the footer */
/* .footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, 
        rgba(247, 57, 111, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
} */

/* Portfolio Section */
#portfolio {
    padding: 4rem 2rem;
    background: var(--blue);
    width: 100%;
    margin: 0;
    margin-bottom: 100px;
}

#portfolio h3 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4rem;
}

#portfolio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 1rem;
    justify-content: center;
    align-items: flex-start;
}

#portfolio-container > div {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: var(--white);
    height: 300px;
    flex-shrink: 0;
}

#portfolio-container > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

#portfolio-container img {
    width: auto;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}

#portfolio-container > div:hover img {
    transform: scale(1.05);
}

/* Image Popup Styles */
#image-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 2rem;
}

#popup-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #f7396f;
}

#close-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#close-btn:hover {
    background: #e02e5a;
}

@media (max-width: 980px) {
    #portfolio-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    #portfolio-container > div {
        width: 100%;
        max-width: 400px;
        height: 250px;
        margin: 0 auto;
    }

    #image-popup {
        padding: 1rem;
    }

    #popup-img {
        max-width: 100%;
        max-height: 100%;
    }

    .close-popup {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }

    #close-btn {
        bottom: 10px;
        padding: 8px 16px;
    }
}

/* Bio Section */
#bio {
    margin-top: 120px;
    padding: 0 20px 80px;
    background-color: var(--blue);
}

.bio-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.bio-image {
    flex-shrink: 0;
}

.bio-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;


    /* border: 6px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 10px var(--primary); */
    /* OR */
    border: 6px solid transparent;
    background: linear-gradient(45deg, var(--primary), #7B1FA2) padding-box, 
                linear-gradient(45deg, var(--primary), #7B1FA2) border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    
    filter: drop-shadow(0 0 20px rgba(247,57,111,0.5));
}

.bio-tooltip {
    position: relative;
    background: #fff;
    color: var(--text);
    padding: 30px 35px;
    border-radius: 20px;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.bio-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -19px;
    transform: translateY(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.bio-tooltip h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--blue);
    font-size: 1.8rem;
    font-weight: 700;
}

.highlight-name {
    background: linear-gradient(45deg, var(--primary), #ae3a5b);
    /* background: linear-gradient(45deg, var(--primary), var(--blue)); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.bio-tooltip p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
    font-size: 1.05rem;
    color: #4a5568;
}

.bio-tooltip p:last-of-type {
    margin-bottom: 2rem;
}

.bio-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.bio-cta:hover .whatsapp-icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .bio-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .bio-tooltip::before {
        top: -19px;
        left: 50%;
        transform: translateX(-50%);
        border-color: transparent transparent #fff transparent;
    }

    .bio-image img {
        width: 160px;
        height: 160px;
    }

    .bio-tooltip h3 {
        font-size: 1.5rem;
    }
}

.bio-cta:hover .whatsapp-icon,
.cta-primary:hover .whatsapp-icon {
    transform: scale(1.1);
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    /* background: #f1f1f1; */
    background: var(--blue);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 16px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e02e5a;
}

/* Firefox */
* {
    scrollbar-width: 16px;
    scrollbar-color: var(--primary) var(--blue);
}

.cta-primary:hover .whatsapp-icon {
    transform: scale(1.1);
}

/* Certificate Popup Styles */
.cert-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 42, 56, 0.85);
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    padding: 20px;
}

.cert-popup.show .cert-popup-content {
    transform: scale(1);
    opacity: 1;
}

.cert-popup-content {
    position: relative;
    background: linear-gradient(45deg, var(--primary), #7B1FA2) padding-box, 
                linear-gradient(45deg, var(--primary), #7B1FA2) border-box;
    /* padding: 40px; */
    padding: 6px;
    border-radius: 20px;
    max-width: 980px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 8px solid transparent;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

    .cert-popup-body {
        display: flex;
    }

.cert-popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 12px;
    z-index: -1;
}

.cert-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.cert-popup-close:hover {
    color: var(--primary);
}

.cert-popup-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    /* margin-bottom: 20px; */
    border: 1px solid #eee;
}

.cert-popup-body h4 {
    font-size: 1.5rem;
    color: var(--blue);
    margin: 0;
    line-height: 1.3;
}

.cert-popup-details {
    font-size: 1rem;
    color: #888;
    margin-top: 15px;
    font-weight: 500;
}

/* Final CTA Section */
#final-cta {
    margin-top: 240px;
    padding: 120px 20px;
    background: linear-gradient(90deg, var(--primary) 0%, #ae3a5b 100%);
    text-align: center;
    position: relative;
    /* overflow: hidden; */
}

#final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.final-cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

#final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

#final-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-button {
    background: var(--blue) !important;
    color: var(--white) !important;
    padding: 1.2rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    text-decoration: none !important;
}

.final-cta-button:hover {
    background: #2a3f52 !important;
    /* transform: translateY(-2px) !important; */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
}

.final-cta-button .whatsapp-icon {
    width: 28px !important;
    height: 28px !important;
}

/* Responsive design for final CTA */
@media (max-width: 768px) {
    #final-cta {
        padding: 60px 20px;
    }
    
    #final-cta h2 {
        font-size: 2rem;
    }
    
    #final-cta p {
        font-size: 1.1rem;
    }
    
    .final-cta-button {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }
}

/* CTA Wavy Separators */
.cta-separator-v2 {
    position: absolute;
    width: 100%;
    min-width: auto!important;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    top: -100%;
    left: 0%;
    z-index: 20;
    margin-bottom: -4px;
}

/* .cta-separator-bottom {
    position: relative;
    width: 110%;
    min-width: 1480px;
    height: 100%;
    overflow-x: hidden;
    pointer-events: none;
    bottom: 0;
    left: -7.5%;
    z-index: 20;
    margin-top: -4px;
} */

.cta-separator-v2 .wavy-separator.outer-2 {
    opacity: 0.1;
    top: -15px;
    left: -15px;
    z-index: 5;
    animation: wiggle 5s ease-in-out infinite 0s alternate;
}

.cta-separator-v2 .wavy-separator.outer-1 {
    opacity: 0.2;
    top: -5px;
    left: 5px;
    z-index: 4;
    animation: wiggle 5s ease-in-out infinite 1s alternate;
}

.cta-separator-v2 .wavy-separator.inner {
    top: 0;
    left: 0;
    z-index: 6;
}

/* .cta-separator-bottom .wavy-separator.outer-2 {
    opacity: 0.1;
    bottom: 30px;
    left: 50px;
    z-index: 5;
    animation: wiggle 5s ease-in-out infinite 0s alternate;
}

.cta-separator-bottom .wavy-separator.outer-1 {
    opacity: 0.2;
    bottom: 10px;
    left: 10px;
    z-index: 4;
    animation: wiggle 5s ease-in-out infinite 1s alternate;
}

.cta-separator-bottom .wavy-separator.inner {
    bottom: 0;
    left: 0;
    z-index: 6;
} */

/* Responsive design for final CTA */