/* =========================================
   1. VARIABLES & THEMES
   ========================================= */
:root {
    /* YOUR ORIGINAL THEME (Now Default) */
    --bg-main: #f8f9fa; /* Light grey/white base */
    --text-main: #ffffff; 
    --text-muted: rgba(255, 255, 255, 0.7);
    --section-gradient: linear-gradient(135deg, #284269 0%, #732E4E 100%);
    --overlay-color: rgba(0, 0, 0, 0.5);
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-purple: #d1b3ff;
    --step-bg: #6f42c1;
    --form-container-bg: #ffffff;
    
    /* Fluid Variables (Keep these the same) */
    --fluid-h1: clamp(1.5rem, 2.4vw + 1rem, 4.2rem);
    --fluid-h2: clamp(1.4rem, 3vw + 1rem, 3rem);
    --fluid-h3: clamp(1.3rem, 2vw + 1rem, 2.25rem);
    --fluid-body: clamp(0.9rem, 0.5vw + 0.8rem, 1.25rem);
    --fluid-icon: clamp(1.5rem, 3vw + 1rem, 3rem);
    --step-circle-font: clamp(1.2rem, 2vw, 2rem);
}

/* NEW DARK MODE OVERRIDES (True Black) */
body.light-mode {
    --bg-main: #000000;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --section-gradient: linear-gradient(135deg, #000000 0%, #1a1c22 100%);
    --overlay-color: rgba(0, 0, 0, 0.8);
    --card-bg: rgba(255, 255, 255, 0.02);
    --text-purple: #a27cff;
    --step-bg: #4a1d96;
}

/* Prevent transition flash on load */
.no-transition {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

body {
    transition: background-color 0.4s ease, color 0.4s ease;
}
/* =========================================
   2. BASE STYLES
   ========================================= */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: var(--fluid-body);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1, .display-4, h2, h3 { 
    font-weight: bold;
    line-height: 1.2;
    white-space: normal !important; 
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, .display-4 { font-size: var(--fluid-h1) !important; margin-bottom: 1rem; }
h2 { font-size: var(--fluid-h2); margin-bottom: 0.8rem; }
h3 { font-size: var(--fluid-h3); margin-bottom: 0.6rem; }

.text-light-purple { color: var(--text-purple); }
.responsive-icon { font-size: var(--fluid-icon) !important; }

/* =========================================
   3. LAYOUT COMPONENTS
   ========================================= */
.bg-video {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 110%;
    object-fit: cover;
    z-index: -2;
    object-position: 30% 30%;
}

.video-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--overlay-color);
    z-index: -1;
    transition: background 0.3s ease;
}

.hero-section {
    min-height: 60vh;
    padding-top: 120px;
    background: transparent;
}

.independent-move {
    position: relative;
    transform: translateY(-118px); 
    z-index: 10;
}

.content-section {
    background: var(--section-gradient) !important;
    padding: 0;/* clamp(40px, 8vw, 80px) 0; */
    transition: background 0.5s ease;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .grid-layout { grid-template-columns: 1fr; }
    .independent-move { transform: translateY(-100px); }
}

/* =========================================
   4. STEP-NUM (RESPONSIVE CIRCLES)
   ========================================= */
.step-num {
    background-color: var(--step-bg) !important;
    color: white !important;
    border-radius: 50% !important;

    /* Sizing is tied to the font-size */
    font-size: var(--step-circle-font) !important;
    width: 2.2em !important;
    height: 2.2em !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0 !important;
    margin-right: 1.2rem;
}

.ms-3.fw-medium {
    font-size: clamp(1rem, 1.2vw, 1.4rem);
    line-height: 1.4;
}

/* =========================================
   5. CARDS & FORMS
   ========================================= */
.cta-card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#googleFormCollapse .mt-4 {
    background: var(--form-container-bg) !important;
    border-radius: 12px;
    overflow: hidden;
}

/* =========================================
   6. INTERFACE & FOOTER
   ========================================= */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn.active { 
    background: var(--step-bg); 
    border-color: var(--step-bg); 
    color: white; 
}

footer{
  margin-top: -35px;
}

.footer-disclaimer p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted) !important;
    line-height: 1.6;
}

.social-link {
    font-size: var(--fluid-icon);
    transition: opacity 0.2s;
}

.social-link:hover {
    opacity: 0.7;
}

.form-wrapper {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden; /* This acts as the "frame" that cuts off the header */
    border-radius: 10px;
    background-color: #000; /* Matches your inverted form background */
}

.form-wrapper iframe {
    width: 100%; 
    border: none;
    display: block;
    
    /* 1. HIDE HEADER: Pull the "Sign in" bar above the frame */
    margin-top: -10px; 
    
    /* 2. HIDE FOOTER: Pull the bottom up to hide "Report Abuse" */
    margin-bottom: 0px;

    /* 3. DESKTOP HEIGHT: 1 unit wide, 5 units tall */
    aspect-ratio: 1 / 5; 
    
    /* Your Invert Filter */
    filter: invert(90%) hue-rotate(180deg) brightness(1.1);
    background-color: #000;
}

/* MOBILE FIX: Prevent cutting */
@media (max-width: 600px) {
  .bg-video {
     /* 1. Make it larger than the screen so it has room to move */
    width: 150%; 
    height: 120%;
    
    /* 2. Ensure it fills the space */
    object-fit: cover; 
    
    /* 3. Now this will shift the video inside the frame */
    object-position: 30% 20%; 
    
    /* 4. Center the oversized element so it doesn't just sit in the top-left */
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
    .form-wrapper iframe {
        /* 4. MOBILE HEIGHT: Must be much taller because fields stack */
        /* If it's still cut, increase 10.5 to 11 or 12 */
        aspect-ratio: 1 / 10.5; 
        
        /* Google shifts the header slightly on mobile */
        margin-top: -10px; 
        margin-bottom: -800px;
    }

    /* Fix the alignment so it doesn't cut horizontally */
    #googleFormCollapse > div {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0;
    }
}

#googleFormCollapse .btn-close:first-of-type {
    display: none;
   
}

/* Make all toasts 100% opaque */
.toast {
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 1) !important; /* For light toasts */
}

/* If you are using dark mode or colored toasts */
.toast.bg-primary {
    background-color: var(--bs-primary) !important;
}