/* ====================================
   Contact Page Styles
   ==================================== */

:root {
    /* Brand Colors */
    --color-primary-blue: #0A355B;
    --color-primary-teal: #137374;
    --color-secondary-teal: #78C6C4;
    --color-bg-teal-light: #E4F4F3;
    --color-accent-green: #98D29B;
    --color-accent-yellow: #FED992;
    --color-accent-coral: #E88773;
    
    /* Text Colors */
    --color-white: #FFFFFF;
    --color-dark-text: #032137;
    --color-gray-text: #434343;
    --color-light-gray: #D9D9D9;

    /* Fonts */
    --font-heading: 'Figtree', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-body);
    background: var(--color-white);
    color: var(--color-dark-text);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ====================================
   Header
   ==================================== */
.header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 100px;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 30px;
    color: var(--color-white);
    display: inline-flex;
    gap: 6px;
}

/* Logo Animation */
.logo-rn {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background-color: transparent;
    color: var(--color-white);
    transition: background-color 0.3s ease, color 0.3s ease;
    animation: rnHighlightWhite 2s ease-in-out infinite;
}

.logo-analytics {
    display: inline-block;
    padding: 2px 0;
    color: var(--color-white);
    transition: opacity 0.3s ease;
    animation: analyticsHighlight 2s ease-in-out infinite;
}

@keyframes rnHighlightWhite {
    0%, 100% {
        background-color: transparent;
        color: var(--color-white);
    }
    25%, 50% {
        background-color: var(--color-white);
        color: var(--color-primary-blue);
    }
}

@keyframes analyticsHighlight {
    0%, 50% {
        opacity: 0.6;
    }
    75%, 100% {
        opacity: 1;
    }
}

.nav-links { display: flex; gap: 40px; }
.nav-links a {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-white);
    transition: opacity 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    opacity: 0.8;
}
.nav-links a.active {
    color: var(--color-accent-yellow);
    opacity: 1;
}

/* ====================================
   Hero Section
   ==================================== */
.hero-section {
    background-color: var(--color-primary-blue);
    padding-top: 220px; /* Space for header */
    padding-bottom: 400px; /* Increased space to prevent overlap */
    text-align: center;
    position: relative;
    /* min-height can be removed or kept, padding is safer for spacing */
}

.hero-content {
    max-width: 1016px;
    margin: 0 auto;
    color: var(--color-white);
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 70px;
    line-height: 90px;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 30px;
    line-height: 45px;
    color: var(--color-light-gray);
    max-width: 881px;
    margin: 0 auto;
}

/* ====================================
   Contact Card & Form
   ==================================== */
.contact-container {
    position: relative;
    max-width: 1000px;
    margin: -250px auto 0; /* Negative margin to pull up over hero */
    z-index: 10;
    padding-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

.contact-card {
    background: var(--color-bg-teal-light);
    border: 1px solid var(--color-secondary-teal);
    border-radius: 40px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: flex;
    gap: 60px; /* Spacing between columns */
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group.full-width {
    width: 100%;
}

label {
    font-family: var(--font-body);
    font-weight: 800; /* ExtraBold */
    font-size: 18px;
    color: var(--color-primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input, textarea {
    font-family: var(--font-body);
    font-size: 18px;
    padding: 20px 30px;
    border-radius: 25px;
    border: 1px solid var(--color-secondary-teal);
    background: var(--color-white);
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
}

input {
    height: 60px;
}

textarea {
    height: 150px;
    resize: vertical;
}

input:focus, textarea:focus {
    border-color: var(--color-primary-teal);
}

/* Submit Button */
.submit-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn {
    width: 367px;
    height: 87px;
    background: var(--color-primary-teal);
    border-radius: 25px;
    border: none;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 30px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background-color: #0e5c5d;
}

.arrow-icon {
    font-family: var(--font-heading); 
}


/* ====================================
   Direct Email Section
   ==================================== */
.direct-email-section {
    text-align: center;
    margin: 80px 0 100px;
    position: relative;
    z-index: 10;
}

.direct-email-section h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 45px;
    color: var(--color-dark-text);
    margin-bottom: 20px;
}

.direct-email-section p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 30px;
    color: var(--color-gray-text);
}

.direct-email-section a {
    color: var(--color-primary-teal);
    font-weight: 700;
    text-decoration: none;
}

/* ====================================
   Footer
   ==================================== */
.footer {
    background-color: var(--color-primary-blue);
    padding: 30px 50px 20px;
    position: relative;
    z-index: 20;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.footer-logo-section {
    flex-shrink: 0;
}

.footer-logo {
    width: 100px;
    height: auto;
}

.footer-links-container {
    display: flex;
    gap: 25px;
    flex: 1;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 90px;
}

.footer-header {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-white);
    transition: opacity 0.3s;
}

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

.footer-detail {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-white);
    line-height: 1.4;
}

.contact-value {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    color: var(--color-white);
    line-height: 1.4;
}

.linkedin-link {
    display: inline-block;
}

.linkedin-link img {
    width: 20px;
    height: 20px;
    display: block;
}

.copyright {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    color: var(--color-white);
    text-align: right;
    margin-top: 20px;
}


/* ====================================
   Decorative Elements
   ==================================== */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.yellow-line {
    position: absolute;
    left: 90px;
    top: 500px;
    width: 83px;
    height: 12px;
    background: var(--color-accent-yellow);
    border-radius: 6px;
}

.green-star {
    position: absolute;
    right: 150px; 
    top: 527px;
    width: 142px;
    height: 140px;
    background-image: url("https://www.figma.com/api/mcp/asset/4c2b69c0-a5c3-406d-a9a6-8a8174c1191c");
    background-size: contain;
    background-repeat: no-repeat;
}

.coral-dots-group {
    position: absolute;
    left: 518px;
    top: 114px;
    width: 59px;
    height: 59px;
    background-image: url("https://www.figma.com/api/mcp/asset/24db272d-7d15-4321-9a50-3a750af272e3");
    background-size: contain;
    background-repeat: no-repeat;
}

.teal-star {
    /* For the star at bottom left */
    position: absolute;
    left: 142px;
    top: 1700px;
    width: 142px;
    height: 140px;
    background-image: url("https://www.figma.com/api/mcp/asset/6808c75d-f196-43f1-a847-08495392b64b");
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(45deg); 
}


/* Responsive */
@media (max-width: 1200px) {
    .container, .contact-container, .header-menu, .footer {
        padding-left: 50px;
        padding-right: 50px;
    }
    .hero-title { font-size: 50px; line-height: 1.2; }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}
.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span {
    background-color: var(--color-dark-text);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .header-menu {
        justify-content: space-between;
        padding: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--color-dark-text);
        font-size: 24px;
    }

    .form-row { flex-direction: column; gap: 20px; }
    .contact-card { padding: 25px 20px; width: 100%; max-width: 100%; }
    .footer-links-container { flex-direction: column; gap: 30px; }
    .hero-section { min-height: auto; padding: 100px 20px 80px; }
    .contact-container { margin-top: -50px; padding: 0 20px; }
    .hero-title { font-size: 24px; line-height: 1.3; margin-bottom: 15px; }
    .hero-subtitle { font-size: 14px; line-height: 1.5; }
    
    /* Fix fixed-width elements */
    .input-wrapper,
    .form-group,
    .btn-submit {
        width: 100% !important;
        max-width: 100%;
    }
    
    .form-label {
        font-size: 14px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 14px;
        padding: 12px;
    }
    
    .card-title {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .decorative-elements {
        display: none;
    }
    
    .footer {
        padding: 40px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 10px;
    }

    .footer-column {
        min-width: 0;
    }

    /* Left aligning columns */
    .footer-column:nth-child(1), 
    .footer-column:nth-child(4) {
        align-items: flex-start;
        text-align: left;
    }

    /* Center aligning columns */
    .footer-column:nth-child(2), 
    .footer-column:nth-child(5) {
        align-items: center;
        text-align: center;
    }

    /* Right aligning columns */
    .footer-column:nth-child(3) {
        align-items: flex-end;
        text-align: right;
    }
}
