/* Get Started Page Styles - Matching Homepage */

/* ================================
   SECTION ACCENT (Matching Homepage)
   ================================ */
.section-accent {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.section-accent span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.section-accent span:nth-child(1) { background: var(--primary-blue); }
.section-accent span:nth-child(2) { background: linear-gradient(135deg, var(--primary-blue), var(--gold-accent)); }
.section-accent span:nth-child(3) { background: var(--gold-accent); }

/* ================================
   SCROLL ANIMATIONS
   ================================ */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   ADMIN BANNER
   ================================ */
.admin-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(37, 99, 235, 0.08);
    backdrop-filter: blur(8px);
    color: var(--primary-blue);
    z-index: 1001;
    padding: 5px 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    height: 28px;
}

.admin-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.admin-banner-text {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.8;
}

.admin-banner-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s ease;
    opacity: 0.8;
}

.admin-banner-link:hover {
    opacity: 1;
}

body.admin-banner-visible .navbar {
    top: 28px;
}

/* ================================
   HERO SECTION (Dark with Image)
   ================================ */
.contact-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 20px 100px;
    isolation: isolate;
}

.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Blue orb top-right */
        radial-gradient(ellipse 400px 400px at 85% 15%, rgba(37, 99, 235, 0.2) 0%, transparent 60%),
        /* Gold orb bottom-left */
        radial-gradient(ellipse 350px 350px at 15% 85%, rgba(251, 191, 36, 0.15) 0%, transparent 60%),
        /* Base dark overlay */
        linear-gradient(180deg, 
            rgba(15, 23, 42, 0.88) 0%, 
            rgba(30, 41, 59, 0.9) 50%,
            rgba(15, 23, 42, 0.92) 100%);
}

.contact-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.contact-title {
    font-size: 60px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.contact-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Bar */
.contact-stats {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.contact-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-stat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    color: var(--hover-blue);
    font-size: 18px;
}

.contact-stat-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.contact-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ================================
   NAVBAR OVERRIDES
   ================================ */
.navbar.scrolled.navbar-over-light:not(.navbar-standard) .nav-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.navbar.navbar-over-light .nav-toggle span {
    background: var(--dark-base);
}

/* ================================
   FORM SECTION
   ================================ */
.contact-section {
    padding: 100px 20px;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container {
    background: var(--white);
    border-radius: 24px;
    padding: 56px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--borders);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-form-container:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-base);
    margin-bottom: 12px;
}

.form-subtitle {
    font-size: 17px;
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Form Elements */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-base);
}

.required {
    color: #ef4444;
}

.form-input {
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--borders);
    border-radius: 12px;
    background: var(--white);
    color: var(--primary-text);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.form-input::placeholder {
    color: #CBD5E1;
    opacity: 1;
}

.form-input:hover {
    border-color: var(--primary-blue);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: var(--muted-text);
}

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

.form-help {
    font-size: 12px;
    color: var(--muted-text);
    line-height: 1.5;
}

/* Select Dropdown */
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
}

/* Website services expanded section spans full width */
.sub-checkbox-group {
    grid-column: 1 / -1;
}

/* Other input stays in its column */

/* Nested sub-checkbox group (e.g., Website Services details) */
.sub-checkbox-group {
    margin-left: 24px;
    padding: 12px 16px;
    background: var(--light-bg);
    border-left: 3px solid var(--primary-blue);
    border-radius: 0 8px 8px 0;
}

.sub-checkbox-group .checkbox-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 16px;
}

.sub-checkbox-group .checkbox-label {
    padding: 8px 12px;
    font-size: 14px;
    background: transparent;
    border-radius: 8px;
}

.sub-checkbox-group .checkbox-label span {
    font-size: 14px;
}

/* Container for checkbox + nested input */
.checkbox-with-input {
    display: flex;
    flex-direction: column;
}

.checkbox-with-input .checkbox-label {
    width: 100%;
}

/* Nested text input directly under its checkbox */
.other-input-nested {
    margin-top: 8px;
    margin-left: 32px;
    padding: 8px 12px;
    background: var(--light-bg);
    border-left: 3px solid var(--primary-blue);
    border-radius: 0 8px 8px 0;
}

.other-input-nested .form-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
}

/* Smaller nested input in sub-checkbox-group */
.sub-checkbox-group .other-input-nested {
    margin-left: 24px;
    padding: 6px 10px;
}

.sub-checkbox-group .other-input-nested .form-input {
    font-size: 13px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: var(--primary-text);
    padding: 14px 16px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.2);
}

.form-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-blue);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-icon {
    width: 1.1em;
    font-size: 1rem;
    color: var(--primary-blue);
    opacity: 0.85;
    flex-shrink: 0;
}

.checkbox-label:has(.form-checkbox:checked) .checkbox-icon {
    opacity: 1;
}

.checkbox-label:has(.form-checkbox:checked) {
    background: rgba(37, 99, 235, 0.08);
    border-color: var(--primary-blue);
}

/* Email Opt-in styling */
.email-optin-label {
    background: transparent;
    padding: 0;
    align-items: flex-start;
}

.email-optin-label:hover {
    background: transparent;
}

.email-optin-label .form-checkbox {
    margin-top: 2px;
}

.email-legal-text {
    font-size: 12px;
    color: var(--muted-text);
    line-height: 1.6;
    margin-top: 8px;
    padding-left: 32px;
}

.email-legal-text a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Submit Button */
.form-submit {
    margin-top: 16px;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 600;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--hover-blue) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-submit:disabled:hover {
    transform: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    text-align: center;
    margin-top: 16px;
}

.form-message-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--dark-base);
    color: var(--white);
    padding: 60px 0 30px;
    padding-bottom: max(30px, env(safe-area-inset-bottom, 0px));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--gold-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 992px) {
    .contact-title {
        font-size: 48px;
    }
    
    .contact-stats {
        gap: 24px;
        padding: 24px 32px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 60vh;
        padding: 120px 20px 80px;
    }
    
    .contact-title {
        font-size: 38px;
    }
    
    .contact-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }
    
    .contact-stats {
        display: flex;
        flex-direction: row;
        gap: 16px;
        padding: 14px 20px;
        width: 100%;
        border-radius: 50px;
    }
    
    .contact-stat-divider {
        width: 1px;
        height: 36px;
    }

    .checkbox-group,
    .sub-checkbox-group .checkbox-group {
        grid-template-columns: 1fr;
    }

    .sub-checkbox-group,
    .other-input-group {
        margin-left: 16px;
    }

    .contact-section {
        padding: 60px 16px;
    }

    .contact-form-container {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-title {
        font-size: 26px;
    }

    .checkbox-label {
        padding: 12px 14px;
        font-size: 14px;
    }

    .form-checkbox {
        width: 18px;
        height: 18px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 55vh;
        padding: 100px 16px 60px;
    }
    
    .contact-title {
        font-size: 30px;
    }
    
    .contact-subtitle {
        font-size: 16px;
    }

    .contact-form-container {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 16px;
    }

    .form-submit {
        padding: 16px 24px;
    }
}

/* Disable hover lift effects on touch-only devices */
@media (hover: none) {
    .form-submit:hover {
        transform: none;
    }
}

/* Accessible focus outlines for keyboard/assistive navigation */
.btn:focus-visible,
.form-submit:focus-visible,
.form-input:focus-visible,
.checkbox-label:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 8px;
}
