:root {
    --primary: #359df1;
    --primary-light: #57a8f7;
    --secondary: #FFD700;
    --accent: #ff5f82;
    --bg-warm: #F0F7FF;
    --text-dark: #1F2937;
    --text-light: #4B5563;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 30px rgba(53, 157, 241, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-warm);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

h1,
h2,
h3,
.serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h1 {
    font-size: 2.5rem;
    margin: 15px 0;
    color: var(--primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Header & Nav */
header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2001;
}

.logo i {
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(53, 157, 241, 0.4));
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 15px;
    padding: 15px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.dropdown-menu a:hover {
    background: var(--bg-warm);
    color: var(--primary);
}

/* Form Styles */
.career-grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #F1F5F9;
    background: #FAFBFE;
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border: 2px solid var(--primary);
    background: var(--white);
    box-shadow: 0 10px 25px rgba(53, 157, 241, 0.2);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    cursor: pointer;
    padding: 15px;
    background: var(--bg-warm);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition);
}

.checkbox-label:hover {
    background: var(--white);
    border: 2px solid var(--primary);
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2001;
}

.mobile-nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.btn-cta {
    background: var(--secondary);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    border: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    background: #FFDF00;
    /* Slightly brighter gold for hover */
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 35px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(53, 157, 241, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--primary);
}

.logo img {
    height: 90px;
    width: auto;
    margin: -15px 0;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.05));
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-warm);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border: 3px solid var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
        gap: 60px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 180px !important;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .container {
        padding: 0 25px !important;
        width: 100% !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 30px;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
        z-index: 2000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 5px 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 12px 0;
        font-weight: 600;
    }

    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
        color: var(--primary);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 5px 0 10px 15px;
        display: none;
        border-left: 3px solid var(--primary-light);
        margin-bottom: 10px;
        background: var(--bg-warm);
        border-radius: 0 0 15px 15px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        border: none;
        padding: 2px 0;
    }

    .dropdown-menu a {
        font-size: 1rem;
        font-weight: 500;
        opacity: 0.8;
    }

    /* Special handling for CTA button in mobile menu */
    .nav-links li:has(.btn-cta) {
        border-bottom: none;
        padding-top: 25px;
        margin-top: 10px;
    }

    .nav-links a.btn-cta {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 15px 30px;
        font-size: 1rem;
    }

    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }

    section {
        padding: 40px 0 !important;
        overflow: hidden;
    }

    main {
        padding-top: 80px !important;
    }

    .section-header h1 {
        font-size: 1.8rem !important;
    }

    h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.7rem !important;
        margin-bottom: 15px !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    p,
    span,
    li,
    a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Flex & Grid Correction */
    [style*="display: flex"] {
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    [style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .career-grid-form {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .form-group.full-width {
        grid-column: span 1 !important;
    }

    div[style*="grid-template-columns"],
    div[style*="grid-template-columns: 350px 1fr"],
    div[style*="grid-template-columns: 1fr 350px"],
    div[style*="grid-template-columns: 1.2fr 1fr"],
    div[style*="grid-template-columns: 1fr 1.2fr"] {
        display: flex !important;
        flex-direction: column !important;
    }

    div[style*="height: 500px"],
    div[style*="height: 450px"],
    div[style*="height: 400px"] {
        height: auto !important;
        min-height: 250px !important;
        padding: 40px 20px !important;
    }

    /* Fixed Box in About Section */
    div[style*="position: absolute"][style*="top: 20px"] {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        margin-top: -30px !important;
        padding: 30px 20px !important;
    }

    [style*="width: 350px"],
    [style*="width: 450px"],
    [style*="width: 400px"],
    [style*="max-width: 800px"],
    [style*="max-width: 900px"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-badge {
        position: relative !important;
        bottom: 0 !important;
        left: 0 !important;
        margin-top: 20px;
        width: 100%;
        justify-content: flex-start;
        padding: 15px !important;
    }

    div[style*="position: absolute"][style*="top: 30px"] {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        margin-bottom: 20px;
        display: block !important;
    }

    input,
    textarea {
        font-size: 16px !important;
    }

    label {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 30px 20px;
    }
}