:root {
    --primary-blue: #2F6FD3;
    --light-blue-bg: #EAF3FF;
    --white: #ffffff;
    --dark-text: #1A202C;
    --medium-text: #4A5568;
    --soft-shadow: rgba(0, 0, 0, 0.06);
    --medium-shadow: rgba(0, 0, 0, 0.12);
    --gradient-blue-light: #5A9BFF;
    --gradient-blue-dark: #1A4D9A;
    --primary-blue-rgb: 47, 111, 211;
    --gradient-blue-light-rgb: 90, 155, 255;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif; /* Assumes 'Outfit' font is linked in HTML, e.g., from Google Fonts */
    background: linear-gradient(160deg, var(--light-blue-bg) 0%, var(--white) 100%);
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Header */
header {
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    box-shadow: 0 10px 30px var(--soft-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 30px 30px;
    transition: all 0.4s ease-in-out;
    border-bottom: 1px solid rgba(var(--primary-blue-rgb), 0.05);
}
header.scrolled {
    padding: 1rem 3rem;
    box-shadow: 0 6px 20px var(--medium-shadow);
}
.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1.8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.08);
}
nav {
    display: flex;
    gap: 2.8rem;
}
nav a {
    text-decoration: none;
    color: var(--medium-text);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}
nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-blue-light), var(--primary-blue));
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
}
nav a:hover::before,
nav a.active::before { width: 100%; }
nav a:hover,
nav a.active {
    background: rgba(var(--primary-blue-rgb), 0.12);
    color: var(--primary-blue);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 5px 15px rgba(var(--primary-blue-rgb), 0.15);
}

/* Hero - Assuming this is a section that might be present in your HTML,
   though not explicitly in the HTML snippet you provided earlier.
   Keeping it as it's part of the full CSS. */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    padding: 7rem 5rem;
    margin: 3.5rem;
    border-radius: 35px;
    background: rgba(245, 245, 245, 0.9);
    backdrop-filter: blur(25px) saturate(2);
    box-shadow: 0 40px 100px var(--medium-shadow);
    animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    border: 2px solid rgba(var(--primary-blue-rgb), 0.15);
    position: relative;
    overflow: hidden;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}
.hero::before, .hero::after {
    content: '';
    position: absolute;
    background: rgba(var(--primary-blue-rgb), 0.1);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 10s infinite ease-in-out alternate;
}
.hero::before {
    width: 300px; height: 300px; top: -50px; left: -80px;
    transform: translate(-20%, -20%) rotate(15deg);
}
.hero::after {
    width: 250px; height: 250px; bottom: -70px; right: -60px;
    background: rgba(var(--gradient-blue-light-rgb), 0.12);
    transform: translate(20%, 20%) rotate(-25deg);
    animation-delay: 2s;
}
@keyframes float {
    0% { transform: translateY(0) rotate(0deg);}
    100% { transform: translateY(-20px) rotate(10deg);}
}
.hero .left {
    flex: 1;
    min-width: 320px;
    max-width: 650px;
    text-align: left;
}
.left h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    line-height: 1.15;
    color: var(--dark-text);
    letter-spacing: -2px;
}
.highlight {
    background: linear-gradient(60deg, var(--primary-blue), var(--gradient-blue-light), var(--gradient-blue-dark), #102A6F);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 4s ease-in-out infinite alternate;
}
@keyframes textGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.subtitle {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--medium-text);
    font-weight: 300;
    letter-spacing: 0.5px;
}
.hiring-text {
    background: linear-gradient(90deg, rgba(var(--primary-blue-rgb), 0.15), rgba(var(--gradient-blue-light-rgb), 0.1));
    padding: 1.8rem;
    margin-top: 3.5rem;
    border-left: 10px solid var(--primary-blue);
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.6;
    box-shadow: 0 8px 25px rgba(var(--primary-blue-rgb), 0.15);
    transition: all 0.3s ease-in-out;
}
.hiring-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(var(--primary-blue-rgb), 0.25);
}
.click-link {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}
.click-link:hover { color: var(--gradient-blue-dark); }
.info-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 30px 60px var(--soft-shadow);
    font-size: 1.3rem;
    line-height: 2.2;
    border: 2px solid rgba(var(--primary-blue-rgb), 0.1);
    transform: rotate(3deg);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-width: 480px;
}
.info-box:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 40px 80px var(--medium-shadow);
}
.info-box p { margin-bottom: 1rem; color: var(--medium-text);}
.info-box strong { color: var(--primary-blue); font-weight: 700;}
.info-box p:last-child { margin-bottom: 0; }

/* Cosmo Section */
.cosmo-section {
    text-align: center;
    padding: 9rem 4rem;
    background: linear-gradient(to bottom, var(--white), var(--light-blue-bg));
    border-radius: 0 0 120px 120px;
    box-shadow: 0 20px 50px var(--soft-shadow);
    animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    position: relative;
    overflow: hidden;
}
.cosmo-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(var(--primary-blue-rgb), 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
}
.cosmo-section h2 {
    font-size: 3.8rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}
.cosmo-section p {
    font-size: 1.3rem;
    color: var(--medium-text);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
.cosmo-btn {
    background: linear-gradient(45deg, var(--primary-blue), var(--gradient-blue-light));
    color: var(--white);
    padding: 1.2rem 3.5rem;
    border: none;
    font-size: 1.3rem;
    border-radius: 70px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-top: 2.5rem;
    box-shadow: 0 18px 45px rgba(var(--primary-blue-rgb), 0.4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
}
.cosmo-btn:hover {
    background: linear-gradient(45deg, var(--gradient-blue-dark), var(--primary-blue));
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 55px rgba(var(--primary-blue-rgb), 0.5);
    animation: pulse 1s infinite alternate;
}
@keyframes pulse {
    from { transform: translateY(-8px) scale(1.03); box-shadow: 0 25px 55px rgba(var(--primary-blue-rgb), 0.5);}
    to { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 45px rgba(var(--primary-blue-rgb), 0.4);}
}

/* Our Story - Assuming this is a section that might be present in your HTML,
   though not explicitly in the HTML snippet you provided earlier.
   Keeping it as it's part of the full CSS. */
.our-story {
    background-color: var(--light-blue-bg);
    padding: 90px 40px;
}
.story-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 90px;
    flex-wrap: wrap;
}
.story-left {
    flex: 1;
    min-width: 350px;
}
.story-left h2 {
    font-size: 3.8rem;
    color: var(--primary-blue);
    font-weight: 800;
    letter-spacing: -1px;
}
.story-right {
    flex: 2;
    min-width: 450px;
}
.story-right p {
    font-size: 1.3rem;
    color: var(--dark-text);
    line-height: 1.9;
    margin-bottom: 25px;
}
.story-right strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--light-blue-bg) 0%, var(--white) 100%);
    color: var(--dark-text);
    padding: 110px 40px;
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    align-items: flex-start;
    justify-content: center; /* Center the form if it's the only element */
}
.contact-form {
    flex: 2;
    min-width: 450px;
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 25px 60px var(--soft-shadow);
    border: 2px solid rgba(var(--primary-blue-rgb), 0.1);
}

/* Styling for the new Contact Us heading inside the form */
.contact-form h3 {
    font-size: 2.5rem; /* Adjusted to fit the new design's heading sizes */
    color: var(--primary-blue); /* Consistent with other main headings */
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 40px; /* Space below the title */
    text-align: center; /* Center the heading */
}


.contact-form .form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
.contact-form .form-group {
    flex: 1;
    margin-bottom: 25px;
}
.contact-form label {
    display: block;
    margin-bottom: 12px;
    font-size: 1.15rem;
    color: var(--dark-text);
    font-weight: 600;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--dark-text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(var(--primary-blue-rgb), 0.2);
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form button {
    background: linear-gradient(45deg, var(--primary-blue), var(--gradient-blue-light));
    color: var(--white);
    padding: 1.3rem 4rem;
    border: none;
    border-radius: 70px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 18px 45px rgba(var(--primary-blue-rgb), 0.4);
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.contact-form button:hover {
    background: linear-gradient(45deg, var(--gradient-blue-dark), var(--primary-blue));
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 55px rgba(var(--primary-blue-rgb), 0.5);
    animation: pulse 1s infinite alternate;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .story-container { flex-direction: column; align-items: center; gap: 50px; }
    .story-left, .story-right { min-width: unset; width: 100%; text-align: center; }
    .story-left h2 { font-size: 3.2rem; }
}
@media (max-width: 992px) {
    header { padding: 1rem 2rem; }
    .logo { font-size: 1.8rem; }
    nav { gap: 1.5rem; }
    nav a { padding: 8px 15px; font-size: 0.95rem; }
    .hero { flex-direction: column; padding: 5rem 2rem; gap: 3rem; margin: 2rem; }
    .left h1 { font-size: 3.5rem; text-align: center; }
    .subtitle { font-size: 1.4rem; text-align: center; }
    .hiring-text { padding: 1.5rem; text-align: center; }
    .info-box { padding: 2.5rem; font-size: 1.1rem; transform: rotate(0deg);}
    .info-box:hover { transform: scale(1.02);}
    .cosmo-section { padding: 6rem 2rem;}
    .cosmo-section h2 { font-size: 3rem;}
    .cosmo-section p { font-size: 1.1rem;}
    .cosmo-btn { padding: 1rem 2.5rem; font-size: 1.1rem;}
    .contact-section { padding: 80px 20px;}
    .contact-container { flex-direction: column; gap: 40px;}
    .contact-form { padding: 40px; min-width: unset; width: 100%;}
    /* Adjusted for the new form structure */
    .contact-form h3 { font-size: 2rem; margin-bottom: 30px;}
    .contact-form .form-row { flex-direction: column; gap: 0;} /* Ensuring Name input stacks if it's the only one in a row */
    .contact-form .form-group { margin-bottom: 20px;}
    .contact-form label { font-size: 1rem;}
}
@media (max-width: 768px) {
    header { flex-direction: column; padding: 1rem; text-align: center;}
    nav { margin-top: 1rem; flex-wrap: wrap; justify-content: center;}
    nav a { padding: 6px 12px; font-size: 0.9rem;}
    .hero { padding: 4rem 1rem; margin: 1.5rem;}
    .left h1 { font-size: 2.8rem;}
    .subtitle { font-size: 1.2rem;}
    .info-box { padding: 2rem; font-size: 1rem;}
    .cosmo-section { padding: 5rem 1rem;}
    .cosmo-section h2 { font-size: 2.5rem;}
    .cosmo-section p { font-size: 1rem;}
    .cosmo-btn { padding: 1rem 2.5rem; font-size: 1.1rem;}
    .contact-section { padding: 60px 15px;}
    .contact-form { padding: 30px;}
    /* Adjusted for the new form structure */
    .contact-form h3 { font-size: 1.8rem; margin-bottom: 25px;}
    .contact-form label { font-size: 1rem;}
    .contact-form input,
    .contact-form textarea { padding: 15px; font-size: 1rem;}
    .contact-form button { padding: 1rem 2.5rem; font-size: 1.1rem;}
}
@media (max-width: 480px) {
    header { padding: 0.8rem;}
    .logo { font-size: 1.5rem;}
    nav { gap: 0.8rem;}
    nav a { padding: 5px 10px; font-size: 0.85rem;}
    .hero { padding: 3rem 0.8rem; margin: 1rem;}
    .left h1 { font-size: 2.2rem; line-height: 1.2;}
    .subtitle { font-size: 1.1rem;}
    .hiring-text { padding: 1.2rem; font-size: 0.95rem;}
    .info-box { padding: 1.5rem; font-size: 0.95rem; line-height: 1.8;}
    .cosmo-section { padding: 4rem 0.8rem;}
    .cosmo-section h2 { font-size: 2rem;}
    .cosmo-section p { font-size: 0.95rem;}
    .cosmo-btn { padding: 0.9rem 2rem; font-size: 1rem;}
    .contact-section { padding: 50px 10px;}
    .contact-form { padding: 20px;}
    /* Adjusted for the new form structure */
    .contact-form h3 { font-size: 1.6rem; margin-bottom: 20px;}
    .contact-form .form-group { margin-bottom: 15px;}
    .contact-form input,
    .contact-form textarea { padding: 12px; font-size: 0.9rem;}
    .contact-form button { padding: 0.8rem 2rem; font-size: 1rem;}
}