/* =============================================
   MODERN.CSS - Pathway Global Alliance
   Modern UI Overhaul with 3D Animations
   Colors preserved: #3498db, #2980b9, #1c1c1c, #272727, #000
   ============================================= */

/* ---- CSS Custom Properties ---- */
:root {
    --red-primary: #FF5841;
    --red-accent: #C53678;
    --dark-bg: #ffffff;
    --darker-bg: #f4f6f7;
    --black: #f1f3f5;
    --white: #ffffff;
    --dark-text: #1a1a1a;
    --gray-light: #555555;
    --gray-text: #656565;
    --gray-mid: #9e9e9e;
    --glass-bg: rgba(28, 28, 28, 0.75);
    --glass-border: rgba(0, 0, 0, 0.08);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --shadow-3d: 0 25px 60px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(52, 152, 219, 0.15);
}

/* ---- Global Modern Reset ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.modern-body {
    font-family: 'Inter', 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-light);
    background: var(--dark-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Page Loader ---- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--red-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Modern Glassmorphism Navbar ---- */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 12px 0;
    transition: all 0.4s var(--transition-smooth);
    background: transparent;
}

.modern-navbar.scrolled {
    padding: 6px 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 52px;
    transition: all 0.4s var(--transition-smooth);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) brightness(1.15);
    background: rgba(255, 255, 255, 0.92);
    padding: 5px 8px;
    border-radius: 6px;
}

.modern-navbar.scrolled .nav-logo img {
    height: 44px;
    padding: 4px 6px;
}

/* Nav Contact Button - ensure solid red color */
.nav-menu>li>a.btn-modern {
    background: var(--red-primary) !important;
    color: var(--white) !important;
    border-radius: 8px;
    padding: 10px 24px !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: auto;
    line-height: 1.2;
}

.nav-menu>li>a.btn-modern:hover {
    background: var(--red-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.nav-menu>li>a.btn-modern::after {
    display: none !important;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

/* Only style direct nav links, NOT language dropdown links */
.nav-menu>li>a {
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s var(--transition-smooth);
    display: inline-block;
    white-space: nowrap;
}

.nav-menu>li>a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: all 0.3s var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu>li>a:hover::after,
.nav-menu>li.active>a::after {
    width: 60%;
}

.nav-menu>li>a:hover {
    color: var(--red-primary);
    background: rgba(52, 152, 219, 0.08);
}

.nav-menu>li.active>a {
    color: var(--white);
    background: var(--red-accent);
}

.nav-menu>li.active>a::after {
    display: none;
}

/* Language Switch in Navbar */
.lang-switch {
    display: flex !important;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 0 !important;
}

.lang-switch a {
    display: inline-block;
    padding: 6px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-transform: uppercase;
    background: transparent;
}

.lang-switch a:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
}

.lang-switch a.lang-active {
    color: var(--white) !important;
    background: var(--red-primary);
    border-color: var(--red-primary);
}

.lang-switch a::after {
    display: none !important;
}

/* Language Inline Toggle - simple EN | RU */
.nav-lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
    padding: 0 !important;
}

.nav-lang-switch .lang-link {
    display: inline-block;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-lang-switch .lang-link:hover {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.08);
}

.nav-lang-switch .lang-link.active-lang {
    color: var(--white) !important;
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

/* Remove any inherited ::after pseudo from lang links */
.nav-lang-switch .lang-link::after {
    display: none !important;
}

.nav-lang-switch .lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
    font-size: 14px;
    user-select: none;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--transition-smooth);
}

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

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

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

/* ---- Hero Section ---- */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black);
}

/* On mobile, reduce hero height so landscape images show more scene */
@media (max-width: 768px) {
    .modern-hero {
        min-height: 75vh;
    }
}

@media (max-width: 480px) {
    .modern-hero {
        min-height: 65vh;
    }
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.5);
    transition: transform 0.5s ease;
}

/* Ken Burns slow zoom on active slide */
.hero-slide.active img {
    animation: kenBurns 12s ease forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.6) 70%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(52, 152, 219, 0.15);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 30px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--transition-smooth) both;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s var(--transition-smooth) 0.15s both;
}

.hero-title .text-red {
    color: var(--red-primary);
    display: inline-block;
}

.hero-desc {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.55);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 400;
    animation: fadeInUp 0.8s var(--transition-smooth) 0.3s both;
}

.hero-slide-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.hero-slide-indicators .indicator {
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
    padding: 0;
}

.hero-slide-indicators .indicator.active {
    width: 60px;
    background: var(--red-primary);
}

/* Floating geometric shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--red-primary);
    top: -100px;
    right: -100px;
    animation: floatShape 15s ease-in-out infinite;
}

.hero-shape-2 {
    width: 250px;
    height: 250px;
    background: var(--red-accent);
    bottom: -50px;
    left: 10%;
    animation: floatShape 18s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    border: 2px solid var(--red-primary);
    background: transparent;
    top: 30%;
    right: 15%;
    animation: floatShape 12s ease-in-out infinite 3s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(15px, -10px) rotate(270deg);
    }
}

/* ---- Section Base ---- */
.modern-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 30px;
    color: var(--red-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: var(--dark-text);
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 16px;
    color: var(--dark-text);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Why Choose Us - 3D Cards ---- */
.why-choose-section {
    background: var(--red-accent);
    position: relative;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.why-choose-section .section-title {
    color: var(--white);
}

.why-choose-section .section-subtitle {
    color: var(--dark-text);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    perspective: 1200px;
}

.modern-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
    transform-style: preserve-3d;
    position: relative;
    backdrop-filter: blur(10px);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--white), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: var(--shadow-3d);
    border-color: rgba(255, 255, 255, 0.15);
}

.modern-card:hover::before {
    opacity: 0.6;
}

.modern-card .card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.modern-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--transition-smooth);
}

.modern-card:hover .card-image img {
    transform: scale(1.08);
}

.modern-card .card-image .card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-card .card-body {
    padding: 24px;
}

.modern-card .card-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-text);
}

/* ---- Services Section ---- */
.services-section {
    background: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    padding: 40px 30px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.5s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.05), transparent);
    transition: left 0.7s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-8px);
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(52, 152, 219, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
    color: var(--white);
    transition: all 0.5s var(--transition-bounce);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.25);
}

.service-item:hover .service-icon {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.35);
}

.service-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    text-transform: none;
}

.service-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-text);
}

/* ---- Modern Footer ---- */
.modern-footer {
    background: var(--black);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Footer logo (subpage footer) */
.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.7;
    margin-top: 8px;
}

.footer-contact-line {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-contact-line strong {
    color: var(--dark-text);
    font-weight: 600;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
}

.footer-socials a:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.footer-socials a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--red-primary);
    border-radius: 2px;
}

.newsletter-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    margin-bottom: 10px;
}

.newsletter-input:focus {
    border-color: var(--red-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.newsletter-input::placeholder {
    color: var(--gray-mid);
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--red-primary), var(--red-accent));
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-text);
}

.footer-col h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--red-primary);
    border-radius: 2px;
}

.footer-col address,
.footer-col p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.8;
    font-style: normal;
}

.footer-col address strong {
    color: var(--dark-text);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--red-primary);
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: var(--red-primary);
    transform: translateX(6px);
}

.footer-links li a:hover::before {
    width: 100%;
}

.footer-newsletter p {
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--red-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.newsletter-form input::placeholder {
    color: var(--gray-mid);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--red-primary), var(--red-accent));
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom .copyright {
    font-size: 13px;
    color: var(--gray-text);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
}

.social-links a:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    transform: translateY(-4px) rotateZ(5deg);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.social-links a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ---- Scroll to Top ---- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-accent));
    color: var(--white);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--transition-smooth);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.8s var(--transition-smooth);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* ---- CTA Banner ---- */
.cta-section {
    background: var(--darker-bg);
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(52, 152, 219, 0.08) 0%, transparent 60%);
}

.cta-section h2 {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.cta-section p {
    color: var(--gray-text);
    font-size: 16px;
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-accent));
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    line-height: 1;
    height: 52px;
    box-sizing: border-box;
}

.btn-modern::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-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.35);
    color: var(--white);
    text-decoration: none;
}

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

.btn-outline-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: transparent;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    border: 2px solid var(--dark-text);
    transition: all 0.4s var(--transition-smooth);
    margin-left: 12px;
    vertical-align: middle;
    line-height: 1;
    height: 52px;
    box-sizing: border-box;
    backdrop-filter: blur(6px);
}

.btn-outline-modern:hover {
    border-color: var(--red-primary);
    background: rgba(52, 152, 219, 0.1);
    color: var(--red-primary);
    text-decoration: none;
    transform: translateY(-3px);
}

/* Hero section button override - white text/border for dark hero background */
.modern-hero .btn-outline-modern {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.modern-hero .btn-outline-modern:hover {
    color: var(--red-primary);
    border-color: var(--red-primary);
    background: rgba(52, 152, 219, 0.15);
}

/* ---- Particle canvas ---- */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- Hero Text Slides ---- */
.hero-text-slide {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.hero-text-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ---- Cursor glow (desktop only) ---- */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

/* ---- Responsive ---- */
/* ---- RESPONSIVE: Large desktops ---- */
@media (max-width: 1280px) {
    .nav-menu>li>a {
        font-size: 11px;
        padding: 7px 9px;
        letter-spacing: 0.2px;
    }

    .nav-lang-switch .lang-link {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }

    .nav-container {
        padding: 0 16px;
    }
}

/* ---- RESPONSIVE: Tablets & small laptops ---- */
@media (max-width: 1024px) {

    /* Show hamburger menu */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: rgba(12, 12, 12, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 90px 28px 40px;
        gap: 2px;
        transition: right 0.4s var(--transition-smooth);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        z-index: 10000;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu>li {
        width: 100%;
    }

    .nav-menu>li>a {
        font-size: 15px;
        padding: 14px 20px;
        width: 100%;
        display: block;
        border-radius: 10px;
    }

    .nav-menu>li>a::after {
        display: none;
    }

    .nav-menu>li.active>a {
        background: rgba(52, 152, 219, 0.15);
        color: var(--red-primary);
    }

    .nav-lang-switch {
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
        padding-top: 12px !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        justify-content: center;
        gap: 10px;
    }

    .nav-lang-switch .lang-link {
        font-size: 15px !important;
        padding: 12px 20px !important;
    }

    .nav-lang-switch .lang-divider {
        font-size: 18px;
    }

    .cards-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ---- RESPONSIVE: Mobile ---- */
@media (max-width: 768px) {

    .cards-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .modern-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 26px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px !important;
    }

    .btn-modern,
    .btn-outline-modern {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-left: 0 !important;
    }

    .hero-slide-indicators {
        bottom: 20px;
    }

    .hero-slide-indicators .indicator {
        width: 28px;
        height: 3px;
    }

    .hero-slide-indicators .indicator.active {
        width: 44px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 24px;
    }
}

/* ---- RESPONSIVE: Small phones ---- */
@media (max-width: 480px) {
    .hero-content {
        padding: 100px 16px 40px;
    }

    .section-container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-tag {
        font-size: 11px;
        padding: 6px 14px;
        letter-spacing: 1.5px;
    }

    .modern-section {
        padding: 48px 0;
    }

    .section-tag {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .modern-footer {
        padding: 50px 0 0;
    }

    .footer-col h5 {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        border-radius: 10px;
    }

    .nav-menu {
        width: 100%;
        padding: 90px 20px 30px;
    }
}

/* ---- Keyframe Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(52, 152, 219, 0.4);
    }
}

/* ---- Magnetic buttons ---- */
.magnetic-wrap {
    display: inline-block;
    position: relative;
}

/* ---- Smooth image reveals ---- */
.img-reveal {
    overflow: hidden;
    position: relative;
}

.img-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    transform-origin: left;
    transition: transform 1s var(--transition-smooth);
}

.img-reveal.revealed::after {
    transform: scaleX(0);
    transform-origin: right;
}

/* ---- Text gradient effect ---- */
.text-gradient {
    background: linear-gradient(135deg, var(--dark-text), var(--gray-text));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Divider line ---- */
.modern-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--red-primary), var(--red-accent));
    border-radius: 3px;
    margin: 20px auto 0;
}

/* ---- Tilt effect on cards (handled by JS) ---- */
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-card .tilt-inner {
    transform: translateZ(30px);
}

/* =============================================
   SUBPAGE STYLES
   ============================================= */

/* ---- Page Hero Banner (subpages) ---- */
.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--black);
    padding-top: 80px;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.35);
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease both;
}

.page-hero-breadcrumb {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    animation: fadeInUp 0.6s ease 0.15s both;
}

.page-hero-breadcrumb a {
    color: var(--red-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-hero-breadcrumb a:hover {
    color: var(--red-accent);
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 240px;
        padding-top: 70px;
    }
}

/* ---- Subpage Content Sections ---- */
.subpage-section {
    padding: 80px 0;
}

.subpage-section:nth-child(even) {
    background: var(--darker-bg);
}

.subpage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.subpage-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
}

.subpage-title .text-red {
    color: var(--red-primary);
}

.subpage-text {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.8;
    opacity: 1;
}

.subpage-text+.subpage-text {
    margin-top: 16px;
}

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.two-col img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ---- Icon Info Blocks (about page what-we-do) ---- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-block {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
}

.info-block:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.info-block .material-icons {
    font-size: 48px;
    color: var(--red-primary);
    margin-bottom: 20px;
    display: block;
}

.info-block h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.info-block p {
    font-size: 15px;
    color: var(--gray-text);
    opacity: 1;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- About page cards grid ---- */
.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: rgba(52, 152, 219, 0.2);
}

.about-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.about-card-body {
    padding: 24px;
}

.about-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--red-primary);
    margin-bottom: 12px;
}

.about-card-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-text);
    opacity: 1;
}

.about-cards-grid.centered {
    justify-content: center;
}

@media (max-width: 1024px) {
    .about-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Policy Page ---- */
.policy-block {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.policy-block:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(52, 152, 219, 0.15);
}

.policy-block h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--red-primary);
    margin-bottom: 20px;
}

.policy-block h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 16px;
    margin-top: 24px;
}

.policy-list {
    list-style: none;
    padding: 0;
}

.policy-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-text);
    opacity: 0.85;
}

.policy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red-primary);
}

.policy-intro {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-text);
    opacity: 0.85;
    margin-bottom: 40px;
}

.policy-conclusion {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.08), transparent);
    border-left: 4px solid var(--red-primary);
    padding: 30px 40px;
    border-radius: 0 16px 16px 0;
    margin-top: 40px;
}

.policy-conclusion h2 {
    color: var(--dark-text);
    margin-bottom: 16px;
}

.policy-conclusion p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-text);
    opacity: 0.85;
}

/* ---- Contact Page ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-group {
    margin-bottom: 24px;
}

.contact-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--dark-text);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: var(--red-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(52, 152, 219, 0.15);
    transform: translateX(5px);
}

.contact-info-card>.material-icons {
    font-size: 28px;
    color: var(--red-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 6px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--gray-text);
    opacity: 0.75;
    line-height: 1.6;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--red-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--red-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

/* ---- Services Page (detailed) ---- */
.service-detail {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.service-detail:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(52, 152, 219, 0.15);
    transform: translateX(5px);
}

.service-detail.reverse {
    grid-template-columns: 1fr 350px;
}

.service-detail.reverse .service-detail-img {
    order: 2;
}

.service-detail.reverse .service-detail-content {
    order: 1;
    padding: 30px 0 30px 30px;
}

.service-detail-img {
    overflow: hidden;
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-detail:hover .service-detail-img img {
    transform: scale(1.05);
}

.service-detail-content {
    padding: 30px 30px 30px 30px;
}

.service-detail-number {
    display: inline-block;
    font-size: 48px;
    font-weight: 900;
    color: rgba(52, 152, 219, 0.15);
    line-height: 1;
    margin-bottom: 8px;
}

.service-detail-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--red-primary);
    margin-bottom: 16px;
}

.service-detail-list {
    list-style: none;
    padding: 0;
}

.service-detail-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-text);
    opacity: 0.85;
}

.service-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red-accent);
}

@media (max-width: 768px) {

    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
    }

    .service-detail.reverse .service-detail-img {
        order: 0;
    }

    .service-detail.reverse .service-detail-content {
        order: 0;
        padding: 20px;
    }

    .service-detail-content {
        padding: 20px !important;
    }

    .service-detail-img img {
        min-height: 200px;
    }
}

/* ---- Team Page ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card-modern {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
    text-decoration: none;
    display: block;
}

.team-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: rgba(52, 152, 219, 0.2);
}

.team-card-img {
    overflow: hidden;
}

.team-card-modern img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

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

.team-card-info {
    padding: 20px;
    text-align: center;
}

.team-card-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 6px;
}

.team-card-info p,
.team-role {
    font-size: 14px;
    color: var(--red-primary);
    font-weight: 500;
    display: block;
}

.team-socials {
    margin-top: 12px;
}

.team-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--gray-mid);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.team-link:hover {
    color: var(--red-primary);
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card-modern img {
        height: 250px !important;
        object-position: center 20% !important;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card-modern img {
        height: 280px !important;
        object-position: center 20% !important;
    }
}

/* ---- Events Page ---- */
.events-intro-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-text);
    opacity: 0.85;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.events-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card-modern {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
    text-decoration: none;
    display: block;
    color: inherit;
}

.event-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: rgba(52, 152, 219, 0.2);
}

.event-card-img {
    overflow: hidden;
}

.event-card-modern img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.event-card-body {
    padding: 24px;
}

.event-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.event-card-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-text);
    opacity: 0.8;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.event-meta span,
.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-mid);
}

.event-meta span .material-icons,
.event-meta-item .material-icons {
    font-size: 18px;
    color: var(--red-primary);
}

@media (max-width: 1024px) {
    .events-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .events-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* ---- Collaborators Page ---- */
.collab-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-text);
    opacity: 0.85;
    margin-bottom: 60px;
}

.collab-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.collab-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    min-height: 120px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.collab-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-card);
    border-color: rgba(52, 152, 219, 0.2);
}

.collab-item img {
    max-width: 80%;
    max-height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0.9);
}

.collab-item:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

@media (max-width: 1024px) {
    .collab-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .collab-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .collab-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .collab-item {
        padding: 16px;
        min-height: 90px;
    }
}

/* ---- Services detail intro ---- */
.services-detail-intro {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-text);
    opacity: 0.85;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.services-commitment {
    text-align: center;
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-text);
    opacity: 0.85;
    max-width: 800px;
    margin: 50px auto 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
}

.services-commitment .material-icons {
    font-size: 40px;
    color: var(--red-primary);
    margin-bottom: 16px;
    display: block;
}

.services-commitment p {
    font-style: italic;
}

/* ============================
   Blog Cards (Updates & Media)
   ============================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(52, 152, 219, 0.3);
}

.blog-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--red-primary);
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-date span {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
}

.blog-card-body {
    padding: 24px 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-tag {
    display: inline-block;
    background: rgba(52, 152, 219, 0.12);
    color: var(--red-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: fit-content;
}

.blog-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 14px;
    color: var(--gray-text);
    opacity: 0.8;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--gray-text);
    border-top: 1px solid var(--glass-border);
    padding-top: 14px;
    margin-top: auto;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-meta .material-icons {
    font-size: 16px;
    color: var(--red-primary);
}

.blog-meta span:last-child {
    color: var(--red-primary);
    font-weight: 600;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-img {
        height: 180px;
    }
}

/* ============================
   Articles Listing Page
   ============================ */

/* -- Navigation tabs (Events/Articles) -- */
.articles-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.articles-nav a {
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--glass-border);
    color: var(--gray-text);
}

.articles-nav a.active {
    background: var(--red-primary);
    color: #fff;
    border-color: var(--red-primary);
}

.articles-nav a:hover:not(.active) {
    border-color: var(--red-primary);
    color: var(--red-primary);
}

/* -- Date badge on card image -- */
.blog-card-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--red-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* -- Category tag -- */
.blog-card-tag {
    display: inline-block;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    width: fit-content;
}

/* -- Read more link -- */
.blog-card-body .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s;
}

.blog-card:hover .read-more {
    gap: 10px;
}

/* -- Card footer with read-more and share -- */
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

/* -- Card title link -- */
.blog-card-title-link {
    text-decoration: none;
    color: inherit;
}

.blog-card-title-link:hover h3 {
    color: var(--red-primary);
}

.blog-card-body h3 {
    transition: color 0.3s;
}

/* -- Share buttons on cards -- */
.blog-card-share {
    display: flex;
    gap: 6px;
    align-items: center;
}

.blog-card-share button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--gray-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0;
}

.blog-card-share button:hover {
    transform: translateY(-2px);
}

.blog-card-share button.share-twitter:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.blog-card-share button.share-linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
    color: #fff;
}

.blog-card-share button.share-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.blog-card-share button.share-copy:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: #fff;
}

/* -- Blog card img as link -- */
a.blog-card-img {
    display: block;
}

/* -- Featured article (first card, full-width side-by-side) -- */
.blog-grid-articles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.blog-card-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.blog-card-featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(52, 152, 219, 0.3);
}

.blog-card-featured .blog-card-img {
    height: 100%;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

.blog-card-featured .blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

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

.blog-card-featured .blog-card-body {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-featured .blog-card-tag {
    font-size: 13px;
    padding: 6px 16px;
}

.blog-card-featured .blog-card-body h3 {
    font-size: 26px;
    margin-bottom: 16px;
    line-height: 1.35;
}

.blog-card-featured .blog-card-body p {
    font-size: 15px;
    -webkit-line-clamp: 4;
    margin-bottom: 20px;
    color: var(--gray-text);
    line-height: 1.7;
}

.blog-card-featured .blog-card-date {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 10px;
}

.blog-card-featured .read-more {
    font-size: 15px;
}

/* -- Featured badge -- */
.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--red-primary), var(--red-accent));
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    width: fit-content;
}

/* -- Remaining articles in 2-column grid -- */
.blog-grid-rest {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* -- Copy tooltip -- */
.copy-tooltip {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s;
    z-index: 9999;
    pointer-events: none;
}

.copy-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* -- Responsive: Featured card -- */
@media (max-width: 992px) {
    .blog-card-featured {
        grid-template-columns: 1fr;
    }
    .blog-card-featured .blog-card-img {
        min-height: 280px;
        height: 280px;
    }
    .blog-card-featured .blog-card-body {
        padding: 28px 24px;
    }
    .blog-card-featured .blog-card-body h3 {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .blog-grid-rest {
        grid-template-columns: 1fr;
    }
    .blog-card-featured .blog-card-img {
        min-height: 220px;
        height: 220px;
    }
    .blog-card-featured .blog-card-body h3 {
        font-size: 20px;
    }
    .blog-card-featured .blog-card-body {
        padding: 24px 20px;
    }
    .blog-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .articles-nav {
        gap: 10px;
    }
    .articles-nav a {
        padding: 8px 18px;
        font-size: 13px;
    }
}

/* ============================
   Partners Logo Marquee
   ============================ */
.partners-section {
    padding: 80px 0 60px;
    overflow: hidden;
}

.partners-marquee {
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: partnersScroll 50s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: all 0.4s var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.partner-logo:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.15), 0 0 0 1px rgba(52, 152, 219, 0.2);
    background: #fff;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
}

@keyframes partnersScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 50px 0 40px;
    }

    .partners-track {
        gap: 20px;
    }

    .partner-logo {
        width: 100px;
        height: 65px;
        padding: 10px;
        border-radius: 10px;
    }
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-primary), var(--red-accent), #ff6b6b);
    z-index: 100000;
    width: 0%;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    pointer-events: none;
}

/* =============================================
   VISION & MISSION - DRAMATIC REDESIGN
   ============================================= */
.vision-section {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    background: var(--darker-bg);
}

.vision-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.vision-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.07) 0%, transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: visionPulse 10s ease-in-out infinite;
}

.vision-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 65%);
}

@keyframes visionPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.5;
    }
}

/* Vision Eyebrow */
.vision-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.vision-eyebrow-text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--red-primary);
}

.eyebrow-line {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-primary));
}

.eyebrow-line:last-child {
    background: linear-gradient(90deg, var(--red-primary), transparent);
}

/* Vision Quote */
.vision-quote {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 64px;
    padding: 0;
    border: none;
    position: relative;
}

.vision-quote::before,
.vision-quote::after {
    content: '\201C';
    position: absolute;
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(52, 152, 219, 0.06);
    line-height: 1;
    pointer-events: none;
}

.vision-quote::before {
    top: -40px;
    left: -20px;
}

.vision-quote::after {
    content: '\201D';
    bottom: -60px;
    right: -20px;
}

.vision-quote p {
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 300;
    line-height: 1.6;
    color: var(--dark-text);
}

.vision-quote em {
    color: var(--red-primary);
    font-style: normal;
    font-weight: 600;
}

.vision-quote strong {
    color: var(--dark-text);
    font-weight: 700;
    position: relative;
    display: inline;
}

.vision-quote strong::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--red-primary), var(--red-accent));
    opacity: 0.4;
    border-radius: 2px;
}

/* Mission Separator */
.mission-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.sep-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12));
}

.sep-line:last-child {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
}

.sep-icon {
    color: var(--red-primary);
    display: flex;
    align-items: center;
    opacity: 0.7;
}

/* Mission Heading */
.mission-heading {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--dark-text);
    margin-bottom: 50px;
}

/* Mission Cards */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.mission-card {
    position: relative;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 36px 24px 32px;
    text-align: center;
    transition: all 0.5s var(--transition-smooth);
    overflow: hidden;
}

.mission-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-primary), var(--red-accent));
    transform: scaleX(0);
    transition: transform 0.5s var(--transition-smooth);
    transform-origin: left;
}

.mission-card:hover .mission-card-accent {
    transform: scaleX(1);
}

.mission-card:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(52, 152, 219, 0.06);
    border-color: rgba(52, 152, 219, 0.2);
}

.mission-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.03));
    border: 1px solid rgba(52, 152, 219, 0.12);
    color: var(--red-primary);
    transition: all 0.4s var(--transition-smooth);
}

.mission-card:hover .mission-card-icon {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.18), rgba(52, 152, 219, 0.08));
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.mission-card-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mission-card-content p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.65;
}

@media (max-width: 1200px) {
    .mission-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .vision-section {
        padding: 80px 0 60px;
    }

    .mission-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-quote p {
        font-size: 20px;
    }

    .vision-quote::before,
    .vision-quote::after {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .mission-cards {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   ENHANCED ANIMATIONS & POLISH
   ============================================= */

/* Slide indicator progress bar */
.hero-slide-indicators .indicator {
    position: relative;
    overflow: hidden;
}

.hero-slide-indicators .indicator.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    animation: indicatorFill var(--ind-dur, 6000ms) linear forwards;
}

@keyframes indicatorFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Subtle noise texture for premium feel */
body.modern-body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.018;
    mix-blend-mode: overlay;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Enhanced CTA section */
.cta-section {
    background: var(--darker-bg);
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(52, 152, 219, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(52, 152, 219, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Smooth section transitions */
.modern-section+.modern-section {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Enhanced card glow on hover */
.modern-card:hover {
    box-shadow: var(--shadow-3d), 0 0 60px rgba(52, 152, 219, 0.06);
}

.service-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(52, 152, 219, 0.08);
}

/* Smooth scroll-linked parallax for sections */
.modern-section .section-header {
    position: relative;
}

.modern-section .section-header::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(52, 152, 219, 0.3));
}

/* Blog card enhanced hover */
.blog-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(52, 152, 219, 0.08);
}

/* Hero text slide enhanced transitions */
.hero-text-slide {
    position: absolute;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 1s ease, transform 1s ease;
    pointer-events: none;
}

.hero-text-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* =============================================
   THEME TOGGLE BUTTON
   ============================================= */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.85);
    margin-left: 8px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: #fff;
    transform: rotate(30deg);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: all 0.4s ease;
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* =============================================
   DARK THEME OVERRIDES
   ============================================= */
[data-theme="dark"] {
    --dark-bg: #0e0e0e;
    --darker-bg: #090909;
    --black: #000000;
    --white: #ffffff;
    --dark-text: #f0f0f0;
    --gray-light: #b0b0b0;
    --gray-text: #999999;
    --gray-mid: #707070;
    --glass-bg: rgba(28, 28, 28, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-3d: 0 25px 60px rgba(0, 0, 0, 0.6);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(52, 152, 219, 0.15);
}

/* Body & section backgrounds */
[data-theme="dark"] body.modern-body {
    background: var(--dark-bg);
    color: var(--dark-text);
}

/* Navbar */
[data-theme="dark"] .modern-navbar {
    background: rgba(14, 14, 14, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .modern-navbar.scrolled {
    background: rgba(14, 14, 14, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .nav-menu>li>a {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .nav-menu>li>a:hover,
[data-theme="dark"] .nav-menu>li.active>a {
    color: var(--red-primary);
}

/* Section backgrounds */
[data-theme="dark"] .modern-section {
    background: var(--dark-bg);
}

[data-theme="dark"] .modern-section:nth-child(even) {
    background: var(--darker-bg);
}

/* Cards & blocks */
[data-theme="dark"] .modern-card,
[data-theme="dark"] .service-item,
[data-theme="dark"] .info-block,
[data-theme="dark"] .about-card,
[data-theme="dark"] .policy-block,
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .service-detail,
[data-theme="dark"] .team-card-modern,
[data-theme="dark"] .event-card-modern,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .mission-card,
[data-theme="dark"] .collab-item,
[data-theme="dark"] .services-commitment {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .modern-card:hover,
[data-theme="dark"] .service-item:hover,
[data-theme="dark"] .info-block:hover,
[data-theme="dark"] .about-card:hover,
[data-theme="dark"] .policy-block:hover,
[data-theme="dark"] .contact-info-card:hover,
[data-theme="dark"] .service-detail:hover,
[data-theme="dark"] .team-card-modern:hover,
[data-theme="dark"] .event-card-modern:hover,
[data-theme="dark"] .blog-card:hover,
[data-theme="dark"] .mission-card:hover,
[data-theme="dark"] .collab-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(52, 152, 219, 0.2);
}

/* Footer */
[data-theme="dark"] .modern-footer {
    background: var(--darker-bg);
}

[data-theme="dark"] .footer-socials a,
[data-theme="dark"] .social-links a {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .newsletter-input,
[data-theme="dark"] .newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.06);
}

/* CTA section */
[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1a0808 0%, var(--darker-bg) 50%, #0a0a12 100%);
}

/* Contact inputs */
[data-theme="dark"] .contact-input,
[data-theme="dark"] .contact-textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--dark-text);
}

/* Vision section */
[data-theme="dark"] .vision-section {
    background: var(--darker-bg);
}

/* Partner logos */
[data-theme="dark"] .partner-logo {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Text gradient */
[data-theme="dark"] .text-gradient {
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    background-clip: text;
}

/* Page hero (subpages) */
[data-theme="dark"] .page-hero {
    background: #000;
}

[data-theme="dark"] .subpage-section:nth-child(even) {
    background: var(--darker-bg);
}

[data-theme="dark"] .btn-outline-modern {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .blog-card-featured {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .blog-card-featured:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(52, 152, 219, 0.2);
}

[data-theme="dark"] .blog-card-share button {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .blog-card-footer {
    border-top-color: rgba(255, 255, 255, 0.06);
}

/* Mobile menu */
@media (max-width: 1024px) {
    [data-theme="dark"] .nav-menu {
        background: rgba(12, 12, 12, 0.98);
    }

    [data-theme="dark"] .nav-lang-switch {
        border-top-color: rgba(255, 255, 255, 0.06);
    }
}

/* Section transitions */
[data-theme="dark"] .modern-section+.modern-section {
    border-top-color: rgba(255, 255, 255, 0.03);
}

/* =============================================
   MOBILE RESPONSIVENESS FIXES
   ============================================= */
@media (max-width: 992px) {
    .cards-grid, 
    .services-grid, 
    .about-features, 
    .team-grid, 
    .footer-grid, 
    .blog-grid,
    .blog-grid-rest,
    .info-blocks,
    .about-stats,
    .about-team-grid,
    .event-gallery {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .hero-title {
        font-size: clamp(32px, 5vw, 48px) !important;
    }
    
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        z-index: 10000;
    }
    .nav-menu.active {
        display: flex !important;
    }

    .mission-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .modern-section {
        padding: 60px 0 !important;
    }
    
    .page-hero {
        padding: 120px 0 60px !important;
    }
    
    .mission-cards {
        display: flex !important;
        flex-direction: column !important;
    }

    .footer-col {
        margin-bottom: 30px !important;
    }

    .team-card, .service-item, .modern-card {
        margin-bottom: 20px !important;
    }
    
    .nav-logo img {
        height: 40px !important;
    }
    
    iframe {
        max-width: 100% !important;
    }
}