@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    /* YOLO Adapted af.net Palette */
    --primary-red: #D32F2F;
    --primary-red-dark: #8B1E1E;
    --black: #000000;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    --accent-gold: #FFD700;

    /* Typography - Replicating af.net feel */
    --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Spacing System (af.net 4px base) */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 96px;
    --spacing-5xl: 128px;

    /* Shadow System (af.net Extraction) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Border Radius (af.net standard) */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Typography Overhaul */
h1,
h2,
h3,
h4 {
    color: var(--black);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.overline {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-red);
    display: block;
    margin-bottom: var(--spacing-sm);
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--gray-200);
    color: var(--gray-800);
}

.btn-outline:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background-color: rgba(211, 47, 47, 0.05);
}

/* Section Spacing */
section {
    padding: var(--spacing-5xl) 0;
}

/* Card Design Patterns */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
    color: var(--black);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    transition: var(--transition-base);
}

.card:hover::after {
    width: 100%;
}

/* Header & Navbar YOLO Branding update */
/* Main Site Header & Navbar */
.site-header {
    background-color: #7b1919 !important;
    color: #FFFFFF !important;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-family: 'Montserrat', sans-serif !important;
}

.site-nav {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    height: 70px !important;
}

.logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

#nav-menu {
    display: flex !important;
    list-style: none !important;
    align-items: center !important;
    gap: 40px !important;
    margin: 0 0 0 auto !important;
    /* Push to right */
    padding: 0 !important;
}

#nav-menu>li {
    position: relative !important;
    list-style: none !important;
}

#nav-menu>li>a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    transition: var(--transition-fast);
    padding: 25px 0 !important;
    display: block !important;
}

#nav-menu>li>a:hover,
#nav-menu>li>a.active {
    color: var(--accent-gold) !important;
}

/* Login Button Styling */
#nav-menu li a.btn-login {
    background-color: #FFFFFF !important;
    color: #7b1919 !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    margin-left: 15px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#nav-menu li a.btn-login:hover {
    background-color: var(--accent-gold) !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Dropdown Logic - STAGE 1: Hidden by default */
.dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: #7b1919 !important;
    min-width: 220px !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
    padding: 10px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    z-index: 1001 !important;
    border-top: 2px solid var(--accent-gold);
    font-family: 'Montserrat', sans-serif !important;
}

.dropdown:hover>.dropdown-menu {
    display: block !important;
}

.dropdown-menu li {
    display: block !important;
    width: 100% !important;
    list-style: none !important;
}

.dropdown-menu li a {
    display: block !important;
    padding: 14px 25px !important;
    font-size: 0.9rem !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    text-align: left !important;
}

.dropdown-toggle::after {
    content: '\f078' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 0.65rem !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
    transition: transform 0.3s ease !important;
    display: inline-block !important;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg) !important;
}

/* Hero Section Redesign */
.hero {
    min-height: calc(100vh - 70px);
    /* Exact fit below 70px navbar */
    display: flex;
    align-items: center;
    background-color: var(--black);
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(123, 25, 25, 0.3);
    /* Navbar color with opacity */
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpeg');
    /* Local Asset */
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    /* Widened text column */
    gap: 60px;
    align-items: center;
    height: 100%;
    padding: 80px 0;
    /* Added internal padding to wrapper */
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    /* Added vertical padding */
}

.hero h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-family: 'Nunito', sans-serif;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    word-spacing: 0.05em;
}

.hero p {
    font-size: 1.35rem;
    font-weight: 400;
    max-width: 650px;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: var(--spacing-md);
}

.hero .btn-primary {
    background-color: var(--white);
    color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--black);
    transform: translateY(-3px);
}

.hero .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.hero .btn-outline:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Right Column - Logo & Animation */
.hero-logo-col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-right: 50px;
    /* Added spacing from right */
}

.hero-logo-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-logo {
    width: 100%;
    height: auto;
    max-height: 400px;
    /* Increased from 250px */
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Reusable Page Header (About, News, etc.) --- */
.page-header {
    position: relative;
    padding: 80px 0 60px;
    /* Adjusted padding for better vertical balance */
    background-color: #1a1a1a;
    color: #FFFFFF !important;
    text-align: center !important;
    min-height: auto;
    /* Allow content to define height */
    display: block;
    /* Simpler than flex for this structure */
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(80, 10, 10, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 2;
    pointer-events: none;
    /* Ensure it doesn't block clicks to content if any */
}

.page-header .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.page-header h1 {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.02em !important;
    font-family: 'Nunito', sans-serif !important;
    color: #FFFFFF !important;
    text-align: center !important;
}

.page-header p {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    text-align: center !important;
}

/* --- About Page Specific Sections --- */

/* Our Company Section */
.about-company {
    padding: 40px 0 0;
    /* Balanced top spacing, zero bottom to connect sections */
    background-color: var(--white);
    text-align: left;
}

.about-company h2 {
    font-size: 2.25rem;
    /* Reduced size */
    color: #7b1919;
    /* Navbar color */
    margin-bottom: 30px;
    text-align: left;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

.about-company p {
    font-size: 1.1rem;
    /* Reduced from 1.25rem */
    line-height: 1.7;
    color: var(--gray-700);
    max-width: 100%;
    text-align: justify;
    /* Justified text */
}

/* Mission & Vision Section (Overlaid) */
.mission-vision-section {
    position: relative;
    padding: 60px 0;
    /* Tightened padding */
    color: var(--gray-800);
    overflow: hidden;
    margin-top: 0;
    /* Ensure no gap with section above */
}

/* Background and Overlay removed via about.php */

.mission-vision-section .container {
    position: relative;
    z-index: 3;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mission-vision-content h2 {
    color: #7b1919;
    font-size: 2.25rem;
    /* Match "Our Company" size */
    margin-bottom: 20px;
    border-bottom: none;
    /* Removed yellow underline */
    display: block;
    padding-bottom: 0;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

.mission-vision-content p {
    font-size: 1.05rem;
    /* Reduced from 1.15rem */
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--gray-700);
    /* Changed from semi-transparent white */
    text-align: justify;
    /* Justified text */
}

/* Dual Rectangular Image Layout */
.dual-image-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rect-image-item {
    width: 100%;
    height: 250px;
    /* Rectangular height */
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.rect-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rect-image-item:hover img {
    transform: scale(1.05);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collage-item:hover img {
    transform: scale(1.1);
}

/* --- Reusable About Dark Section (Hero-style) --- */
.about-dark-section {
    position: relative;
    padding: 100px 0;
    color: var(--white);
    background-color: #1a1a1a;
    /* Fallback */
    background-image: url('../images/about-bg.jpg');
    /* Corrected path relative to assets/images */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.about-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 25, 25, 0.85) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.about-dark-section .container {
    position: relative;
    z-index: 2;
}

.about-dark-section h2 {
    color: var(--white);
    font-family: 'Nunito', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-dark-section h3 {
    color: var(--accent-gold);
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.about-dark-section h4 {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    font-style: italic;
}

.about-dark-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

.solution-block {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

.solution-item {
    margin-bottom: 50px;
}

.collage-item.offset {
    transform: translateY(40px);
}

@media (max-width: 991px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-company h2 {
        font-size: 2.5rem;
    }
}

/* Upcoming Events Section */
#events {
    padding: var(--spacing-3xl) 0 var(--spacing-3xl);
    background-color: var(--white);
}

.events-heading {
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #7b1919;
    margin-bottom: var(--spacing-2xl);
    letter-spacing: -0.02em;
}

.events-carousel-wrapper {
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    cursor: grab;
    padding: 10px 20px;
}

.events-carousel-wrapper:active {
    cursor: grabbing;
}

.events-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.event-card {
    min-width: calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.event-card::after {
    display: none;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.event-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.08);
}

.event-content {
    padding: var(--spacing-md);
}

.event-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.event-detail i {
    color: var(--primary-red);
    width: 16px;
    font-size: 0.8rem;
}

.event-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: var(--spacing-sm);
    border-radius: var(--radius-md);
    background-color: #7b1919;
    color: var(--white);
    border: none;
}

.event-btn:hover {
    background-color: #5a1212;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Latest News & Highlights Section */
#news {
    padding: var(--spacing-2xl) 0 20px;
    position: relative;
    background-color: var(--primary-red);
    overflow: hidden;
}

.news-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpeg') no-repeat center center/cover;
    z-index: 1;
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 25, 25, 0.75) 0%, rgba(90, 18, 18, 0.75) 100%);
    z-index: 2;
}

.news-heading {
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-2xl);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 3;
}

.news-carousel-wrapper {
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    cursor: grab;
    padding: 10px 20px;
    z-index: 3;
}

.news-carousel-wrapper:active {
    cursor: grabbing;
}

.news-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.news-card {
    min-width: calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.news-card::after {
    display: none;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.news-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-content {
    padding: var(--spacing-md);
}

.news-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: var(--spacing-sm);
    border-radius: var(--radius-md);
    background-color: #7b1919;
    color: var(--white);
    border: none;
}

.news-btn:hover {
    background-color: #5a1212;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Auth Pages */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
}

.auth-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    border-top: 5px solid var(--primary-red);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    border-top: 10px solid var(--primary-red);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

/* Responsive System af.net Mirror */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 3rem;
        /* Reduced from 4rem */
    }
}

@media (max-width: 992px) {

    /* Tablet / Small Desktop */
    .section-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 40px;
    }

    .hero-text-col {
        order: 1;
        align-items: center;
    }

    .hero-logo-col {
        order: 2;
        margin-bottom: 20px;
        padding-right: 0 !important;
        /* Center on mobile */
    }

    .hero h2 {
        font-size: 2.8rem;
        /* Reduced from 3.5rem */
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    /* Mobile Landscape */
    header {
        padding: 10px 0;
    }

    nav {
        height: auto !important;
        padding: 15px 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    .logo img {
        height: 70px !important;
    }

    /* Mobile Menu Toggle */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1002;
        margin-left: auto;
        /* Push to right */
    }

    .mobile-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: white;
        transition: all 0.3s ease;
    }

    /* Active Animation for Hamburger */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Nav Menu - Mobile View (Dropdown 100%) */
    #nav-menu {
        display: none !important;
        /* Hidden by default */
        flex-direction: column !important;
        gap: 0 !important;
        /* Remove 40px global gap */
        width: 100% !important;
        background-color: #7b1919 !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        z-index: 1001 !important;
    }

    #nav-menu.active {
        display: flex !important;
    }

    #nav-menu>li {
        width: 100% !important;
        text-align: left !important;
        padding: 0 25px;
        /* Add horizontal padding for left alignment */
    }

    #nav-menu>li>a {
        padding: 5px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1rem !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
    }

    #nav-menu li a.btn-login {
        margin: 10px 0 !important;
        /* Left align button */
        display: inline-block !important;
        padding: 8px 20px !important;
    }

    /* Mobile Dropdowns */
    .dropdown-menu {
        position: static !important;
        display: none !important;
        background-color: #6a1515 !important;
        box-shadow: none !important;
        width: 100% !important;
        padding: 5px 0 !important;
    }

    .dropdown-menu li a {
        padding: 10px 25px !important;
        font-size: 0.85rem !important;
    }

    .dropdown:hover>.dropdown-menu {
        display: block !important;
    }

    /* Sections */
    .hero {
        min-height: 80vh;
        padding: 80px 0;
        text-align: center;
    }

    .hero-content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .hero-text-col {
        order: 2;
    }

    .hero-logo-col {
        order: 1;
        margin-bottom: 10px;
    }

    .floating-logo {
        max-height: 250px;
    }

    .hero h2 {
        font-size: 1.8rem;
        white-space: normal;
        overflow: visible;
        word-break: keep-all;
    }

    .hero p {
        font-size: 1.1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .section-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {

    /* Mobile Portrait */
    .container {
        padding: 0 15px;
    }

    .hero h2 {
        font-size: 1.8rem;
        /* Reduced from 2.2rem */
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .logo img {
        height: 60px !important;
    }

    .section-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
}

/* Collaborations Section */
#collaborations {
    padding: 40px 0 80px;
    background-color: var(--white);
}

.collab-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: center;
}

.collab-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--primary-red);
    font-family: 'Nunito', sans-serif;
}

.collab-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    text-align: justify;
}

.collab-point {
    margin-bottom: var(--spacing-lg);
}

.collab-point h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 8px;
    font-family: 'Nunito', sans-serif;
}

.collab-point p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin: 0;
}

.collab-img {
    text-align: center;
}

.collab-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 4px solid #7b1919;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s ease;
}

.collab-img:hover img {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .collab-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .collab-point {
        text-align: left;
        background: var(--gray-50);
        padding: 20px;
        border-radius: var(--radius-md);
        border-left: 4px solid var(--primary-red);
    }
}


/* Testimonial Section */
#testimonials {
    padding: 80px 0;
    position: relative;
    background-color: var(--primary-red);
    overflow: hidden;
}

.testimonial-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpeg') no-repeat center center/cover;
    z-index: 1;
    opacity: 0.4;
}

.testimonial-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(123, 25, 25, 0.95) 0%, rgba(90, 18, 18, 0.95) 100%);
    opacity: 0.55;
    z-index: 2;
}

.testimonial-carousel-wrapper {
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    cursor: grab;
    padding: 10px 0;
    z-index: 3;
}

.testimonial-carousel-wrapper:active {
    cursor: grabbing;
}

.testimonial-carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonial-card {
    min-width: calc((100% - 30px) / 2);
    max-width: calc((100% - 30px) / 2);
    /* Rectangular aspect ratio preference */
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    color: var(--white);
    text-align: left;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.testimonial-author {
    text-align: right;
    margin-top: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
    font-family: 'Nunito', sans-serif;
    color: rgba(255, 255, 255, 0.95);
    /* Ensure content doesn't break layout */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    /* Limit lines if necessary for uniform height, though not strictly requested */
    -webkit-box-orient: vertical;
}


/* Collaborations Carousel */
.collab-carousel-wrapper {
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    cursor: grab;
    padding: 20px 0;
    z-index: 3;
}

.collab-carousel-wrapper:active {
    cursor: grabbing;
}

.collab-carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.collab-item {
    min-width: calc((100% - 30px) / 2);
    max-width: calc((100% - 30px) / 2);
    flex-shrink: 0;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-200);
}

.collab-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.collab-img-wrapper {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collab-img-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.collab-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-red);
    font-family: 'Nunito', sans-serif;
}

.collab-item .collab-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0 auto;
    text-align: center;
    font-family: 'Nunito', sans-serif;
    max-width: 90%;
}

@media (max-width: 991px) {
    .collab-item {
        min-width: 100%;
        max-width: 100%;
    }
}

.testimonial-author h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Nunito', sans-serif;
    color: var(--accent-gold);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

@media (max-width: 991px) {
    .testimonial-card {
        min-width: 100%;
        max-width: 100%;
    }
}

/* FAQ Section */
#faq {
    padding: 100px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #7b1919;
    font-family: 'Nunito', sans-serif;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px 25px;
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-base);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #7b1919;
}

.faq-icon {
    font-size: 1rem;
    color: var(--primary-red);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--gray-50);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

.faq-answer p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.6;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

/* Footer Redesign */
.site-footer {
    background-color: #7b1919;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin-bottom: 25px;
    font-family: 'Nunito', sans-serif;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
    opacity: 0.5;
}

.footer-logo img {
    height: 100px;
    width: auto;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--white);
    color: #7b1919;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-details {
    list-style: none;
    padding: 0;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    /* Icon at top for multi-line */
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    word-break: break-word;
    /* Wrap long emails */
    overflow-wrap: anywhere;
}

.contact-details i {
    color: var(--white);
    font-size: 1rem;
    width: 20px;
    margin-top: 4px;
    /* Align with first line of text */
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    margin-bottom: 15px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    width: 100%;
    background-color: var(--white);
    color: #7b1919;
    border: none;
}

.newsletter-form .btn:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
}

.footer-col p {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Button Enhancement */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
    animation: none;
}

/* Global Responsiveness Improvements */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }

    h2 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 991px) {
    h2 {
        font-size: 2.2rem !important;
    }

    .hero h2 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-col {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    /* Force single card view for all carousels */
    .event-card,
    .news-card,
    .testimonial-card,
    .collab-item {
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 1.5rem !important;
        /* Smaller to fit single line */
        word-break: keep-all;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* --- Three Pillars Section --- */
.about-pillars-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-pillars-section .section-header {
    text-align: center;
    margin-bottom: 70px;
}

.about-pillars-section .section-header h2 {
    color: #7b1919;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Nunito', sans-serif;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pillar-card {
    position: relative;
    padding: 60px 35px;
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: 0 15px 40px rgba(123, 25, 25, 0.2);
    transition: all 0.4s ease;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    min-height: 400px;
}

.pillar-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.pillar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.pillar-card:hover .pillar-bg {
    transform: scale(1.1);
}

/* Pillar Specific Images */
.pillar-institutional .pillar-bg {
    background-image: url('https://images.unsplash.com/photo-1577412647305-991150c7d163?auto=format&fit=crop&w=800&q=80');
}

.pillar-intelligence .pillar-bg {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=800&q=80');
}

.pillar-execution .pillar-bg {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=800&q=80');
}

.pillar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 25, 25, 0.9) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.pillar-card:hover .pillar-overlay {
    background: linear-gradient(135deg, rgba(123, 25, 25, 0.85) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.pillar-content {
    position: relative;
    z-index: 3;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 30px;
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-icon {
    background-color: var(--white);
    color: #7b1919;
    transform: rotateY(360deg);
}

.pillar-card h3 {
    color: var(--accent-gold);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pillar-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-pillars-section {
        padding: 60px 0;
    }

    .about-pillars-section .section-header h2 {
        font-size: 2rem;
    }
}

/* --- Benefits & Privileges Section (Dark) --- */
.about-benefits-section {
    position: relative;
    padding: 100px 0;
    color: var(--white);
    background-image: url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.benefits-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(123, 25, 25, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.about-benefits-section .container {
    position: relative;
    z-index: 2;
}

.about-benefits-section .section-header {
    text-align: center;
    margin-bottom: 70px;
}

.about-benefits-section .section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 50px 30px;
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.benefit-item i {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 25px;
    display: inline-block;
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    color: var(--accent-gold);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.benefit-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
}

.benefit-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

@media (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-benefits-section .section-header h2 {
        font-size: 2.25rem;
    }
}

/* Our Team Section */
.about-team-section {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-team-section .section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    color: var(--primary-red);
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-card {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--gray-100);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-red);
}

.team-img-wrapper {
    width: 160px;
    height: 160px;
    margin: -10px auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid transparent;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.team-card:hover .team-img-wrapper {
    border-color: var(--primary-red);
    transform: scale(1.05);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.1);
}

.team-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 8px;
    font-family: 'Nunito', sans-serif;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.team-info p {
    font-size: 0.825rem;
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.9;
    margin-bottom: 0;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        justify-content: center;
    }

    .team-card {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
}

/* --- News Feed Section --- */
.news-feed-section {
    padding: 100px 0;
    background-color: var(--white);
}

.news-item {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
    scroll-margin-top: 100px;
    /* Offset for sticky navbar */
}

.news-item:nth-child(even) {
    flex-direction: row-reverse;
}

.news-item-img {
    flex: 1;
    height: 400px;
    /* Consistent height for a premium institutional look */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background-color: var(--gray-100);
    cursor: pointer;
}

@media (max-width: 991px) {
    .news-item-img {
        height: 350px;
    }
}

/* Photo Gallery Scenarios */
.news-gallery {
    display: grid;
    width: 100%;
    height: 100%;
    gap: 4px;
    /* Professional minimal gap */
}

/* Single Photo (Default) */
.news-gallery.single-photo {
    grid-template-columns: 1fr;
}

/* Dual Photo */
.news-gallery.dual-photo {
    grid-template-columns: 1fr 1fr;
}

/* Multi Photo (3 images example) */
.news-gallery.multi-photo {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.news-gallery.multi-photo .gallery-img:first-child {
    grid-row: span 2;
}

.gallery-img {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-item:hover .gallery-img img {
    transform: scale(1.08);
}

.news-item-content {
    flex: 1.2;
}

.news-date-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.news-item-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 15px;
    line-height: 1.2;
    font-family: 'Nunito', sans-serif;
}

.news-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    margin-bottom: 25px;
}

.news-item-content p {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.news-separator {
    width: 150px;
    height: 2px;
    background-color: var(--gray-200);
    margin: 80px auto;
    position: relative;
}

.news-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--primary-red);
    border-radius: 50%;
}

@media (max-width: 991px) {
    .news-item {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 60px;
    }

    .news-item:nth-child(even) {
        flex-direction: column !important;
    }

    .news-item-img {
        width: 100%;
        height: 350px;
    }

    .news-item-content {
        width: 100%;
        text-align: left;
    }

    .news-item-title {
        font-size: 2.2rem;
    }

    .news-item-content p {
        font-size: 1.05rem;
    }

    .news-separator {
        margin: 60px auto;
    }
}

@media (max-width: 768px) {
    .news-item-title {
        font-size: 1.8rem;
    }

    .news-item-img {
        height: 280px;
    }

    .news-date-tag {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: -50px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .news-item-title {
        font-size: 1.5rem;
    }

    .news-item-img {
        height: 220px;
    }

    .news-gallery.multi-photo {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 150px);
    }

    .news-gallery.multi-photo .gallery-img:first-child {
        grid-row: span 1;
    }
}

/* --- News Lightbox --- */
.news-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.news-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    user-select: none;
}

.lightbox-nav:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -100px;
}

.lightbox-next {
    right: -100px;
}

@media (max-width: 1200px) {
    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next {
        right: 20px;
    }
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- Contact Page --- */
.contact-info-section {
    padding: 80px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.contact-info-block {
    text-align: left;
}

.contact-category {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-red);
    font-size: 1.05rem;
    /* Reduced for better institutional balance */
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-category::after {
    content: '';
    flex: 1;
    height: 2px;
    background-color: var(--primary-red);
    opacity: 0.2;
}

.contact-link {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.95rem;
    /* Reduced as requested */
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
    word-break: break-all;
}

.contact-link:hover {
    color: var(--primary-red);
}

.contact-link i {
    color: var(--primary-red);
    font-size: 1.1rem;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 100px;
}

.contact-map-container {
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
}

.contact-form-container {
    background: var(--white);
    padding: 0;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-800);
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    background-color: var(--white);
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
    opacity: 0.8;
}

.contact-form textarea {
    height: 200px !important;
    resize: none;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-btn {
    width: 100%;
    background-color: #7b1919;
    color: var(--white);
    padding: 18px 30px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-btn:hover {
    background-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-bottom: 60px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .hero-text-col h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    nav {
        height: 60px !important;
    }

    .logo img {
        height: 50px !important;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-section h2 {
        font-size: 2.2rem !important;
    }
}

/* --- Member Induction Process Section --- */
.process-steps-section {
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden !important;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-step-card {
    position: relative;
    padding: 50px 30px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background-color: #7b1919;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 30px;
    box-shadow: 0 10px 20px rgba(123, 25, 25, 0.2);
    border: 3px solid var(--white);
}

.process-step-card h3 {
    color: #7b1919;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
}

.process-step-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1rem;
    text-align: justify;
}

.process-step-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
    .process-steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-steps-section {
        padding: 60px 0;
    }

    .process-steps-section h2 {
        font-size: 2rem !important;
        margin-bottom: 40px !important;
    }
}

@media (max-width: 480px) {
    .contact-info-section h2 {
        font-size: 1.8rem !important;
    }

    .contact-map-container {
        height: 300px;
    }
}

/* --- Membership Plans Section (Overlaid) --- */
.plans-section {
    position: relative;
    padding: 100px 0;
    color: var(--white);
    background-image: url('../images/process-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden !important;
}

.plans-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(123, 25, 25, 0.95), rgba(123, 25, 25, 0.9));
    z-index: 1;
}

.plans-section .container {
    position: relative;
    z-index: 2;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plan-card {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    padding: 0;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(15px);
    overflow: hidden;
    height: 100%;
}

.plan-card h3 {
    background-color: var(--accent-gold);
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    padding: 25px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.plan-card-body {
    padding: 40px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.plan-perks li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.plan-perks li i {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.plan-card .btn {
    margin-top: auto;
    width: 100%;
    background-color: var(--accent-gold);
    color: var(--black);
    border: none;
    font-weight: 800;
}

.plan-card.featured {
    transform: scale(1.05);
    border-color: var(--accent-gold);
    background: rgba(123, 25, 25, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .plans-section h2 {
        font-size: 2.2rem !important;
        margin-bottom: 40px !important;
    }

    .plan-card.featured {
        transform: scale(1);
    }
}

/* --- Membership Application Form Section --- */
.membership-form-section {
    padding: 100px 0;
    background-image: url('../images/process-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--white);
    overflow: hidden !important;
}

.membership-form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(123, 25, 25, 0.95), rgba(123, 25, 25, 0.9));
    z-index: 1;
}

.membership-form-section .container {
    position: relative;
    z-index: 2;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.form-info h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--accent-gold);
}

.form-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 1);
    line-height: 1.6;
    max-width: 500px;
}

.form-info span.future {
    color: var(--accent-gold);
    font-weight: 800;
}

.membership-form-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--accent-gold);
    backdrop-filter: blur(25px);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-group-full {
    margin-bottom: 30px;
}

.form-input-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.form-input-group label span {
    color: #ff3c3c;
}

.form-input-group input,
.form-input-group select,
.form-input-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 15px;
    color: var(--white);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input-group select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.form-input-group input:focus,
.form-input-group select:focus,
.form-input-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.08);
}

.membership-type-selection {
    margin-bottom: 30px;
}

.membership-type-selection label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--accent-gold);
}

.checkbox-row {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-item input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent-gold);
}

.form-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: 10px;
}

.apply-submit-btn {
    background-color: #7b1919;
    color: var(--white);
    border: 2px solid var(--accent-gold);
    padding: 12px 35px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.apply-submit-btn:hover {
    background-color: var(--accent-gold);
    color: var(--black);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.form-info p.description {
    text-align: justify;
    margin-bottom: 25px;
}

.invitation-request-box {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 123, 123, 0.2);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-sm);
}

.invitation-request-box p {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
    color: var(--accent-gold) !important;
    font-weight: 600;
}

.btn-secondary-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
    background: var(--accent-gold);
    color: var(--black);
    transform: translateY(-2px);
}

.tutorial-trigger {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 15px;
}

.tutorial-btn {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.tutorial-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.tutorial-text {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal Styles */
.yolo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.yolo-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 95%;
    max-width: 900px;
    aspect-ratio: 16/9;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-gold);
}

.modal-video-wrapper {
    width: 100%;
    height: 100%;
}

.modal-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

@media (max-width: 1100px) {
    .form-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .form-info {
        text-align: center;
    }

    .form-info h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .form-info p.description {
        margin: 0 auto 25px auto;
        text-align: center;
    }

    .invitation-request-box {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .tutorial-trigger {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .membership-form-card {
        padding: 30px 20px;
    }

    .checkbox-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .page-header h1 {
        font-size: 2.2rem !important;
    }

    .page-header p {
        font-size: 1rem !important;
    }

    .apply-submit-btn {
        width: 100%;
    }

    .membership-form-section h2 {
        font-size: 1.8rem !important;
    }
}. s w a l - h i g h - z   {   z - i n d e x :   1 0 0 0 0   ! i m p o r t a n t ;   }  
 