* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0b0b0b;
}

/* Navigation */
nav {
    background: #0b0b0b1c;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    /*position: sticky;*/
    top: 0;
    z-index: 1000;
}

.nav-bg {  
    background-image: url('../img/bg2.jpg');
    background-size: cover;
    border: #bebebf28 solid 1px;
    border-radius: 10px;
    margin: 10px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    border-bottom: #bebebf28 solid 1px;
}

.logo img {
    width: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    position: relative;
    z-index: 1100;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2d92e8;
}

.btn-1 {
    background: #2d92e8;
    padding: 10px 20px;
    border-radius: 25px;
}

.nav-menu a.btn-1 {
    color:#0b0b0b;
    background:#2d92e8;
    transition: all 0.3s ease-in-out;
}


.nav-menu a.btn-1:hover {
    background:#ffffff;
}

.btn-2 {
    border: #2d92e8 solid 2px;
    padding: 10px 20px;
    border-radius: 25px;
}

.nav-menu a.btn-2 {
    color:#2d92e8;
    background: transparent;
    transition: all 0.3s ease-in-out;
}


.nav-menu a.btn-2:hover {
    color: #ffffff;
    border:#ffffff solid 2px;
    background: #2d91e847;
}

.edit {
    margin-left: -15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1.2;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero h4 {
    display: inline-block;
    margin: 0;
    padding: 10px 20px;
    color: #2d92e8;
    background-color: #64748b3d;
    border-radius: 15px;
    line-height: 1;
    white-space: nowrap;
}

.hero p {
    font-size: 25px;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 1000px;
    margin-right: auto;
}

.client-avatars span {
    color: #2d92e8;
}

.cta-button {
    display: inline-block;
    padding: 10px 30px;
    background: #2d92e8;
    color: #0b0b0b;
    text-decoration: none;
    border-radius: 35px;
    font-size: x-large;
    font-weight: 600;
    transition: background 0.3s;
    text-align: center;
}

.cta-button2 {
    display: inline-block;
    padding: 10px 30px;
    margin-left: 20px;
    color: #ffffff;
    text-decoration: none;
    border: #bebebf55 solid 2px;
    border-radius: 35px;
    font-size: x-large;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.cta-button:hover {
    background: #ffffff;
    /*padding: 10px 35px 10px 30px;*/
}

.cta-button2:hover {
    background: #ffffff;
    color: #2d92e8;
}

.client-avatars {
    display: flex;
    align-items: center;
    gap: 10px; /* space between avatars and text */
    margin-top: 20px;
}

.client-avatars img {
    width: 25px;
    height: 25px;
    border-radius: 50%;      /* makes them round */
    object-fit: cover;       /* perfectly fills the circle */
    border: 2px solid #000;  /* black border like your example */
    margin-left: -15px;       /* overlap effect */
}

.client-avatars img:first-child {
    margin-left: 0;          /* first avatar should not shift left */
}

.client-avatars span {
    font-size: 25px;
    color: #ffffff; /* adjust to your theme */
}

/* Content Section */
.content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px 80px;
}

.content h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 50px;
    margin-top: 5px;
    color: #ffffff;
}

.content h4 {
    display: inline-block;
    margin: 0;
    padding: 10px 20px;
    color: #2d92e8;
    background-color: #64748b3d;
    border-radius: 15px;
    line-height: 1;
    white-space: nowrap;
}

/* Benefit cards*/

    .benefits {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
        justify-content: center;
        padding: 20px; 
        }

        .benefit-cards {
            color: #ffffff;
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            margin-top: 24px;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 16px;
            box-sizing: border-box;
            flex: 1 0 0px;
        }

        /* each card takes one third of the row minus gap */
        .benefit-cards .bfc1,
        .benefit-cards .bfc2 {
            flex: 1 1 calc(33.333% - 16px);
            text-align: center;
        }

        /* typography inside cards */
        .benefit-cards h2 {
            margin: 0 0 8px;
            line-height: 1.2;
        }

        .benefit-cards p {
            margin: 0;
            color: #c5c5c5;
            font-size: 1.1rem;
            line-height: 1.4;
        }

        .icons {
            width: 40px;
            height: 40px;
            margin-bottom: 12px;
            filter: invert(100%);
        }

        /* responsive breakpoints */
        /* two columns on medium screens */
        @media (max-width: 900px) {
            .benefit-cards .bfc1,
            .benefit-cards .bfc2 {
                flex: 1 1 calc(50% - 12px);
            }
        }

        /* single column on small screens */
        @media (max-width: 600px) {
            .benefit-cards .bfc1,
            .benefit-cards .bfc2 {
                flex: 1 1 100%;
            }

            .benefit-cards {
                gap: 16px;
                padding: 0 12px;
            }
        }

/*About Section*/

.about {
    display: flex;
    flex-direction: column;
    max-width: 1200px;  
    margin: 60px auto;
    padding: 0 20px;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.about p {
    font-size: 1.1rem;
    color: #c5c5c5;
    text-align: center;
    line-height: 1.6;
}

/*Team Section*/

.team1 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 20px;
    border-bottom: #bebebf28 solid 1px;
}

.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.member-cards {
    border-radius: 25px;
    border: #bebebf28 solid 1px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.member-cards:hover {
    box-shadow: 0 4px 8px rgba(45, 145, 232, 0.052);
    transform: translateY(-3px);
    cursor: pointer;
}

.member-cards img {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.member-cards h2 {
    font-size: x-large;
    font-weight: 800;
    margin: 15px 0 10px;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.member-cards:hover h2 {
    color: #2d92e8;
}

.member-sm {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(44, 44, 44, 0.299);
    backdrop-filter: blur(1px);
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    /*pointer-events: none;*/
    /*backdrop-filter: blur(5px);
    background-color: rgb(38, 38, 38);
    mask: linear-gradient(rgba(0, 0, 0, 0) -108%, rgb(0, 0, 0) 100%);
    opacity: 0.7;
    transform-origin: 50% 50% 0px;
    height: 50px;
    display: none;
    visibility: hidden;
    transition: all 0.3s ease-in-out;*/
}

.image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    display: block;
}

.member-cards:hover .member-sm {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 27px;
}

.social-icons .icon {
    color: #2d91e8cb;
    font-size: 1.7rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

/*.social-icons .icon:hover {
    color: #1DA1F2;
    transform: scale(1.2);
}*/

.member-cards h3 {
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 500;
}

.member-cards p {
    color: #9b9b9b;
    transition: all 0.3s ease-in-out;
}

.member-cards:hover p {
    color: #ffffff;
}

.card {
    padding: 20px;
}

/*Form Section*/

.contact-us {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 80px 20px 20px 20px;
}

form {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px; /* limits width on desktop */
    margin: 0 auto;
}

form label, option {
    text-align: left;
    width: 100%;
    max-width: 550px;
    margin-left: 5px;
    color: #9b9b9b;
    font-size: 13px;
}

.info {
    font-size: 13px;
}
 
input, textarea, select {
    font-family: inherit;
    padding: 10px;
    border-radius: 10px;
    border: solid 1px #bebebf28;
    color:#9b9b9b;
    caret-color: #9b9b9b;
    background-color: #242424;
    margin: 3px 0 10px 0;
    font-size: 15px;
    width: 100%;
    max-width: 550px;
    box-sizing: border-box;   /* ensures padding doesn’t break width */
    transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

input:focus, 
textarea:focus,
select:focus {
    border-color: #2d92e8;
    outline: none;
    box-shadow: 0 0 0 1px rgba(45, 145, 232, 0.056);
}

form input[type="text"]:active {
    background-color: #242424;
}

select option[value=""][disabled][selected] {
    font-family: inherit;
    font-size: 13px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #242424 inset !important;
  box-shadow: 0 0 0px 1000px #242424 inset !important;
  -webkit-text-fill-color: #9b9b9b !important; 
  color: #9b9b9b !important;                    
  caret-color: #9b9b9b !important;
}

input[type="submit"] {
    background: #343434;
    color: #ffffff;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    max-width: 550px;
}

input[type="submit"]:hover {
    background: #242424;
    color: #ffffff;
}

/*Services*/

.services {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 80px 20px 20px 20px;
}

.services h1 {
    margin: 25px 0;
}

.services h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 20px;
}

.services p {
    font-size: 15px;
    color: #9b9b9b;
    line-height: 1.1;
    margin-bottom: 5px;
}

.service1 {
    width: 100%;
    max-width: 880px;
    margin-top: 40px;
}

/*FAQ*/

.faq {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 40px 20px 20px 20px;
}

.faq h4 {
    display: inline-block;
    margin: 0;
    padding: 10px 20px;
    color: #2d92e8;
    background-color: #64748b3d;
    border-radius: 15px;
    line-height: 1;
    white-space: nowrap;
}

#questions {
    color: #ffffff;
}

.faq-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 50px;
    box-sizing: border-box;
}

.faq-question {
    display: flex;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 5px;
}

/* make it obvious the question is clickable */
.faq-question {
    cursor: pointer;
}

/* ensure click cursor applies even if children or other rules interfere */
.faq-element .faq-question, .faq-element .faq-question * {
    cursor: pointer !important;
}

.faq-element {
    border: #bebebf28 solid 1px;
    border-radius: 15px;
    padding: 20px 35px; /* keep fixed padding so parent size stays stable */
    margin-bottom: 10px;
    transition: background 0.3s, color 0.3s, padding 0.3s ease;
    cursor: pointer;
    color: #ffffff;
    box-sizing: border-box;
    display: block;
    width: 100%;
}

.faq-element:hover {
    background: #1a1a1a;
}


.faq h1 {
    color: #2d92e8;
    margin: 15px 0;
}

.faq-header h1 {
    padding-top: 20px;
}

.faq h1.subtitle {
    color: #ffffff;
}

/* collapse/expand the answer smoothly without changing parent padding */
.hidden-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    font-size: 18px !important;
    color: #6d6d6d;
    font-weight: 400 !important;
    transition: max-height 0.32s cubic-bezier(.2,.9,.2,1), opacity 0.24s ease, transform 0.24s ease;
    will-change: max-height, opacity, transform;
    margin: 0;
    /*padding-top: 12px;*/
    padding-bottom: 0;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.hidden-text.open {
    opacity: 1;
    transform: translateY(0);
    padding-top: 12px;
    cursor: default;
}

/* .active: only change color/background, do NOT increase padding */
.faq-element.active {
    background: #131313;
    color: #ffffff;
}

.faq-select {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
}

.faq-select-p a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 5px;
    transition: all 0.3s ease-in-out;
}

.faq-select-p a:hover {
    color: #2d92e8;
    text-decoration: none;
    margin-left: 5px;
}

/* FAQ Items */
.faq-item {

    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Search Bar */
.faq-search {
    max-width: 600px;
    margin: 0 auto 60px;
    padding: 0 40px;
}

.search-input {
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #3B9EFF;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Categories */
.faq-categories {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    padding: 0 40px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.category-tab {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.category-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-tab.active {
    background: #3B9EFF;
    border-color: #3B9EFF;
}

/*Careers*/

.careers-hero-section {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 80px 20px 20px 20px;
}

.careers-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

#careers-team {
    color: #2d92e8;
}

.careers-hero h4 {
    display: inline-block;
    margin: 0;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #64748b3d;
    border-radius: 15px;
    line-height: 1;
    white-space: nowrap;
}

.careers-hero h1.subtitle {
    color: #ffffff;
    padding: 30px 0 0 0;
}

.careers-hero p {
    font-size: 20px;
    color: #c5c5c5;
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/*Join Section*/

.why-join {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 20px 40px;
}

.why-join h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.join-card {
    background: #ffffff08;
    border: 1px solid #ffffff1a;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.join-card:hover {
    background: #ffffff08;
    border-color: #ffffff33;
    transform: translateY(-4px);
    cursor: default;
}

.join-card h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 8px;
    transition: color 0.3s ease-in-out;
}

.join-card:hover h3 {
    color: #2d92e8;
}

.job-icons {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    filter: brightness(0) saturate(100%) invert(52%) sepia(16%) saturate(6439%) hue-rotate(185deg) brightness(95%) contrast(91%);
}

.join-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}


.jobs {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    max-width: 600px;
    width: 100%;
    margin-bottom: 40px;
}

.jobs-subtitle {
    font-size: 15px;
    color: #c5c5c5;
    margin-bottom: 20px;
    text-align: center;
}

.badge {
    background: rgba(59, 158, 255, 0.15);
    color: #3B9EFF;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.expand-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
}

.expand-icon {
    width: 24px;
    height: 15px;
    transition: transform 0.3s ease;
    stroke: currentColor;
    fill: none;
}

.careers-element.active .expand-icon {
    transform: rotate(180deg);
}

.careers {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 10px 20px 20px 20px;
}

#careers {
    color: #ffffff;
}

.careers-element {
    border: #bebebf28 solid 1px;
    border-radius: 15px;
    padding: 20px 35px;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: background 0.3s, color 0.3s, padding 0.3s ease-in-out;
    cursor: pointer;
    color: #ffffff;
    box-sizing: border-box;
    display: block;
    max-width: 600px;
    width: 100%;
}

.careers-element:hover {
    background: #1a1a1a;
}

.careers-element.active {
    background: #131313;
    color: #ffffff;
}

.job-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 5px;
}

.hidden-text h4 {
    font-size: 16px !important;
    color: #2d92e8;
    font-weight: 600 !important;
    margin-top: 12px;
    margin-bottom: 8px;
}

.hidden-text ul {
    list-style: none;
    margin-left: 15px;
    color: #c5c5c5;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.6;
}

.hidden-text li {
    color: #c5c5c5;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
    line-height: 1.6;
}

.hidden-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2d92e8;
}


.apply-btn {
    background: #3B9EFF;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.apply-btn:hover {
    background: #2B8EEF;
    transform: translateY(-2px);
}

.resume-form {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px; /* limits width on desktop */
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(59, 158, 255, 0.08), rgba(59, 158, 255, 0.03));
    border: 1px solid rgba(59, 158, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

.resume-form:hover {
    box-shadow: 0 4px 8px rgba(45, 145, 232, 0.052);
    transform: translateY(-3px);
    border: #2d92e8 solid 1px;
}

.cv-form input {
    width: 100%;
    padding: 14px 18px;
    background: #ffffff14;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #9b9b9b;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.cv-form input:focus,
.cv-form input:active {
    outline: none;
    background: #ffffff14;
    border-color: #2d92e8;
}

.cv-form input:-webkit-autofill,
.cv-form input:-webkit-autofill:hover,
.cv-form input:-webkit-autofill:focus,
.cv-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff00 inset !important;
    box-shadow: 0 0 0px 1000px #ffffff00 inset !important;
    -webkit-text-fill-color: #9b9b9b !important;
    color: #9b9b9b !important;
    caret-color: #2d92e8 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.cv-form input[type="submit"] {
    background: #2d92e8;
    color: #ffffff;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    max-width: 550px;
    transition: background 0.3s, transform 0.2s ease-in-out;
}

.cv-form input[type="submit"]:hover {
    background: #195080;
    color: #ffffff;
}

.join-us {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 20px 20px 20px 40px;
}

#join {
    color: #c5c5c5
}

#resume {
    color: #ffffff;
    text-align: center;
}

.help-block {
    font-size: 13px;
    padding-right: 440px;
    margin-bottom: 7px;
}

input[type="file"] {
    margin-bottom: 3px;
    border: none;
    background: none;
    padding: 5px 0px 0px 0px;
}

#cvFile::file-selector-button {
    background: #2d92e8;
    color: #ffffff;
    border: #3b9eff33 solid 1px;
    padding: 14px 20px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#cvFile::file-selector-button:hover {
    background: #195080;
    color: #ffffff;
}

/*Bottom Section*/

.bottom {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 60px 250px;
    min-height: 64px;
    box-sizing: border-box;
}

.bottom-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    justify-content: center;
    box-sizing: border-box;
    z-index: 2;
}

.linkedin {
    border: #ffffff solid 1px;
    height: 40px;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
    background-color: transparent;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.linkedin img {
    width: 40%;
    height: 40%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: filter 0.3s ease-in-out;
}

.linkedin:hover {
    background: #2d92e8;
    border: #2d92e8 solid 1px;
}

.linkedin:hover img {
    filter: invert(1);
}

.bottom-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 0;
    padding-bottom: 0;
}

.bottom-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s;
}

.bottom-menu a:hover {
    color: #2d92e8;
}

.bottom-logo {
    position: static;
    left: auto;
    transform: none;
    z-index: 2;
    margin: 0;
}

.bottom-logo img {
    width: 200px;
    display: block;
    height: auto;
    margin: 0;
}

.bottom-text {
  text-align: center;
  margin: 0;
}
.bottom-text p {
  margin: 0 0 -10px 0;
  font-size: 16px;
  color: #9b9b9b;
}

.linkedin,
.bottom-menu {
    z-index: 3;
}

/*Bottom Button*/

.floating {
    position: sticky;
    display: flex;
    flex-direction: row-reverse;
    margin-right: 30px;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    pointer-events: auto;
    opacity: 1;
}

.floating-button {
    opacity: 0.8;
    height: 50px;
    width: 50px;
    border: #ffffff solid 2px;
    border-radius: 50%;
    background-color: #0b0b0b;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border 0.3s ease-in-out, opacity 0.3s ease-in-out;
    cursor: pointer;
}

.floating-button i {
    color: #ffffff;
    font-size: 15px;
    transition: color 0.3s ease-in-out;
    padding: 10px;
}

.floating-button:hover {
    border: #2d92e8 solid 2px;
    color: #2d92e8;
    opacity: 1;
}

.floating-button:hover i {
    color: #2d92e8;
    opacity: 1;
}

/* Footer */
footer {
    background: #0b0b0b;
    color: white;
    text-align: center;
    padding: 20px;
    border-top: #bebebf28 solid 1px;
    margin: 0 250px;
}

/* Fade-up reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1.2s cubic-bezier(.2,.9,.2,1), transform 1.2s cubic-bezier(.2,.9,.2,1);
    will-change: opacity, transform;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #1a1a1a;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        gap: 20px;
        /* use transform + opacity for smooth open/close without layout jumps */
        transform: scaleY(0) translateZ(0);
        transform-origin: top;
        opacity: 0;
        /* composite only transform & opacity for best performance */
        will-change: transform, opacity;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transition: transform 0.24s cubic-bezier(.2,.9,.2,1), opacity 0.01s ease-in-out;
        z-index: 1100;
        /* when closed, don't allow interaction */
        pointer-events: none;
        padding: 20px; /* keep padding constant to avoid jumps */
        box-sizing: border-box;
        overflow: hidden;
    }

    .nav-menu a {
        pointer-events: auto;
    }

    .nav-menu.active {
        transform: scaleY(1) translateZ(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu.active a {
        color: #ffffff;
        background-color: transparent;
        border: none;
        transition: color 0.12s linear;
    }

    .nav-menu.active a.btn-1 {
        padding: 0;
    }

    .nav-menu.active a:hover {
        color: #2d92e8;
        background-color: transparent;
        border: none;
        transition: color 0.24s ease-in-out;
    }

    .btn-2 {
    border: #2d92e8 solid 2px;
    padding: 5px 10px;
    border-radius: 25px;
    }

    .edit {
        margin-left: -10px;
    }

    .cta-button, .cta-button2 {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        font-size: large;
        margin: 0 10px 10px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .content h1 {
        font-size: 30px;
        text-align: center;
    }

    input, textarea, select, label, option, input[type="submit"] {
        max-width: 100%;
    }

    textarea {
        min-height: 120px;
    }

    .help-block {
        padding-right: 0;
    }

    .faq-menu {
        max-width: 100%;
        padding: 0 16px;
    }

   

    /* footer / bottom stack for small screens */
    .bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 24px 16px;
        min-height: auto;
    }
    .bottom-center {
        position: static;
        transform: none;
        pointer-events: auto;
        order: 2;
    }

    .linkedin { 
        order: 1; 
    }

    .bottom-menu {
        order: 3;
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .bottom-logo img { width: 140px; }

    footer {
        margin: 0 16px;
        padding: 16px;
    }
    footer p {
        font-size: 13px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        gap: 10px;
        font-size: 15px;
    }

    .nav-menu.active a.btn-1 {
        padding: 0;
    }

    .btn-2 {
    border: #2d92e8 solid 2px;
    padding: 10px 15px;
    border-radius: 25px;
    }

    .btn-1 {
        padding: 10px 10px;
    }

    .edit {
        margin-left: -10px;
    }
    
    .hero h1 {
        font-size: 42px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        form { max-width: 520px; }
    }

    .content h1 {
        font-size: 36px;
        text-align: center;
    }

    

    .faq-menu { max-width: 720px; padding: 0 20px; }
    
    /* footer adjustments for tablet */
    .bottom {
        position: relative;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding: 40px 60px;
        min-height: 64px;
        box-sizing: border-box;
        gap: 200px;
    }

    .bottom-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .bottom-logo img { width: 160px; }

    .bottom-menu {
        gap: 24px;
    }
}
