/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gunmetal: #162730;
    --slate-cyan: #A5B5BF;
    --dirty-violet: #433B47;
    --bone: #E1DBCE;
}

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    background-color: white;
    color: var(--gunmetal);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: white;
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1002;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gunmetal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gunmetal);
    font-weight: 300;
    transition: color 0.3s ease;
}

.nav-link.freelancers-link {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    color: var(--gunmetal);
}

.nav-link.freelancers-link:hover {
    color: var(--dirty-violet);
}

.nav-link:hover {
    color: var(--dirty-violet);
}

.contact-link {
    text-decoration: none;
    display: inline-block;
    padding: 8px 20px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
    position: relative;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--gunmetal);
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.hamburger-menu .bar:nth-child(1) {
    top: 4px;
}

.hamburger-menu .bar:nth-child(2) {
    top: 11px;
}

.hamburger-menu .bar:nth-child(3) {
    bottom: 4px;
}

.hamburger-menu.active .bar:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    bottom: 11px;
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 6rem 2rem 16rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: #f5f5f5;
    color: var(--gunmetal);
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-eyebrow:hover {
    background-color: var(--gunmetal);
    color: white;
}

.eyebrow-emoji {
    margin-left: 0.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--gunmetal);
    line-height: 1.3;
    min-height: calc(3.5rem * 1.3);
}

.dynamic-text-container {
    display: inline;
    position: relative;
    vertical-align: baseline;
}

.dynamic-text {
    color: var(--slate-cyan);
    display: inline;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dynamic-text.active {
    opacity: 1;
}

.dynamic-full-stop {
    color: var(--slate-cyan);
    display: inline-block;
}

.dynamic-text-ai-ready {
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: var(--gunmetal);
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles */
.button {
    padding: 15px 20px;
    border: none;
    outline: none;
    background-color: var(--gunmetal);
    color: #eee;
    border-radius: 7px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease-out;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
}

.button:hover {
    transform: translateY(-3px);
}

.button-span {
    color: #aaa;
}

.cta-button {
    font-size: 1.1rem;
    padding: 12px 28px;
}

.contact-link.cta-button {
    padding: 8px 28px; /* Reduced vertical padding by ~15% */
}

.quick-wins {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.quick-win-item {
    font-size: 1rem;
    color: var(--gunmetal);
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
}

.quick-win-separator {
    color: var(--gunmetal);
    font-size: 1.5rem;
    opacity: 0.6;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background-color: #f5f5f5;
    margin-top: -8rem;
    padding-top: 6rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--gunmetal);
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    text-align: center;
    margin-top: 0;
    margin-bottom: 4rem;
    color: var(--gunmetal);
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background-color: var(--slate-cyan);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 56px;
    height: 56px;
    background-color: var(--gunmetal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    align-self: center;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--slate-cyan);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gunmetal);
    text-align: left;
    width: 100%;
}

.card-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gunmetal);
    line-height: 1.7;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 39, 48, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    max-width: 750px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gunmetal);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--dirty-violet);
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.title-dark {
    color: var(--gunmetal);
}

.title-light {
    color: var(--slate-cyan);
}

.modal-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--slate-cyan);
    line-height: 1.5;
    margin: 0;
}

/* Form Styles */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-header {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gunmetal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gunmetal);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 2px solid var(--slate-cyan);
    border-radius: 7px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--gunmetal);
    background-color: white;
    transition: border-color 0.3s ease;
    height: auto;
    line-height: 1.5;
    min-height: 48px;
    box-sizing: border-box;
}

.form-group select {
    height: auto;
    min-height: 48px;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23162730' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group select option {
    padding: 12px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--dirty-violet);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
}

.form-group textarea::placeholder {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.form-group textarea.placeholder-fade-out::placeholder {
    opacity: 0;
}

.submit-button {
    margin-top: 1rem;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 950px) {
    .cards-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .card {
        max-width: 100%;
        width: fit-content;
    }
}

@media (max-width: 950px) {
    .expert-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        right: 1rem;
        width: auto;
        min-width: 200px;
        flex-direction: column;
        align-items: flex-end;
        background-color: white;
        padding: 1.5rem 2rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        gap: 0.5rem;
        z-index: 1001;
        border: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: right;
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .nav-link {
        padding: 0.75rem 0;
        display: block;
        text-align: right;
        font-weight: 300;
    }

    .contact-link {
        display: block;
        text-align: right;
        background: none;
        border: none;
        padding: 0.75rem 0;
        font-weight: 300;
    }

    .contact-link:hover {
        background: none;
        color: var(--gunmetal);
        opacity: 0.7;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1000;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .nav-container {
        position: relative;
    }

    .hero-eyebrow {
        font-size: 0.85rem;
        padding: 0.45rem 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-title {
        font-size: 2.5rem;
        min-height: calc(2.5rem * 1.3 * 3);
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .modal-content {
        padding: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .how-it-works {
        padding: 4rem 1.5rem;
        margin-top: -6rem;
        padding-top: 10rem;
    }

    .technological-expertise {
        padding: 4rem 1.5rem;
    }

    .cta-section {
        padding: 4rem 1.5rem;
    }

    .cta-heading {
        font-size: 2rem;
    }

    .cta-subheading {
        font-size: 1rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .logos-carousel-item {
        height: 1.75rem !important; /* 30% smaller than 2.5rem (2.5 * 0.7 = 1.75) */
    }

    .logos-carousel-item img {
        height: 1.75rem !important; /* Override height: 100% from base styles */
        max-height: 1.75rem !important;
        max-width: 140px !important; /* 30% smaller than 200px */
    }

    .logos-carousel {
        gap: 2.24rem !important; /* 30% less than 3.2rem (3.2 * 0.7 = 2.24) */
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .expert-form .form-row {
        grid-template-columns: 1fr;
    }

    .expert-hero {
        height: 50vh;
    }

    .expert-header {
        align-items: flex-end;
        padding-bottom: 2rem;
    }

    .expert-header-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .expert-header-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    .expert-header-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1.5rem 8rem 1.5rem;
    }

    .hero-eyebrow {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        min-height: calc(2rem * 1.3 * 3);
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .quick-wins {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .quick-win-item {
        font-size: 0.9rem;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo img {
        height: 24px;
    }

    .how-it-works {
        padding: 3rem 1.5rem;
        margin-top: -4rem;
        padding-top: 7rem;
    }

    .technological-expertise {
        padding: 3rem 1.5rem;
    }

    .cta-section {
        padding: 4rem 1.5rem;
    }

    .cta-heading {
        font-size: 2rem;
    }

    .cta-subheading {
        font-size: 1.1rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .logos-carousel-item {
        height: 1.75rem !important; /* 30% smaller than 2.5rem (2.5 * 0.7 = 1.75) */
    }

    .logos-carousel-item img {
        height: 1.75rem !important; /* Override height: 100% from base styles */
        max-height: 1.75rem !important;
        max-width: 140px !important; /* 30% smaller than 200px */
    }

    .logos-carousel {
        gap: 2rem !important; /* 30% less than 3.2rem (3.2 * 0.7 = 2.24) */
    }

    .card {
        padding: 2rem;
    }

    .expert-hero {
        height: 50vh;
    }

    .expert-header {
        align-items: flex-end;
        padding-bottom: 2rem;
    }

    .expert-header-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .expert-header-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .expert-header-container {
        padding: 0 1.5rem;
    }

    .expert-form .form-row {
        grid-template-columns: 1fr;
    }

    .expert-registration-form {
        padding: 3rem 1.5rem;
    }
}

/* Expert Register Hero Section */
.expert-hero {
    position: relative;
    width: 100%;
    height: 33vh;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    /* Align top edge with navbar bottom (including border) */
    margin-top: -1px;
}

.expert-hero-image {
    width: 100%;
    height: 100%;
    background-image: url('media/hero 1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* Desaturate and adjust to black and bone colors */
    filter: grayscale(100%) brightness(0.6) contrast(1) sepia(0.6);
}

/* Expert Register Header Section */
.expert-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
}

.expert-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: left;
    width: 100%;
}

.expert-header-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bone);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.expert-header-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--bone);
    line-height: 1.6;
    max-width: 800px;
}

/* Expert Registration Form */
.expert-registration-form {
    padding: 4rem 2rem;
    background-color: white;
}

.expert-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gunmetal);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gunmetal);
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.expert-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.expert-form .form-group {
    display: flex;
    flex-direction: column;
}

.expert-form .form-group label {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gunmetal);
    font-size: 0.95rem;
}

.expert-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.expert-form input,
.expert-form textarea,
.expert-form select {
    padding: 12px;
    border: 2px solid var(--slate-cyan);
    border-radius: 7px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--gunmetal);
    background-color: white;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.expert-form input:focus,
.expert-form textarea:focus,
.expert-form select:focus {
    outline: none;
    border-color: var(--dirty-violet);
}

.expert-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23162730' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.expert-form textarea {
    resize: vertical;
    min-height: 120px;
}

.char-count {
    font-size: 0.85rem;
    color: var(--slate-cyan);
    margin-top: 0.25rem;
}

.hint {
    font-size: 0.85rem;
    color: var(--slate-cyan);
    margin-top: 0.25rem;
}

/* Tech Stack Pills */
.tech-stack-container {
    position: relative;
    border: 2px solid var(--slate-cyan);
    border-radius: 7px;
    padding: 8px;
    min-height: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    background-color: white;
}

.tech-stack-container:focus-within {
    border-color: var(--dirty-violet);
}

.tech-stack-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-stack-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--gunmetal);
    color: var(--bone);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 300;
}

.tech-stack-pill-remove {
    background: none;
    border: none;
    color: var(--bone);
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.tech-stack-pill-remove:hover {
    opacity: 1;
}

.tech-stack-input {
    border: none !important;
    outline: none;
    flex: 1;
    min-width: 150px;
    padding: 4px;
    margin: 0;
    background: transparent;
}

.tech-stack-input:focus {
    border: none !important;
    outline: none;
    box-shadow: none;
}

/* File Upload */
.file-upload-container {
    position: relative;
}

.file-upload-container input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.file-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background-color: var(--slate-cyan);
    color: var(--gunmetal);
    border-radius: 7px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    min-width: 160px;
    transition: background-color 0.3s ease;
}

.file-upload-label:hover .file-upload-button {
    background-color: var(--gunmetal);
    color: var(--bone);
}

.file-upload-text {
    color: var(--gunmetal);
    font-size: 0.95rem;
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 300;
    margin: 0;
}

.checkbox-label span {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0;
    width: auto;
    cursor: pointer;
    accent-color: var(--gunmetal);
    flex-shrink: 0;
}

.expert-form .submit-button {
    margin-top: 1rem;
    align-self: flex-start;
    padding: 14px 28px;
}

/* Align checkbox and button - ensure they align properly */
.checkbox-group + .submit-button {
    margin-top: 1rem;
}

/* Technological Expertise Section */
.technological-expertise {
    padding: 6rem 2rem;
    background-color: white;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gunmetal);
    opacity: 0.8;
}

.technological-expertise .section-title {
    margin-bottom: 2rem;
}

.logos-carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2rem 0;
}

.logos-carousel {
    display: flex;
    gap: 3.2rem;
    align-items: center;
    cursor: grab;
    user-select: none;
    will-change: transform;
    position: relative;
}

.logos-carousel:active {
    cursor: grabbing;
}

.logos-carousel-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem; /* Approximately heading font size */
    padding: 0 1rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.logos-carousel-item img {
    height: 100%;
    max-height: 2.5rem;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.logos-carousel-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background-color: #f5f5f5;
    text-align: center;
}

.cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gunmetal);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-subheading {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gunmetal);
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-secondary-button {
    background-color: transparent;
    color: var(--gunmetal);
    border: 2px solid var(--gunmetal);
    font-size: 1.1rem;
    padding: 10px 26px;
}

.cta-secondary-button:hover {
    background-color: var(--gunmetal);
    color: #eee;
}

/* Footer */
.footer {
    background-color: var(--gunmetal);
    color: white;
    padding: 3rem 2rem;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-text {
    font-size: 1rem;
    font-weight: 300;
    margin: 0;
    text-align: left;
}

.footer-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.footer-link svg {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-link:hover svg {
    opacity: 0.8;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .button {
        width: 100%;
        max-width: 300px;
        min-width: 300px;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-left {
        flex: 1;
    }

    .footer-link {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 3rem 1.5rem;
    }

    .cta-heading {
        font-size: 1.75rem;
    }

    .cta-subheading {
        font-size: 1rem;
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    .footer-text,
    .footer-link {
        font-size: 0.9rem;
    }
}

