/* ============================================
   ROKWIL - MINIMALISTIC PROFESSIONAL THEME
   Brand Colors: #2d2d2d (charcoal), #1e3a5f (dark blue)
   ============================================ */

:root {
    /* Brand Colors */
    --primary-color: #2d2d2d;
    --secondary-color: #1e3a5f;
    --accent-color: #2c4a6b;
    
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #2d2d2d;
    --text-secondary: #6b7280;
    --text-light: #ffffff;
    --border-color: #e5e7eb;
    
    /* Shadows - Minimal */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.12);
    
    /* Gradients - Minimal */
    --gradient-1: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --gradient-2: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f26;
    --text-primary: #f5f5f5;
    --text-secondary: #9ca3af;
    --border-color: #2d3748;
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color var(--transition-base), color var(--transition-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

h1 {
    letter-spacing: -0.03em;
    font-weight: 700;
}

h2 {
    letter-spacing: -0.025em;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

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

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   NAVIGATION - Minimal & Clean
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: all var(--transition-base);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

body.dark-mode .navbar {
    background: rgba(15, 20, 25, 0.95);
}

.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: calc(var(--spacing-xs) + 0.25rem) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
    line-height: 1.2;
    transition: color var(--transition-base);
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   DARK MODE TOGGLE - Minimal Professional Design
   ============================================ */

.dark-mode-toggle {
    width: 52px;
    height: 28px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    padding: 2px;
    position: relative;
    transition: all var(--transition-base);
    margin-right: var(--spacing-sm);
    display: flex;
    align-items: center;
}

.dark-mode-toggle:hover {
    background: var(--text-secondary);
    border-color: var(--text-secondary);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

.toggle-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.toggle-icon .sun,
.toggle-icon .moon {
    position: absolute;
    font-size: 14px;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    z-index: 1;
}

.toggle-icon .sun i,
.toggle-icon .moon i {
    display: block;
    line-height: 1;
}

.toggle-icon .sun {
    left: 3px;
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: var(--text-primary);
    background: var(--bg-primary);
}

.toggle-icon .moon {
    right: 3px;
    opacity: 0;
    transform: scale(0) rotate(-90deg);
}

body.dark-mode .dark-mode-toggle {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

body.dark-mode .dark-mode-toggle:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

body.dark-mode .toggle-icon .sun {
    opacity: 0;
    transform: scale(0) rotate(90deg);
    color: var(--text-primary);
}

body.dark-mode .toggle-icon .moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #ffffff;
    background: var(--bg-primary);
}

body.dark-mode .toggle-icon .moon i {
    color: #ffffff;
}

/* ============================================
   HERO SECTION - Clean & Minimal
   ============================================ */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(45, 45, 45, 0.7) 0%, rgba(30, 58, 95, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    letter-spacing: 0.01em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0); 
    }
    50% { 
        opacity: 0.3; 
        transform: translateX(-50%) translateY(12px); 
    }
}

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

/* ============================================
   BUTTONS - Minimal & Professional
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn i {
    position: relative;
    z-index: 1;
    transition: transform var(--transition-base);
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover i {
    transform: translateX(4px);
}

/* ============================================
   SECTIONS - Clean Spacing
   ============================================ */

section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    background: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.15);
    transform: translateY(-6px);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--secondary-color);
    transition: height var(--transition-base);
    border-radius: 8px 0 0 8px;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    flex-grow: 1;
}

/* ============================================
   SHOWCASE SECTION
   ============================================ */

.showcase {
    background: var(--bg-primary);
    padding: var(--spacing-xl) 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.showcase-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.showcase-item:hover {
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.2);
    transform: translateY(-6px);
    border-color: var(--secondary-color);
}

.showcase-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform var(--transition-base);
}

.showcase-item:hover .showcase-image {
    transform: scale(1.05);
}

.showcase-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: opacity var(--transition-base);
}

.showcase-item:hover .showcase-image::before {
    opacity: 0.8;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-xl);
    color: var(--text-light);
    z-index: 1;
}

.showcase-overlay h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-weight: 600;
}

.showcase-overlay p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

/* ============================================
   PAGE HERO (About, Projects, Contact)
   ============================================ */

.page-hero {
    padding: 180px 0 var(--spacing-xl);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    text-align: center;
    position: relative;
}

.page-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.page-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-content {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
}

.values-section {
    margin-top: var(--spacing-xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-card {
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
}

.value-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.value-icon i {
    display: inline-block;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   PROJECTS PAGE
   ============================================ */

.projects-content {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.project-card {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-xl);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.15);
    transform: translateY(-4px);
    border-color: var(--secondary-color);
}

.project-card.featured {
    border-color: var(--secondary-color);
    border-width: 2px;
}

.project-image {
    width: 100%;
    min-height: 500px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-secondary);
    position: relative;
}

/* Ensure single images show fully without being cut off - allow flexible height */
.project-image:not(.project-slideshow) {
    /* Increase min-height to accommodate taller images and add padding */
    min-height: 600px;
    height: auto;
    padding: 2rem 0;
    /* Ensure background shows complete image without cropping */
    background-size: contain;
}

/* For images that should fill the space */
.project-image.fill-image {
    background-size: cover;
    background-color: transparent;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Project Slideshow (Generic for all projects with multiple images) */
.project-slideshow {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 500px;
    overflow: hidden;
}

.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
    /* Image quality improvements for photos */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: opacity;
    /* Better image scaling */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.project-slide.active {
    opacity: 1 !important;
    z-index: 2;
}

.project-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 100;
    opacity: 1 !important;
    pointer-events: none;
}

.project-details {
    padding: var(--spacing-lg);
}

.project-details h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.meta-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-details p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.feature-tag {
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.tenant-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.tenant-list li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    line-height: 1.7;
}

.tenant-list li:last-child {
    border-bottom: none;
}

.tenant-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Project Section Headings */
.project-section-heading {
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.project-section-heading i {
    color: var(--secondary-color);
}

/* Project Info Box */
.project-info-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

.project-info-box p {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-info-box p:last-child {
    margin-bottom: 0;
}

.project-info-box p i {
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* Button with icon inline flex */
.btn-icon-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Project progress paragraph spacing */
.project-progress {
    margin-top: 1.5rem;
}

/* Footer link styling */
.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-content {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
}

.contact-form-container h2,
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

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

.form-message {
    padding: var(--spacing-sm);
    border-radius: 6px;
    display: none;
    margin-top: var(--spacing-sm);
    font-size: 0.95rem;
    line-height: 1.6;
    animation: fadeIn 0.3s ease-out;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    height: fit-content;
}

.info-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.info-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FOOTER - Minimal
   ============================================ */

.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--spacing-xs);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    display: inline-block;
    position: relative;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-light);
    transition: width var(--transition-base);
}

.footer-section ul li a:hover {
    color: var(--text-light);
    transform: translateX(4px);
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-center {
    text-align: center;
}

.me-1 {
    margin-right: 0.25rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.fs-3 {
    font-size: 1.5rem;
}

/* ============================================
   VIDEO STYLES
   ============================================ */

video {
    width: 100%;
    height: auto;
    display: block;
    background: var(--bg-secondary);
    border-radius: 8px;
}

video:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   DARK MODE STYLES
   ============================================ */

body.dark-mode {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body.dark-mode .navbar {
    background: var(--bg-primary);
    border-bottom-color: var(--border-color);
}

body.dark-mode .nav-link {
    color: var(--text-primary);
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
    color: var(--secondary-color);
}

body.dark-mode .logo-text {
    color: var(--text-primary);
}

body.dark-mode .logo-subtitle {
    color: var(--text-secondary);
}

body.dark-mode .hero-overlay {
    background: linear-gradient(180deg, rgba(15, 20, 25, 0.8) 0%, rgba(30, 58, 95, 0.85) 100%);
}

body.dark-mode .feature-card,
body.dark-mode .value-card,
body.dark-mode .project-card,
body.dark-mode .showcase-item,
body.dark-mode .timeline-card,
body.dark-mode .leadership-card,
body.dark-mode .recognition-card {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.dark-mode .feature-card::before {
    background: var(--secondary-color);
}

body.dark-mode .feature-icon {
    background: var(--bg-primary);
    border-color: var(--border-color);
}

body.dark-mode .feature-card:hover .feature-icon {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

body.dark-mode .timeline-card h3,
body.dark-mode .leadership-card h3,
body.dark-mode .recognition-card h3 {
    color: var(--text-primary);
}

body.dark-mode .timeline-card p,
body.dark-mode .leadership-card p,
body.dark-mode .recognition-card p {
    color: var(--text-secondary);
}

body.dark-mode .feature-card:hover,
body.dark-mode .value-card:hover,
body.dark-mode .project-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

body.dark-mode .section-title,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: var(--text-primary);
}

body.dark-mode .section-subtitle,
body.dark-mode p {
    color: var(--text-secondary);
}

body.dark-mode strong {
    color: var(--text-primary);
}

body.dark-mode .about-text h2,
body.dark-mode .about-text h3,
body.dark-mode .about-text h4 {
    color: var(--text-primary);
}

body.dark-mode .about-text p {
    color: var(--text-secondary);
}

body.dark-mode .page-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

body.dark-mode .btn-primary {
    background: var(--secondary-color);
    color: var(--text-light);
}

body.dark-mode .btn-primary:hover {
    background: var(--accent-color);
}

body.dark-mode .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

body.dark-mode .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .footer {
    background: var(--primary-color);
    border-top-color: var(--border-color);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.2);
}

body.dark-mode .contact-info {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

body.dark-mode .stats-banner {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

body.dark-mode .stats-banner-item {
    background: var(--bg-primary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.dark-mode .stats-banner .stat-number {
    color: var(--secondary-color);
}

body.dark-mode .stats-banner .stat-label {
    color: var(--text-secondary);
}

body.dark-mode .project-badge {
    background: var(--secondary-color);
}

body.dark-mode .feature-tag {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body.dark-mode .meta-item {
    color: var(--text-secondary);
}

body.dark-mode .tenant-list li {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

body.dark-mode .tenant-list li strong {
    color: var(--text-primary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        padding: var(--spacing-lg) 0;
        border-top: 1px solid var(--border-color);
        transition: left var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .dark-mode-toggle {
        margin-right: 0;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .dark-mode-toggle {
        width: 44px;
        height: 22px;
    }

    .toggle-icon .sun,
    .toggle-icon .moon {
        font-size: 12px;
    }

    /* Reduce spacing on mobile */
    section {
        padding: var(--spacing-md) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-md);
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-xs);
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Better text wrapping */
    p {
        line-height: 1.7 !important;
        word-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    /* Fix inline font sizes on mobile */
    p[style*="font-size: 1.15rem"] {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    h2[style*="font-size: 2.8rem"] {
        font-size: 1.75rem !important;
    }

    h3[style*="font-size: 1.4rem"] {
        font-size: 1.2rem !important;
    }

    /* About text section mobile */
    .about-text p[style*="font-size: 1.15rem"] {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        margin-bottom: var(--spacing-md) !important;
    }

    /* Timeline adjustments for mobile */
    .timeline-item {
        flex-direction: column !important;
        gap: var(--spacing-sm) !important;
        margin-bottom: var(--spacing-md) !important;
    }

    .timeline-card {
        padding: var(--spacing-md) !important;
        margin-left: 0 !important;
        border-left: 3px solid var(--secondary-color) !important;
        flex: 1 1 100% !important;
    }

    /* Hide timeline vertical line on mobile */
    div[style*="position: absolute"][style*="left: 30px"] {
        display: none !important;
    }

    /* Timeline container adjustments */
    div[style*="max-width: 900px"][style*="position: relative"] {
        margin: var(--spacing-md) auto !important;
        padding: 0 var(--spacing-sm) !important;
    }

    /* Reduce large section margins on mobile */
    div[style*="margin-top: 100px"] {
        margin-top: var(--spacing-lg) !important;
        margin-bottom: var(--spacing-lg) !important;
    }

    /* About content section mobile */
    .about-content {
        padding: var(--spacing-md) 0 !important;
    }

    /* Timeline number circles */
    .timeline-item > div[style*="width: 60px"] {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
        align-self: flex-start !important;
    }

    /* Leadership card mobile */
    .leadership-card {
        padding: var(--spacing-md) !important;
    }

    .leadership-card p[style*="font-size: 1.1rem"] {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    /* Mission box mobile */
    div[style*="margin-top: 2rem"][style*="padding: 2rem"] {
        margin-top: var(--spacing-md) !important;
        padding: var(--spacing-md) !important;
    }

    div[style*="font-size: 1.5rem"][style*="Our Mission"] {
        font-size: 1.25rem !important;
    }

    p[style*="font-size: 1.1rem"][style*="font-style: italic"] {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    /* About grid mobile spacing */
    .about-grid {
        gap: var(--spacing-md);
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Project cards mobile */
    .project-card {
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }

    .project-details {
        padding: var(--spacing-md);
    }

    /* Contact form mobile */
    .contact-grid {
        gap: var(--spacing-md);
    }

    .contact-form-container,
    .contact-info {
        padding: var(--spacing-md);
    }

    /* Stats banner mobile */
    .stats-banner {
        padding: var(--spacing-md) var(--spacing-sm);
        gap: var(--spacing-sm);
    }

    /* Feature cards mobile */
    .feature-card {
        padding: var(--spacing-md);
    }

    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .testimonial-card {
        padding: var(--spacing-md);
    }

    /* News grid mobile */
    .news-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ============================================
   ADDITIONAL COMPONENTS
   ============================================ */

.timeline-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-card,
.leadership-card,
.recognition-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
}

.timeline-card {
    border-left: 3px solid var(--secondary-color);
}

.timeline-card:hover,
.leadership-card:hover,
.recognition-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.leadership-card {
    text-align: center;
}

.recognition-card {
    text-align: center;
    border-top: 3px solid var(--secondary-color);
}

.stats-banner {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.stats-banner-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.stats-banner-item:hover {
    border-color: var(--secondary-color);
}

.stats-banner .stat-item {
    padding: 0;
}

.stats-banner .stat-number {
    font-size: 3rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
    line-height: 1.2;
}

.stats-banner .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.csr-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
}

body.dark-mode .csr-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Testimonials & News Sections */
.testimonials,
.news-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.testimonials-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

@media (min-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xl);
    }
    
    .testimonial-card {
        min-width: 380px;
    }
}

.testimonial-card,
.news-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.news-card {
    padding: var(--spacing-lg);
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.15);
    transform: translateY(-4px);
    border-left-width: 5px;
    border-color: var(--secondary-color);
}

.news-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.15);
    transform: translateY(-4px);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: var(--spacing-lg) var(--spacing-md);
    border-left: 4px solid var(--secondary-color);
    background: var(--bg-primary);
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
    line-height: 1;
    font-weight: 400;
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    flex-grow: 1;
    font-weight: 400;
    position: relative;
    word-wrap: normal;
    word-break: normal;
    white-space: normal;
    overflow-wrap: normal;
    hyphens: none;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: auto;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.testimonial-card:hover .testimonial-avatar {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    letter-spacing: 0.3px;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.news-date {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.news-category {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.news-content h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.news-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.news-link {
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    margin-top: var(--spacing-sm);
}

.news-link:hover {
    gap: 1rem;
    color: var(--accent-color);
}

.news-link i {
    transition: transform var(--transition-base);
}

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

/* Stats Section */
.stats {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dark Mode for Additional Components */
body.dark-mode .testimonial-card,
body.dark-mode .news-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

body.dark-mode .testimonial-card:hover,
body.dark-mode .news-card:hover {
    border-color: var(--secondary-color);
}

body.dark-mode .testimonial-card {
    background: var(--bg-secondary);
    border-left-color: var(--secondary-color);
}

body.dark-mode .testimonial-rating {
    color: #fbbf24;
}

body.dark-mode .testimonial-quote {
    color: var(--text-primary);
}

body.dark-mode .testimonial-info h4 {
    color: var(--text-primary);
}

body.dark-mode .testimonial-info p {
    color: var(--text-secondary);
}

body.dark-mode .news-date {
    background: var(--secondary-color);
}

body.dark-mode .news-category,
body.dark-mode .news-link {
    color: var(--secondary-color);
}

body.dark-mode .stats {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* ============================================
   WIP DISCLAIMER MODAL
   ============================================ */

.wip-disclaimer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wip-disclaimer-overlay.show {
    opacity: 1;
    visibility: visible;
}

.wip-disclaimer-modal {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: var(--spacing-lg);
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--secondary-color);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.wip-disclaimer-overlay.show .wip-disclaimer-modal {
    transform: scale(1);
}

.wip-disclaimer-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.wip-disclaimer-header h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
}

.wip-disclaimer-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.wip-disclaimer-icon i {
    display: inline-block;
}

.wip-disclaimer-content {
    margin-bottom: var(--spacing-md);
}

.wip-disclaimer-content p {
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
}

.wip-disclaimer-content ul {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-sm) 0;
}

.wip-disclaimer-content li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-primary);
    line-height: 1.6;
}

.wip-disclaimer-content li:before {
    font-family: "bootstrap-icons";
    content: "\F33E"; /* bi-exclamation-triangle Unicode */
    position: absolute;
    left: 0;
    font-size: 1rem;
    color: var(--secondary-color);
}

.wip-disclaimer-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
}

.wip-disclaimer-btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
}

.wip-disclaimer-btn-accept {
    background: var(--secondary-color);
    color: var(--text-light);
}

.wip-disclaimer-btn-accept:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

body.dark-mode .wip-disclaimer-modal {
    background: var(--bg-primary);
    border-color: var(--secondary-color);
}

body.dark-mode .wip-disclaimer-content p,
body.dark-mode .wip-disclaimer-content li {
    color: var(--text-primary);
}

/* ============================================
   COOKIE CONSENT MODAL
   ============================================ */

.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 20, 25, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cookie-consent-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-modal {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: var(--spacing-lg);
    max-width: 600px;
    width: 100%;
    max-height: calc(100vh - 2rem);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    opacity: 0;
    display: flex;
    flex-direction: column;
    margin: auto;
}

.cookie-consent-overlay.show .cookie-consent-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.cookie-consent-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    flex-shrink: 0;
}

.cookie-consent-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.cookie-consent-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.cookie-consent-icon i {
    display: inline-block;
}

.cookie-consent-content {
    margin-bottom: var(--spacing-md);
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.cookie-consent-content p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.cookie-consent-content p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.cookie-consent-content ul {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-sm) 0;
}

.cookie-consent-content li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.cookie-consent-content li:before {
    font-family: "bootstrap-icons";
    content: "\F4A5"; /* bi-info-circle Unicode */
    position: absolute;
    left: 0;
    font-size: 0.875rem;
    color: var(--secondary-color);
    top: 0.5rem;
}

.cookie-consent-content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.cookie-consent-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
    flex-shrink: 0;
}

.cookie-consent-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    overflow: hidden;
    font-family: var(--font-primary);
}

.cookie-consent-btn-accept {
    background: var(--secondary-color);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.cookie-consent-btn-accept::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cookie-consent-btn-accept:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
}

.cookie-consent-btn-accept:hover::before {
    left: 100%;
}

.cookie-consent-btn-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-consent-btn-decline:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

@media (max-width: 768px) {
    .cookie-consent-overlay {
        padding: var(--spacing-sm);
        align-items: flex-start;
        padding-top: var(--spacing-md);
    }
    
    .cookie-consent-modal {
        padding: var(--spacing-md);
        max-width: 100%;
        max-height: calc(100vh - 1rem);
        margin-top: 0;
        margin-bottom: var(--spacing-md);
    }
    
    .cookie-consent-header h2 {
        font-size: 1.5rem;
    }
    
    .cookie-consent-icon {
        font-size: 2.5rem;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-consent-btn {
        width: 100%;
    }
    
    .cookie-consent-content {
        max-height: calc(100vh - 300px);
    }
}
