* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    height: 100%;
    /* Force full height */
    overflow-x: hidden;
    position: relative;
}

/* Main Container: Grid layout for Desktop */
.main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

/* Individual Card Styling */
.card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: 500px;
    /* Larger pattern for better look */
    background-repeat: repeat;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    flex: 1;
    /* Grow to fill space on mobile */
    min-height: 0;
    /* Allow shrinking if needed */
    /* Solid white border */
}

/* Make images darker/subtle via overlay */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Ensure content is above the overlay */
.content {
    position: relative;
    z-index: 2;
    padding: 20px;
    /* Mobile padding */
    max-width: 600px;
}

/* Typography */
h1 {
    color: white;
    font-weight: 900;
    font-size: 1.3rem;
    /* Further reduced */
    /* Further reduced for mobile */
    text-transform: uppercase;
    /* Strong drop shadow like reference */
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    /* Slightly wider for better proportion */
    background-color: white;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: 6px;
    /* "Thora sa" border radius */
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Softer, deeper shadow */
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Subtle border for depth */
}

.btn:hover {
    transform: translateY(-4px);
    /* Higher lift */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    /* Stronger shadow on hover */
    background-color: #fcfcfc;
    color: #333;
    /* Ensure text turns black on hover */
}

.btn-dark {
    background-color: black;
    color: white;
}

/* Section Specifics */

/* 1. Training (Green) */
.section-training {
    background-color: #6fb954;
    background-image: url('Assets/4.webp');
}

.section-training::before {
    background-color: rgba(111, 185, 84, 0.95);
    /* Opacity 95% */
}

/* 2. Corporate (Grey) */
.section-corporate {
    background-color: #a0a0a0;
    background-image: url('Assets/ChatGPT-Image-Nov-12-2025-06_13_06-PM.webp');
}

.section-corporate::before {
    background-color: rgba(160, 160, 160, 0.85);
    /* Opacity 85% */
}

/* 3. Store (Orange) */
.section-store {
    background-color: #ff9d2e;
    background-image: url('Assets/Gemini_Generated_Image_b6keveb6keveb6ke-1.webp');
}

.section-store::before {
    background-color: rgba(255, 157, 46, 0.85);
    /* Opacity 85% */
}


/* Right Column wrapper for Corporate and Store */
.right-column {
    display: flex;
    flex-direction: column;
    flex: 2;
    /* Takes 2/3 of height on mobile so inner cards (1/3 each) match the standalone card */
    min-height: 0;
}

/* Language Selector Container */
.lang-selector-container {
    position: fixed;
    /* Stuck to screen */
    bottom: 20px;
    right: 20px;
    /* Bottom right corner */
    left: auto;
    /* Remove left positioning */
    z-index: 100;
    font-family: 'Montserrat', sans-serif;
}

.lang-selector {
    background: white;
    padding: 6px 12px;
    /* Reduced padding */
    border-radius: 50px;
    /* Pill shape for "stuck" look */
    font-size: 0.8rem;
    font-weight: 800;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.lang-selector:hover {
    background: #f8f8f8;
}

.lang-dropdown {
    position: absolute;
    bottom: 100%;
    /* Shows above */
    left: 0;
    width: 130px;
    /* Reduced width */
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Show dropdown on hover of container */
.lang-selector-container:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 10px 15px;
    /* Reduced padding */
    font-weight: 700;
    font-size: 0.8rem;
    /* Reduced size */
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-option.urdu-font {
    font-size: 1rem;
    /* Smaller Urdu specifically for dropdown */
    line-height: 1.4;
    padding-bottom: 5px;
}

.lang-option:hover {
    background: #f0f0f0;
}

.urdu-font {
    font-family: 'Noto Nastaliq Urdu', serif;
}

h1.urdu-font {
    font-size: 2rem;
    /* Reduced mobile Urdu size */
    /* Larger for Urdu headings */
    line-height: 1.6;
    margin-bottom: 25px;
    /* Adjust spacing */
}

.btn.urdu-font {
    font-size: 1rem;
    /* Slightly larger than 0.85rem generic to be legible, but keeping button size compact */
    padding: 12px 30px;
    /* Adjust padding if necessary to match physical size exactly */
    line-height: 1.6;
}

/* Animations */
/* 1. Background Zoom on Hover */
.card:hover {
    background-size: 650px;
    /* Slight zoom in */
}

/* 2. Entrance Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop Layout (Landscape) */
@media (min-width: 768px) {
    body {
        height: 100vh;
        overflow: hidden;
        /* Prevent scroll on desktop */
    }

    .main-container {
        flex-direction: row;
        height: 100vh;
    }

    .section-training {
        width: 50%;
        height: 100vh;
    }

    .right-column {
        width: 50%;
        height: 100vh;
        flex: 1;
        /* Reset to equal width on desktop */
    }

    .section-corporate {
        height: 50%;
        width: 100%;
    }

    .section-store {
        height: 50%;
        width: 100%;
    }

    h1 {
        font-size: 3rem;
        /* Larger text on desktop */
    }

    /* Restore larger sizes for desktop */
    h1.urdu-font {
        font-size: 3.5rem;
    }

    .content {
        padding: 40px;
    }

    .lang-selector-container {
        position: absolute;
        /* Restore absolute positioning */
        bottom: 30px;
        left: 30px;
        right: auto;
        /* Prevent stretching */
    }
}