/* ==========================================================================
   ALFATH MEDIA - CONTACT PAGE STYLES
   Color Palette: Black (#000000), Dark Charcoal (#111111), Cream (#F9EFE8), 
                  Blue (#1A5DAC), Grey (#A09FA3), Magenta (#9F1850), Purple (#8D1EA4)
   Typography System: Harmonized with Home Page (Oswald & Inter)
   ========================================================================== */

:root {
    --color-black: #000000;
    --color-charcoal: #111111;
    --color-cream: #F9EFE8;
    --color-blue: #1A5DAC;
    --color-white: #FFFFFF;
    --color-grey: #A09FA3;
    --color-dark-grey: #2C2C2C;
    
    --accent-magenta: #9F1850;
    --accent-purple: #8D1EA4;
    --accent-green: #27C93F;

    /* Home Page Font Variables */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 18px;
    background-color: var(--color-black);
    color: var(--color-white);
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Eyebrow Label Standard */
.section-label-blue {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.contact-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 190px 6vw 120px 6vw;
    background-color: var(--color-black);
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    will-change: transform;
}

.hero-dark-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.94) 100%),
                linear-gradient(180deg, rgba(26, 93, 172, 0.18) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 2;
    opacity: 0.22;
}

.blob-purple {
    top: 15%;
    right: 12%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.blob-blue {
    bottom: 10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 920px;
    width: 100%;
    /* .contact-hero is display:flex, making this its flex item. Flex items
       default to min-width:auto, so without this the browser won't shrink
       it below its own heading text's natural width — on very small
       phones that overflows the screen instead of just wrapping. */
    min-width: 0;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 24px;
}


.hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4.2vw, 4.7rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 28px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1vw, 1rem);
    font-weight: 300;
    color: var(--color-grey);
    max-width: 780px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    padding: 16px 36px;
    background-color: var(--color-blue);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 20px rgba(26, 93, 172, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #144988;
    box-shadow: 0 8px 30px rgba(26, 93, 172, 0.5);
}

.btn-secondary {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    padding: 16px 36px;
    background-color: transparent;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-secondary:hover {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    transform: translateY(-2px);
}

/* ==========================================================================
   SECTION 2: CONTACT INFORMATION (DARK CHARCOAL #111111 VISUAL CENTERPIECE)
   ========================================================================== */
.info-section {
    position: relative;
    background-color: var(--color-charcoal);
    padding: 160px 6vw;
    color: var(--color-white);
    overflow: hidden;
}

/* Tasteful Soft Ambient Glows */
.info-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 1;
}

.glow-blue {
    top: 10%;
    left: -5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(26, 93, 172, 0.18) 0%, transparent 70%);
}

.glow-magenta {
    bottom: 5%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(159, 24, 80, 0.16) 0%, transparent 70%);
}

.glow-green {
    top: 45%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(39, 201, 63, 0.08) 0%, transparent 70%);
}

.info-container {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
}

.info-grid-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: stretch;
}

/* LEFT COLUMN: Quick Action Cards */
.info-left-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
}

.quick-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    text-decoration: none;
    color: var(--color-white);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.quick-card-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--color-blue), var(--accent-magenta));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quick-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(26, 93, 172, 0.12);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.quick-icon {
    width: 22px;
    height: 22px;
}

.quick-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 1.6vw, 1.5rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.quick-card-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-grey);
    line-height: 1.6;
}

/* Quick Card Hover */
.quick-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.quick-card:hover .quick-card-border {
    opacity: 1;
}

.quick-card:hover .quick-icon-wrap {
    background-color: var(--color-blue);
    color: var(--color-white);
    transform: scale(1.05);
}

.quick-card:hover .quick-card-title {
    color: var(--color-blue);
}

/* RIGHT COLUMN: Large Premium Centerpiece Card */
.info-right-col {
    display: flex;
}

.centerpiece-card {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 56px 48px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.centerpiece-border-glow {
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(26, 94, 172, 0.632), rgba(159, 24, 80, 0.664), rgba(39, 201, 63, 0.445));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.centerpiece-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.centerpiece-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 3.5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--color-white);
}

.centerpiece-subtext {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    font-weight: 300;
    color: var(--color-grey);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Contact Details */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 48px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(26, 93, 172, 0.12);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon-wrap svg {
    width: 20px;
    height: 20px;
}

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

.detail-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-grey);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.detail-value {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.5;
}

.detail-value-link {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-white);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.detail-value-link:hover {
    color: var(--color-blue);
}

/* Action Buttons */
.centerpiece-action-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-centerpiece-primary {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    background-color: var(--color-blue);
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(26, 93, 172, 0.3);
}

.btn-centerpiece-primary:hover {
    background-color: #144988;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 93, 172, 0.5);
}

.btn-centerpiece-secondary {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    background-color: transparent;
    padding: 16px 36px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.35s ease;
}

.btn-centerpiece-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   SECTION 2.5: LEAD CAPTURE FORM
   ========================================================================== */
.form-section {
    position: relative;
    background-color: var(--color-black);
    padding: 0 6vw 160px 6vw;
    color: var(--color-white);
    overflow: hidden;
}

.form-container {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

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

.form-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 3rem);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--color-white);
}

.form-subtext {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-grey);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

.lead-form-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 44px 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-grey);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-blue);
    background: rgba(255, 255, 255, 0.06);
}

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

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.btn-form-submit {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    background-color: var(--color-blue);
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(26, 93, 172, 0.3);
}

.btn-form-submit:hover {
    background-color: #144988;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 93, 172, 0.5);
}

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

.form-status-message {
    margin-top: 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.6;
    display: none;
}

.form-status-message.status-success {
    color: #27C93F;
    display: block;
}

.form-status-message.status-error {
    color: #E0517A;
    display: block;
}

@media (max-width: 640px) {
    .lead-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .lead-form-card {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   SECTION 3: LOCATION (CREAM #F9EFE8 BACKGROUND)
   ========================================================================== */
.location-section {
    background-color: var(--color-cream);
    padding: 160px 6vw;
    color: var(--color-black);
}

.location-container {
    max-width: 1320px;
    margin: 0 auto;
}

.location-header {
    text-align: center;
    margin-bottom: 60px;
}

.location-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 4vw, 4.25rem);
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: 0.01em;
    margin-bottom: 18px;
    color: var(--color-black);
}

.location-description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark-grey);
    max-width: 720px;
    margin: 0 auto;
}

/* Map Rounded Container */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(26, 93, 172, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.map-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Laptops (1025px - 1280px) */
@media screen and (max-width: 1280px) {
    .info-grid-split { gap: 36px; }
    .centerpiece-card { padding: 44px 36px; }
}

/* Tablets & Stacked Views (Up to 1024px) */
@media screen and (max-width: 1024px) {
    .info-grid-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-left-col {
        gap: 20px;
    }

    .map-wrapper {
        height: 420px;
    }
}

/* Small Tablets & Mobile Devices (Up to 768px) */
@media screen and (max-width: 768px) {
    .contact-hero, .info-section, .location-section {
        padding: 100px 6vw;
    }

    .hero-cta-group, .centerpiece-action-group {
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }

    .btn-primary, .btn-secondary, .btn-centerpiece-primary, .btn-centerpiece-secondary {
        width: 100%;
        text-align: center;
    }

    .centerpiece-card {
        padding: 36px 24px;
    }

    .map-wrapper {
        height: 350px;
        border-radius: 20px;
    }
}

/* Micro Mobile (Up to 380px) */
@media screen and (max-width: 380px) {
    .quick-card {
        flex-direction: column;
        padding: 24px 20px;
    }

    .detail-item {
        flex-direction: column;
        gap: 10px;
    }
}

/* ========================================== */
/* ULTRA-WIDE / LARGE MONITORS (1600px+)      */
/* Matches the live production site's widths through normal laptop/desktop
   sizes; on wide/ultra-wide monitors (1920px+) these sections stretch
   further so they don't leave large empty margins either side. */
@media screen and (min-width: 1600px) {
    .info-container,
    .location-container {
        max-width: 1520px;
    }
}