/* ========================================
   CONTACT PAGE STYLES
   ======================================== */


/* --- Reset & Variables --- */
:root {
    --bg-dark: #011A38;
    --card-bg: #0a2744;
    --text-white: #ffffff;
    --text-gray: #d1d5db;
    --primary-blue: #2563eb;
    --hover-blue: #1d4ed8;
    --cyan-accent: #22d3ee;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
}

body { 
    background-color: #ffffff; 
    color: #000000; 
    overflow-x: hidden; 
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========================================
   NAVIGATION (Transparent, scrolls with user)
   ======================================== */
.navbar { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 100; 
    padding: 1rem 2rem; 
    transition: all 0.3s ease; 
    background: transparent; 
}

.navbar.scrolled { 
    background: rgba(1, 26, 56, 0.95); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); 
}

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

.logo { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    text-decoration: none;
}

.logo img {
    filter: none !important; /* Override any grayscale filters */
    opacity: 1 !important;
}

.logo-icon { 
    width: 2.5rem; 
    height: 2.5rem; 
    background-color: #3b82f6; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.logo-dot { 
    width: 1.5rem; 
    height: 1.5rem; 
    background-color: white; 
    border-radius: 50%; 
    opacity: 0.8; 
}

.logo-text { 
    font-size: 1.25rem; 
    font-weight: 700; 
}

.text-blue { color: #3b82f6; }
.text-gray { color: #ffffff; }

.navbar.scrolled .text-gray { color: #d1d5db; }

/* Navigation Links */
.nav-links { 
    display: none; 
    align-items: center; 
    gap: 2rem; 
    flex: 1; 
    margin-left: 3rem; 
}

.nav-links a { 
    color: var(--text-white); 
    text-decoration: none; 
    transition: color 0.2s, transform 0.2s; 
    font-weight: 500; 
}

.navbar.scrolled .nav-links a {
    color: var(--text-gray);
}

.nav-links a:hover,
.nav-links a.active { 
    color: #3b82f6; 
    transform: translateY(-1px);
}

.spacer { flex: 1; }

.icon-btn { 
    background: none; 
    border: none; 
    color: white; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.icon-btn i {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-btn:hover { 
    color: #3b82f6; 
}

.navbar.scrolled .icon-btn {
    color: var(--text-gray);
}

.navbar.scrolled .icon-btn:hover {
    color: #3b82f6;
}

.btn-get-started { 
    background: transparent; 
    border: 2px solid #9ca3af; 
    color: white; 
    padding: 0.5rem 1.5rem; 
    border-radius: 9999px; 
    text-decoration: none; 
    transition: all 0.2s; 
    font-weight: 500; 
}

.btn-get-started:hover { 
    background: white; 
    color: var(--bg-dark); 
    border-color: white; 
}

.mobile-toggle { 
    display: block; 
    cursor: pointer; 
    color: white; 
    padding: 0.5rem;
    transition: color 0.2s ease;
    z-index: 110;
}

.mobile-toggle:hover {
    color: #3b82f6;
}

.mobile-toggle i {
    width: 1.5rem;
    height: 1.5rem;
}

.navbar.scrolled .mobile-toggle {
    color: var(--text-gray);
}

.navbar.scrolled .mobile-toggle:hover {
    color: #3b82f6;
}

.mobile-menu { 
    display: none; 
    flex-direction: column; 
    background: var(--bg-dark); 
    padding: 1rem; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.mobile-menu a { 
    color: white; 
    text-decoration: none; 
    padding: 1rem 0; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s ease;
}

.mobile-menu a:hover {
    color: #3b82f6;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu.active { 
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ========================================
   HERO BANNER (Static image with overlay)
   ======================================== */
.page-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-title {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-line-1 {
    color: #ffffff;
    display: block;
}

.title-line-2 {
    color: #ffffff;
    display: inline-block;
    background-color: #000000;
    padding: 0.25rem 1rem 0.25rem 0;
    margin-left: -0.25rem;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Hero Phone Number */
.hero-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
}

.hero-phone > span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.hero-phone a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.hero-phone a:hover {
    color: #22d3ee;
}

.hero-phone a i {
    width: 1.5rem;
    height: 1.5rem;
}

/* ========================================
   CONTACT INTRO SECTION
   ======================================== */
.contact-intro-section {
    background-color: #011A38;
    padding: 5rem 1rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.intro-content {
    color: #ffffff;
}

.intro-heading {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}

.intro-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-icon svg {
    width: 250px;
    height: 250px;
    filter: drop-shadow(0 10px 30px rgba(34, 211, 238, 0.3));
}

/* Globe Image Styling */
.globe-image {
    width: 250px;
    height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(34, 211, 238, 0.3));
    transition: transform 0.3s ease;
}

.globe-image:hover {
    transform: scale(1.05);
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */
.contact-form-section {
    background-color: #011A38;
    padding: 3rem 1rem 5rem;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 3rem;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: left;
}

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

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

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

.form-group label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: #111827;
    transition: border-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background-color: #000000;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    border: 2px solid #000000;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.success-message {
    background-color: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.error-message {
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.form-message i {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

/* ========================================
   CAREERS CTA SECTION
   ======================================== */
.careers-cta-section {
    background-color: #1a2332;
    padding: 5rem 1rem;
}

.careers-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

.careers-text {
    flex: 1;
    min-width: 300px;
}

.careers-heading {
    font-family: 'League Gothic', 'Arial Narrow', 'Impact', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.careers-subtext {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.careers-subtext em {
    font-style: italic;
}

.btn-careers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-careers:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* ========================================
   FOOTER
   ======================================== */
.footer-section {
    background: #000000;
    color: #ffffff;
    padding: 4rem 1rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto 3rem;
}

.footer-company {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-dot {
    width: 1.2rem;
    height: 1.2rem;
    background-color: #d1d5db;
    border-radius: 50%;
}

.footer-logo-text {
    font-size: 1rem;
    font-weight: 700;
}

.text-gray-footer {
    color: #d1d5db;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #3b82f6;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
    width: fit-content;
}

.footer-phone:hover {
    color: #60a5fa;
}

.footer-phone i {
    width: 1.25rem;
    height: 1.25rem;
}

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

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #d1d5db;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.footer-social i {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: #9ca3af;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet and Desktop */
@media (min-width: 768px) {
    .nav-links { 
        display: flex; 
    }
    
    .mobile-toggle { 
        display: none; 
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        justify-content: space-between;
    }
    
    .hero-cta-buttons {
        flex-wrap: nowrap;
    }
    
    /* Form Row: Two Columns */
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Intro Grid: Two Columns */
    .intro-grid {
        grid-template-columns: 1fr auto;
        gap: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 7rem;
    }
    
    .intro-heading {
        font-size: 3.5rem;
    }
    
    .careers-heading {
        font-size: 6rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .title-line-2 {
        padding: 0.25rem 0.5rem 0.25rem 0;
    }
    
    .btn-hero-outline {
        width: 100%;
        text-align: center;
    }
    
    .hero-content-wrapper {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .hero-phone {
        position: static;
        align-items: flex-start;
        margin-top: 2rem;
    }
    
    .intro-heading {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .intro-icon svg {
        width: 200px;
        height: 200px;
    }
    
    .globe-image {
        width: 200px;
        height: 200px;
    }
    
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .careers-heading {
        font-size: 3.5rem;
    }
    
    .careers-subtext {
        font-size: 1.125rem;
    }
    
    .careers-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-careers {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .btn-hero-outline {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
    
    .intro-heading {
        font-size: 1.75rem;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    .careers-heading {
        font-size: 3rem;
    }
}
/* Footer Logo Image */
.footer-logo-image {
    height: 40px; /* Adjust height as needed */
    width: 350px;
    display: block;
    transition: opacity 0.2s ease;
}

.footer-logo-image:hover {
    opacity: 0.8;
}

.footer-logo a {
    display: inline-block;
}
/* Mobile Logo Sizing - Reduce by 30% on mobile */
@media (max-width: 768px) {
    .logo img,
    .footer-logo-image {
        height: 28px !important; /* 30% smaller than 40px */
        width: auto;
    }
}

/* ========================================
   INLINE SEARCH BAR (Expandable)
   ======================================== */
.inline-search-container {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
}

.inline-search-input {
    width: 0;
    opacity: 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #ffffff;
    font-size: 1rem;
    padding: 0.5rem 0;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.inline-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* Search icon button */
.search-icon-btn {
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.search-icon-btn i {
    width: 1.25rem;
    height: 1.25rem;
    transition: color 0.3s ease;
}

.search-icon-btn:hover i {
    color: #22d3ee;
}

/* EXPANDED STATE */
.inline-search-container.expanded .inline-search-input {
    width: 180px;
    opacity: 1;
    border-bottom-color: #22d3ee;
    padding-right: 0.5rem;
    pointer-events: auto;
    margin-right: 0.5rem;
}

.inline-search-container.expanded .search-icon-btn {
    transform: translateX(-10px);
}

.inline-search-container.expanded .search-icon-btn i {
    color: #22d3ee;
}

/* ========================================
   SEARCH EXPANDED STATE - Fade out nav items
   ======================================== */

/* When search is expanded, fade out all nav links */
.nav-links.search-active > a,
.nav-links.search-active > .spacer,
.nav-links.search-active > .btn-get-started {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Keep the search container visible */
.nav-links.search-active .inline-search-container {
    opacity: 1;
    pointer-events: auto;
}

/* Make search bar wider when nav items are hidden */
.nav-links.search-active .inline-search-container.expanded .inline-search-input {
    width: 320px;
}

/* Smooth transition for nav links when NOT in search mode */
.nav-links > a,
.nav-links > .spacer,
.nav-links > .btn-get-started {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.2s ease;
}

/* Mobile: Hide inline search, use mobile menu search instead */
@media (max-width: 767px) {
    .inline-search-container {
        display: none;
    }
}