/* ==========================================================================
   RITU SOFTWARE INNOVATION - DESIGN SYSTEM
   Premium Tech Aesthetic (Indigo, Teal, Slate Dark Theme)
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-base: 210 20% 98%;         /* Very light greyish blue */
    --bg-surface: 0 0% 100%;       /* Pure white for cards/content blocks */
    --bg-surface-hover: 210 15% 95%; /* Light grey/blue for card hover */
    --primary: 250 84% 54%;        /* Tech Indigo (darker for readability) */
    --primary-glow: 250 84% 54% / 0.15;
    --secondary: 174 85% 35%;      /* Neon Teal (darker for contrast) */
    --accent: 280 75% 50%;         /* Purple */
    --text-main: 224 25% 12%;      /* Dark slate for text */
    --text-muted: 220 12% 42%;     /* Slate grey for muted text */
    --border-color: 220 15% 88%;   /* Soft light border */
    
    /* Layout */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Typography */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadow systems */
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 25px 0 hsl(var(--primary) / 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: hsl(var(--bg-base));
    color: hsl(var(--text-main));
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: hsl(var(--bg-base));
}
::-webkit-scrollbar-thumb {
    background: hsl(var(--border-color));
    border-radius: 5px;
    border: 2px solid hsl(var(--bg-base));
}
::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--primary));
}

/* Core Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: hsl(var(--text-main));
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Sticky Header styling */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: hsl(var(--bg-base) / 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid hsl(var(--border-color) / 0.5);
    transition: var(--transition-normal);
}

.app-header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
    background-color: hsl(var(--bg-base) / 0.9);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    transition: var(--transition-normal);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-normal);
}

.logo-area:hover .logo-img {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.75rem;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 4s ease-in-out infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, hsl(var(--text-main)) 40%, hsl(var(--text-muted)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: hsl(var(--secondary));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: hsl(var(--text-muted));
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: hsl(var(--text-main));
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.4);
    color: hsl(var(--text-main));
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 0 15px hsl(var(--primary) / 0.05);
}

.nav-btn-call:hover {
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: hsl(var(--text-main));
    transition: var(--transition-normal);
    border-radius: 2px;
}

/* Header Content offset spacing */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px - 400px);
}

/* ==========================================================================
   HOMEPAGE / HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 7rem 0 5rem 0;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, hsl(var(--primary-glow)) 0%, transparent 40%),
                radial-gradient(circle at 10% 80%, hsl(var(--secondary) / 0.05) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: hsl(var(--border-color) / 0.6);
    border: 1px solid hsl(var(--border-color));
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.hero-tagline i {
    color: hsl(var(--secondary));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, hsl(var(--text-main)) 50%, hsl(var(--text-muted)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: hsl(var(--text-muted));
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.85));
    border: 1px solid hsl(var(--primary) / 0.2);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px 0 hsl(var(--primary) / 0.4);
}

.btn-secondary {
    background: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--border-color));
    color: hsl(var(--text-main));
}

.btn-secondary:hover {
    background: hsl(var(--bg-surface-hover));
    border-color: hsl(var(--primary));
    transform: translateY(-3px);
}

/* Hero Graphical Dashboard Element */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-dashboard {
    background: hsl(var(--bg-surface) / 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid hsl(var(--border-color));
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.dash-dots {
    display: flex;
    gap: 0.35rem;
}

.dash-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dash-dot.red { background-color: #ff5f56; }
.dash-dot.yellow { background-color: #ffbd2e; }
.dash-dot.green { background-color: #27c93f; }

.dash-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: hsl(var(--text-muted));
    letter-spacing: 0.05em;
}

.dash-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dash-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dash-stat-card {
    background: hsl(var(--bg-base) / 0.6);
    border: 1px solid hsl(var(--border-color) / 0.5);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
}

.dash-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: hsl(var(--secondary));
    font-family: var(--font-heading);
}

.dash-stat-label {
    font-size: 0.75rem;
    color: hsl(var(--text-muted));
}

.dash-chart-mock {
    height: 100px;
    background: linear-gradient(180deg, hsl(var(--primary) / 0.1), transparent);
    border: 1px dashed hsl(var(--border-color));
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0.5rem;
}

.chart-bar {
    width: 20px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, hsl(var(--primary)), hsl(var(--secondary)));
    animation: barGrow 1.5s ease-out forwards;
}

.chart-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.chart-bar:nth-child(2) { height: 75%; animation-delay: 0.3s; }
.chart-bar:nth-child(3) { height: 50%; animation-delay: 0.5s; }
.chart-bar:nth-child(4) { height: 90%; animation-delay: 0.7s; }

.dash-floating-pill {
    position: absolute;
    background: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--primary) / 0.3);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

.dash-floating-pill.pill-1 {
    top: -15px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.dash-floating-pill.pill-2 {
    bottom: -20px;
    left: -20px;
    animation: float 5s ease-in-out infinite 1s;
    border-color: hsl(var(--secondary) / 0.3);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-bar {
    border-top: 1px solid hsl(var(--border-color));
    border-bottom: 1px solid hsl(var(--border-color));
    background-color: hsl(var(--bg-surface) / 0.3);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.75rem;
    font-weight: 800;
    color: hsl(var(--text-main));
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, hsl(var(--text-main)), hsl(var(--text-muted)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item h3 span {
    color: hsl(var(--secondary));
    -webkit-text-fill-color: initial;
}

.stat-item p {
    font-size: 0.95rem;
    color: hsl(var(--text-muted));
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================================
   PRODUCT GRID & SECTION TITLES
   ========================================================================== */

.section {
    padding: 6rem 0;
}

.section-alt {
    background-color: hsl(var(--bg-surface) / 0.2);
    border-top: 1px solid hsl(var(--border-color) / 0.6);
    border-bottom: 1px solid hsl(var(--border-color) / 0.6);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: hsl(var(--secondary));
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.section-desc {
    font-size: 1.1rem;
    color: hsl(var(--text-muted));
}

/* General Grid layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

/* Premium Product Cards styling */
.product-card {
    background: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-md);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: hsl(var(--primary) / 0.4);
    box-shadow: 0 15px 30px -10px rgb(0 0 0 / 0.6), 0 0 20px 0 hsl(var(--primary) / 0.05);
}

.product-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--border-radius-sm);
    background: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: hsl(var(--secondary));
    margin-bottom: 1.75rem;
    transition: var(--transition-normal);
}

.product-card:hover .card-icon {
    background: hsl(var(--primary));
    color: #ffffff;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 15px hsl(var(--primary) / 0.3);
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.product-card p {
    color: hsl(var(--text-muted));
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: hsl(var(--secondary));
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link i {
    transition: transform var(--transition-fast);
}

.product-card:hover .card-link i {
    transform: translateX(4px);
}

/* Category Badge decoration */
.card-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    background: hsl(var(--border-color));
    color: hsl(var(--text-muted));
}

/* ==========================================================================
   EDUCATION ERP SHOWCASE SECTION (TABS)
   ========================================================================== */

.showcase-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tab-btn {
    text-align: left;
    background: hsl(var(--bg-surface) / 0.5);
    border: 1px solid hsl(var(--border-color));
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.tab-btn i {
    font-size: 1.25rem;
    color: hsl(var(--text-muted));
    transition: var(--transition-normal);
}

.tab-btn-title {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    color: hsl(var(--text-muted));
}

.tab-btn-desc {
    font-size: 0.8rem;
    color: hsl(var(--text-muted) / 0.7);
    display: block;
    margin-top: 0.15rem;
}

.tab-btn:hover {
    background: hsl(var(--bg-surface));
    border-color: hsl(var(--primary) / 0.3);
}

.tab-btn.active {
    background: hsl(var(--primary) / 0.08);
    border-color: hsl(var(--primary));
    box-shadow: 0 0 20px hsl(var(--primary) / 0.05);
}

.tab-btn.active i {
    color: hsl(var(--secondary));
}

.tab-btn.active .tab-btn-title {
    color: hsl(var(--primary));
}

/* Showcase Display Content Panels */
.showcase-display {
    background: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    position: relative;
    min-height: 450px;
}

.tab-panel {
    display: none;
    animation: fadeUp 0.5s ease-out forwards;
}

.tab-panel.active {
    display: block;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid hsl(var(--border-color));
    padding-bottom: 1.5rem;
}

.panel-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.panel-title p {
    color: hsl(var(--secondary));
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.panel-btn-demo {
    padding: 0.65rem 1.25rem;
    background: hsl(var(--secondary) / 0.1);
    border: 1px solid hsl(var(--secondary) / 0.4);
    color: hsl(var(--secondary));
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
}

.panel-btn-demo:hover {
    background: hsl(var(--secondary));
    color: #000000;
    box-shadow: 0 0 15px hsl(var(--secondary) / 0.3);
}

.features-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.feature-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-check-item i {
    color: hsl(var(--secondary));
    margin-top: 0.25rem;
}

.feature-check-title {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

.feature-check-desc {
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
    display: block;
    margin-top: 0.1rem;
}

/* ==========================================================================
   INTERACTIVE COST ESTIMATOR WIDGET
   ========================================================================== */

.estimator-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    background: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
}

.estimator-desc {
    margin-bottom: 2.25rem;
}

.estimator-desc h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: hsl(var(--text-main));
    letter-spacing: -0.015em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.6rem;
    margin-bottom: 0.5rem;
}

.estimator-desc h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)));
    border-radius: 2px;
}

.estimator-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.estimator-option {
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    cursor: pointer;
    background: hsl(var(--bg-base) / 0.4);
    transition: var(--transition-normal);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.estimator-option:hover {
    border-color: hsl(var(--primary) / 0.5);
    background: hsl(var(--bg-base) / 0.8);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.estimator-option.selected {
    border-color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.05);
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.04);
}

.opt-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid hsl(var(--border-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
    transition: var(--transition-fast);
}

.estimator-option.selected .opt-checkbox {
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

.opt-checkbox i {
    font-size: 0.7rem;
    color: #ffffff;
    opacity: 0;
    transition: var(--transition-fast);
}

.estimator-option.selected .opt-checkbox i {
    opacity: 1;
}

.opt-title {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

.opt-price {
    font-size: 0.8rem;
    color: hsl(var(--secondary));
    display: block;
    margin-top: 0.15rem;
    font-weight: 600;
}

/* Estimator Summary column styling */
.estimator-summary {
    background: hsl(var(--bg-base));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.summary-header {
    border-bottom: 1px solid hsl(var(--border-color));
    padding-bottom: 1.4rem;
    margin-bottom: 1.5rem;
}

.summary-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--text-main));
    letter-spacing: -0.015em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.6rem;
    margin-bottom: 0;
}

.summary-header h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)));
    border-radius: 2px;
}

.summary-items {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
}

.summary-item span:last-child {
    color: hsl(var(--text-main));
    font-weight: 500;
}

.summary-totals-box {
    border-top: 1px solid hsl(var(--border-color));
    padding-top: 1.25rem;
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: hsl(var(--text-muted));
}

.summary-total-row.discount-row span:last-child {
    color: #10b981;
    font-weight: 600;
}

.summary-total-row.final-total-row {
    border-top: 1px dashed hsl(var(--border-color));
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    color: hsl(var(--text-main));
}

.summary-total-row.final-total-row strong:first-child {
    font-size: 1.05rem;
    font-weight: 700;
}

.summary-total-row.final-total-row strong:last-child {
    font-size: 1.8rem;
    font-weight: 800;
    color: hsl(var(--secondary));
    font-family: var(--font-heading);
}

/* Toast/Alert Toast Notification styling */
.toast {
    position: fixed;
    bottom: 30px;
    right: -400px;
    background: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--secondary));
    border-left: 5px solid hsl(var(--secondary));
    padding: 1.25rem 2rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.show {
    right: 30px;
}

.toast i {
    font-size: 1.5rem;
    color: hsl(var(--secondary));
}

.toast-content h4 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.toast-content p {
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
}

/* ==========================================================================
   PARTNER PAGE & COMPARATIVE TABLES
   ========================================================================== */

.partner-card {
    background: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin-bottom: 4rem;
}

.partner-intro {
    max-width: 800px;
    margin-bottom: 3rem;
}

.partner-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.partner-intro p {
    font-size: 1.05rem;
    color: hsl(var(--text-muted));
}

/* Commission structures table */
.pricing-table-container {
    overflow-x: auto;
    border-radius: var(--border-radius-md);
    border: 1px solid hsl(var(--border-color));
    margin: 2.5rem 0;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: hsl(var(--bg-surface));
}

.table-custom th {
    background-color: hsl(var(--bg-base));
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid hsl(var(--border-color));
    color: hsl(var(--text-main));
}

.table-custom td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid hsl(var(--border-color));
    font-size: 0.95rem;
    color: hsl(var(--text-muted));
}

.table-custom tr:hover td {
    background-color: hsl(var(--bg-surface-hover) / 0.5);
    color: hsl(var(--text-main));
}

.table-custom tr:last-child td {
    border-bottom: none;
}

.highlight-td {
    color: hsl(var(--secondary)) !important;
    font-weight: 600;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--text-main));
}

.form-control {
    width: 100%;
    background-color: hsl(var(--bg-base));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-sm);
    padding: 0.85rem 1.25rem;
    color: hsl(var(--text-main));
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 10px hsl(var(--primary) / 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   ABOUT PAGE & TEAM CARDS
   ========================================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: hsl(var(--primary) / 0.4);
    box-shadow: var(--shadow-md);
}

.team-img-placeholder {
    height: 240px;
    background: radial-gradient(circle at center, hsl(var(--primary) / 0.15) 0%, hsl(var(--bg-base)) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: hsl(var(--primary) / 0.4);
    border-bottom: 1px solid hsl(var(--border-color));
    transition: var(--transition-normal);
    position: relative;
}

.team-card:hover .team-img-placeholder {
    color: hsl(var(--secondary));
    background: radial-gradient(circle at center, hsl(var(--primary) / 0.25) 0%, hsl(var(--bg-surface-hover)) 100%);
}

.team-card:hover .team-img-placeholder i {
    transform: scale(1.1);
}

.team-img-placeholder i {
    transition: var(--transition-normal);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-normal);
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--secondary));
    margin-bottom: 1rem;
}

.team-quote {
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
    font-style: italic;
    line-height: 1.5;
}

/* ==========================================================================
   CONTACT PAGE & OFFICE CARDS
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.office-card {
    background: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition-normal);
}

.office-card:hover {
    border-color: hsl(var(--secondary) / 0.4);
    transform: translateX(4px);
}

.office-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: hsl(var(--secondary) / 0.1);
    color: hsl(var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.office-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.office-info p {
    font-size: 0.9rem;
    color: hsl(var(--text-muted));
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.office-phone {
    font-size: 0.9rem;
    font-weight: 600;
    color: hsl(var(--text-main));
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.office-phone i {
    color: hsl(var(--secondary));
}

.working-hours {
    background: hsl(var(--bg-surface) / 0.5);
    border: 1px dashed hsl(var(--border-color));
    border-radius: var(--border-radius-sm);
    padding: 1.25rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.working-hours i {
    font-size: 1.5rem;
    color: hsl(var(--primary));
}

.working-hours span {
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
}

.working-hours strong {
    color: hsl(var(--text-main));
    display: block;
}

/* ==========================================================================
   FOOTER STYLING
   ========================================================================== */

.app-footer {
    /* Override variables locally for a dark footer */
    --bg-base: 224 25% 6%;
    --bg-surface: 224 24% 10%;
    --text-main: 220 20% 96%;
    --text-muted: 220 12% 70%;
    --border-color: 224 20% 18%;

    background-color: hsl(var(--bg-surface));
    border-top: 1px solid hsl(var(--border-color));
    padding: 5rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    position: relative;
    width: fit-content;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: hsl(var(--primary));
}

.brand-col .footer-desc {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: hsl(var(--bg-base));
    border: 1px solid hsl(var(--border-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
}

.social-link:hover {
    background-color: hsl(var(--primary));
    color: #ffffff;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 10px hsl(var(--primary) / 0.4);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i {
    font-size: 0.65rem;
    transition: transform var(--transition-fast);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a:hover i {
    transform: translateX(3px);
    color: hsl(var(--secondary));
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: hsl(var(--text-muted));
}

.footer-contact-info li i {
    color: hsl(var(--secondary));
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.footer-contact-info li span {
    display: block;
}

.footer-bottom {
    border-top: 1px solid hsl(var(--border-color));
    padding: 2rem 0;
    background-color: hsl(var(--bg-base));
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes barGrow {
    from { height: 0; }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-grid { gap: 2rem; }
    .estimator-layout { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
    .footer-col.contact-col { grid-column: span 3; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Mobile Header/Menu */
    .mobile-toggle { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: hsl(var(--bg-base));
        border-top: 1px solid hsl(var(--border-color));
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
        width: 100%;
    }
    
    .nav-btn-call {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    /* Toggle Active State */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Grid Adaptations */
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-tagline { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-visual { margin-top: 2rem; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    
    .showcase-layout { grid-template-columns: 1fr; gap: 2rem; }
    .showcase-display { padding: 2rem; }
    .features-list-grid { grid-template-columns: 1fr; }
    
    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col.contact-col { grid-column: span 1; }
    
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    
    .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 3rem auto 0 auto; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.25rem; }
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr; }
    .estimator-options { grid-template-columns: 1fr; }
    .footer-bottom-flex { flex-direction: column; text-align: center; gap: 1.5rem; }
}

/* ==========================================================================
   FLOATING ACTION BUTTON (FAB) & INQUIRY POPUP MODAL
   ========================================================================== */

.inquiry-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px hsl(var(--primary) / 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.inquiry-fab:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 25px hsl(var(--primary) / 0.5);
}

.inquiry-fab:active {
    transform: scale(0.95);
}

.fab-tooltip {
    position: absolute;
    right: 75px;
    background: hsl(var(--bg-surface));
    color: hsl(var(--text-main));
    border: 1px solid hsl(var(--border-color));
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.inquiry-fab:hover .fab-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Modal Overlay styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    padding: 1.5rem;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Card styling */
.modal-card {
    background: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-header {
    background: hsl(var(--bg-base) / 0.5);
    border-bottom: 1px solid hsl(var(--border-color));
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: hsl(var(--text-main));
}

.modal-header h3 i {
    color: hsl(var(--secondary));
}

.modal-close {
    background: transparent;
    border: none;
    color: hsl(var(--text-muted));
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: hsl(var(--text-main));
    transform: scale(1.1);
}

.modal-form {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
    flex-grow: 1;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 576px) {
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-overlay {
        padding: 1rem;
    }
    
    .modal-card {
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 1rem 1.25rem;
    }
    
    .modal-form {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .inquiry-fab {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
}

/* ==========================================================================
   PROMOTION SCROLLING MARQUEE
   ========================================================================== */

.promo-marquee-container {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, hsl(var(--primary) / 0.06), hsl(var(--secondary) / 0.06));
    border-bottom: 1px solid hsl(var(--border-color));
    border-top: 1px solid hsl(var(--border-color));
    padding: 0.65rem 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.promo-marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-scroll 45s linear infinite;
}

.promo-marquee-content span {
    font-size: 0.85rem;
    font-weight: 600;
    color: hsl(var(--text-main));
    margin-right: 2.5rem;
    display: inline-block;
    letter-spacing: 0.02em;
}

.promo-marquee-content span:nth-child(4n+1) {
    color: hsl(var(--primary));
}

.promo-marquee-content span:nth-child(4n+3) {
    color: hsl(var(--secondary));
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* ==========================================================================
   CLIENT REVIEWS & TESTIMONIALS SECTION
   ========================================================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    background: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--border-color));
    border-radius: var(--border-radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: hsl(var(--primary) / 0.4);
    box-shadow: var(--shadow-md);
}

.review-stars {
    color: #ffb703;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    display: flex;
    gap: 0.25rem;
}

.review-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: hsl(var(--text-main));
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: hsl(var(--text-muted));
    margin-bottom: 1.75rem;
    flex-grow: 1;
    font-style: italic;
}

.review-client {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid hsl(var(--border-color));
    padding-top: 1.25rem;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.client-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: hsl(var(--text-main));
}

.client-role {
    display: block;
    font-size: 0.8rem;
    color: hsl(var(--text-muted));
    margin-top: 0.15rem;
}

/* ==========================================================================
   SYSTEM PREVIEW LIGHTBOX OVERLAY STYLING
   ========================================================================== */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 100001;
}

.lightbox-close:hover {
    color: hsl(var(--secondary));
}

.lightbox-content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    position: relative;
}

.lightbox-slide {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.lightbox-slide img {
    max-width: 100%;
    max-height: 85%;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.2s ease-in-out;
}

.lightbox-caption {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    text-align: center;
}

.lightbox-prev, .lightbox-next {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition-fast);
    z-index: 100000;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: hsl(var(--secondary));
    transform: scale(1.15);
}

/* Gallery Thumbnails List styling */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 0.75rem;
}

.gallery-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid hsl(var(--border-color));
    cursor: pointer;
    background: hsl(var(--bg-base));
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    color: #ffffff;
    font-size: 1.5rem;
}

.gallery-thumb:hover img {
    transform: scale(1.08);
}

.gallery-thumb:hover .gallery-thumb-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
    .lightbox-prev, .lightbox-next {
        font-size: 2rem;
        padding: 0.5rem;
    }
    .lightbox-close {
        top: 1rem;
        right: 2rem;
        font-size: 2.5rem;
    }
}
