/* CSS Reset & Variable Tokens */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-primary: #FAF9F6;      /* Premium off-white */
    --bg-card: #FFFFFF;         /* Crisp card background */
    --text-primary: #1A1A1A;    /* Dark charcoal for text */
    --text-secondary: #4A4A4A;  /* Muted dark grey for descriptions */
    --text-muted: #7A7A7A;      /* Light gray for labels */
    --accent-red: #A6192E;      /* Editorial deep crimson red */
    --accent-red-hover: #8D1222;/* Darker red for hovers */
    --border-color: #E2E1DD;    /* Soft warm gray for borders */
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --transition-curve: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utility */
h1, h2, h3, h4, .logo-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-curve);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.icon {
    width: 20px;
    height: 20px;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
    vertical-align: middle;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-curve);
    border: 2px solid transparent;
}

.btn-red {
    background-color: var(--accent-red);
    color: #FFFFFF;
}

.btn-red:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 25, 46, 0.25);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.btn-outline:hover {
    background-color: var(--accent-red);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 25, 46, 0.25);
}

.btn-light-solid {
    background-color: #FFFFFF;
    color: var(--accent-red);
    border: none;
    font-size: 0.8rem;
    padding: 10px 18px;
}

.btn-light-solid:hover {
    background-color: var(--bg-primary);
    color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Header & Navigation */
.main-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 95px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 92%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    flex-direction: column;
}

.logo-brand-link {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-brand-link:hover .header-logo {
    transform: scale(1.02);
}

.logo-title {
    font-size: 1.9rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-red {
    color: var(--accent-red);
}

.logo-dark {
    color: #111111;
}

.logo-light {
    color: #FFFFFF;
}

.logo-subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-header {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0;
    background-color: #FAF9F6;
    background-image: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 40%, rgba(250, 249, 246, 0.6) 100%), 
        url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.hero-container {
    width: 92%;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.hero-text-col {
    padding-top: 0;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 6.2rem;
    line-height: 0.92;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.title-red {
    color: var(--accent-red);
}

.title-dark {
    color: #111111;
    display: block;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 22px;
    line-height: 1.35;
}

.red-accent-line {
    display: block;
    width: 60px;
    height: 3.5px;
    background-color: var(--accent-red);
    margin-bottom: 26px;
}

.hero-paragraph {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Align card to the right side of the column */
.hero-image-col {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Card container wraps the image tightly, crops the dirty top area, and applies styles */
.cover-card-container {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 35px 80px rgba(166, 25, 46, 0.16), 0 20px 50px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 610px;
}

.cover-card-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 45px 95px rgba(166, 25, 46, 0.22), 0 25px 55px rgba(0, 0, 0, 0.25);
}

.magazine-cover-img {
    max-width: 100%;
    width: 100%;
    margin-top: -10%; /* Crops exactly 10% of width dynamically, ensuring the top header crop is hidden at any scale */
    display: block;
}

.cover-card-container:hover .magazine-cover-img {
    /* Visual feedback handled by container */
}

/* Latest Issue Section */
.latest-issue-section {
    padding: 90px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: #FFFFFF; /* Pure White background for section separation */
}

.section-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 50px;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-red);
    letter-spacing: 0.15em;
    position: relative;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-red);
}

.issue-vol {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.latest-issue-grid {
    display: grid;
    grid-template-columns: 0.5fr 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.latest-thumbnail-frame {
    background-color: #FFFFFF;
    padding: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: inline-block;
}

.latest-cover-thumb {
    width: 150px;
}

.latest-feature-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.latest-feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.latest-pillars-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.pillar-icon-box {
    background-color: transparent;
    color: var(--accent-red);
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.pillar-icon-box svg {
    width: 28px;
    height: 28px;
}

.pillar-text h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111111;
}

.pillar-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Featured Stories Section */
.stories-section {
    padding: 90px 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
}

.stories-section-title {
    font-size: 2.2rem;
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.stories-title-accent {
    width: 60px;
    height: 2px;
    background-color: var(--accent-red);
    margin: 0 auto 50px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.story-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-speed) var(--transition-curve);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(166, 25, 46, 0.2);
}

.story-image-wrapper {
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.story-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.story-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-red);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.story-title {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #111111;
}

.story-teaser {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.story-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-red);
    align-self: flex-start;
}

.story-link:hover {
    color: var(--accent-red-hover);
}

.story-link .arrow {
    transition: transform 0.2s ease;
}

.story-link:hover .arrow {
    transform: translateX(4px);
}

/* About Section */
.about-section {
    padding: 95px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: #FFFFFF; /* Pure White background for section separation */
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-photo {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.about-section-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    letter-spacing: 0.02em;
}

.about-paragraph {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    border-top: 1px solid var(--border-color);
    padding-top: 35px;
    margin-top: 30px;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-card:not(:last-child) {
    border-right: 1px solid var(--border-color);
    padding-right: 25px;
}

.highlight-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-red);
    margin-bottom: 0;
    flex-shrink: 0;
}

.highlight-info {
    display: flex;
    flex-direction: column;
}

.highlight-val {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: #111111;
}

.highlight-lbl {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Submit News / Advertise CTA Banner */
.cta-banner-section {
    background-color: var(--accent-red);
    color: #FFFFFF;
    padding: 80px 0;
}

.cta-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.cta-title {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
}

.cta-cards-side {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cta-card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition-speed) ease;
}

.cta-card:hover {
    transform: translateY(-4px);
}

.cta-card-icon {
    background-color: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.cta-card-icon svg {
    width: 28px;
    height: 28px;
    color: #FFFFFF;
}

.cta-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.4;
}

.cta-card .btn-light-solid {
    width: 100%;
}

/* Footer Section */
.main-footer {
    background-color: #111111;
    color: #FFFFFF;
    padding: 80px 0 0;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    border-bottom: 1px solid #222222;
    padding-bottom: 60px;
}

.footer-brand-col .logo-subtitle {
    color: #A0A0A0;
}

.footer-logo {
    height: 70px;
    width: auto;
    display: block;
    background-color: #FFFFFF;
    padding: 6px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #A0A0A0;
    margin-top: 15px;
}

.copyright-text {
    font-size: 0.8rem;
    color: #666666;
    margin-top: 25px;
}

.footer-container h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #A0A0A0;
    font-size: 0.9rem;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #A0A0A0;
    background-color: #1A1A1A;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-red);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.social-icons svg {
    width: 18px;
    height: 18px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #A0A0A0;
    font-size: 0.9rem;
}

.contact-details svg {
    width: 16px;
    height: 16px;
    color: var(--accent-red);
    flex-shrink: 0;
}

.contact-details a {
    color: #A0A0A0;
}

.contact-details a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    background-color: #0A0A0A;
    padding: 25px 0;
}

.footer-bottom-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-container .copyright-text {
    margin-top: 0;
    color: #666666;
}

.footer-legal a {
    font-size: 0.8rem;
    color: #555555;
}

.footer-legal a:hover {
    color: #A0A0A0;
}

.footer-legal .divider {
    color: #222222;
    margin: 0 10px;
    font-size: 0.8rem;
}

/* Responsive Styles */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .latest-issue-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 40px;
    }
    
    .latest-pillars-col {
        grid-column: span 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 20px;
        border-top: 1px solid var(--border-color);
        padding-top: 30px;
    }

    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-info-side {
        text-align: center;
    }
    
    .cta-text {
        margin: 0 auto;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-contact-col {
        grid-column: span 3;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 20px;
        border-top: 1px solid #222222;
        padding-top: 30px;
    }
    
    .footer-contact-col h4 {
        grid-column: span 3;
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: 85px;
    }

    .header-logo {
        height: 52px;
    }

    /* Mobile nav toggling */
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 50px 0;
        gap: 30px;
        transition: left 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-text-col {
        padding-top: 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-paragraph {
        margin: 0 auto 30px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-col {
        justify-content: center;
    }
    
    .cover-card-container {
        max-width: 320px;
        margin: 0 auto;
    }

    .latest-issue-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .latest-thumbnail-col {
        display: flex;
        justify-content: center;
    }
    
    .latest-info-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .latest-pillars-col {
        grid-column: span 1;
        grid-template-columns: 1fr;
        text-align: left;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .highlight-card {
        border-right: none;
        border-top: 1px solid var(--border-color);
        padding-right: 0;
        padding-top: 15px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .highlight-card:first-child {
        border-top: none;
        padding-top: 0;
    }

    .cta-cards-side {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-contact-col {
        grid-column: span 1;
        grid-template-columns: 1fr;
        border-top: none;
        padding-top: 0;
    }
    
    .footer-contact-col h4 {
        grid-column: span 1;
    }
}

/* ==========================================================================
   Contact Form Section Styles (Inline Relocated & Horizontal)
   ========================================================================== */

.contact-form-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.contact-card-container {
    background-color: var(--bg-card);
    border-top: 4px solid var(--accent-red);
    border-radius: 12px;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04), 0 5px 15px rgba(0, 0, 0, 0.02);
    padding: 45px 50px;
    transition: all var(--transition-speed) var(--transition-curve);
}

.contact-card-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.contact-section-header {
    text-align: center;
    margin-bottom: 35px;
}

.contact-section-header h2 {
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.contact-section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

.red-accent-line-small {
    width: 40px;
    height: 3px;
    background-color: var(--accent-red);
    margin: 12px auto 0;
}

/* 2-Column Horizontal Form Layout */
.contact-form {
    display: flex;
    flex-direction: column;
}

.form-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.form-col-left,
.form-col-right {
    display: flex;
    flex-direction: column;
}

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

.form-group label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    border-radius: 8px;
    color: var(--text-primary);
    transition: all 0.2s var(--transition-curve);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(166, 25, 46, 0.1);
}

/* Custom Select Dropdown Box */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--text-muted);
    pointer-events: none;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px; /* Space for the custom arrow */
    cursor: pointer;
}

.form-col-right textarea {
    height: 182px; /* Matches height of details column fields */
    resize: none; /* Keep layout proportions clean on desktop */
}

.btn-submit {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 14px 24px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .contact-card-container {
        padding: 40px 30px;
    }
    .form-grid-container {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-card-container {
        padding: 30px 24px;
        border-radius: 8px;
    }
    
    .contact-section-header h2 {
        font-size: 2rem;
    }
    
    .form-grid-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-col-right textarea {
        height: 120px;
        resize: vertical; /* Enable resizing on mobile layouts */
    }
}

/* ==========================================================================
   Toast Notification Styles
   ========================================================================== */

.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 60px);
}

.toast {
    background-color: var(--bg-card);
    border-left: 4px solid var(--accent-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    pointer-events: auto;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity var(--transition-speed) ease;
}

.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast.success {
    border-left-color: #10B981; /* Premium Emerald Green */
}

.toast.error {
    border-left-color: var(--accent-red); /* Premium Crimson Red */
}

.toast-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.toast-icon.success {
    color: #10B981;
}

.toast-icon.error {
    color: var(--accent-red);
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
    line-height: 1.2;
}

.toast-message {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.toast-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-muted);
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -2px;
    margin-right: -6px;
    border-radius: 4px;
}

.toast-close:hover {
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.toast-close svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 576px) {
    .toast-container {
        bottom: 20px;
        right: 20px;
        width: calc(100% - 40px);
    }
    
    .toast {
        padding: 14px 16px;
        min-width: unset;
    }
}



