/* =======================================
   Anchor Consultancy Limited
   Environmental Recycling Company Website
   Color scheme inspired by Baguio GMC & ENEEF
   ======================================= */

/* CSS Variables */
:root {
    /* Primary green palette - inspired by environmental/recycling theme */
    --primary: #2D7D46;
    --primary-dark: #1B5E30;
    --primary-light: #4CAF50;
    --primary-pale: #E8F5E9;
    
    /* Secondary earth tones */
    --secondary: #5D8C3E;
    --accent: #8BC34A;
    --accent-warm: #F9A825;
    
    /* Neutrals */
    --dark: #1A2E1A;
    --gray-900: #212121;
    --gray-800: #333333;
    --gray-700: #555555;
    --gray-500: #888888;
    --gray-300: #CCCCCC;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    
    /* Functional */
    --bg-light: #F7FAF7;
    --bg-section: #F0F7F0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    
    /* Typography */
    --font-main: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    --font-eng: 'Montserrat', 'Noto Sans TC', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =======================================
   Navigation
   ======================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(45, 125, 70, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 75px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.logo-img {
    height: 50px;       /* 👈 Default size, overridden by admin panel */
    width: auto;
    object-fit: contain;
    max-height: 120px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-eng);
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-dark);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 11px;
    color: var(--gray-500);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 6px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-pale);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
    border-radius: 2px;
}

.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);
}

/* =======================================
   Video Hero Section (Uniqlo-style)
   ======================================= */
.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}

.video-hero-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15%;
    right: 15%;
    z-index: 0;
    overflow: hidden;
}

.video-hero-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15%;
    right: 15%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.05) 40%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 1;
}

/* ── Company name centered on video ── */
.video-hero-content {
    position: absolute;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    top: 50%;
    left: 15%;
    right: 15%;
    transform: translateY(-50%);
    transition: top 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
}

.video-company-name {
    font-family: var(--font-eng);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 2px;
    white-space: nowrap;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.15),
        0 2px 15px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1.2s ease;
}

/* ── When slogan active: company name shifts up ── */
.video-hero.slogan-active .video-hero-content {
    top: 38%;
}

/* ── Slogan appears below company name ── */
.video-hero-slogan {
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    transform: translateY(0);
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    color: var(--white);
    opacity: 0;
    transition: opacity 1.2s ease 0.3s;
    pointer-events: none;
    width: auto;
}

.video-hero.slogan-active .video-hero-slogan {
    opacity: 1;
}

.video-hero-slogan .slogan-line1 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 12px;
    color: #f0c040;
    text-shadow:
        0 0 15px rgba(240, 192, 64, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.8);
}

.video-hero-slogan .slogan-line2 {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 4px;
    color: #f0c040;
    text-shadow:
        0 0 15px rgba(240, 192, 64, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.8);
}

.video-hero-scroll {
    z-index: 4;
}

/* ── Slideshow section (below video) ── */
.hero-slideshow {
    height: 80vh;
    min-height: 500px;
}

/* =======================================
   Hero Section
   ======================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-family: var(--font-eng);
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
    text-shadow:
        0 0 8px rgba(200, 200, 200, 0.5),
        0 0 20px rgba(200, 200, 200, 0.25),
        0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
    opacity: 0.95;
    text-shadow:
        0 0 6px rgba(200, 200, 200, 0.45),
        0 0 16px rgba(200, 200, 200, 0.2),
        0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-desc {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.8;
    text-shadow:
        0 0 5px rgba(200, 200, 200, 0.35),
        0 1px 8px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: var(--white);
    font-size: 24px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--primary-pale);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-sm);
}

.btn-full:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 125, 70, 0.4);
}

/* =======================================
   Section Styles
   ======================================= */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light h2,
.section-header.light .section-tag {
    color: var(--white);
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(45, 125, 70, 0.15);
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-desc {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* =======================================
   About Section
   ======================================= */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.badge-number {
    display: block;
    font-family: var(--font-eng);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 13px;
    opacity: 0.9;
}

.about-content h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--gray-700);
    line-height: 1.9;
}

.about-highlights {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.highlight-item i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 4px;
}

.highlight-item strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.highlight-item span {
    font-size: 14px;
    color: var(--gray-500);
}

/* =======================================
   Mission Section
   ======================================= */
.mission {
    background: var(--white);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mission-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(45, 125, 70, 0.2);
}

.mission-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-pale), rgba(139, 195, 74, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
}

.mission-card h4 {
    font-size: 18px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.mission-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.8;
}

/* =======================================
   Services Section
   ======================================= */
.services {
    background: var(--bg-section);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 16px;
}

.service-content h4 {
    font-size: 20px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-content p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.8;
    flex: 1;
}

.service-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 14px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

/* =======================================
   Core Services Section
   ======================================= */
.core-services {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.core-services h3 {
    font-size: 32px;
    margin-bottom: 12px;
}

.core-desc {
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 40px;
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.core-item {
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.core-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.core-item i {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
    opacity: 0.9;
}

.core-item span {
    font-size: 14px;
    font-weight: 600;
}

/* =======================================
   Projects / Timeline
   ======================================= */
.projects {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 32px;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-content {
    background: var(--bg-light);
    padding: 28px;
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content h4 {
    font-size: 18px;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.8;
}

/* =======================================
   Stats Section
   ======================================= */
.stats {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.stat-number {
    font-family: var(--font-eng);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    display: inline;
}

.stat-unit {
    font-size: 18px;
    font-weight: 600;
    display: inline;
    margin-left: 4px;
}

.stat-label {
    font-size: 14px;
    margin-top: 8px;
    opacity: 0.85;
}

/* =======================================
   Partners Section
   ======================================= */
.partners {
    background: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.partner-category {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.partner-category h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-pale);
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-category h4 i {
    color: var(--primary);
}

.partner-category li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.partner-category li:last-child {
    border-bottom: none;
}

/* =======================================
   Gallery Section
   ======================================= */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    height: 250px;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 94, 48, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 28px;
}

/* =======================================
   Cooperation Section
   ======================================= */
.cooperation {
    background: var(--bg-section);
}

.cooperation-content {
    max-width: 900px;
    margin: 0 auto;
}

.cooperation-text {
    text-align: center;
    margin-bottom: 40px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cooperation-text p {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.9;
}

.cooperation-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.coop-item {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    border-top: 4px solid var(--primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.coop-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.coop-year {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-eng);
    margin-bottom: 12px;
}

.coop-item h5 {
    font-size: 16px;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.coop-item p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* =======================================
   Contact Section
   ======================================= */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 16px;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--gray-800);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 125, 70, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* =======================================
   Footer
   ======================================= */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.footer-logo .logo-img {
    height: 44px;       /* 👈 Footer logo size */
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-name {
    color: var(--white);
}

.footer-logo .logo-tagline {
    color: rgba(255, 255, 255, 0.5);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
}

.footer h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links a,
.footer-services a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    opacity: 0.6;
}

/* =======================================
   Back to Top
   ======================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(45, 125, 70, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* =======================================
   WhatsApp Floating Button
   ======================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #1EBE5A;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* =======================================
   Lightbox
   ======================================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* =======================================
   Animations
   ======================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =======================================
   Responsive Design
   ======================================= */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .core-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cooperation-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }

    .video-hero-content h1,
    .video-company-name {
        font-size: 36px;
        white-space: normal;
    }

    /* Reduce white borders on tablet */
    .video-hero-bg,
    .video-hero-overlay {
        left: 8%;
        right: 8%;
    }
    .video-hero-content,
    .video-hero-slogan {
        left: 8%;
        right: 8%;
    }

    .video-hero-slogan .slogan-line1 {
        font-size: 24px;
        letter-spacing: 4px;
    }

    .video-hero-slogan .slogan-line2 {
        font-size: 20px;
        letter-spacing: 3px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .core-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .cooperation-timeline {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .video-hero-content h1,
    .video-company-name {
        font-size: 28px;
    }

    /* Remove white borders on mobile */
    .video-hero-bg,
    .video-hero-overlay {
        left: 0;
        right: 0;
    }
    .video-hero-content,
    .video-hero-slogan {
        left: 0;
        right: 0;
    }

    .video-hero-slogan .slogan-line1 {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .video-hero-slogan .slogan-line2 {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .core-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
