/* --- 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);
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

/* --- HERO & MAIN BUTTON VISIBILITY UPGRADE --- */
.hero-section .btn-primary {
    background-color: #38bdf8; /* Switched to the vibrant electric cyan from your metrics */
    color: #0f172a;            /* Dark text for perfect, accessible contrast against the bright button */
    font-size: 1.1rem;
    padding: 16px 36px;        /* Slightly larger padding to give it a commanding presence */
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25); /* Subtle glow effect */
    transition: all 0.25s ease;
}

.hero-section .btn-primary:hover {
    background-color: var(--white); /* Shifts smoothly to crisp white on hover */
    color: var(--accent-color);     /* Text transitions to professional blue */
    transform: translateY(-2px);    /* Interactive micro-movement */
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

/* --- 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/city.jpg'); 
    background-size: cover;
    background-position: center 35%;
    background-attachment: scroll; /* Keeps it smooth on all browsers */
    padding: 75px 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);
}

/* --- SERVICES GRID --- */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Style the H2 link to look natural */
.carousel-header h2 a.header-link {
    color: inherit; /* Keeps your original heading color */
    text-decoration: none;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Create the hidden premium underline */
.carousel-header h2 a.header-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #0052cc; /* Match your brand's primary blue color */
    transform-origin: bottom right;
    transition: transform 0.35s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

/* Animate the underline out smoothly on hover */
.carousel-header h2 a.header-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Subtle shift up on hover for an extra tactile feel */
.carousel-header h2 a.header-link {
    transition: opacity 0.3s ease;
}

.carousel-header h2 a.header-link:hover {
    opacity: 0.85;
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-link {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* --- OPTIMIZED SERVICE CARD INTERNAL STYLES --- */

/* Feature Checklist Alignment */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-features li {
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

/* Vibrant checkmark color matching your metrics bar */
.card-features li i {
    color: #38bdf8; 
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Action Container - Stacks everything neatly at the bottom */
.card-actions {
    margin-top: auto; /* Pushes actions to the bottom so all cards stay uniform */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}

/* Compact "Get in Touch" Action Button */
.btn-card-action {
    background-color: #38bdf8;
    color: #0f172a;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(56, 189, 248, 0.15);
    text-align: center;
    white-space: nowrap;
}

.btn-card-action:hover {
    background-color: #0f172a;
    color: #38bdf8;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.2);
}

/* Create the boundary context for the card */
.service-card.position-relative {
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Optional Hover effect for the entire card */
.service-card.position-relative:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

/* Stretch the "Learn More" click area to cover the whole card */
.card-link.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1; /* Covers everything inside the card */
    content: "";
}

/* Lift the contact button above the invisible link layer */
.btn-card-action {
    position: relative;
    z-index: 2; /* Sits on top of the overlay so it remains clickable */
}

/* Slight tweak to keep "Learn More" perfectly centered with the button */
.service-card .card-link {
    margin-bottom: 0;
    white-space: nowrap;
}

/* Mobile responsive handling for compact actions */
@media (max-width: 360px) {
    .card-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .btn-card-action {
        width: 100%;
    }
}

/* --- WHY GEORGIA (SLIM BANNER FORMAT) --- */
.why-georgia-section {
    /* Rich corporate blue gradient that matches the hero/slick banner tones */
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%); 
    color: var(--white);
    padding: 50px 0; /* Drastically reduced from 80px/100px to make it a slim banner */
    width: 100%;
}

.why-georgia-container {
    max-width: 1200px; /* Expanded container size to allow metrics to spread out wide */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Tight, professional spacing between title and grid */
}

.why-georgia-section .section-title {
    color: var(--white);
    margin: 0;
    font-size: 2.2rem;
    text-align: center;
}

/* Wide Expanded Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forces a clean, single-line 3-column split on desktop */
    gap: 40px;
    text-align: center;
    width: 100%;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-highlight {
    font-size: 3.2rem; /* Adjusted slightly down to comfortably fit the slim banner height */
    font-weight: 800;
    color: #38bdf8; /* Radiant cyan/electric tone for high-contrast visibility */
    display: block;
    margin-bottom: 5px;
    line-height: 1.1;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}

.metric-item h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 600;
}

.metric-item p {
    color: #cbd5e1; /* Clear text contrast matching your analytics blocks */
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    max-width: 280px; /* Keeps text paragraphs tightly grouped under numbers */
}

/* Mobile Responsive Override */
@media (max-width: 768px) {
    .why-georgia-section {
        padding: 40px 0; /* Slightly tighter on mobile viewports */
    }
    
    .metrics-grid {
        grid-template-columns: 1fr; /* Stacks vertically only on mobile screens */
        gap: 30px;
    }
}

/* --- EXTRA CONVERSION STYLE RULES FOR PACKAGES --- */

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-radius: 12px;
    padding: 40px 30px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   PACKAGES GRID RESPONSIVE CENTERING (TABLET ONLY)
   ========================================================================== */

/* This rule triggers ONLY between 768px and 1024px viewports */
@media (min-width: 768px) and (max-width: 1024px) {
    .packages-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid .luxury-gold-tier {
        grid-column: 1 / -1;       /* Spans across the 2-column layout */
        max-width: 480px;          /* Restricts stretching */
        width: 100%;
        margin: 0 auto;            /* Centers it in the row */
    }
}

/* ==========================================================================
   PACKAGES GRID MOBILE CLEANUP (BELOW 768PX)
   ========================================================================== */

@media (max-width: 767px) {
    /* 1. Force the container into a clean single column */
    .packages-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;            /* Even, clean vertical spacing between stacked cards */
        width: 100%;
        padding: 0 16px;      /* Adds a safe defensive margin from the phone screen edge */
        box-sizing: border-box;
    }

    /* 2. Reset all card instances to behave perfectly as full-width blocks */
    .packages-grid .card,
    .packages-grid .luxury-gold-tier {
        grid-column: auto !important; /* Disables grid line locking */
        max-width: 100% !important;   /* Let the card use the full safe container width */
        width: 100% !important;
        margin: 0 auto;               /* Keeps them flawlessly stacked down the center */
    }
}

/* Premium Highlight Border for LLC Card */
.package-card.premium {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.05);
}

/* Pricing Presentation Elements */
.package-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.package-price span {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* --- COMPACT HIGH-DISTINCTION PRICING SPLIT --- */
.fast-track-pricing-block {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: 8px;
    
    /* 1. REDUCE VERTICAL PADDING (Shaves height off the top and bottom inside the box) */
    padding: 8px 12px; 
    
    /* 2. COMPACT MARGINS (Brings the title above and content below closer together) */
    margin: 10px 0 20px 0;
    
    border: 1px solid var(--border-color);
}

.ft-tier {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* 3. TIGHTEN INTERNAL ROW HEIGHT */
    padding: 2px 0; 
}

/* Minimalist vertical separator line */
.ft-tier:first-child {
    border-right: 1px solid #cbd5e1; 
}

.ft-label {
    font-size: 0.68rem; /* Made slightly smaller for professional precision */
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 1px; /* Decreased to save vertical pixels */
}

.ft-cost {
    font-size: 1.45rem; /* Shrunk slightly from 1.6rem to make the entire card shorter */
    font-weight: 800;
    line-height: 1;    /* Collapses invisible typography bounding boxes */
}

/* Color distinction settings */
.ft-tier:first-child .ft-cost {
    color: var(--primary-color);
}

.ft-tier:last-child .ft-cost {
    color: var(--accent-color);
}

/* Safety reset rule */
.ft-divider {
    display: none;
}
/* Premium Contrast Color Distinction */
.ft-tier:first-child .ft-cost {
    color: var(--primary-color); /* Elegant deep slate for IE */
}

.ft-tier:last-child .ft-cost {
    color: var(--primary-color);  /* Authoritative corporate blue for LLC */
}

/* Safety cleanup for old layout logic */
.ft-divider {
    display: none;
}

/* --- REMOVE BULLETS FROM NEW PACKAGES GRID --- */
.package-features {
    list-style: none; /* Kills the default browser bullets instantly */
    padding: 0;       /* Removes unwanted side indents */
    margin: 0 0 35px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;        /* Even vertical layout spacing for your package items */
}

.package-features li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

/* Fee Inclusion Highlight Points */
.package-features .fee-inclusive {
    font-weight: 700;
    color: #0284c7; /* Brand Blue */
    background-color: rgba(2, 132, 199, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 10px;
    display: flex;
    justify-content: center; /* Centers it horizontally */
    align-items: center;     /* Centers it vertically */
    text-align: center;      /* Ensures the text lines up perfectly */
    margin-left: auto;       /* Safe fallback block centering */
    margin-right: auto;      /* Safe fallback block centering */
}

.package-features .fee-inclusive i {
    color: #0284c7;
}

/* --- EXECUTIVE LEVEL COMPONENT HEADER LAYOUT --- */
.package-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 12px;
    padding: 40px 30px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

/* Reset badge from absolute float to a natural, premium inline element */
.badge {
    align-self: flex-start; /* Keeps the pill bound strictly to its text length */
    background-color: rgba(37, 99, 235, 0.06);
    color: var(--accent-color);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 4px; /* Crisp, modern corporate radius instead of a round pill */
    margin-bottom: 16px; /* Generates beautiful vertical breathing room */
    border: 1px solid rgba(37, 99, 235, 0.12);
}

/* Priority Handling Specific Accent - High End Slate Tone */
.badge.priority-badge {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

/* Fixes headline spacing conflict */
.package-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 12px;
}

.fast-track-btn {
    background-color: #0f172a;
    color: #ffffff;
    border: none;
}

.fast-track-btn:hover {
    background-color: #38bdf8;
    color: #0f172a;
}

/* --- FOOTER & CONTACT FORM --- */
.site-footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 20px 40px 20px;
    text-align: center;
}

.footer-form-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.footer-form-wrapper p {
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-stack);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-color);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: #64748b;
}

/* --- 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;
    }
}

/* --- MEDIA TRUST BANNER --- */
.media-trust-banner {
    position: relative;
    background-image: url('/assets/images/bog.jpg'); /* High-quality Tbilisi panorama placeholder */
    background-size: cover;
    background-position: center top;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Purple/Blue tint overlay matching the image_c17422.jpg aesthetic */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.75), rgba(15, 23, 42, 0.85));
    z-index: 1;
}

.banner-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 2; /* Sits sharply on top of the overlay tint */
}

.banner-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

.media-logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    font-family: "Georgia", serif; /* Gives it an authoritative newspaper look */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.banner-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.banner-link:hover {
    border-color: var(--white);
    opacity: 0.9;
}

.banner-link i {
    font-size: 0.85rem;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
    .banner-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .media-logo {
        font-size: 1.5rem;
    }
}

/* --- SPLIT CONTACT CARD SECTION --- */
.contact-section {
    padding: 80px 20px;
    padding-top: 20px !important;   /* Reduces the internal top spacing */
    margin-top: 0 !important;       /* Removes any accidental outer layout push */
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card-container {
    max-width: 1100px;
    width: 100%;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    display: flex;
    overflow: hidden; /* Keeps the panel backgrounds bound within the border radius */
}

/* Left Side: Slick Banner Vibe Alignment */
.contact-info-panel {
    flex: 1;
    position: relative;
    /* Reuses a matching high-quality skyline photo to mirror the banner structure */
    background-image: url('/assets/images/qartli.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1;
}

/* Slick Corporate Blue/Slate Overlay Tint inside the contact card */
.contact-info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* The exact deep blue-to-slate gradient mix that defines your site's slick banner */
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: -1; /* Sits perfectly behind the text content */
}

/* Ensure headings and texts remain completely crisp and readable */
.contact-info-panel h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(15, 23, 42, 0.4);
}

.contact-info-panel p {
    color: #cbd5e1; /* Smooth, high-contrast light slate text */
    line-height: 1.6;
    font-size: 1.05rem;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.4);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

/* Icon Highlight Accent Tweak */
.contact-detail-item i {
    font-size: 1.2rem;
    color: #38bdf8; /* Uses your electric cyan accent to tie the branding elements together */
    width: 24px;
}

.contact-detail-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-detail-item a:hover {
    color: #38bdf8;
}

/* Right Side: Clean Input Panel */
.contact-form-panel {
    flex: 1.3;
    padding: 50px;
    background-color: var(--white);
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #f8fafc;
    font-size: 0.95rem;
    color: #334155;
    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0284c7;
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-disclaimer {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 5px;
}

.form-disclaimer a {
    color: #0284c7;
    text-decoration: none;
}

/* Slick Custom Action Button - Compact & Balanced */
.btn-submit-inquiry {
    background-color: #38bdf8; 
    color: #0f172a;            
    border: none;
    padding: 12px 24px;        /* Slimmed down padding for a tighter container profile */
    border-radius: 6px;
    font-size: 0.95rem;        /* Brought down to match standard form label scales */
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;      /* Changes from flex to inline-flex so it only wraps around its text */
    align-items: center;
    justify-content: center;
    gap: 8px;                 
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
    transition: all 0.25s ease;
    margin-top: 5px;
    width: auto;               /* Prevents the button from stretching across the full screen width */
    align-self: flex-start;    /* Anchors the compact button neatly to the left edge */
}

.btn-submit-inquiry:hover {
    background-color: #0284c7; 
    color: var(--white);       
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
}

/* Compact Icon Adjustments */
.btn-submit-inquiry i {
    font-size: 0.95rem;        
    transition: transform 0.25s ease;
}

.btn-submit-inquiry:hover i {
    transform: translateX(4px) translateY(-2px); /* Makes the paper airplane subtly "take off" when hovered */
}

/* ==========================================================================
   MODERN FAQ ACCORDION STYLES
   ========================================================================== */
.faq-section {
    padding: 60px 20px;
    background-color: #f8fafc; /* Subtle off-white to split contact form from footer */
    border-top: 1px solid #e2e8f0;
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    
    /* CHANGE THIS LINE TO CRUSH THE GAP */
    margin-bottom: 12px !important; 
}

.faq-section .section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 20px;
    font-size: 1rem;
}

.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.02);
}

/* Header/Trigger State */
.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    gap: 20px;
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background-color: rgba(37, 99, 235, 0.02); /* Very soft blue hover glow */
}

/* Icon configuration */
.accordion-header i {
    font-size: 0.9rem;
    color: #2563eb; /* Matches your brand blue */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Body container holding content (Closed state hidden) */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: #ffffff;
}

.accordion-body p {
    padding: 0 24px 20px 24px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Active Open Modifiers managed via JS */
.accordion-item.active {
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.06);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg); /* Converts plus icon to an elegant dismiss cross */
    color: #64748b;
}

/* --- 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;
}

/* --- AUTOMATIC SERVICES CAROUSEL --- */
.services-carousel-section {
    padding: 50px 20px;
    background-color: #f8fafc; /* Soft, clean neutral background background color */
    overflow: hidden;
}

.carousel-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.carousel-header h2 {
    font-size: 2.2rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 10px;
}

.carousel-header p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.2;
}

/* Structural Layout Mechanics */
.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px; /* Leave breathing space on the edges for navigation controls */
}

.carousel-viewport {
    width: 100%;
    overflow: hidden; /* Seamlessly clips the cards sitting outside the visibility mask */
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Ultra-smooth glide easing */
    will-change: transform;
}

/* Modular Service Cards Layout */
.service-card {
    flex: 0 0 calc((100% - 60px) / 3); /* Shows exactly 3 cards side-by-side on desktop */
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    
    /* --- CODES THAT FIX YOUR HOVER CURSOR PROBLEM --- */
    cursor: pointer;
    user-select: none; /* Stops text from accidentally highlighting when you click quickly */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(56, 189, 248, 0.4);
}

.card-icon {
    font-size: 2rem;
    color: #0284c7; /* Brand Blue */
    margin-bottom: 5px;
}

.service-card h3 {
    font-size: 1.25rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Keeps call-to-actions vertically aligned perfectly across cards */
}

.card-link {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.service-card:hover .card-link {
    color: #38bdf8; /* Transitions to Electric Cyan on card hover */
    gap: 10px;
}

/* Floating Navigation Controls - High Visibility Upgrade */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; /* Slightly widened to make clicking easier */
    height: 50px;
    
    /* --- REST STATE: Swapped to your energetic brand accent --- */
    background-color: #38bdf8; 
    color: #0f172a; /* Sharp, high-contrast dark slate icon color */
    border: 2px solid #38bdf8;
    
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3); /* Subtle energetic glow */
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); /* Premium smooth transition snapping */
}

/* --- NEW HOVER STATE: Complete Inversion with Micro-movement --- */
.carousel-arrow:hover {
    background-color: #0f172a; /* Inverts to sleek dark slate on hover */
    color: #38bdf8;            /* Icon shifts to electric blue */
    border-color: #0f172a;
    transform: translateY(-50%) scale(1.12); /* Pops forward towards the user */
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}

/* Positional placements */
.prev-arrow { left: -10px; }
.next-arrow { right: -10px; }

/* Subtle internal icon slide triggers on hover */
.prev-arrow:hover i {
    transform: translateX(-2px);
    transition: transform 0.2s ease;
}

.next-arrow:hover i {
    transform: translateX(2px);
    transition: transform 0.2s ease;
}

/* Default fallback transition rule for arrow icons */
.carousel-arrow i {
    transition: transform 0.2s ease;
}

/* Responsive Grid Adaptation Breakpoints */
@media (max-width: 968px) {
    .service-card {
        flex: 0 0 calc((100% - 30px) / 2); /* Drops down smoothly to show 2 cards on tablets */
    }
    .carousel-wrapper { padding: 0 40px; }
}

@media (max-width: 640px) {
    .service-card {
        flex: 0 0 100%; 
    }
    /* Adjusted padding to make room for the arrows on small screens */
    .carousel-wrapper { padding: 0 40px; } 
    
    .carousel-arrow { 
        display: flex; /* <-- Change this from 'none' to 'flex' so they show up! */
        width: 26px;   /* Slightly smaller for mobile screens */
        height: 26px;
    }
}

/* 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;
    }
}

/* ==========================================================================
   EXECUTIVE LUXURY GOLD PACKAGE HOUSING
   ========================================================================== */

/* Isolated Class for Card 3 to Protect Grid Layout Boundaries */
.package-card.luxury-gold-tier {
    position: relative;
    border: 2px solid transparent !important; /* Disables standard border rules */
    
    /* Elegant multi-stop metallic gold canvas layer mask */
    background-image: linear-gradient(#ffffff, #ffffff), 
                      linear-gradient(135deg, #bd953f 0%, #fcf6ba 30%, #b38728 50%, #fbf5b7 70%, #aa771c 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    
    /* High-end low-opacity gold ambient glowing frame shadow */
    box-shadow: 0 15px 40px rgba(187, 149, 63, 0.14) !important;
    transform: none; 
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Elegant micro-interaction shift on card hover */
.package-card.luxury-gold-tier:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 22px 50px rgba(187, 149, 63, 0.22) !important;
}

/* Polishing the Inner Priority Badge to match the Gold Profile */
.package-card.luxury-gold-tier .badge.priority-badge {
    background-color: rgba(189, 149, 63, 0.08) !important;
    color: #9a721d !important;
    border: 1px solid rgba(189, 149, 63, 0.25) !important;
    font-weight: 700;
}

/* Polished gold accent icons to match the premium header */
.package-card.luxury-gold-tier .package-features li i.fa-circle-check {
    color: #c5a059 !important;
    filter: drop-shadow(0 2px 4px rgba(197, 160, 89, 0.15));
}

/* ==========================================================================
   LIQUID GOLD PREMIUM CTA BUTTON
   ========================================================================== */
.fast-track-btn.gold-premium-cta {
    background: linear-gradient(135deg, #bd953f 0%, #d4af37 40%, #fcf6ba 60%, #b38728 100%) !important;
    background-size: 200% auto !important; /* Generates off-canvas asset scaling for the glare animation */
    color: #0f172a !important; /* Deep corporate dark slate text for flawless contract contrast */
    font-weight: 700 !important;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(179, 135, 40, 0.25) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.4s ease !important;
}

/* Micro-glare dynamic reflection action on cursor hover */
.fast-track-btn.gold-premium-cta:hover {
    background-position: right center !important; /* Smoothly rolls the gold highlights across the element button link */
    box-shadow: 0 8px 24px rgba(179, 135, 40, 0.45) !important;
    transform: translateY(-2px);
    color: #000000 !important;
}

.fast-track-btn.gold-premium-cta i {
    font-size: 0.85rem;
    color: #0f172a;
    transition: transform 0.3s ease;
}

.fast-track-btn.gold-premium-cta:hover i {
    transform: rotate(15px) scale(1.1);
}

/* ==========================================================================
   RESPONSIVE LAYOUT CALIBRATION
   ========================================================================== */
@media (max-width: 968px) {
    .package-card.luxury-gold-tier {
        transform: scale(1) !important; /* Normalizes zoom scaling metrics so grid lines remain squared up */
        margin-top: 15px;
    }
    .package-card.luxury-gold-tier:hover {
        transform: translateY(-2px) scale(1) !important;
    }
}

.package-card.luxury-gold-tier h3 {
    color: #aa771c;
    font-weight: 800;
    letter-spacing: -0.2px; /* Slightly tightens typography for an editorial look */
}

/* Update this if you use a standard right arrow */
.btn-submit-inquiry:hover i {
    transform: translateX(6px); /* Smoothly slides the arrow slightly to the right on hover */
}

/* ==========================================================================
   CAROUSEL RESPONSIVE VIEWPORT BOUNDARY FIX
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Prevent the parent mask from clipping borders and shadow glows */
    .carousel-viewport, 
    .carousel-wrapper,
    .slider-container {
        overflow: visible !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* 2. Standardize mobile card sizing rules so JS calculates offsets flawlessly */
    .package-card,
    .card {
        width: 100% !important;
        max-width: 290px !important; /* Forces uniform size across all 3 items */
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* 3. Pull arrows slightly out of the way on narrow viewports */
    .prev-arrow {
        left: -5px !important;
    }
    .next-arrow {
        right: -5px !important;
    }
}


/* ==========================================================================
   COMPACT MOBILE CARD PROFILE STYLING
   ========================================================================== */
@media (max-width: 768px) {
    
    /* 1. Reduce overall internal card padding */
    .package-card, .card {
        padding: 24px 16px !important; /* Drastically trims top, bottom, and side cushions */
    }

    /* 2. Scale down the typography stack */
    .package-card h3, .card h3 {
        font-size: 1.5rem !important;   /* Compresses the title footprint */
        margin-bottom: 8px !important;
    }
    
    .package-card p, .card p {
        font-size: 0.9rem !important;   /* Makes paragraph descriptions crisp and short */
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }

    /* 3. Compact the pricing block area */
    .package-card .price, .card .price {
        font-size: 1.8rem !important;   /* Brings down the massive dollar amount size */
        margin-bottom: 16px !important;
    }

    /* 4. Crush the feature list down vertically */
    .package-features {
        margin-top: 12px !important;
        margin-bottom: 16px !important;
        display: flex;
        flex-direction: column;
        gap: 8px !important;            /* Minimizes the dead space between features */
    }

    .package-features li {
        font-size: 0.88rem !important;  /* Sharp, highly-scannable list typography */
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        line-height: 1.3 !important;
    }
    
    /* 5. Compact the sub-feature highlights box (e.g., Notary Fees Included) */
    .package-card .included-fees-box, 
    .package-card .badge-info-box {
        padding: 10px 12px !important;  /* Shrinks the blue/gold alert rows near the buttons */
        margin-bottom: 16px !important;
        font-size: 0.85rem !important;
    }
}

/* ==========================================================================
   ULTRA-COMPACT RESPONSIVE CARD PROFILES
   ========================================================================== */
@media (max-width: 768px) {
    
    /* 1. Crush the internal card padding to the bare minimum */
    .package-card, .card {
        padding: 16px 12px !important; 
    }

    /* 2. COMPLETELY HIDE THE PARAGRAPH DESCRIPTIONS ON PHONES */
    /* (This removes the huge blocks of text, saving massive height) */
    .package-card p, .card p,
    .package-card .package-description, .card .card-description {
        display: none !important;
    }

    /* 3. Pull the badge and title closer together */
    .package-card h3, .card h3 {
        font-size: 1.35rem !important;
        margin-top: 6px !important;
        margin-bottom: 4px !important;
    }
    
    /* 4. Compact the price display block */
    .package-card .price, .card .price {
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
    }

    /* 5. Tightly cluster the checkmark list items */
    .package-features {
        margin-top: 8px !important;
        margin-bottom: 12px !important;
        gap: 4px !important; /* Tiny micro-gap between items */
    }

    .package-features li {
        font-size: 0.85rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 1.2 !important;
    }

    /* 6. Tighten the included fee banners and CTA buttons */
    .package-card .included-fees-box, 
    .package-card .badge-info-box {
        padding: 6px 10px !important;
        margin-bottom: 12px !important;
        font-size: 0.8rem !important;
    }

    .package-card button, .package-card .btn, .fast-track-btn {
        padding: 10px 16px !important; /* Thins down the action button height */
        font-size: 0.9rem !important;
    }
}

/* --- 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;
}

/* ==========================================================================
   FINE-TUNED PROCESS SECTION CONTAINER
   ========================================================================== */
   
/* --- FULL SECTION DIVIDER --- */
.section-divider {
  border: 0;
  height: 1px;
  background-color: #e5e7eb;   /* Light gray separation line */
  width: 100%;                 /* Spans the full width of the parent layout section */
  margin: 0 0 30px 0;          /* Removes auto-centering margins, pushes container down by 50px */
}

.process-section {
  font-family: var(--font-stack);
  text-align: center;
  padding: 20px 20px;                 
  background-color: var(--bg-light);  
}

/* --- THE GOLDEN BOUNDING BOX --- */
.process-card-wrapper {
  max-width: 1100px; /* Restricts the width so it doesn't stretch full-screen */
  margin: 0 auto;    /* Centers the boxed content horizontally */
  padding: 40px 30px; /* Internal spacing inside the gold frame */
  border-radius: 8px; /* Optional: adds a slight premium curve to the corners */
  
  /* Metallic Gold Border Styling */
  position: relative;
  border: 2px solid transparent !important; 
  background-image: linear-gradient(#ffffff, #ffffff), /* Keeps inner background clean white (or change to var(--bg-light) if preferred) */
                    linear-gradient(135deg, #bd953f 0%, #fcf6ba 30%, #b38728 50%, #fbf5b7 70%, #aa771c 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  
  box-shadow: 0 10px 35px rgba(187, 149, 63, 0.06); 
}

.process-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography alignment with corporate variable parameters */
.process-section .subtitle {
  color: #bd953f;         /* Replaced gold amber with your Premium Blue */
  font-size: 1.5rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;                 /* Compressed spacing */
}

.process-section .title {
  color: var(--primary-color);        /* Replaced dark blue hex with var(--primary-color) */
  font-size: 1rem;                    /* Reduced from 32px to match your standard look */
  font-weight: 1000;
  margin-top: 0;
  margin-bottom: 35px;                /* Shaved height space above the track grid */
}

/* Flexbox Layout for Steps */
.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  gap: 15px;                          /* Tighter alignment gap */
}

/* The horizontal connector line behind circles */
.steps-container::before {
  content: '';
  position: absolute;
  top: 25px;                          /* Adjusted down cleanly to stay centered with smaller 50px icons */
  left: 8%;
  width: 84%;
  height: 2px;
  background-color: var(--border-color); /* Reused main site border token */
  z-index: 1;
}

/* Individual Step Styling */
.step-item {
  flex: 1;
  position: relative;
  z-index: 2; 
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Dark Blue Circle */
.icon-circle {
  width: 50px;                        /* Scaled down from 70px to shave off vertical block accent height */
  height: 50px;                       /* Scaled down from 70px */
  background-color: var(--primary-color); /* Adaptive color match */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;                /* Compressed padding space */
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

.icon-circle .icon {
  color: var(--white);
  font-size: 1.1rem;                  /* Clean balance metric for vector icon layout profiles */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Step Numbers */
.step-number {
  color: #bd953f;                     /* Linked to your vibrant electric cyan tone for modern pop contrast */
  font-size: 1.15rem;                 /* Sized cleanly down from 22px */
  font-weight: 800;
  margin-bottom: 8px;                 /* Compressed vertical stack height */
}

/* Content Text */
.step-title {
  color: var(--primary-color);
  font-size: 1rem;                    /* Tuned to match standard cards grid features */
  font-weight: 700;
  margin: 0 0 6px 0;
}

.step-desc {
  color: var(--text-color);           /* Aligned to your default readability contrast parameter */
  font-size: 0.85rem;                 /* Crisp precision downscaling from 13px */
  line-height: 1.4;
  margin: 0;
  padding: 0 5px;
}

/* Mobile Responsiveness Override */
@media (max-width: 768px) {
  .process-section {
    padding: 40px 15px;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;                        /* Drastically reduced the 40px gaping holes on smartphone viewports */
  }
  
  .steps-container::before {
    display: none;                    /* Disables horizontal desktop line layer completely on phone screens */
  }
  
  .step-item {
    width: 100%;
    max-width: 300px;
  }

  .step-desc {
    padding: 0 10px;
  }
}

/* --- HERO DIRECT CONTACT CHANNELS --- */
.hero-social-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 30px; /* Clean breathing room underneath the CTA button */
}

.hero-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1; /* Clear visibility soft gray matching your hero paragraph text */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hero-social-link i {
    font-size: 1.8rem;
}

/* Tactile micro-movements & precise brand matching on hover */
.hero-social-link:hover {
    transform: translateY(-2px);
}

.hero-social-link.whatsapp:hover { color: #25D366; }
.hero-social-link.telegram:hover { color: #0088cc; }
.hero-social-link.email:hover { color: #38bdf8; } /* Matches your electric cyan glow */

/* Mobile Responsiveness Override */
@media (max-width: 480px) {
    .hero-social-cta {
        flex-direction: row; /* Stacks links beautifully on tiny phone viewports */
        gap: 14px;
        margin-top: 25px;
    }
}

/* Privacy Policy Styling */

.privacy-policy {
    max-width: 900px;
    margin: 5px auto;
    padding: 40px;
    background: #ffffff;
    color: #1f2937;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.75;
    border-radius: 16px;
}

/* Main Title */
.privacy-policy h1 {
    font-size: 42px;
    font-weight: 700;
    color: #0b3b66;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
    text-align: center;
}

/* Section Titles */
.privacy-policy h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0b3b66;
    margin-top: 45px;
    margin-bottom: 18px;
    position: relative;
}

/* Small gold accent under headings */
.privacy-policy h2::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    background: #c9a227;
    margin-top: 8px;
    border-radius: 5px;
}

/* Paragraphs */
.privacy-policy p {
    font-size: 16px;
    color: #374151;
    margin-bottom: 18px;
}

/* Lists */
.privacy-policy ul {
    margin: 15px 0 25px 25px;
    padding-left: 20px;
}

.privacy-policy li {
    margin-bottom: 10px;
    color: #374151;
    font-size: 16px;
}

/* Bold text */
.privacy-policy strong {
    color: #111827;
    font-weight: 600;
}


/* Contact box */
.privacy-policy h2:last-of-type {
    margin-top: 55px;
}

.privacy-policy h2:last-of-type + p,
.privacy-policy h2:last-of-type + p + ul {
    background: #f8fafc;
    padding: 20px 25px;
    border-left: 4px solid #c9a227;
    border-radius: 8px;
}


/* Mobile */
@media (max-width: 768px) {

    .privacy-policy {
        margin: 25px 15px;
        padding: 25px 20px;
        border-radius: 12px;
    }

    .privacy-policy h1 {
        font-size: 32px;
    }

    .privacy-policy h2 {
        font-size: 22px;
    }

    .privacy-policy p,
    .privacy-policy li {
        font-size: 15px;
    }
}

.terms-of-service {
    max-width: 900px;
    margin: 5px auto;
    padding: 40px;
    background: #ffffff;
    color: #1f2937;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.75;
    border-radius: 16px;
}

.terms-of-service h1 {
    font-size: 42px;
    font-weight: 700;
    color: #0b3b66;
    text-align: center;
    margin-bottom: 40px;
}

.terms-of-service h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0b3b66;
    margin-top: 45px;
    margin-bottom: 18px;
}

.terms-of-service h2::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    background: #c9a227;
    margin-top: 8px;
    border-radius: 5px;
}

.terms-of-service p {
    font-size: 16px;
    color: #374151;
    margin-bottom: 18px;
}

.terms-of-service ul {
    margin: 15px 0 25px 25px;
    padding-left: 20px;
}

.terms-of-service li {
    margin-bottom: 10px;
    color: #374151;
}

.terms-of-service strong {
    color: #111827;
}