/* Left Panel Styles */
.left-panel {
    width: 50%;
    height: 100%;
    background-color: var(--theme-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 50px 30px;
    /* position: fixed; */
    gap: 20px;
    /* border: 2px solid red; */
}

.left-panel__info {
    color: var(--theme-primary);
    
}

.left-panel__info h1 {
    display: inline-block;
    height: 160px;
    /* border: 2px solid yellow; */
    width: 100%;
    padding: 20px 0px;
    font-size: 1.5rem;
}

.left-panel__name {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.left-panel__title {
    font-size: 1.2rem;
    margin-top: 30px;
}

.left-panel__button {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 400;
    color: var(--theme-leftBtn-text);
    border: 2px solid var(--theme-primary);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.5s ease-in-out;
}

.left-panel__button:hover {
    background-color: var(--theme-hover-color);
    color: var(--theme-leftBtnText-hover);
    border: 2px solid var(--theme-hover-color);
}

.left-panel__social-text {
    font-size: 1rem;
    font-style: italic;
}

.left-panel__social-links {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: auto;
}

.social-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .left-panel {
        width: 100%;
        height: 100vh;
        position: relative;
        padding: 40px 20px;
        z-index: 5;
        scroll-snap-align: start;
    }
}



@media (max-width: 359px) {
    .left-panel__info {
        margin-top: 8rem;
        padding: 0 18px;
    }

    .left-panel__name {
        font-size: 1rem;
    }

    .left-panel__title {
        font-size: 0.8rem;
    }

}

@media (min-width: 360px) and (max-width: 767px) {
    .left-panel__info {
        padding-top: 82px;
    }

    .left-panel__name {
        font-size: 1.8rem;
    }

    .left-panel__info h1 {
        height: 220px;
    }


}

@media (min-width: 1024px) and (max-width: 1279px) {
    .left-panel__name {
        margin-top: 5rem;
        font-size: 1.5rem;
    }
}


/* Main Body Container */
.main-body-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    flex-direction: row;
}

@media (max-width: 1024px) {
    .main-body-container {
        flex-direction: column;
        display: block;
        width: 100%;
        position: relative;
        height: 100vh;
        scroll-snap-type: y mandatory;
        overflow-y: auto;
    }
}



.maxoliv-spa-container {
    display: flex;
    height: 100%;
    overflow: hidden;
    /* border: 2px solid blue; */
}

.typewriter-container {
    font-size: 2.2rem;
}



/* Right Panel Styles */


.right-panel {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex; 
    flex-direction: column;
    /* scroll-snap-type: start; */
}

.right-panel-bg {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}


.scrollable-sections {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    z-index: 5;
    overflow-x: hidden;
    position: relative;
}

.empty-div {
    height: 100vh;
    width: 100%;
    background-color: transparent;
    /* scroll-snap-align: start; */
    position: sticky;
    top: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .maxoliv-spa-container {
        flex-direction: column;
        overflow-y: auto;
        width: 100%;
        position: relative;
        display: block;
        height: 100vh;
        /* scroll-snap-type: y mandatory; */
        overflow-y: auto;
    }

    .right-panel,
    .right-panel-bg {
        width: 100%;
        position: sticky;
    }
}



/* Left Panel Editable Elements */
.left-panel__name,
.left-panel__title,
.left-panel__button,
.left-panel__social-text {
    transition: all 0.3s ease;
}

/* Customizer preview styles */
.customize-partial-edit-shortcut-left_panel_name button,
.customize-partial-edit-shortcut-left_panel_description button,
.customize-partial-edit-shortcut-left_panel_button_text button,
.customize-partial-edit-shortcut-left_panel_social_heading button {
    left: 50%;
    transform: translateX(-50%);
}


/* Burger Menu Styles */
.burger-menu-wrapper {
    position: relative;
    z-index: 5000;
}

.burger-toggle {
    background-color: #2e304b;
    border: #2e304b;
}

.burger-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: fixed;
    top: 70px;
    left: 30px;
    z-index: 4999;
}

.burger-icon {
    width: 40px;
    transition: opacity 0.3s ease;
    z-index: 5000;
}

.burger-icon:hover {
    opacity: 0.8;
}

.burger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.burger-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.burger-menu-modal {
    position: relative;
    width: 100%;
    height: 100%;
}

.burger-menu-content {
    position: absolute;
    top: 25px;
    left: 40px;
    width: 25%;
    padding: 40px;
    color: #2e304b;
    z-index: 1005;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-menu-title {
    font-size: 20px;
    margin-bottom: 2rem;
    text-align: center;
}

.burger-menu-nav {
    text-align: left;
}

.burger-menu-item {
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.burger-menu-item h4 {
    margin: 0;
    font-size: 18px;
}

.burger-menu-item p {
    margin: 0;
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .burger-circle {
        width: 50px;
        height: 50px;
        top: 45px;
        left: 3rem;
    }
    
    .burger-icon {
        width: 30px;
    }
    
    .burger-menu-content {
        width: 75%;
    }
}

@media (max-width: 767px) {
    .burger-menu-content {
        width: 100%;
        left: 20px;
        padding: 20px;
    }
}

/* Circle Reveal Animation */
.circle-reveal {
    position: fixed;
    top: 10px;
    left: 22px;
    width: 8rem;
    margin-top: 50px;
    height: 35vh;
    border-radius: 5%;
    transform-origin: left center;
    z-index: 999;
    background-color: rgb(241, 241, 241);
    transform: scale(0);
    opacity: 0;
    transition:
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease;
}

.burger-menu-overlay.active .circle-reveal {
    transform: scale(3);
    opacity: 1;
}

/* Responsive Styles for Circle Reveal */
@media (max-width: 359px) {
    .circle-reveal {
        width: 6rem;
        height: 45vh;
    }
}

@media (min-width: 360px) and (max-width: 767px) {
    .circle-reveal {
        height: 40vh;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .circle-reveal {
        width: 12rem;
        height: 20rem;
    }
}


/* Theme Switcher Styles */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.theme-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    opacity: 0.95;
    transition: background-color 0.6s ease;
    padding: 0;
    appearance: none;
}

.theme-dot:hover {
    transform: scale(1.2);
}

.theme-dot:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}




/* About Section Styles */
.about-section {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: justify;
    /* scroll-snap-align: start; */
    background-color: #fff;
    padding: 80px 20px;
    position: sticky;
    top: 0;
    /* scroll-margin-top: 2px; */
}

.about-me-text {
    width: 85%;
    height: max-content;
    color: #2e304b;
}

/* Responsive Typography */
@media (max-width: 359px) {
    .about-section {
        font-size: 12px;
    }
}

@media (min-width: 360px) and (max-width: 768px) {
    .about-section {
        font-size: 14px;
    }
}



/* About Section Animation */
/* #about-section {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
} */




/* Certifications Section */
.maxoliv-section {
    padding: 5rem 3rem 4rem;
    background: #f9f9f9;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: justify;
    /* scroll-snap-align: start; */
    position: sticky;
    top: 0;
    /* background-color: #fff; */
    /* padding: 50px; */
    /* scroll-margin-top: 2px; */
}

.maxoliv-section h2 {
    font-size: 1.5rem;
    color: #2e304b;
    margin-bottom: 30px;
    text-align: center;
    align-self: start;
}

.section-title {
    font-size: 2rem;
    color: #2e304b;
    margin-bottom: 20px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(162px, 1fr));
    gap: 0px;
    max-width: 600px;
    margin: 0 auto;
}

.certification-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 150px;
    height: 150px;
    cursor: pointer;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.certification-logo {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 10px;
    background: white;
    border-bottom: 1px solid #eee;
}

.certification-content {
    padding: 25px;
}

.certification-content h3 {
    margin: 0 0 15px;
    color: #2e304b;
    font-size: 1.1rem;
}

.certification-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}


@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr 1fr;
    }

    .certification-logo {
        height: 150px;
        padding: 20px;
    }

    .certification-card {
        width: 120px;
        height: 150px;
    }
}



/* Section-wide overlay */
.cert-section-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #2e304b;
    /* border-radius: 15px; */
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;

    /* pointer-events: none; */
    /* Allows clicking through when invisible */
    /* z-index: 3; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Add these to your existing overlay styles */
.overlay-content {
    padding: 40px;
    /* max-width: 800px; */
    height: 50%;
    width: 90%;
    /* text-align: center; */
    /* border: 2px solid red; */
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;

}

.close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.overlay-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    animation: fadeInDown 0.5s ease;
    text-align: center;
}

.overlay-content p {
    font-size: 16px;
    line-height: 1.6;
    text-align: left
}

.close-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f9f9f9;
    /* color: red; */
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show overlay when any card is hovered */
.certifications-section:hover .section-overlay {
    opacity: 1;
    z-index: 1;
}

.overlay-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: var(--theme-certBtn-hover, #fd8e8e);
    color: var(--theme-certBtn-text, #fff);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.overlay-link:hover {
    background-color: var(--theme-certBtnHover-dark);
    transform: translateY(-2px);
}


/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .section-overlay {
        top: 5%;
        left: 5%;
        width: 90%;
        height: 90%;
    }

    .overlay-content {
        padding: 60px 30px;
        justify-content: space-evenly;
    }

    .overlay-content h3 {
        font-size: 20px;
    }

    .overlay-content p {
        font-size: 14px;
        text-align: justify;
    }

    /* For mobile click behavior */
    .section-overlay:not(.active) {
        display: none;
    }

    .certifications-section:hover .section-overlay {
        opacity: 0;
        /* Disable hover effect on mobile */
    }
}




/* Testimonials Section */
/* .maxoliv-section {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    text-align: center;
    scroll-snap-align: start;
} */

.testimonials-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 800px;
    height: 70%;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
    color: #2e304b;
    justify-content: center;
    align-items: center;
}

.testimonial-text {
    font-size: 2rem;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 10px;
    font-style: normal;
}

.testimonial-image-container {
    margin: 20px auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--theme-swiper-bg, #ffffff);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.testimonial-author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Swiper Styles */
.swiper-pagination {
    position: absolute;
    bottom: 5px;
    left: 10%;
    transform: translateX(-50%);
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--theme-swiper-bg, #ffffff) !important;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
    margin: 0 10px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper {
    height: 90%;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .testimonials-container {
        height: 85%;
        padding: 120px 20px;
    }

    .testimonial-text {
        font-size: 1.5rem;
    }

    .testimonial-author {
        font-size: 1.2rem;
    }
}

@media (max-width: 359px) {
    .testimonials-container {
        padding: 50px 2px;
        height: 100%;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }

   
}


.maxoliv-testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.testimonial-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    width: 100%;
    max-width: 350px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .testimonial-author {
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
} */




/* Projects Section */

#projects-section {
    position: sticky;
    top: 0;
    padding: 5rem 3rem 4rem;
    overflow: hidden;
    background-color: #131217;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    /* border: 1px solid white; */
    color: white;
    /* scroll-snap-align: start; */
    /* scroll-margin-top: 2px; */

    
}

/* Project Carousel Container */
/* .projects-carousel-container {
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    align-self: center;
} */

/* Carousel Container */
.projects-carousel-container {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 0 55px;
    /* Add padding for button space */
    overflow: hidden;
    /* Hide overflowing cards */
    width: 100%;
    height: 100%;
    /* border: 2px solid yellow; */
    max-width: 530px;
    align-self: center;
}

/* Project Card */
.project-card {
    position: relative;
    min-width: 300px;
    height: 95%;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    /* Prevent cards from shrinking */
    /* margin: 0 30px; */
    /* Space between cards */
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: space-around; */
    transition: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    will-change: transform, opacity;
    
}

/* Navigation Buttons */
/* .project-carousel-nav {
    background: #0cdcf7;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    outline-offset: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Navigation Buttons */
.project-carousel-nav {
    position: absolute;
    background: #0cdcf7;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    /* Ensure buttons stay above cards */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-carousel-prev {
    left: 8px;
}

.project-carousel-next {
    right: 8px;
}

.project-carousel-nav:hover {
    transform: scale(1.1);
    background: #00b4d8;
}
/* 
.project-carousel-nav:focus {
    outline: 2px solid #0cdcf7;
} */

.project-carousel-nav svg {
    width: 24px;
    height: 24px;
    /* stroke: currentColor; */
    stroke: white !important;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.projects-carousel-container>.project-card {
    margin: 0 15px;
}

/* Card Content */
.project-card-content {
    padding: 20px;
    color: white;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;    
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    flex-grow: 2;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.6rem;
}

.project-link {
    /* margin-top: auto; */
    display: inline-block;
    padding: 8px 16px;
    background: white;
    /* color: #0cdcf7; */
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .project-card {
        min-width: 250px;
        height: 70%;
    }

    .project-carousel-nav {
        width: 35px;
        height: 35px;
    }

    .project-card h3 {
        font-size: 1rem;
    }

    .project-description p {
        font-size: small;
    }
}

/* Animations - Projects*/
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    70% {
        opacity: 1;
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    0% {
            opacity: 1;
            transform: translateX(0);
        }
    
    30% {   opacity: 0.8;
            transform: translateX(-50px);
        }

    60% {
            opacity: 0.5;
            transform: translateX(-100px);
        }
    85% {
            opacity: 0.2;
            transform: translateX(-120px);
        }
    
    100% {
            opacity: 0;
            transform: translateX(-150px);
        }
}




/* Contact Section */
.contact-section {
    height: 100vh;
    width: 100%;
    padding: 5rem 3rem 4rem;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
    text-align: justify;
    /* position: relative; */
    position: sticky;
    top: 0;
    /* scroll-snap-align: start; */

}

.contact-container {
    max-width: 1200px;
    /* margin: 0 auto; */
    /* padding-top: 50px; */
    position: relative;
}

.contact-header {
    text-align: left;
    margin-bottom: 50px;
    color: #2e304b;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    margin: 0 40px;
}

.contact-options  p {
    color: #2e304b;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 40px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-option:hover {
    opacity: 0.8;
}

.contact-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
}

/* Modal Styles */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.contact-modal {
    background-color: #ebebeb;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
}

.contact-modal-content {
    /* padding: 2rem; */
    overflow-y: auto;
    max-height: 70vh;
}

.contact-modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2.5rem;
    position: sticky;
    top: 0;
    background: #ebebeb;
    z-index: 10;
    padding: 20px;
    border-bottom: 2px solid #cccccc;
}

.contact-modal-close {
    position: absolute;
    top: 40px;
    right: 50px;
    /* width: 40px; */
    /* height: 40px; */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    /* border: 2px solid #2e304b; */
    border-radius: 5px;
    font-size: 20px;
    color: #2e304b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    width: 10px;
    height: 10px;
    z-index: 15;
}

/* Form Styles */
.contact-form-group {
    margin-bottom: 1.2rem;
}

.contact-form {
    padding: 2rem;
    min-height: 80vh;
}

.contact-form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2e304b;
}

.contact-form-input,
.contact-form-textarea,
.contact-form-select {
    width: 100%;
    padding: 0.75rem;
    background: #f7f7f7;
    border: none;
    border-radius: 4px;
    color: #2e304b;
}

.contact-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-input:focus,
.contact-form-textarea:focus,
.contact-form-select:focus {
    outline: none;
    border: 1px solid #8ee7fd;
}

.contact-form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.contact-form-submit {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: var(--theme-certBtn-text, #fff);
    background-color: var(--theme-certBtn-hover, #fd8e8e);
    border: 3px solid var(--theme-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-submit:hover {
    background-color: var(--theme-certBtnHover-dark);
    transform: translateY(-2px);
}

.contact-form-submit-container {
    width: 100%;
    height: fit-content;
    padding: 10px 0;
    position: absolute;
    bottom: 0px;
    left: 0;
    background: #ebebeb;
    border-top: 2px solid #cccccc;
    display: flex;
    justify-content: center;
    align-items: center;
}



.contact-form-success {
    color: green;
    text-align: center;
    margin: 1rem 0;
}


@media (max-width:768px){
    .contact-modal-header {
        padding: 14px 4px 2px;
    }
}