/* 
==============================================
RESET AND BASE STYLES
==============================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #222222;
    overflow-x: hidden;
}

/* 
==============================================
LAYOUT
==============================================
*/
section {

}

/* 
==============================================
TOP BAR
==============================================
*/
#top-center-ai {
    -webkit-backdrop-filter: blur(5px) !important;
    backdrop-filter: blur(5px) !important;
    background-color: rgba(255, 255, 255, 0.2);
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

#top-center-ai img {
   width: 150px;
    height: auto;
}

/* 
==============================================
HEADER SECTIONS
==============================================
*/
/* Main header styles - 100vh on all devices */
#main-header {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
    box-sizing: border-box;
    padding-top: 80px;
}

#main-header section {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    max-width: 90%;
}

/* Remove all margins and paddings from elements inside header */
header * {
    margin: 0;
    padding: 0;
}

/* First Section - AI Heading */
.ai-heading {
    text-align: center;
}

.ai-heading h1 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
}

/* Main Title Section */
#title {
    font-size: 13vw !important;
    white-space: nowrap !important;
    letter-spacing: -11px !important;
    color: #000;
    text-align: center;
    font-weight: 900;
    line-height: 1;
}

/* Subtitle Section */
.subtitle {
    text-align: center;
}

.subtitle h2 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #222222;
}

/* Content Section */
.content {
    text-align: center;
    font-family: 'Overpass', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 2;
}

#main-header .content p {
    margin: 0;
    padding: 0;
}

.content .blue {
    color: #0000ff;
}

.content .underline {
    text-decoration: underline;
    font-weight: bold;
}

/* Hide the line break by default for large screens */
.title-break {
    display: none;
}

/* 
==============================================
FIXED BOOK NOW BUTTON
==============================================
*/
.fixed-book-btn-container {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 10000;
}

/* Initial state - hidden until JS or animation shows it */
.fixed-book-btn-container.initial-state {
    opacity: 0;
    transform: translateY(100px);
    animation: slideUpIn 1s ease forwards;
    animation-delay: 2s;
}

.fixed-book-btn-container.hidden {
    opacity: 0;
    transform: translateY(100px);
}

.fixed-book-btn-container.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fixed-book-btn-container.slide-down-hidden {
    opacity: 0 !important;
    transform: translateY(100px) !important;
    pointer-events: none;
}

@keyframes slideUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fixed-book-btn {
    padding: 12px 25px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: white;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#glow-on-hover-trans {
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

#glow-on-hover-trans:hover:before {
    opacity: 1;
    filter: blur(10px);
    transition: filter .3s ease-in-out;
}

#glow-on-hover-trans:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(0px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 1;
    transition: opacity .3s ease-in-out;
    transition: filter .3s ease-in-out;
    border-radius: 10px;
}

#glow-on-hover-trans:active:after {
    background: transparent;
}

#glow-on-hover-trans:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #FAFAFA;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* 
==============================================
FEATURES GRID SECTION
==============================================
*/
.features-container {
    margin: 3rem 0;
    width: 100%;
    max-width: 100%;
    padding: 2rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.features-column:first-child,
.features-column:last-child {
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.center-column {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.feature h3 {
    font-family: 'Overpass', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: #000;
    text-align: center;
}

.feature p {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    text-align: center;
}

.dashboard-image {
    width: 100%;
    text-align: center;
}

.dashboard-image img {
    width: 100%;
    height: auto;
}

.image-caption {
    margin-top: 1rem;
    font-family: 'Overpass', sans-serif;
    font-size: 14px;
    color: #7d7d7d;
    text-align: center;
}

/* 
==============================================
HUMAN EXPERT SECTION
==============================================
*/
.human-expert-section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 1rem;
}

/* Main header with human expert span */
.expert-title {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 900;
    font-size: 82px;
    letter-spacing: -4px;
    color: #222222;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.1;
}

#human-expert-text {
    display: inline; /* Default to inline */
}

.expert-content {
    font-family: 'Overpass', sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 2;
    color: #686868;
}

.expert-content p {
    margin-bottom: 2rem;
}

/* 
==============================================
SKILLS SUBSECTIONS
==============================================
*/
.skills-subsections {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 1rem;
}

.skill-item {
    display: flex;
    margin-bottom: 6rem;
    align-items: center;
    gap: 4rem;
}

.skill-image {
    flex: 1;
    max-width: 50%;
}

.skill-image img {
    width: 100%;
    height: auto;
}

.skill-content {
    flex: 1;
    max-width: 55%;
}

.skill-title {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 1;
    color: #1c1c1c;
    margin-bottom: 1.5rem;
}

.skill-content p {
    font-family: 'Overpass', sans-serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.5;
    color: #686868;
}

.skill-content p strong {
    font-weight: 700;
    color: #1c1c1c;
}

.right-image {
    flex-direction: row-reverse;
}

/* 
==============================================
TOOLS GRID SECTION
==============================================
*/
.tools-grid-section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 1rem;
}

.tools-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.tools-row.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.tool-card {
    background-color: #FAFAFA;
    padding: 2rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-title {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 60px;
    margin-bottom: 1rem;
    color: #222222;
}

.tool-description {
    font-family: 'Overpass', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: #686868;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tool-icon {
    margin-top: auto;
    text-align: left;
}

.tool-icon img {
    height: 60px;
    width: auto;
    object-fit: contain;
    object-position: left bottom;
}

/* 
==============================================
CASE STUDIES SECTION
==============================================
*/
.case-studies-container {
    margin-top: 4rem;
}

.case-studies-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.case-study {
    display: flex;
    flex-direction: column;
    width: 50%;
    overflow: hidden;
}

.case-study-image {
    width: 100%;
}

.case-study-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.case-study-content {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.case-study-title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4;
    color: #222222;
    margin-bottom: 0.5rem;
}

.caption {
    font-family: 'Overpass', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #6d6d6d;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.case-study-industry, 
.case-study-description {
    font-family: 'Overpass', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #686868;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 0.5rem;
}

.skill-tag {
    background-color: #e3e3e3;
    font-family: 'Overpass', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
    padding: 5px;
    border-radius: 5px;
}

.award {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    line-height: 1.4;
    margin-top: 1.5rem;
}

/* 
==============================================
JOIN US SECTION
==============================================
*/
.join-us-section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 1rem;
}

.section-subtitle {
    font-family: 'Overpass', sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 2rem;
    text-align: center;
    color: #222222;
}

/* 
==============================================
TESTIMONIALS SECTION
==============================================
*/
.testimonials-full-section {
    width: 100%;
    margin: 5rem 0;
    padding: 0;
}

.testimonials-section {
    margin: 0 auto;
    text-align: center;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    margin: auto;
    position: relative;
    
    /* Dynamic CSS variables */
    --gap: 20px;
    --item-width: calc( (100% - var(--gap)) / 2 );
    --start-offset: calc( -1 * ( (var(--item-width) / 2) + (var(--gap) / 2 ) ) );
    --half-track: calc(9 * var(--item-width) + 8 * var(--gap));
}

.carousel-track {
    display: flex;
    gap: var(--gap);
    animation: marquee 20s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    flex: 0 0 var(--item-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #FFF;
    border-radius: 5px;
    padding-bottom: 7px;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

.carousel-item p {
    margin-top: 8px;
    font-size: 0.9rem;
    text-align: center;
    color: #333;
    font-family: 'Overpass', sans-serif;
    padding: 0 10px;
}

@keyframes marquee {
    0% {
        transform: translateX(var(--start-offset));
    }
    100% {
        transform: translateX(calc(var(--start-offset) - var(--half-track)));
    }
}

/* 
==============================================
SUCCESS STORIES SECTION
==============================================
*/
.success-stories-container {
    margin-top: 4rem;
}

.success-story {
    display: flex;
    margin-bottom: 5rem;
    gap: 2rem;
    align-items: center;
}

.success-story-image {
    flex: 0 0 30%;
}

.success-story-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.success-story-content {
    flex: 1;
}

.success-story-title {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.2;
    color: #1c1c1c;
    margin-bottom: 1rem;
}

.success-story-description {
    font-family: 'Overpass', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.5;
    color: #222222;
    margin-bottom: 1rem;
}

.success-story-skills {
    font-family: 'Overpass', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #0000ff;
}

.success-story:nth-child(even) {
    flex-direction: row-reverse;
}

/* 
==============================================
ABOUT/WHAT'S SOLARPUNK SECTION
==============================================
*/
.about-section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 1rem;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.about-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.spline-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.justify-text p {
    font-family: 'Overpass', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.8;
    color: #222222;
    text-align: justify;
    margin-bottom: 1.5rem;
}

.experience-text {
    font-family: 'Overpass', sans-serif;
    font-weight: 400;
    font-size: 47px;
    line-height: 1.2;
    color: #000000;
    margin: 2rem 0;
}

.facilitator-image {
    width: 100%;
    position: relative;
}

.facilitator-image img {
    width: 100%;
    height: auto;
    display: block;
}

.linkedin-caption {
    color: #0000ff;
    font-family: 'Overpass', sans-serif;
    font-size: 14px;
    margin-top: 0.5rem;
}

.external-link-icon {
    display: inline-block;
    font-size: 16px;
    margin-left: 5px;
}

/* 
==============================================
BOOKING FORM SECTION
==============================================
*/
.booking-form-container {
    margin: 5rem auto;
    width: 100%;
    padding: 0 1rem;
}

.booking-title {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 900;
    font-size: 82px;
    letter-spacing: -4px;
    color: #222222;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.1;
}

.booking-form {
    border: 7px solid #000;
    border-radius: 20px;
    padding: 30px;
    background-color: #fff;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    font-family: 'Overpass', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    color: #222222;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Overpass', sans-serif;
    font-size: 22px;
}

.hours-selector {
    margin-bottom: 30px;
}

.hours-control {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hour-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #222;
    background-color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hour-btn:hover {
    background-color: #f0f0f0;
}

#hoursAmount {
    font-family: 'Overpass', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.total-amount {
    font-family: 'Overpass', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

#totalAmount {
    color: #0000ff;
}
.terms-information {
    margin-bottom: 30px;
    font-family: 'Overpass', sans-serif;
    font-size: 22px;
    line-height: 1.6;
    color: #686868;
    font-weight: 300;
}

.terms-information p {
    margin-bottom: 8px;
}

.terms-information p strong {
    display: block;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #000;
}

.terms-information a {
    color: #0000ff;
    text-decoration: underline;
}

.book-now-btn {
    width: 100%;
    padding: 20px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-family: 'Overpass', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-now-btn:hover {
    background-color: #333;
}

/* 
==============================================
SOCIAL ICONS
==============================================
*/
.social-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: auto;
    margin-bottom: 70px;
    padding: 20px 0;
    max-width: 600px;
    position: relative;
}

.social-icons-title {
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 30px;
    height: 30px;
    fill: #000;
    transition: fill 0.3s ease;
}

.social-icon:hover svg {
    fill: #0000ff;
}

/* 
==============================================
SOCIAL GRID SECTION
==============================================
*/
.socials-section {
    margin: 5rem auto;
    margin-bottom: 45px;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 3rem;
}

.social-img-container {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.social-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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




/* Hide mobile-only elements by default (for desktop) */
.mobile-only {
    display: none;
}


.desktop-only {
    display: inline;
}

/* 
==============================================
LANGUAGE SWITCHER
==============================================
*/
.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 150;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 5px 10px;
    border-radius: 20px;
}

.lang-link, .active-lang, .inactive-lang {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 3px 5px;
    transition: all 0.2s ease;
}

.lang-link {
    color: #333;
    text-decoration: none;
}

.lang-link.active, .active-lang {
    color: #0000ff;
    cursor: default;
}

.inactive-lang {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.lang-link:hover:not(.active), .inactive-lang:hover {
    color: #0000ff;
    transform: scale(1.1);
}

.lang-separator {
    color: #777;
    font-size: 14px;
}

.lang-divider {
    color: #777;
    font-size: 14px;
}

@media (max-width: 768px) {
    .language-switcher {
        top: 10px;
        right: 10px;
        padding: 3px 8px;
    }
    
    .lang-link {
        font-size: 12px;
    }
}

/* 
==============================================
MEDIA QUERIES
==============================================
*/
/* Show the line break on screens 1024px and smaller */
@media (max-width: 1024px) {
    .title-break {
        display: inline;
    }
}

/* TABLETS - MEDIA QUERIES (768px - 1024px) */
@media (max-width: 1024px) {
    /* Responsive adjustments for the header */
    @media (max-height: 700px) {
        #main-header {
            
            padding-top: 0;
        }
        
        #main-header section {
            margin: 8px 0;
        }
        
        .ai-heading h1 {
            font-size: 28px;
        }
        
        #title {
            font-size: 11vw !important;
        }
        
        .subtitle h2 {
            font-size: 24px;
        }
    }

    .expert-title {
        font-size: 60px;
    }
    
    .skill-title {
        font-size: 48px;
    }
    
    .tool-title {
        font-size: 48px;
    }
    
    .booking-title {
        font-size: 60px;
    }
    
    .social-icons-container {
        gap: 5px;
    }

    .carousel-container {
        --item-width: calc(33.333% - 20px);
    }
    
    .about-container {
        gap: 2rem;
    }
}

/* PAYMENT FORM STYLES */
#payment-message {
    color: #dc3545;
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    background-color: rgba(220, 53, 69, 0.1);
    display: none;
    text-align: center;
}

#payment-message.hidden {
    display: none;
}

#payment-message:not(.hidden) {
    display: block;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    width: fit-content;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}
#termsAccepted{width: fit-content;}
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* MOBILE - MEDIA QUERIES (up to 768px) */
@media (max-width: 768px) {
    /* Show mobile-only elements on mobile */
    .mobile-only {
        display: inline;
    }
    .desktop-only {
        display: none;
    }
    
    #main-header {
        height: 90vh;
        justify-content: center; /* Center vertically */
        align-items: center; /* Center horizontally */
        padding-top: 0; /* Remove top padding */
        min-height: 500px; /* Minimum height for small screens */
        position: relative; /* For positioning child elements */
       
    }
    
    .ai-heading h1 {
        font-size: 20px;
        letter-spacing: 0;
    }
    
    #title {
        font-size: 18vw !important;
        letter-spacing: -5px !important;
        line-height: 0.9;
    }
    
    .subtitle h2 {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .content {
        font-size: 14px;
        line-height: 2;
    }

    /* Responsive features grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-column:first-child,
    .features-column:last-child {
        width: 100%;
        height: auto;
        margin: 0 auto;
        justify-content: flex-start;
        max-width: none;
    }
    
    .features-column {
        gap: 2.5rem;
    }
    
    .center-column {
        order: -1; /* Move the image to the top on mobile */
        margin-bottom: 1rem;
    }
    
    .dashboard-image img {
        max-width: 100%;
    }
    
    .feature h3 {
        font-size: 20px;
        margin-bottom: 0.5rem;
    }
    
    .feature p {
        font-size: 16px;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    /* Responsive expert section */
    .expert-title {
        font-size: 42px;
        letter-spacing: -2px;
        margin-bottom: 2rem;
    }
    
    .expert-content {
        font-size: 18px;
        line-height: 1.8;
    }
    
    /* Responsive skill subsections */
    .skill-item,
    .right-image {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .skill-image {
        order: -1; /* Always put image on top in mobile */
        max-width: 100%;
    }
    
    .skill-content {
        max-width: 100%;
    }
    
    .skill-title {
        font-size: 36px;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .skill-content p {
        font-size: 18px;
        text-align: center;
    }
    
    /* Responsive tools grid */
    .tools-row,
    .tools-row.two-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tool-title {
        font-size: 28px;
        text-align: center;
    }
    
    .tool-description {
        font-size: 14px;
        text-align: center;
    }
    
    .tool-icon {
        text-align: center;
    }
    
    /* Responsive case studies */
    .case-studies-row {
        flex-direction: column;
        gap: 3rem;
    }
    
    .case-study {
        width: 100%;
    }
    
    .case-study-content {
        padding: 1rem 0;
    }
    
    .case-study-title {
        font-size: 20px;
    }
    
    .skills-tags {
        justify-content: flex-start;
    }
    
    /* Responsive success stories */
    .success-story {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .success-story:nth-child(even) {
        flex-direction: column;
    }
    
    .success-story-image {
        flex: 0 0 100%;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .success-story-title {
        font-size: 28px;
    }
    
    .success-story-description {
        font-size: 16px;
    }
    .testimonials-full-section {
        width: 100%;
        margin: 0rem 0;
        margin-top: -50px;
        padding: 0;
    }
    /* Responsive carousel */
    .carousel-container {
        --item-width: calc(100% - 40px);
    }
    
    /* Responsive about section */
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .spline-container {
        height: 300px;
    }
    
    .justify-text p {
        font-size: 16px;
        text-align: left;
    }
    
    .experience-text {
        font-size: 36px;
        text-align: center;
    }
    
    /* Responsive booking form */
    .booking-title {
        font-size: 42px;
        letter-spacing: -2px;
        margin-bottom: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .booking-form-container {
        margin: 5rem auto;
        width: 100%;
        padding: 0px;
        margin-top: -50px;
    }
    .booking-form {
        padding: 20px;
    }
    
    /* Responsive social grid */
    .socials-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    
    /* Handle the last odd-numbered item in the social grid */
    .socials-grid .social-img-container:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    #support-chat-window {
        width: 300px;
        height: 380px;
        bottom: 70px;
        right: 0;
    }
    
    #support-chat-button {
        padding: 16px 16px;
        font-size: 14px;
    }
}
       
@media (max-width: 480px) {
    #support-chat-window {
        width: calc(100vw - 40px);
        max-width: 320px;
        right: 0;
    }
}