/*
* =================================================================
* LIRA SECURITIES - STYLE.CSS (ULTIMATE KABOOM EDITION)
* =================================================================
*
* Author: Thabiso Sebina
*
*/

/* =================================================================
    1. FONT IMPORT & ROOT VARIABLES
    ================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --color-primary: #dc2626; /* red-600 - Deep, corporate red */
    --color-primary-dark: #b91c1c; /* red-700 */
    --color-primary-light: #ef4444; /* red-500 */

    --color-secondary-base: #6b7280; /* gray-500 - for neutral elements */
    --color-secondary-light: #9ca3af; /* gray-400 */
    --color-secondary-dark: #4b5563; /* gray-700 */

    --color-accent: #D69E2E; /* Gold accent */
    --color-success: #10b981; /* green-500 */
    --color-error: #ef4444; /* red-500 */

    --text-primary: #1f2937; /* gray-800 */
    --text-secondary: #4b5563; /* gray-700 */
    --text-light: #f9fafb; /* gray-50 */
    --text-on-primary: #ffffff; /* white */
    --text-on-dark: #f9fafb; /* white */
    --text-on-light: #1f2937; /* gray-800 */


    --bg-light: #ffffff; /* pure white */
    --bg-medium: #f3f4f6; /* gray-100 */
    --bg-dark: #111827; /* gray-900 */
    --bg-darker: #0f172a; /* gray-950 */

    --border-color-light: #e5e7eb; /* gray-200 */
    --border-color-medium: #d1d5db; /* gray-300 */
    --border-color-dark: #4b5563; /* gray-700 */


    /* Spacing */
    --spacing-unit: 8px; /* Base spacing unit for padding, gaps, etc. */
    --container-max-width: 1280px;

    /* Typography */
    --font-family-base: 'Plus Jakarta Sans', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Border Radii */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px; /* Slightly more rounded */
    --border-radius-xl: 16px;
    --border-radius-full: 9999px; /* For perfectly rounded buttons */

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary-glow: 0 0 25px rgba(220, 38, 38, 0.6), 0 0 10px rgba(220, 38, 38, 0.3); /* Stronger glow */
    --shadow-secondary-glow: 0 0 25px rgba(107, 114, 128, 0.6), 0 0 10px rgba(107, 114, 128, 0.3);


    /* Transitions */
    --transition-fast: all 0.2s ease-in-out;
    --transition-medium: all 0.3s ease-in-out;
    --transition-slow: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =================================================================
    2. KEYFRAME ANIMATIONS
    ================================================================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes backgroundPan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes kenBurns {
    0% { transform: scale(1.05) translate(2%, -1%); }
    100% { transform: scale(1.2) translate(-2%, 1%); }
}

@keyframes pulse { /* For loader icon */
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes slideInDown { /* For sticky navbar */
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}


/* =================================================================
    3. BASE & RESET STYLES
    ================================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family-base);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.lira-main-content {
    overflow: hidden; /* Important for containing negative margins */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Page Loader */
#page-loader {
    /* Tailwind classes handle most: fixed top-0 left-0 w-full h-full bg-gray-900 bg-opacity-95 flex flex-col justify-center items-center z-[9999] opacity-100 transition-opacity duration-500 ease-out */
}

#page-loader .loader-spinner i {
    /* Tailwind classes: text-red-600 text-5xl */
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

#loader-progress-fill {
    /* Tailwind classes: h-full w-0 bg-red-600 transition-all duration-1000 ease-out */
}


/* =================================================================
    4. HERO SECTION & SLIDER
    ================================================================= */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    color: var(--text-light);
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.slide.active-slide {
    opacity: 1;
    z-index: 2;
}

.slide-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.8) 100%);
    z-index: 3;
}

.slide-content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 5%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-on-primary);
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
    max-width: 800px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-top: calc(var(--spacing-unit) * 3);
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.hero-cta {
    margin-top: calc(var(--spacing-unit) * 5);
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 3);
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    padding: var(--spacing-unit) calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius-full);
    border: 1px solid rgba(255,255,255,0.1);
}

.slider-arrow {
    width: 48px;
    height: 48px;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-medium);
}

.slider-arrow:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.slide-counter {
    color: white;
    font-weight: 600;
    display: flex;
    align-items: baseline;
}

.current-slide-num {
    font-size: 2rem;
    line-height: 1;
}

.total-slide-num {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
}

/* =================================================================
    5. BUTTONS
    ================================================================= */
/* Base Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 1.5);
    padding: calc(var(--spacing-unit) * 1.75) calc(var(--spacing-unit) * 4);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius-full);
    border: 2px solid transparent; /* Keep for consistent height across variants */
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-medium); /* All for general properties */
    position: relative;
    overflow: hidden; /* Crucial for the shine effect */
    z-index: 1; /* For stacking contexts, especially with pseudo-elements */
    backface-visibility: hidden; /* Helps prevent flickering in some browsers */
    transform: translateZ(0); /* Forces hardware acceleration */
}

/* Icon Animation */
.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px); /* Slight shift on hover */
}

/* Focus State for Accessibility */
.btn:focus-visible {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5); /* A subtle white border for visibility */
    box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.5); /* Tailwind's blue focus ring example */
    transform: translateY(-1px); /* A small lift to indicate focus */
}

.btn:active {
    transform: translateY(-1px); /* General slight push down on click */
    box-shadow: var(--shadow-sm); /* Recede shadow */
}

/* Shine Effect (Applied to all buttons with .btn) */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Start off-screen to the left */
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%, /* Semi-transparent white shine */
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-30deg); /* Angle the shine */
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); /* Slower, smooth transition for shine */
    z-index: 2; /* Above the button's background but below content */
}

.btn:hover::before {
    transform: translateX(200%) skewX(-30deg); /* Move across the button */
}

/* Primary Button */
.btn-primary {
    background-image: linear-gradient(to right, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    background-size: 200% auto; /* For the gradient shift on hover */
    color: var(--text-on-primary);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary); /* Solid border for primary */
}

.btn-primary:hover {
    background-position: right center; /* Shifts gradient */
    transform: translateY(-3px); /* Lift effect */
    box-shadow: var(--shadow-primary-glow); /* Enhanced glow */
    border-color: var(--color-primary-dark); /* Subtle border change */
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Secondary Button (Outlined with Primary Fill) */
.btn-secondary {
    background-color: transparent;
    color: var(--color-primary); /* Primary text color */
    border-color: var(--color-primary); /* Primary border color */
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--color-primary); /* Fills with primary color */
    color: var(--text-on-primary); /* Text becomes white */
    border-color: var(--color-primary-dark); /* Darker border */
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary-glow);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Ghost Button (Minimalist) */
.btn-ghost {
    background-color: transparent;
    color: var(--text-primary); /* Default text color */
    border-color: transparent; /* No visible border initially */
    box-shadow: none;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3); /* Slightly less padding */
    font-weight: 500;
}

.btn-ghost:hover {
    background-color: var(--bg-medium); /* Subtle background highlight */
    color: var(--color-primary); /* Text becomes primary color */
    transform: translateY(-1px); /* Very slight lift */
    box-shadow: var(--shadow-sm); /* Minimal shadow */
}

.btn-ghost:active {
    transform: translateY(0);
    background-color: var(--border-color-light); /* Slightly darker light gray */
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05); /* Slight inner shadow for "pressed" effect */
}

/* Large Button Variant (Apply this alongside other button types, e.g., btn-primary btn-lg) */
.btn-lg {
    padding: calc(var(--spacing-unit) * 2.25) calc(var(--spacing-unit) * 6);
    font-size: 1.15rem; /* Slightly larger font */
}

/* Disabled State (General) */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important; /* Override any hover/active transforms */
    box-shadow: none !important; /* Remove shadows */
    background-image: none !important; /* Remove gradients */
    background-color: var(--color-secondary-light) !important; /* Flat background */
    border-color: var(--color-secondary-light) !important;
    color: var(--text-on-secondary) !important;
}

.btn:disabled::before,
.btn.disabled::before {
    display: none; /* Hide shine effect when disabled */
}

.btn:disabled i,
.btn.disabled i {
    transform: none !important; /* Remove icon animation */
}

/* =================================================================
    6. CONTENT SECTIONS & CARDS
    ================================================================= */
.content-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 8);
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: #fee2e2;
    color: var(--color-primary);
    font-weight: 600;
    border-radius: var(--border-radius-full);
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-size: 0.9rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-unit);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

/* About Section Specifics */
.about-section {
    background-color: var(--bg-light);
    margin-top: -120px; /* Overlap effect */
    border-radius: 24px 24px 0 0;
    z-index: 20;
    padding-top: 140px;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.08);
}

.info-card {
    background-color: var(--bg-medium);
    padding: calc(var(--spacing-unit) * 5);
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid var(--border-color-light);
    transition: var(--transition-medium);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto calc(var(--spacing-unit) * 3);
    background-image: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
}

.info-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(-15deg);
    box-shadow: var(--shadow-primary-glow);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-unit);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Services Section Specifics */
.services-section {
    background-color: var(--bg-medium);
}

.service-card {
    background-color: var(--bg-light);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color-light);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.service-text {
    color: var(--text-secondary);
}

/* =================================================================
    7. CALL TO ACTION (CTA) SECTION
    ================================================================= */
.cta-section {
    padding: 100px 0;
    background-color: var(--bg-dark); /* Using --bg-dark for consistency */
    background-image:
        linear-gradient(rgba(26, 32, 44, 0.9), rgba(26, 32, 44, 0.9)),
        url('https://www.transparenttextures.com/patterns/cubes.png');
    color: var(--text-on-dark); /* Using text-on-dark for consistency */
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
}

.cta-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: calc(var(--spacing-unit) * 2) auto 0;
    color: rgba(255,255,255,0.8);
}

/* =================================================================
    8. 3D DYNAMIC SECTION (Three.js)
    ================================================================= */
#dynamic-security-banner {
    height: 60vh; /* Banner size */
    min-height: 400px; /* Minimum height for smaller screens */
    background-color: var(--bg-darker); /* Darker background for more contrast */
}

/* Faint K9 Background Image */
#dynamic-security-banner > div:first-child {
    filter: grayscale(100%); /* Make it very faint */
}

/* Three.js Canvas Container */
#threejs-canvas-container {
    width: 100%;
    height: 100%;
    display: block; /* Important for canvas */
}
#threejs-dna-canvas {
    width: 100%;
    height: 100%;
    display: block; /* Prevents extra space below canvas */
}

/* Padlock Styling and Animation */
#padlock-container {
    cursor: pointer; /* Indicate interactivity */
}

#padlock-icon {
    display: block; /* Ensures sizing works as expected */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.7), 0 0 40px rgba(255, 255, 255, 0.4); /* White glow */
}

/* Padlock Locked/Unlocked States */
#padlock-container.is-locked #padlock-icon {
    transform: rotateY(0deg) scale(1);
    color: #ffffff; /* White when locked */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.7), 0 0 40px rgba(255, 255, 255, 0.4);
}

#padlock-container.is-unlocked #padlock-icon {
    transform: rotateY(180deg) scale(1.1); /* Flips and slightly enlarges */
    color: #38bdf8; /* Tailwind blue-400 for unlocked */
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.7), 0 0 40px rgba(56, 189, 248, 0.4); /* Blue glow */
}

/* =================================================================
    9. CONTACT SECTION & FORM
    ================================================================= */
.contact-section {
    background-color: var(--bg-medium); /* Lighter background for the section */
}

.contact-info-wrapper, .contact-form-wrapper {
    background-color: var(--bg-light); /* White background for the cards */
    padding: calc(var(--spacing-unit) * 5); /* Reduced padding slightly */
    border-radius: var(--border-radius-xl); /* More rounded corners */
    box-shadow: var(--shadow-lg); /* Consistent shadow */
    border: 1px solid var(--border-color-light); /* Light border */
}

/* Contact Info Column */
.contact-section .flex-col.gap-8 {
    /* min-h-[600px] is set in HTML for direct control over height matching */
    justify-content: space-between; /* Ensures map pushes to bottom if content is short */
}

.contact-section .text-2xl.font-bold { /* Heading for contact info */
    font-size: 1.75rem; /* Smaller heading */
    margin-bottom: calc(var(--spacing-unit) * 4); /* More space below heading */
}

.contact-section .space-y-5 > div { /* Individual contact items */
    gap: calc(var(--spacing-unit) * 2.5); /* Tighter spacing between icon and text */
}

.contact-section .contact-item i { /* Icons in contact info */
    font-size: 1.25rem; /* Smaller icons */
    width: 24px; /* Adjust width for alignment */
}

.contact-section .contact-item .block:first-child { /* "Call Us", "Email Us" labels */
    font-size: 0.875rem; /* text-sm */
    color: var(--text-secondary);
}

.contact-section .contact-item .block:last-child,
.contact-section .contact-item a { /* Actual contact details */
    font-size: 1rem; /* text-base */
    font-weight: 500;
    color: var(--text-primary);
}

/* Form Input Styling (Floating Labels) */
.contact-section .relative input.peer,
.contact-section .relative textarea.peer {
    /* Tailwind classes: w-full px-0 pt-5 pb-2 text-base text-gray-800 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-red-600 transition-colors duration-300 focus:ring-0 */
    color: var(--text-primary); /* Ensure text is dark */
    border-color: var(--border-color-medium); /* Default border color */
}

/* Floating Label Positioning and Transition */
.contact-section .relative label {
    /* Tailwind classes: absolute left-0 top-5 text-gray-500 text-sm transition-all duration-300 peer-placeholder-shown:text-base peer-placeholder-shown:top-5 peer-focus:top-0 peer-focus:text-xs peer-focus:text-red-500 */
    color: var(--text-secondary); /* Default label color */
}

/* Animated Bottom Border */
.contact-section .relative .group-focus-within\:w-full {
    /* This is a Tailwind JIT class, the effect is achieved by the transition on the span */
}

/* Form Alerts */
.form-alert {
    padding: calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius-md);
    text-align: center;
    margin: 0 auto calc(var(--spacing-unit) * 4);
    max-width: 800px;
    font-weight: 500;
}
.success-alert {
    background-color: #c6f6d5;
    color: #2f855a;
    border: 1px solid #9ae6b4;
}
.error-alert {
    background-color: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2;
}


/* =================================================================
    10. RESPONSIVE DESIGN
    ================================================================= */
/* For Tablets */
@media (max-width: 1024px) {
    .about-section {
        margin-top: -80px;
        padding-top: 100px;
    }
}

/* For Mobile */
@media (max-width: 768px) {
    .content-section {
        padding: 60px 0;
    }

    .about-section {
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        padding-top: 60px;
    }

    .hero-section {
        height: 90vh;
    }

    .slider-navigation {
        padding: 6px 12px;
        gap: 12px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .current-slide-num { font-size: 1.5rem; }
    .total-slide-num { font-size: 0.9rem; }

    .section-title {
        font-size: 2rem;
    }

    /* Contact Section Mobile Adjustments */
    .contact-section .flex-col.gap-8 {
        min-height: auto; /* Remove fixed min-height on mobile */
    }
    .contact-section .rounded-xl.shadow-lg.overflow-hidden {
        height: 300px; /* Give map a fixed height on mobile */
    }
}




.modal-initial-hidden {
    display: none !important; 
}




/* =================================================================
    11. UTILITY CLASSES (From Tailwind CSS for convenience)
    ================================================================= */
.container { width: 100%; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.text-center { text-align: center; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-8 { gap: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.w-full { width: 100%; }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* Adjusted for 2 columns in contact */
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:col-span-5 { grid-column: span 5 / span 5; }
    .lg\:col-span-7 { grid-column: span 7 / span 7; }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}