/* =========================================
   WORLD TEACHERS - MODERN PREMIUM DESIGN 2026
   Aesthetic: Clean, Sophisticated, Immersive Dark Mode
   ========================================= */

/* Modern CSS Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core Dark Theme */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-elevated: #1a1a24;
    --bg-card: rgba(26, 26, 36, 0.7);

    /* Surface Colors */
    --surface-glass: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --surface-active: rgba(255, 255, 255, 0.08);

    /* Accent Colors - Vibrant Coral/Orange */
    --accent-primary: #ff6b35;
    --accent-secondary: #ff8f5a;
    --accent-glow: rgba(255, 107, 53, 0.4);

    /* Complementary Accents */
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-teal: #14b8a6;
    --accent-pink: #ec4899;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.45);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 107, 53, 0.3);

    /* Premium Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a1025 50%, #0f1419 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8f5a 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.15) 0%, transparent 70%);

    /* Typography - Modern Geometric Fonts */
    --font-display: 'Space Grotesk', 'Outfit', 'Sora', sans-serif;
    --font-body: 'DM Sans', 'Plus Jakarta Sans', 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.2);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animated Background Mesh */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(168, 85, 247, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 60% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.3;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Text Logo Styling */
.logo-text {
    display: flex;
    align-items: baseline;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: all var(--duration-normal) var(--ease-smooth);
}

.logo-next {
    color: var(--text-primary);
}

.logo-gen {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-educ {
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 2px;
}

.logo-text:hover {
    transform: scale(1.02);
}

.logo-text:hover .logo-next {
    color: var(--accent-secondary);
}

.logo-text:hover .logo-educ {
    color: var(--text-secondary);
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 0;
    list-style: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    letter-spacing: 0.02em;
}

.nav-item:hover {
    color: var(--text-primary);
    background: var(--surface-hover);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: var(--radius-full);
    transition: transform var(--duration-normal) var(--ease-smooth);
}

.nav-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-smooth);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-lg);
    background: var(--gradient-hero);
    overflow: hidden;
}

/* Animated Background Elements */
.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatBlob 20s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(10px, -10px) scale(1.02);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-secondary) 50%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== SECTIONS BASE ========== */
.blog-carousel-section,
.jobs-section,
.materials-section {
    position: relative;
    padding: var(--space-3xl) var(--space-lg);
    background: var(--bg-primary);
    overflow: hidden;
}

/* Section Backgrounds */
.blog-carousel-section::before,
.jobs-section::before,
.materials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.jobs-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.materials-section {
    background: var(--bg-secondary);
}

.section-container {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
    font-weight: 400;
}

/* Section Header Row */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.section-header-row .section-title,
.section-header-row .section-subtitle {
    text-align: left;
    margin-bottom: var(--space-xs);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    color: white;
    transform: translateX(5px);
}

/* Blog Preview Grid */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Blog Preview Card - Innovative Style */
.blog-preview-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-subtle);
}

.blog-preview-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 107, 53, 0.3);
}

.preview-card-gradient {
    position: absolute;
    inset: 0;
    opacity: 0.9;
    z-index: 1;
}

.preview-card-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    z-index: 2;
    transition: all 0.4s ease;
}

.blog-preview-card:hover .preview-card-number {
    transform: translate(-50%, -50%) scale(1.1);
    color: rgba(255, 255, 255, 0.2);
}

.preview-card-content {
    position: relative;
    z-index: 3;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

.preview-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.preview-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.preview-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

.preview-read-more {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.3s ease;
    display: inline-block;
}

.blog-preview-card:hover .preview-read-more {
    transform: translateX(5px);
}

/* Responsive Blog Preview */
@media (max-width: 1024px) {
    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-preview-card:last-child {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }

    .blog-preview-card:last-child {
        display: flex;
    }

    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Material Card Styles for Index Page */
.material-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.material-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.material-visual {
    height: 160px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.material-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.material-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.material-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-secondary);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.material-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: white;
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.material-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.material-price {
    font-weight: 700;
    color: var(--accent-primary);
}

.material-downloads {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.download-btn {
    margin-top: var(--space-md);
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: white;
    color: black;
}

/* ========== CAROUSEL ========== */
.carousel-container {
    position: relative;
    padding: 0 70px;
    margin: var(--space-xl) 0;
}

.carousel {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    padding: var(--space-md);
}

.carousel-track {
    display: flex;
    gap: var(--space-lg);
    transition: transform var(--duration-slow) var(--ease-smooth);
}

/* ========== CARD STYLES ========== */
.blog-card,
.job-card,
.material-card {
    flex: 0 0 calc(33.333% - var(--space-lg));
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all var(--duration-normal) var(--ease-smooth);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.blog-card:hover,
.job-card:hover,
.material-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Card Images */
.blog-card-image,
.job-card-image,
.material-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-image {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
}

.job-card-image {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
}

.material-card-image {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.3;
}

/* Card Content */
.blog-card-content,
.job-card-content,
.material-card-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Category Tags */
.blog-category,
.job-category,
.material-category {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    width: fit-content;
}

.blog-category {
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent-secondary);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.job-category {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.material-category {
    background: rgba(20, 184, 166, 0.15);
    color: var(--accent-teal);
    border: 1px solid rgba(20, 184, 166, 0.2);
}

/* Card Titles */
.blog-title,
.job-title,
.material-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.4;
    transition: color var(--duration-normal) var(--ease-smooth);
}

.blog-card:hover .blog-title,
.job-card:hover .job-title,
.material-card:hover .material-title {
    color: var(--accent-secondary);
}

/* Card Excerpts */
.blog-excerpt,
.job-excerpt,
.material-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: auto;
    line-height: 1.6;
}

/* Card Meta */
.blog-meta,
.job-meta,
.material-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-subtle);
    margin-top: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-date,
.job-location,
.material-type {
    font-weight: 500;
}

.blog-author,
.job-type,
.material-level {
    font-weight: 600;
    color: var(--text-secondary);
}

/* ========== CAROUSEL CONTROLS ========== */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--duration-normal) var(--ease-smooth);
    z-index: 10;
}

.carousel-button:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-50%) scale(1.05);
}

.carousel-button svg {
    width: 24px;
    height: 24px;
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--space-lg);
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--surface-hover);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-smooth);
}

.indicator:hover {
    background: var(--surface-active);
    transform: scale(1.2);
}

.indicator.active {
    width: 32px;
    background: var(--gradient-accent);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-secondary);
    padding: var(--space-3xl) var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.4;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border-subtle);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.footer-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.footer-company {
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-smooth);
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--duration-normal) var(--ease-smooth);
    word-break: break-all;
}

.footer-contact a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: var(--space-xs) 0;
}

.footer-bottom p strong {
    color: var(--accent-primary);
    font-weight: 600;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {

    .blog-card,
    .job-card,
    .material-card {
        flex: 0 0 calc(50% - var(--space-md));
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-subtle);
        padding: var(--space-sm);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        padding: var(--space-sm) var(--space-md);
        border-radius: var(--radius-md);
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 50vh;
        padding: var(--space-2xl) var(--space-md);
    }

    .blog-card,
    .job-card,
    .material-card {
        flex: 0 0 100%;
    }

    .carousel-container {
        padding: 0 50px;
    }

    .carousel-button {
        width: 44px;
        height: 44px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .section-container {
        padding: 0 var(--space-sm);
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: var(--space-sm);
    }

    .logo-img {
        height: 50px;
    }

    .hero {
        min-height: 45vh;
        padding: var(--space-xl) var(--space-sm);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .blog-carousel-section,
    .jobs-section,
    .materials-section {
        padding: var(--space-2xl) var(--space-sm);
    }

    .section-title {
        font-size: 1.75rem;
    }

    .carousel-container {
        padding: 0 40px;
    }

    .carousel {
        padding: var(--space-sm);
        border-radius: var(--radius-md);
    }

    .carousel-button {
        width: 36px;
        height: 36px;
    }

    .carousel-button svg {
        width: 18px;
        height: 18px;
    }

    .blog-card-content,
    .job-card-content,
    .material-card-content {
        padding: var(--space-sm);
    }

    .footer {
        padding: var(--space-2xl) var(--space-sm) var(--space-lg);
    }
}

/* ========== UTILITY ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s var(--ease-smooth) forwards;
}

/* Focus States for Accessibility */
.nav-item:focus-visible,
.carousel-button:focus-visible,
.footer-links a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}

/* Selection Color */
::selection {
    background: rgba(255, 107, 53, 0.3);
    color: var(--text-primary);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-active);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ========== LANGUAGE SELECTOR & I18N ========== */
.lang-item {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.lang-selector {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 8px 12px 8px 12px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Custom Arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

.lang-selector:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
}

.lang-selector option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 10px;
}

/* RTL Support */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .nav-links {
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .lang-item {
    margin-left: 0;
    margin-right: 20px;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .view-all-btn {
    text-align: left;
}

html[dir="rtl"] .section-header-row {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-menu {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .lang-selector {
    background-position: left 10px center;
    padding-right: 12px;
    padding-left: 35px;
}

@media (max-width: 768px) {
    .lang-item {
        margin: 10px 0;
        width: 100%;
        justify-content: center;
    }

    .lang-selector {
        width: 100%;
        max-width: 200px;
        text-align: center;
        background-position: calc(100% - 20px) center;
    }

    html[dir="rtl"] .lang-selector {
        background-position: 20px center;
    }
}