/* --- GLOBAL RESET & VARIABLES --- */
:root {
    --primary-color: #0f172a; /* Slate Dark / Corporate */
    --accent-color: #2563eb;  /* Premium Professional Blue */
    --text-color: #334155;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

/* --- REUSABLE UTILITIES --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
}

.grid-container {
    display: grid;
    gap: 30px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 400px 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}


/* --- NAVIGATION BAR --- */
.site-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-trigger i {
    font-size: 0.75rem;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    list-style: none;
    min-width: 240px;
    padding: 10px 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--accent-color);
}

/* Social Icon Blocks */
.nav-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 1px solid var(--border-color);
    padding-left: 24px;
}

.social-icon {
    font-size: 1.25rem;
    color: #64748b;
    transition: color 0.2s, transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.whatsapp:hover { color: #25D366; }
.social-icon.telegram:hover { color: #0088cc; }
.social-icon.email:hover { color: var(--accent-color); }

/* --- LANGUAGE DROPDOWN STYLES --- */
.lang-dropdown {
    position: relative; /* Anchors the absolute dropdown menu to this exact button */
    display: inline-block;
}

.lang-trigger {
    background: none;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.lang-trigger:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.lang-trigger i {
    font-size: 0.7rem;
}

.lang-menu {
    position: absolute;
    top: 100%;
    left: -5%;                     /* 1. Push the left side to the exact middle of the button */
    right: auto;                   /* 2. Break the right alignment constraint */
    transform: translateY(5px); /* 3. Pull it back left by exactly half its own width */
    
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    list-style: none;
    min-width: 110px;
    padding: 8px 0;
    margin-top: 8px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 1010;
}

/* Show menu on hover */
.lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--text-color);
    text-align: left;
    font-weight: 600;
}

.lang-menu a:hover, .lang-menu a.active {
    background-color: var(--bg-light);
    color: var(--accent-color);
}

/* Mobile Tweak for Language Selector */
@media (max-width: 768px) {
    .lang-dropdown {
        margin-left: 0;
        margin-top: 5px;
    }
    .lang-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(5px);
    }
    .lang-dropdown:hover .lang-menu {
        transform: translateX(-50%) translateY(0);
    }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- HERO SECTION WITH MATCHING BLUE TBILISI BACKDROP --- */
.hero-section {
    position: relative;
    /* High-quality aerial view of Tbilisi at dusk/night to match the dark blue aesthetic */
    background-image: url('/assets/images/legislation.jpg'); 
    background-size: cover;
    background-position: center 35%;
    background-attachment: scroll; /* Keeps it smooth on all browsers */
    padding: 95px 20px;
    text-align: center;
    overflow: hidden;
}

/* Matching Blue/Slate Overlay Tint to guarantee text visibility */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Reuses the exact corporate blue-to-slate tone from your banner and metrics */
    background: linear-gradient(135deg, rgba(30, 59, 138, 0.541) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

/* Brings the content safely above the background image overlay */
.hero-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    color: var(--white); /* Swapped to crisp white for dark backdrop contrast */
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(15, 23, 42, 0.6), 
                 0 1px 2px rgba(15, 23, 42, 0.8);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #cbd5e1; /* Swapped to high-visibility soft gray/white matching your metrics */
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(15, 23, 42, 0.6);
}


/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
        border-bottom: 1px solid var(--border-color);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /* Mobile Dropdown Reset */
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        display: none; /* Hide completely by default on mobile */
        transform: none;
        box-shadow: none;
        border: none;
        background-color: var(--bg-light);
        margin-top: 10px;
        text-align: center;
        width: 100%;
        padding: 5px 0;
        transition: all 0.3s ease;
    }

    /* This class will be toggled via JavaScript when tapped */
    .dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        display: block; /* Show cleanly when parent is tapped */
    }
    
    /* Rotate the little arrow icon when open */
    .dropdown.open .dropdown-trigger i {
        transform: rotate(180deg);
    }
    
    .dropdown-trigger i {
        transition: transform 0.2s ease;
    }

    .nav-socials {
        border-left: none;
        padding-left: 0;
        width: 100%;
        justify-content: center;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }
}

/* --- PREMIUM FOUR-COLUMN FOOTER (ALIGNMENT & SPACING FIX) --- */
.site-footer {
    background-color: #0f172a; 
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 70px 0 0 0;
    color: #cbd5e1;
    font-family: system-ui, -apple-system, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligns all columns strictly to the top edge line */
    gap: 50px; /* Generous separation gap to stop drifting text collisions */
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Forces all elements inside the column to snap left */
    text-align: left;        /* Absolute left-alignment override */
    flex: 1;
}

.footer-column.brand-column {
    flex: 1.4; /* Gives the description slightly more layout breathing room */
}

.footer-logo {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.logo-accent {
    color: #004aad; 
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 25px;
    text-align: left; /* Fixes the center-drifting text bug from image_b58f7a.png */
    width: 100%;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: left;
    width: 100%;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Mandates straight link stacking lines */
    gap: 12px;
    width: 100%;
}

.footer-links-list li {
    text-align: left;
    width: 100%;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block; /* Formats boundaries correctly for horizontal scaling */
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links-list a:hover {
    color: #38bdf8;
    transform: translateX(4px); /* Clean left-to-right micro-interaction shift */
}

/* Office Column Cleanup */
.office-address {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 25px;
    text-align: left;
    width: 100%;
}

.office-address i {
    color: #38bdf8;
    flex-shrink: 0; /* Prevents the pin point icon from warping shape */
}

/* Round Outline Circles Alignment */
.footer-social-circles {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    width: 100%;
}

.footer-social-circles a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-circles a:hover {
    border-color: #38bdf8;
    color: #38bdf8;
    background-color: rgba(56, 189, 248, 0.05);
}

/* Social Flat Links Alignment (Far Right Column) */
.footer-social-text-links {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    width: 100%;
    margin-top: 5px;
}

.footer-social-text-links a {
    color: #94a3b8;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-text-links a:hover {
    color: #38bdf8;
    transform: translateY(-2px);
}

/* Bottom Bar Realignment */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 25px 0;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 20px;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #38bdf8;
}

/* Office Address and Text Icons Column Styles */
.office-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 25px;
}

.office-address i {
    color: #38bdf8;
    margin-top: 3px;
}

/* Round Outline Circles under the brand description */
.footer-social-circles {
    display: flex;
    gap: 12px;
}

.footer-social-circles a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-circles a:hover {
    border-color: #38bdf8;
    color: #38bdf8;
    background-color: rgba(56, 189, 248, 0.05);
}

/* Standard flat text icons underneath the address info block */
.footer-social-text-links {
    display: flex;
    gap: 18px;
    margin-top: 15px;
}

.footer-social-text-links a {
    color: #94a3b8;
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-text-links a:hover {
    color: #38bdf8;
    transform: translateY(-2px);
}

/* Bottom Sub-bar Layout rules */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 25px 0;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #38bdf8;
}

/* --- SCROLL REVEAL ANIMATION SYSTEM --- */
.scroll-reveal {
    opacity: 0;                   /* Starts invisible */
    transform: translateY(40px); /* Starts shifted 40px to the left */
    transition: opacity 0.85s cubic-bezier(0.215, 0.610, 0.355, 1.000),
                transform 0.85s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    will-change: opacity, transform;
}

/* This is what triggers when the element enters the viewport */
.scroll-reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


.lang-trigger img, 
.lang-menu img {
    display: inline-block;
    border-radius: 2px; /* Gives the flags a subtle, premium rounded corner */
    box-shadow: 0 1px 2px rgba(0,0,0,0.15); /* Adds a crisp edge separation */
    vertical-align: middle;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    height: 35px; /* Adjust this value to perfectly match your navbar height */
    transition: transform 0.2s ease;
}

.logo-wrapper:hover {
    transform: scale(1.02);
}

.navbar-logo-img {
    height: 100%;       /* Instantly locks to the height of the parent wrapper */
    width: auto;        /* Preserves the original aspect ratio so it doesn't stretch */
    display: block;
    object-fit: contain;
}

/* Tightens the layout footprint on smartphones */
@media (max-width: 768px) {
    .logo-wrapper {
        height: 35px; 
    }
}

/* Custom footer layout tweak */
.footer-logo-wrapper {
    height: 50px;          /* Feel free to increase or decrease this to fit your footer scale */
    margin-bottom: 1.5rem; /* Creates a clean breathing space between the logo and text */
    display: inline-block;
}

/* ==========================================================================
   LEGISLATION RESPONSIEVENESS ENGINE
   ========================================================================== */

/* 1. Base Structure Overrides */
.legislation-card-header {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.leg-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0; /* Prevents text elements from breaking grid blocks */
}

.leg-title-block {
    flex: 1;
    min-width: 0;
}

.leg-title-block h2 {
    font-size: 1.25rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: normal; /* Permits wrapping */
}

.leg-title-block p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    white-space: normal;
}

/* --- THE ACCORDION DRAWER MECHANICS --- */
.legislation-card-content {
    max-height: 0;          /* ADD THIS: Forces the drawer closed on page load */
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #f8fafc;
}

/* Ensure the open class removes any conflicting overrides */
.legislation-card.is-open .legislation-card-content {
    border-top: 1px solid #e2e8f0;
    /* Do NOT write max-height here—let JS handle the expanded numbers! */
}

/* Chevron Rotation when Open */
.legislation-card.is-open .leg-chevron {
    transform: rotate(180deg);
    color: #2563eb;
}

.document-links-list {
    list-style: none;
    padding: 10px 24px;
}

.document-links-list li {
    border-bottom: 1px solid #e2e8f0;
}

.document-links-list li:last-child {
    border-bottom: none;
}

/* 3. The Row Layout Fix */
.document-links-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
    gap: 20px; /* Guarantees breathing space between title and CTA button */
}

.doc-title {
    flex: 1;
    line-height: 1.5;
}

.doc-action {
    font-size: 0.85rem;
    font-weight: 700;
    color: #bf9456;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap; /* Keeps button title text tightly grouped */
    flex-shrink: 0;      /* Prevents button text from folding up */
}

/* ==========================================================================
   MOBILE MEDIA QUERY BREAKPOINT
   ========================================================================== */
@media (max-width: 768px) {
    .legislation-card-header {
        padding: 16px;
        gap: 12px;
    }

    .leg-header-left {
        gap: 12px;
    }

    .leg-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .leg-title-block h2 {
        font-size: 1.1rem;
    }

    .leg-title-block p {
        font-size: 0.85rem;
    }

    .document-links-list {
        padding: 5px 16px;
    }

    /* Stacks text items vertically on smartphones */
    .document-links-list a {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
    }

    .doc-action {
        align-self: flex-start; /* Aligns gold buttons nicely beneath structural descriptions */
        padding-top: 2px;
    }
}

/* ==========================================================================
   LEGISLATION GRID & ACCORDION SYSTEM
   ========================================================================== */

/* Main Card Structural Blocks */
.legislation-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

/* Header Action Buttons */
.legislation-card-header {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.leg-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.leg-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leg-title-block h2 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
}

.leg-title-block p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.leg-chevron {
    font-size: 1.1rem;
    color: #64748b;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
    padding-left: 15px;
}

/* --- THE ACCORDION DRAWER MECHANICS --- */
.legislation-card-content {
    max-height: 0;           /* Locks it shut on initial page mount */
    overflow: hidden;        /* Prevents text from leaking out while closed */
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #f8fafc;
}

/* Open State Visual Mappings */
.legislation-card.is-open .leg-chevron {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.legislation-card.is-open .legislation-card-content {
    border-top: 1px solid var(--border-color);
}

/* Inner Links Rows */
.document-links-list {
    list-style: none;
    padding: 8px 24px;
}

.document-links-list li {
    border-bottom: 1px solid var(--border-color);
}

.document-links-list li:last-child {
    border-bottom: none;
}

.document-links-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    gap: 20px;
}

.doc-title {
    flex: 1;
    line-height: 1.5;
}

.doc-action {
    font-size: 0.85rem;
    font-weight: 700;
    color: #bf9456;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE MOBILE BREAKPOINT (768PX)
   ========================================================================== */
@media (max-width: 768px) {
    .legislation-card-header {
        padding: 16px;
    }

    .leg-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .leg-title-block h2 {
        font-size: 1.05rem;
    }

    .document-links-list {
        padding: 4px 16px;
    }

    /* Stacks text descriptions gracefully on smartphones */
    .document-links-list a {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .doc-action {
        align-self: flex-start;
    }
}

/* Mobile Responsive Shift */
@media (max-width: 900px) {
    .contact-card-container {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        padding: 35px 25px;
    }

    .footer-container {
        flex-direction: column;
        gap: 35px;
    }

    .footer-column.brand-column, 
    .footer-column {
        flex: none;
        width: 100%;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}