/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Page */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a5490 0%, #2980b9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    animation: logo-spin 3s linear infinite;
}

@keyframes logo-spin {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.loader-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.08em;
    animation: text-pulse 2.5s ease-in-out infinite;
    position: relative;
}

@keyframes text-pulse {
    0% {
        opacity: 0.6;
        transform: scale(0.98);
        letter-spacing: 0.08em;
    }
    50% {
        opacity: 1;
        transform: scale(1);
        letter-spacing: 0.12em;
    }
    100% {
        opacity: 0.6;
        transform: scale(0.98);
        letter-spacing: 0.08em;
    }
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.loader-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-top: 2rem;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), #ff8c42);
    border-radius: 10px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% {
        width: 0%;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}

/* Welcome Video Section */
.welcome-video-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome-video-section.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.welcome-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
}

/* Shared base state — all children start invisible and shifted down */
.video-title,
.video-subtitle,
.video-close-btn {
    opacity: 0;
    transform: translateY(30px);
}

/* Triggered by JS when video section becomes visible */
.video-content.animate .video-title {
    animation: video-slide-up 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.video-content.animate .video-subtitle {
    animation: video-slide-up 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.video-content.animate .video-close-btn {
    animation: video-slide-up 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

@keyframes video-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-title {
    font-size: clamp(1.4rem, 3.2vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.03em;
    line-height: 1.3;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    /* Let the browser wrap naturally — no forced <br> so translation works */
    word-break: break-word;
    overflow-wrap: break-word;
}

.video-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.video-close-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.video-close-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
}

.video-close-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Reset & Base Styles */

:root {
    --primary-color: #1a5490;
    --secondary-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #1a5490 0%, #2980b9 100%);
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    flex-wrap: nowrap;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-image-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    transition: var(--transition);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Industrial Gear Rotation Effect */
.logo-link:hover .logo-image {
    transform: rotate(360deg) scale(1.1);
    filter: drop-shadow(0 0 15px rgba(243, 156, 18, 0.8)) 
            drop-shadow(0 0 25px rgba(26, 84, 144, 0.6))
            brightness(1.2);
}

/* Glowing Ring Effect on Hover */
.logo-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    opacity: 0;
    transition: all 0.6s ease;
}

.logo-link:hover .logo-image-wrapper::before {
    width: 80px;
    height: 80px;
    opacity: 0.6;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

/* Mechanical Spark Effect */
.logo-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.logo-link:hover .logo-image-wrapper::after {
    opacity: 1;
    animation: spark-glow 0.8s ease-in-out;
}

@keyframes spark-glow {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1,
.logo-text h1 {
    color: #ff6b35;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin: 0;
    letter-spacing: 0.02em;
    position: relative;
}

.logo-link:hover h1 {
    color: #ff8c42;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.6), 0 0 25px rgba(26, 84, 144, 0.4);
    transform: scale(1.08) skewX(-2deg);
    letter-spacing: 0.1em;
}

.logo .tagline,
.logo-text .tagline {
    display: block;
    font-size: 0.75rem;
    color: #4a90e2;
    font-weight: 500;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.logo-link:hover .tagline {
    color: #5ba3ff;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
    transform: translateY(-3px);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* ── Language Toggle ─────────────────────────────────────────────────────── */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1rem;
    position: relative;
    z-index: 10000; /* above loader (9999) and video (9998) */
    flex-shrink: 0;
}

.lang-btn {
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.lang-divider {
    color: #ccc;
    font-size: 0.85rem;
    user-select: none;
}

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    height: 620px;
    margin-top: 80px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    image-rendering: auto;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
}

.slide-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideUp 1s ease-out;
}

.slide-text {
    font-size: 1.3rem;
    animation: slideUp 1s ease-out 0.2s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.slide-controls button {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--white);
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 3px;
}

.slide-controls .prev-slide {
    left: 0;
}

.slide-controls .next-slide {
    right: 0;
}

.slide-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

/* Stats Section */
.stats-section {
    padding: 1.2rem 0;
    background: var(--gradient);
    color: var(--white);
}

.stats-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    text-align: center;
    align-items: center;
}

.stat-item i {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--secondary-color);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

/* Featured Section */
.featured-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

.section-title {
    position: relative;
    z-index: 1;
}

.title-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(26, 84, 144, 0.06);
    white-space: nowrap;
    z-index: -1;
    letter-spacing: 0.05em;
    pointer-events: none;
    text-transform: uppercase;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Simple Elegant Solution Cards */
.solution-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
    position: relative;
}

/* Shimmer sweep — auto every 4s */
.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 80%
    );
    transform: skewX(-15deg);
    animation: card-shimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a5490, #ff6b35);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 84, 144, 0.15);
}

.solution-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.solution-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.05), rgba(255, 107, 53, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.solution-card:hover .solution-image::after {
    opacity: 1;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.solution-card:hover .solution-image img {
    transform: scale(1.1);
}

/* Dairy card — two images side by side */
.solution-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.solution-img-half {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.solution-card:hover .solution-img-half {
    transform: scale(1.06);
}

.solution-content {
    padding: 2rem;
    text-align: center;
}

.solution-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.solution-card:hover .solution-content h3 {
    color: #ff6b35;
}

.solution-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b35;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.solution-link i {
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-link {
    gap: 0.8rem;
}

.solution-card:hover .solution-link i {
    transform: translateX(5px);
}

/* ── Icon-style solution cards (About page) ──────────────────────────────── */
.solutions-icon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Override: icon cards scale up instead of translate */
.icon-card {
    overflow: visible; /* let the circle breathe */
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.icon-card:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 40px rgba(26, 84, 144, 0.15);
}

/* Cancel the translateY from the base .solution-card:hover */
.icon-card:hover {
    transform: scale(1.05) translateY(0);
}

/* Image area: just a neutral background, no overflow clip */
.icon-image {
    height: 220px;
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border-radius: 16px 16px 0 0;
    padding: 1.5rem 1.5rem 0;
}

/* The circle frame */
.icon-circle {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 3px solid #1a3a5c;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.icon-card:hover .icon-circle {
    border-color: #ff6b35;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

/* Image inside the circle */
.icon-circle img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.icon-card:hover .icon-circle img {
    transform: scale(1.08);
}

/* Responsive: 2 cols on tablet, 1 on mobile */
@media (max-width: 900px) {
    .solutions-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .solutions-icon-grid {
        grid-template-columns: 1fr;
    }
}


/* Page Header */
.page-header {
    background: var(--gradient);
    color: var(--white);
    padding: 8rem 0 4rem;
    margin-top: 80px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Products Page Header with Background Image */
.page-header.products-header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/products/all.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-header.products-header h1,
.page-header.products-header p {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Products Slideshow */
.page-header.products-header.slideshow-container {
    position: relative;
    height: 500px;
    background: none;
    overflow: hidden;
}

.page-header.products-header .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.page-header.products-header .slide.active {
    opacity: 1;
}

.page-header.products-header .slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header.products-header .slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.7) 0%, rgba(41, 128, 185, 0.5) 100%);
}

.page-header.products-header .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.page-header.products-header .slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideUp 1s ease-out;
}

.page-header.products-header .slide-content p {
    font-size: 1.3rem;
    animation: slideUp 1s ease-out 0.2s both;
}

/* Slide Control Buttons */
.page-header.products-header .prev,
.page-header.products-header .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.5);
    user-select: none;
    z-index: 10;
    border: none;
}

.page-header.products-header .next {
    right: 0;
}

.page-header.products-header .prev {
    left: 0;
}

.page-header.products-header .prev:hover,
.page-header.products-header .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* About Page - Modern Enhanced Styles */
.about-content {
    padding: 5rem 0;
    position: relative;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: center;
}

/* ── New two-part background section ─────────────────────────────────────── */
.about-background {
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.bg-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Reverse layout: image on left, text on right */
.bg-block--reverse {
    direction: rtl;
}

.bg-block--reverse > * {
    direction: ltr;
}

/* ── Watermark on bg-text panels ─────────────────────────────────────────── */
.bg-text {
    position: relative;
}

.bg-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url('../images/Tsehay.jpg') center / cover no-repeat;
    opacity: 0.07;
    filter: blur(3px) grayscale(60%);
    pointer-events: none;
    z-index: 0;
    border-radius: 8px;
}

/* Keep all children above the watermark */
.bg-text > * {
    position: relative;
    z-index: 1;
}

.bg-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.bg-text h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    border-radius: 2px;
}

.bg-text p {
    margin-bottom: 1.1rem;
    line-height: 1.85;
    color: #555;
    font-size: 1rem;
}

.bg-text p.highlight-text {
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
    border-left: 4px solid #ff6b35;
    padding-left: 1rem;
    margin-bottom: 1.2rem;
}

.bg-image-wrap {
    position: relative;
    text-align: center;
}

.bg-photo {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
    transition: transform 0.4s ease;
    display: block;
}

.bg-image-wrap:hover .bg-photo {
    transform: scale(1.02);
}

.bg-caption {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: #888;
    font-style: italic;
    text-align: center;
}

@media (max-width: 768px) {
    .bg-block,
    .bg-block--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
    }
    .bg-block--reverse > * { direction: ltr; }
    .bg-text h2 { font-size: 1.6rem; }
    .about-background { gap: 3rem; }
}

.intro-text {
    position: relative;
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.intro-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.intro-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    border-radius: 2px;
}

.intro-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

.intro-image {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
    overflow: hidden;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.intro-image::before {
    display: none;
}

.intro-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.intro-image:hover img {
    transform: scale(1.02);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.mv-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
    transition: left 0.6s ease;
}

.mv-card:hover::before {
    left: 100%;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(26, 84, 144, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.mv-icon {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #1a5490 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3.5rem;
    box-shadow: 0 10px 30px rgba(26, 84, 144, 0.4);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.mv-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mv-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #ff6b35;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.mv-card:hover .mv-icon::before {
    opacity: 1;
    animation: pulse-light 1.5s infinite;
}

@keyframes pulse-light {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.mv-card:hover .mv-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.mv-card:hover .mv-icon::after {
    opacity: 1;
    transform: scale(1.3);
    animation: ring-pulse 1.5s infinite;
}

@keyframes ring-pulse {
    0%, 100% {
        transform: scale(1.3);
        opacity: 1;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.5;
    }
}

.mv-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}

.mv-card:hover h3 {
    color: #ff6b35;
}

.mv-card p {
    color: #666;
    line-height: 1.7;
}

.values-section {
    margin-bottom: 6rem;
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.value-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a5490, #ff6b35);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item:hover::after {
    width: 300px;
    height: 300px;
}

.value-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(26, 84, 144, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f0 100%);
}

.value-emoji {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.value-item:hover .value-emoji {
    transform: scale(1.3) rotateY(360deg);
    filter: drop-shadow(0 5px 15px rgba(26, 84, 144, 0.4));
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.value-item:hover h4 {
    color: #ff6b35;
    transform: scale(1.05);
}

.value-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.value-item:hover p {
    color: #555;
}

/* Enterprise Section */
.enterprise-section {
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.04), rgba(243, 156, 18, 0.04));
    border-radius: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    position: relative;
    overflow: hidden;
}

/* ── Watermark behind enterprise text ────────────────────────────────────── */
.enterprise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/Tsehay.jpg') center / cover no-repeat;
    opacity: 0.06;
    filter: blur(3px) grayscale(60%);
    pointer-events: none;
    z-index: 0;
    border-radius: 15px;
}

/* Keep all children above the watermark */
.enterprise-section > * {
    position: relative;
    z-index: 1;
}

.enterprise-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.enterprise-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.enterprise-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    border-radius: 2px;
}

.enterprise-section p {
    color: #555;
    line-height: 1.9;
    font-size: 1.05rem;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.06), rgba(255, 107, 53, 0.06));
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid #ff6b35;
    font-weight: 500;
    margin-top: 1.2rem;
}

/* Mission list */
.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.mission-list li {
    padding-left: 1.4rem;
    position: relative;
    color: #555;
    line-height: 1.7;
}

.mission-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Values intro paragraph */
.values-intro {
    text-align: center;
    color: #666;
    line-height: 1.8;
    max-width: 860px;
    margin: 0 auto 3rem;
    font-size: 1rem;
}

/* Value icon wrap (replaces emoji) */
.value-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-icon-wrap i {
    font-size: 1.5rem;
    color: #fff;
}

.value-item:hover .value-icon-wrap {
    transform: scale(1.15) rotateY(360deg);
    box-shadow: 0 8px 20px rgba(26, 84, 144, 0.35);
}


.company-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.05), rgba(255, 107, 53, 0.05));
    border-radius: 20px;
}

.overview-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a5490, #ff6b35);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.overview-card:hover::before {
    transform: scaleX(1);
}

.overview-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(26, 84, 144, 0.2);
    border-color: rgba(255, 107, 53, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.overview-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1a5490 0%, #2980b9 100%);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(26, 84, 144, 0.3);
    position: relative;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.overview-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.overview-card:hover .overview-icon {
    transform: scale(1.2) rotateY(360deg);
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
    filter: drop-shadow(0 8px 20px rgba(255, 107, 53, 0.4));
}

.overview-card:hover .overview-icon::before {
    opacity: 1;
    animation: icon-glow 1.5s infinite;
}

@keyframes icon-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}



.overview-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.overview-card:hover h3 {
    color: #ff6b35;
    transform: scale(1.08);
    text-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.overview-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    transition: all 0.3s ease;
    font-weight: 500;
}

.overview-card:hover p {
    color: #333;
    font-weight: 600;
}

/* Workshops Section */
.workshops-section {
    margin: 5rem 0;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.workshop-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.workshop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.08), transparent);
    transition: left 0.6s ease;
}

.workshop-card:hover::before {
    left: 100%;
}

.workshop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 84, 144, 0.15);
    border-left-color: #ff6b35;
}

.workshop-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
}

.workshop-card:hover .workshop-icon {
    transform: scale(1.25) rotateY(360deg);
}

.workshop-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.workshop-card:hover h3 {
    color: #ff6b35;
}

.workshop-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.08), rgba(255, 107, 53, 0.08));
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid #ff6b35;
    font-weight: 500;
}

/* ── Leadership Team Section ─────────────────────────────────────────────── */
.leadership-section {
    margin-bottom: 5rem;
    text-align: center;
}

.leadership-subtitle {
    font-size: 1rem;
    color: #666;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.leader-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a5490, #ff6b35);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.leader-card:hover::before {
    transform: scaleX(1);
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(26, 84, 144, 0.12);
    border-color: #c8d6e8;
}

.leader-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5490 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.leader-avatar i {
    font-size: 2rem;
    color: #fff;
}

.leader-card:hover .leader-avatar {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    transform: scale(1.08);
}

.leader-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 0.4rem;
    transition: color 0.25s ease;
}

.leader-card:hover .leader-name {
    color: #1a5490;
}

.leader-title {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.leader-divider {
    width: 40px;
    height: 3px;
    background: #ff6b35;
    border-radius: 2px;
    margin: 1rem auto;
}

.leader-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1100px) {
    .leadership-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .leadership-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .leadership-grid { grid-template-columns: 1fr; }
    .leader-card { padding: 2rem 1.5rem; }
}

/* ── Engineering Team Section ────────────────────────────────────────────── */
.engineering-team-section {
    margin-bottom: 5rem;
    text-align: center;
}

.engineering-team-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0.5rem 0 2.5rem;
}

.eng-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.eng-team-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.eng-team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a5490, #ff6b35);
    border-radius: 14px 14px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.eng-team-card:hover::before { transform: scaleX(1); }

.eng-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(26, 84, 144, 0.12);
}

.eng-team-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1a5490, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: background 0.25s ease;
}

.eng-team-card:hover .eng-team-icon {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.eng-team-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.eng-team-role {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.eng-team-divider {
    width: 40px;
    height: 3px;
    background: #ff6b35;
    border-radius: 2px;
    margin: 0.6rem auto 1rem;
}

.eng-team-members {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eng-team-members li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #444;
    padding: 0.3rem 0;
    font-weight: 500;
}

.eng-team-members li i {
    color: #1a5490;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .eng-team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .eng-team-grid { grid-template-columns: 1fr; }
    .eng-team-card { padding: 1.5rem 1.2rem; }
}

.experience-section {
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    border-radius: 20px;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.exp-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.exp-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.exp-intro-text {
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.08), rgba(255, 107, 53, 0.08));
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid #ff6b35;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.exp-intro-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.exp-intro-text:hover::before {
    left: 100%;
}

.exp-intro-text:hover {
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.12), rgba(255, 107, 53, 0.12));
    border-left-width: 6px;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(26, 84, 144, 0.15);
}

.exp-list {
    list-style: none;
    margin-top: 1.5rem;
}

.exp-list li {
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #555;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.exp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1a5490, #ff6b35);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.exp-list li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 84, 144, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.exp-list li:hover::before {
    transform: scaleY(1);
}

.exp-list li:hover::after {
    opacity: 1;
}

.exp-list li:hover {
    transform: translateX(15px);
    color: #1a5490;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(26, 84, 144, 0.1);
}

.exp-list i {
    color: #ff6b35;
    font-size: 1.1rem;
    min-width: 20px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
}

.exp-list li:hover i {
    transform: scale(1.3) rotate(360deg);
    color: #1a5490;
    filter: drop-shadow(0 3px 8px rgba(26, 84, 144, 0.3));
}

.exp-image {
    position: relative;
}

.exp-image::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(26, 84, 144, 0.2));
    border-radius: 15px;
    z-index: -1;
}

.exp-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.exp-image:hover img {
    transform: scale(1.02);
}

/* Category Filter Section */
.category-filter-section {
    background: #f8f9fa;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e8ecf0;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

/* ── Unified filter button — brand-aligned ── */
.filter-btn {
    padding: 0.5rem 1.4rem;
    background: #fff;
    color: #444;
    border: 1.5px solid #d0d5dd;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
}

.filter-btn:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
    transform: none;
    box-shadow: none;
}

.filter-btn.active {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
    font-weight: 600;
}

/* Mobile category dropdown */
.category-filter-mobile {
    display: none;
    width: 100%;
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
    background: #fff;
    border: 1.5px solid #d0d5dd;
    border-radius: 999px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23444444' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    cursor: pointer;
    transition: border-color 0.18s;
}

.category-filter-mobile:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.category-filter-mobile option {
    background: #fff;
    color: #444;
    font-weight: 500;
}

@media (max-width: 768px) {
    .category-filter-mobile {
        display: block;
    }
}


.products-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.product-category-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.product-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(26, 84, 144, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-category-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 0;
}

.product-category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(26, 84, 144, 0.25);
    border-color: rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.product-category-card:hover::before {
    opacity: 1;
}

.product-category-card:hover::after {
    top: 50%;
    left: 50%;
    opacity: 1;
    animation: pulse-glow 1.5s ease-out;
}

@keyframes pulse-glow {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.category-image-wrapper {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.category-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.05), rgba(255, 107, 53, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-category-card:hover .category-image-wrapper::after {
    opacity: 1;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.product-category-card:hover .category-image-wrapper img {
    transform: scale(1.1);
}

/* Dairy card — two images side by side in category grid */
.category-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
}

.cat-img-half {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-category-card:hover .cat-img-half {
    transform: scale(1.06);
}

.category-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.category-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.category-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-category-card:hover .category-content h3 {
    color: #ff6b35;
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.category-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #666;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.product-category-card:hover .category-content p {
    color: #555;
}

.view-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.view-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.product-category-card:hover .view-more {
    gap: 0.8rem;
}

.product-category-card:hover .view-more::after {
    width: 100%;
}

/* Services Page - Enhanced Modern Styles */
.services-content {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.08), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a5490, #ff6b35);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(26, 84, 144, 0.2);
    border-color: rgba(255, 107, 53, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
    text-align: center;
    filter: drop-shadow(0 5px 15px rgba(26, 84, 144, 0.3));
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 8px 25px rgba(255, 107, 53, 0.5));
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-align: center;
}

.service-card:hover h3 {
    color: #ff6b35;
    transform: none;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #666;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    text-align: center;
}

.service-card:hover p {
    color: #555;
}

.service-features {
    list-style: none;
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
    /* Left-align the whole list, centered within the card */
    display: inline-block;
    text-align: left;
    width: 100%;
}

.service-features li {
    padding: 0.55rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* left-align icon + text together */
    gap: 0.75rem;
    color: #555;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.service-features li:hover {
    transform: none;
    background: none;
    padding-left: 0;
    color: #1a5490;
}

/* Fixed-width icon column — all icons same horizontal position */
.service-features i {
    color: #ff6b35;
    font-size: 0.95rem;
    width: 20px;
    flex-shrink: 0;
    text-align: center;
    transition: color 0.2s ease;
}

.service-features li:hover i {
    transform: none;
    color: #1a5490;
}

/* Contact Page - Enhanced Modern Styles */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-form-container h2,
.contact-info-container h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.2rem;
    position: relative;
    display: block;
    text-align: center;
}

.contact-form-container h2::after,
.contact-info-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    border-radius: 2px;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
    transition: left 0.6s ease;
}

.contact-form:hover {
    box-shadow: 0 15px 40px rgba(26, 84, 144, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.contact-form:hover::before {
    left: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    transition: all 0.4s ease;
    background: #f8f9fa;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.btn-submit {
    background: linear-gradient(135deg, #1a5490 0%, #2980b9 100%);
    color: var(--white);
    padding: 1.1rem 2.8rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 8px 20px rgba(26, 84, 144, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26, 84, 144, 0.5);
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(5px);
}

.contact-info-cards {
    display: grid;
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a5490, #ff6b35);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 84, 144, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.info-card i {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
}

.info-card:hover i {
    transform: scale(1.3) rotateY(360deg);
    color: var(--primary-color);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.info-card:hover h4 {
    color: #ff6b35;
}

.info-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-card a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.map-container:hover {
    box-shadow: 0 20px 50px rgba(26, 84, 144, 0.2);
    transform: translateY(-5px);
}

/* Featured Products Gallery */
.featured-products-gallery {
    padding: 5rem 0;
    background: var(--white);
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-showcase-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
}

/* Shimmer sweep — staggered 1s offset so cards don't all flash together */
.product-showcase-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 80%
    );
    transform: skewX(-15deg);
    animation: card-shimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.product-showcase-card:nth-child(2)::after { animation-delay: 1.3s; }
.product-showcase-card:nth-child(3)::after { animation-delay: 2.6s; }

/* Shared shimmer keyframes — sweep takes 0.8s, rest of 4s cycle is pause */
@keyframes card-shimmer {
    0%   { left: -150%; opacity: 1; }
    20%  { left:  150%; opacity: 1; }
    21%  { opacity: 0; }
    100% { left:  150%; opacity: 0; }
}

/* Also stagger solution cards */
.solution-card:nth-child(2)::after { animation-delay: 1.3s; }
.solution-card:nth-child(3)::after { animation-delay: 2.6s; }

.product-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-showcase-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.9) 0%, rgba(255, 107, 53, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.product-showcase-card:hover .product-overlay {
    opacity: 1;
}

.view-product-btn {
    padding: 0.8rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product-showcase-card:hover .view-product-btn {
    transform: translateY(0);
}

.view-product-btn:hover {
    background: #ff6b35;
    color: var(--white);
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.product-showcase-card:hover .product-info h3 {
    color: #ff6b35;
}

.product-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Capabilities Section */
.capabilities-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.capability-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.capability-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(26, 84, 144, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.capability-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.capability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.capability-card:hover .capability-image img {
    transform: scale(1.06);
}

.capability-card h3 {
    padding: 1.5rem 1.5rem 0;
    text-align: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0;
}

.capability-card:hover h3 {
    color: #ff6b35;
    transform: scale(1.05);
}

.more-card {
    background: linear-gradient(135deg, #1a5490 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.more-content {
    text-align: center;
    color: var(--white);
}

.more-content h3 {
    color: #ff6b35;
    font-size: 1.5rem;
    padding: 0;
    margin-bottom: 0.5rem;
}

.more-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.more-card:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
}

.more-card:hover .more-content h3 {
    color: var(--white);
}

/* Featured Partners Section */
.featured-partners {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin-bottom: 3rem;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.partner-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a5490, #ff6b35);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.partner-item:hover::before {
    transform: scaleX(1);
}

.partner-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(26, 84, 144, 0.2);
    border-color: rgba(255, 107, 53, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
}

.partner-logo {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.4s ease;
}

.partner-item:hover .partner-logo {
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.05), rgba(255, 107, 53, 0.05));
    transform: scale(1.05);
}

.partner-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.partner-item:hover .partner-img {
    transform: scale(1.15);
    filter: drop-shadow(0 5px 15px rgba(26, 84, 144, 0.3));
}

.partner-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin: 0;
}

.partner-item:hover h3 {
    color: #ff6b35;
    transform: scale(1.05);
}

/* Partnership CTA Section */
.partnership-cta {
    background: linear-gradient(135deg, #1a5490 0%, #2980b9 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
    box-shadow: 0 15px 40px rgba(26, 84, 144, 0.3);
}

.partnership-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    animation: float-bg 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes float-bg {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

.partnership-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: slide-down 0.8s ease-out;
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partnership-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fade-in 0.8s ease-out 0.2s both;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.partnership-cta .primary-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    border: 2px solid transparent;
    animation: scale-in 0.8s ease-out 0.4s both;
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.partnership-cta .primary-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    border-radius: 50px;
    z-index: -1;
}

.partnership-cta .primary-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 45px rgba(255, 107, 53, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.partnership-cta .primary-button:hover::before {
    animation: pulse-expand 0.8s ease-out;
}

@keyframes pulse-expand {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.partnership-cta .primary-button:active {
    transform: translateY(-2px) scale(1.02);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quick-links-grid ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.footer-col p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Footer logo */
.footer-logo-link {
    display: inline-block;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-brand h3 {
    margin-bottom: 0 !important;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    letter-spacing: 0.02em;
}

.footer-logo-link:hover .footer-brand h3 {
    color: #ff8c42 !important;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.6), 0 0 25px rgba(26, 84, 144, 0.4);
    transform: scale(1.08) skewX(-2deg);
    letter-spacing: 0.1em;
}

.footer-logo-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    transition: var(--transition);
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-logo-link:hover .footer-logo-img {
    transform: rotate(360deg) scale(1.1);
    filter: drop-shadow(0 0 15px rgba(243, 156, 18, 0.8))
            drop-shadow(0 0 25px rgba(26, 84, 144, 0.6))
            brightness(1.2);
}

.footer-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    opacity: 0;
    transition: all 0.6s ease;
}

.footer-logo-link:hover .footer-logo-wrapper::before {
    width: 80px;
    height: 80px;
    opacity: 0.6;
    animation: pulse-ring 1.5s infinite;
}

.footer-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer-logo-link:hover .footer-logo-wrapper::after {
    opacity: 1;
}

.designer-credit {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.designer-link {
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.designer-name {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    letter-spacing: 0.05em;
    animation: elegant-float 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

/* Smooth elegant floating */
@keyframes elegant-float {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* Subtle glow effect */
.designer-name::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 140, 66, 0.1));
    border-radius: 6px;
    z-index: -1;
    opacity: 0.5;
    transition: all 0.3s ease;
}

/* Smooth underline effect */
.designer-name::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    transition: width 0.4s ease;
}

.designer-link:hover .designer-name {
    animation: elegant-float-hover 2s ease-in-out infinite;
}

@keyframes elegant-float-hover {
    0%, 100% {
        transform: translateY(0px);
        opacity: 1;
    }
    50% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.designer-link:hover .designer-name::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.4), rgba(255, 140, 66, 0.2));
}

.designer-link:hover .designer-name::after {
    width: 100%;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    color: #fff;
}

.social-icon i,
.social-icon span {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* Brand colors — always visible */
.social-icon.facebook  { background: #1877f2; border: 2px solid #1877f2; }
.social-icon.youtube   { background: #ff0000; border: 2px solid #ff0000; }
.social-icon.telegram  { background: #229ed9; border: 2px solid #229ed9; }
.social-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border: 2px solid #d6249f; }
.social-icon.x-twitter { background: #000; border: 2px solid #fff; }
.social-icon.tiktok    { background: #010101; border: 2px solid #69c9d0; }
.social-icon.linkedin  { background: #0a66c2; border: 2px solid #0a66c2; }

/* Hover: lift + subtle glow, keep colors the same */
.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.social-icon:hover i,
.social-icon:hover span {
    animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.2); }
}
.social-icon.tiktok    { border-color: #69c9d0; color: #69c9d0; background: rgba(105,201,208,0.12); }
.social-icon.linkedin  { border-color: #0a66c2; color: #0a66c2; background: rgba(10,102,194,0.12); }

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-icon:hover i {
    animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.2); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GALLERY — Clean masonry, no hover effects, 10-per-page pagination
   ═══════════════════════════════════════════════════════════════════════════ */

.gallery-section {
    padding: 3.5rem 0 5rem;
    background: #f5f6f8;
}

/* ── Filter bar ──────────────────────────────────────────────────────────── */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Gallery filter buttons inherit the unified .filter-btn style above.
   Only override what differs for the gallery context. */
.filter-btn {
    padding: 0.5rem 1.4rem;
    background: #fff;
    color: #444;
    border: 1.5px solid #d0d5dd;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    white-space: nowrap;
    line-height: 1.5;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
}

.filter-btn.active {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
    font-weight: 600;
}

/* ── Masonry grid — 2 columns, natural image heights ─────────────────────── */
.gallery-grid {
    column-count: 2;
    column-gap: 14px;
}

/* Each card sits in a column and never splits across columns */
.gallery-item {
    break-inside: avoid;
    display: block;
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #e4e6ea;
    /* No hover transform, no box-shadow change — clean look */
}

/* Image wrapper — no fixed height, natural aspect ratio */
.gallery-item-image {
    width: 100%;
    line-height: 0;
}

.gallery-item-image img {
    width: 100%;
    height: auto;
    display: block;
    /* No transition, no scale — completely static */
}

/* Caption strip */
.gallery-item-info {
    padding: 8px 10px 10px;
    background: #fff;
}

.gallery-item-category {
    display: none; /* category label removed from caption */
}

.gallery-item-title {
    margin: 0;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Loading placeholder */
.gallery-loading {
    text-align: center;
    padding: 3rem;
    color: #999;
    font-size: 0.95rem;
}

/* Empty state */
.gallery-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    color: #bbb;
    font-size: 0.95rem;
}

.gallery-empty i {
    font-size: 56px;
    margin-bottom: 14px;
    opacity: 0.22;
}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 2rem 0 0.5rem;
}

.gallery-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    border: 1.5px solid #c8cdd5;
    background: #fff;
    color: #333;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gallery-page-btn:hover:not(.disabled) {
    background: #1a5490;
    border-color: #1a5490;
    color: #fff;
}

.gallery-page-btn.active {
    background: #1a5490;
    border-color: #1a5490;
    color: #fff;
    font-weight: 700;
}

.gallery-page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.gallery-page-dots {
    color: #999;
    font-size: 1rem;
    padding: 0 4px;
    user-select: none;
}

/* ── Mobile dropdown filter ──────────────────────────────────────────────── */
.gallery-filter-mobile {
    display: none;
}

/* ── Lightbox ─────────────────────────────────────────────────────────────── */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    padding: 1.5rem;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lb-in 0.22s ease-out;
}

@keyframes lb-in {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.lightbox-image {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: -46px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
}

.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.25); }

.lightbox-prev { left: -58px; }
.lightbox-next { right: -58px; }

.lightbox-info {
    text-align: center;
    margin-top: 0.9rem;
    color: #fff;
}

.lightbox-category {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 3px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lightbox-counter {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

/* Tablet: still 2 columns but tighter gap */
@media (max-width: 900px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 10px;
    }
    .gallery-item { margin-bottom: 10px; }
}

/* Mobile: single column */
@media (max-width: 560px) {
    .gallery-grid {
        column-count: 1;
        column-gap: 0;
    }
    .gallery-item { margin-bottom: 10px; }
    .gallery-section { padding: 2rem 0 3.5rem; }

    /* Hide button row, show dropdown */
    .gallery-filters { display: none; }
    .gallery-filter-mobile {
        display: block;
        width: 100%;
        padding: 0.6rem 1rem;
        border: 1.5px solid #d0d5dd;
        border-radius: 8px;
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        background: #fff;
        color: #333;
    }

    /* Lightbox nav arrows move inside on small screens */
    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }
    .lightbox-prev,
    .lightbox-next { width: 36px; height: 36px; font-size: 14px; }
    .lightbox-close { top: -42px; }
    .lightbox-image { max-height: 65vh; }
}

@media (max-width: 768px) {
    /* Keep 2-col on mid-size tablets */
    .gallery-filters { display: none; }
    .gallery-filter-mobile { display: block; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Ensure logo doesn't push hamburger/toggle off-screen */
    .logo-link {
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
    }

    .logo-text h1 {
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-text .tagline {
        display: none;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-text {
        font-size: 1rem;
    }

    .about-intro,
    .experience-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .intro-image::before,
    .exp-image::before {
        display: none;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .enterprise-section {
        margin: 2rem 0;
        padding: 1.8rem 1.4rem;
        border-radius: 12px;
    }

    .enterprise-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .enterprise-section p {
        font-size: 0.95rem;
        padding: 1.2rem 1.2rem;
        line-height: 1.8;
    }

    .mission-vision {
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .experience-section {
        padding: 3rem 1.5rem;
    }

    .company-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem;
    }

    .overview-card {
        overflow: visible;
        height: auto;
        padding: 1.5rem 1rem;
    }

    .overview-card h3 {
        font-size: 1rem;
    }

    .overview-card p {
        font-size: 0.85rem;
    }

    .workshops-grid {
        grid-template-columns: 1fr;
    }

    .workshop-card {
        padding: 2rem 1.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-container h2,
    .contact-info-container h2 {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .capability-image {
        aspect-ratio: 4 / 3;
    }

    .more-card {
        min-height: 200px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-icon {
        width: 120px;
        height: 120px;
    }

    /* Featured Cards Responsive */
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solution-image {
        height: 260px;
    }

    .solution-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 0.5rem;
    }

    /* Featured Products Gallery Responsive */
    .products-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-image-wrapper {
        height: 250px;
    }

    /* Featured Partners Responsive */
    .partners-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Stats Section Responsive */
    .stats-section .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Category Filter Responsive — hide buttons, show dropdown */
    .category-filters {
        display: none;
    }

    /* Section Title Responsive */
    .section-title {
        font-size: 2rem;
    }

    .title-background {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .logo h1,
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-image-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .logo-link {
        gap: 0.5rem;
    }

    .logo .tagline,
    .logo-text .tagline {
        font-size: 0.65rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .title-background {
        font-size: 2.5rem;
    }

    /* Stack overview cards to single column on very small screens */
    .company-overview {
        grid-template-columns: 1fr;
        padding: 1.2rem;
    }

    /* Hero Slideshow Mobile */
    .hero-slideshow {
        height: 420px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-text {
        font-size: 0.9rem;
    }

    .slide-controls button {
        width: 40px;
        height: 40px;
    }

    /* Stats Mobile — 2×2 grid */
    .stats-section .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .stat-item {
        padding: 1.2rem 0.5rem;
        text-align: center;
    }

    .stat-item i {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Featured Cards Mobile */
    .solution-image {
        height: 260px;
    }

    .solution-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 0.5rem;
    }

    .solution-content {
        padding: 1.5rem;
    }

    .solution-content h3 {
        font-size: 1.2rem;
    }

    /* Featured Products Gallery Mobile */
    .product-image-wrapper {
        height: 220px;
    }

    .product-info {
        padding: 1.2rem;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }

    .product-info p {
        font-size: 0.9rem;
    }

    .view-product-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Service Cards Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    /* Products Grid Mobile */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .category-icon {
        width: 100px;
        height: 100px;
    }

    /* Featured Partners Mobile */
    .partners-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partner-logo {
        width: 120px;
        height: 120px;
    }

    .partner-img {
        width: 100px;
        height: 100px;
    }

    .partner-item h3 {
        font-size: 1.1rem;
    }
}


/* (gallery responsive rules are consolidated in the gallery section above) */


/* ===== LATEST NEWS SECTION ===== */
.latest-news-section {
    padding: 100px 0;
    background: #f4f4f4;
    position: relative;
    overflow: hidden;
}

.latest-news-section::before {
    display: none; /* remove dark radial glows — not needed on light bg */
}

.news-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.news-title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

/* Match .section-title exactly — same color, size, weight as "Featured Products" */
.news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color); /* #1a5490 — same as all other section titles */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    margin: 0;
    letter-spacing: normal;
    text-shadow: none;
}

/* Underline bar — matches .section-title::after style */
.news-title-underline {
    height: 4px;
    width: 80px;
    background: var(--secondary-color); /* #f39c12 */
    margin: 12px auto 0;
    border-radius: 2px;
    animation: none;
}

.news-subtitle {
    font-size: 1rem;
    color: #666;
    margin-top: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.news-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    animation: cardFadeIn 0.6s ease-out forwards;
    opacity: 0;
    position: relative;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }

.news-card:hover {
    transform: translateY(-6px);
    border-color: #c8d6e8;
    box-shadow: 0 12px 32px rgba(26, 84, 144, 0.12);
}

.news-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e8ecf0;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.15) rotate(2deg);
}

.news-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 152, 0, 0.6);
    }
}

.news-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-card-overlay {
    opacity: 1;
}

.news-read-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
}

.news-read-btn:hover {
    background: #e85a25;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.45);
}

.news-card-content {
    padding: 24px;
    background: #fff;
}

.news-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.82rem;
    color: #1a5490;
    font-weight: 600;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date::before {
    content: '📅';
}

.news-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-author::before {
    content: '✍️';
}

.news-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 10px 0;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.news-card:hover .news-card-title {
    color: #1a5490;
}

.news-card-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin: 10px 0;
    opacity: 1;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a5490;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    margin-top: 12px;
    transition: all 0.25s ease;
    position: relative;
}

.news-card-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a5490;
    transition: width 0.25s ease;
}

.news-card:hover .news-card-link::after {
    width: 100%;
}

.news-card-link i {
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-link i {
    transform: translateX(5px);
}

.news-cta {
    text-align: center;
    padding: 40px 40px;
    background: #fff;
    border: 1.5px solid #dde3ea;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.news-cta p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 20px;
    font-weight: 500;
}

.news-subscribe-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.news-subscribe-btn:hover {
    background: #e85a25;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.45);
}

.news-subscribe-btn:active {
    transform: translateY(-1px);
}

/* ===== NEWS SECTION RESPONSIVE ===== */
@media (max-width: 768px) {
    .latest-news-section {
        padding: 60px 0;
    }

    .news-title {
        font-size: 2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card-content {
        padding: 18px;
    }

    .news-card-title {
        font-size: 1.05rem;
    }

    .news-cta {
        padding: 28px 20px;
    }

    .news-cta p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 1.8rem;
    }

    .news-subtitle {
        font-size: 0.9rem;
    }

    .news-card-image {
        height: 180px;
    }

    .news-card-meta {
        flex-direction: column;
        gap: 6px;
    }

    .news-subscribe-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}


/* ===== NEWS MODAL ===== */
.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.news-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 82vh;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    animation: lb-in 0.25s ease-out;
}

.news-modal-scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 44px 40px;
    scroll-behavior: smooth;
    color: #333;
}

/* Scrollbar */
.news-modal-scroll::-webkit-scrollbar { width: 6px; }
.news-modal-scroll::-webkit-scrollbar-track { background: #f0f2f5; border-radius: 6px; }
.news-modal-scroll::-webkit-scrollbar-thumb { background: #c8d0db; border-radius: 6px; }
.news-modal-scroll::-webkit-scrollbar-thumb:hover { background: #1a5490; }

.news-modal-article {
    animation: fadeIn 0.4s ease;
}

.news-modal-article img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.news-modal-article h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 14px;
    line-height: 1.3;
}

.news-modal-article .article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1.5px solid #e8ecf0;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #1a5490;
    font-weight: 600;
    font-size: 0.88rem;
}

.article-meta-item i { font-size: 1rem; }

.news-modal-article p {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

.news-modal-article .article-highlight {
    background: #f0f5ff;
    border-left: 4px solid #1a5490;
    padding: 18px 20px;
    border-radius: 8px;
    margin: 24px 0;
    font-style: italic;
    color: #1a5490;
}

.news-modal-article ul {
    list-style: none;
    padding: 0;
    margin: 18px 0;
}

.news-modal-article li {
    color: #444;
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
}

.news-modal-article li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 1rem;
}

/* Close button */
.news-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f4f6f9;
    border: 1.5px solid #e0e5ec;
    color: #555;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    z-index: 2001;
}

.news-modal-close:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 768px) {
    .news-modal-content {
        width: 95%;
        height: 90vh;
    }
    .news-modal-scroll { padding: 36px 22px; }
    .news-modal-article img { height: 220px; }
    .news-modal-article h2 { font-size: 1.5rem; }
    .news-modal-article p { font-size: 0.92rem; }
    .article-meta { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
    .news-modal-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    .news-modal-scroll { padding: 24px 16px; }
    .news-modal-article h2 { font-size: 1.25rem; }
    .news-modal-article p { font-size: 0.88rem; }
}


/* ===== CONTACT FORM ENHANCEMENTS ===== */
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form select:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.contact-form select:hover {
    border-color: #ff9800;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ff9800;
    transition: all 0.3s ease;
}

.checkbox-group input[type="checkbox"]:hover {
    transform: scale(1.1);
}

.checkbox-group span {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkbox-group label {
        gap: 10px;
    }
}


/* ===== WE'RE HIRING SECTION ===== */
.hiring-section {
    margin: 40px 0 0;
    padding: 50px 0;
    border-top: 1.5px solid #e0e5ec;
    border-bottom: 1.5px solid #e0e5ec;
}

.hiring-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Match site section-title style */
.hiring-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    margin: 0 0 10px 0;
    letter-spacing: normal;
    text-shadow: none;
}

/* Underline bar matching section-title::after */
.hiring-title-underline {
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.hiring-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 14px 0 0;
    font-weight: 400;
}

.hiring-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

/* Clean white card — matches news-card style */
.job-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    animation: cardFadeIn 0.6s ease-out forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.job-card:nth-child(1) { animation-delay: 0.1s; }
.job-card:nth-child(2) { animation-delay: 0.2s; }
.job-card:nth-child(3) { animation-delay: 0.3s; }

/* Remove the dark shimmer sweep */
.job-card::before { display: none; }

.job-card:hover {
    transform: translateY(-5px);
    border-color: #c8d6e8;
    box-shadow: 0 12px 32px rgba(26, 84, 144, 0.12);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 10px;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0;
    flex: 1;
    line-height: 1.35;
}

/* Level badge — single consistent color, no multi-color confusion */
.job-level {
    background: #1a5490;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.4px;
}

/* Remove per-level color overrides */
.job-level.senior,
.job-level.mid,
.job-level.entry { background: #1a5490; }

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf0f4;
}

.job-detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #555;
}

.job-detail-item i {
    color: #1a5490;
    font-size: 0.85rem;
}

.job-description {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 12px 0;
}

.job-apply-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.875rem;
    text-decoration: none;
}

.job-apply-btn:hover {
    background: #e85a25;
    transform: translateX(3px);
}

.hiring-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #edf0f4;
}

.hiring-footer p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
}

.hiring-footer a {
    color: #1a5490;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.hiring-footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* No open positions message */
.no-jobs-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border: 1.5px dashed #c8d6e8;
    border-radius: 12px;
    color: #555;
}

.no-jobs-message i {
    font-size: 2.5rem;
    color: #b0bec5;
    margin-bottom: 16px;
    display: block;
}

.no-jobs-message p {
    font-size: 1.05rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ===== JOB MODAL ===== */
.job-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.job-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    height: 82vh;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    animation: lb-in 0.25s ease-out;
}

.job-modal-scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 44px 40px;
    scroll-behavior: smooth;
}

.job-modal-scroll::-webkit-scrollbar { width: 6px; }
.job-modal-scroll::-webkit-scrollbar-track { background: #f0f2f5; border-radius: 6px; }
.job-modal-scroll::-webkit-scrollbar-thumb { background: #c8d0db; border-radius: 6px; }
.job-modal-scroll::-webkit-scrollbar-thumb:hover { background: #1a5490; }

.job-modal-details {
    animation: fadeIn 0.4s ease;
}

.job-modal-details h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 10px 0;
}

.job-modal-details .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1.5px solid #e8ecf0;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #1a5490;
    font-weight: 600;
    font-size: 0.88rem;
}

.job-meta-item i { font-size: 0.95rem; }

.job-modal-details p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.job-modal-details h3 {
    color: #1a5490;
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 22px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-modal-details ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.job-modal-details li {
    color: #444;
    padding: 7px 0 7px 26px;
    position: relative;
    line-height: 1.6;
    font-size: 0.92rem;
}

.job-modal-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 0.95rem;
}

.job-apply-cta {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1.5px solid #e8ecf0;
    text-align: center;
}

.job-apply-cta p {
    color: #666;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.job-apply-cta a {
    background: #ff6b35;
    color: #fff;
    padding: 12px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.job-apply-cta a:hover {
    background: #e85a25;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

/* Close button */
.job-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f4f6f9;
    border: 1.5px solid #e0e5ec;
    color: #555;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    z-index: 2001;
}

.job-modal-close:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
    transform: rotate(90deg);
}

/* Hiring section responsive */
@media (max-width: 768px) {
    .hiring-title { font-size: 2rem; }
    .hiring-cards { grid-template-columns: 1fr; }
    .job-modal-content { width: 95%; height: 90vh; }
    .job-modal-scroll { padding: 36px 22px; }
    .job-modal-details h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .hiring-title { font-size: 1.7rem; }
    .job-card-header { flex-direction: column; }
    .job-level { align-self: flex-start; }
    .job-modal-content { width: 100%; height: 100vh; border-radius: 0; }
    .job-modal-scroll { padding: 24px 16px; }
}


/* ===== SCROLL TO TOP BUTTON ===== */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff9800 0%, #ffc107 100%);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

#scrollToTopBtn.show {
    display: flex;
    animation: slideUp 0.4s ease-out;
}

#scrollToTopBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 152, 0, 0.6);
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

#scrollToTopBtn:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    #scrollToTopBtn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ============================================================
   SurGraphicsBlack — Custom Amharic Font
   ============================================================ */
@font-face {
    font-family: 'SurGraphicsBlack';
    src: url('../fonts/Font.et - SurGraphics Black - Surafel Fitsum 0928 959926/Font.et - SurGraphics Black - Surafel Fitsum 0928 959926/Sur_Graphics_Extra_Bold_15c4e92309.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Apply SurGraphicsBlack ONLY to the hero slideshow heading when Amharic is active.
   Scoped with body.lang-am so it never affects English mode or any other element. */
body.lang-am .hero-slideshow .slide-title {
    font-family: 'SurGraphicsBlack', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Apply SurGraphicsBlack to the welcome video overlay heading in Amharic mode. */
body.lang-am .video-title {
    font-family: 'SurGraphicsBlack', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


/* ============================================================
   TRIAE AI Chatbot Widget
   ============================================================ */

/* ── Toggle button ──────────────────────────────────────────── */
#triae-chat-widget {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 8000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chat-toggle-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5490, #2980b9);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(26, 84, 144, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(26, 84, 144, 0.55);
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: chat-pulse 2s infinite;
}

@keyframes chat-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.15); }
}

/* ── Chat window ─────────────────────────────────────────────── */
.chat-window {
    position: absolute;
    bottom: 68px;
    right: 0;
    width: 360px;
    max-height: 520px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* ── Header ──────────────────────────────────────────────────── */
.chat-header {
    background: linear-gradient(135deg, #1a5490, #2980b9);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 3px;
}

.chat-header-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0;
}

.chat-header-status {
    color: rgba(255,255,255,0.8);
    font-size: 0.75rem;
    margin: 2px 0 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    display: inline-block;
    animation: chat-pulse 2s infinite;
}

.chat-close-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.chat-close-btn:hover { background: rgba(255,255,255,0.3); }

/* Header action buttons group */
.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-reset-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.chat-reset-btn:hover { background: rgba(255,255,255,0.3); }

/* ── Messages ────────────────────────────────────────────────── */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f5f7fa;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: #c8d0db; border-radius: 4px; }

.chat-msg-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.chat-msg-user { align-self: flex-end; align-items: flex-end; }
.chat-msg-bot  { align-self: flex-start; align-items: flex-start; }

.chat-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.55;
    word-break: break-word;
}

.chat-bubble-user {
    background: linear-gradient(135deg, #1a5490, #2980b9);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-bubble-bot {
    background: #fff;
    color: #333;
    border: 1px solid #e8ecf0;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Clickable category chips inside bot messages */
.chat-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.chat-cat-chip {
    padding: 5px 12px;
    background: #f0f5ff;
    border: 1.5px solid #1a5490;
    color: #1a5490;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
    text-align: left;
}

.chat-cat-chip:hover {
    background: #1a5490;
    color: #fff;
}
.chat-bubble .chat-link {
    display: inline-block;
    margin-top: 6px;
    color: #ff6b35;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    border: 1.5px solid #ff6b35;
    border-radius: 999px;
    padding: 3px 12px;
    transition: background 0.18s, color 0.18s;
}

.chat-bubble .chat-link:hover {
    background: #ff6b35;
    color: #fff;
}

.chat-msg-time {
    font-size: 0.68rem;
    color: #aaa;
    margin: 3px 4px 0;
}

/* Typing dots */
.chat-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
}

.chat-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1a5490;
    animation: typing-bounce 1.2s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
    40%           { transform: scale(1);   opacity: 1; }
}

/* ── Quick replies ───────────────────────────────────────────── */
.chat-quick-replies {
    padding: 8px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #f5f7fa;
    border-top: 1px solid #e8ecf0;
    flex-shrink: 0;
}

.quick-reply-btn {
    padding: 5px 12px;
    background: #fff;
    border: 1.5px solid #1a5490;
    color: #1a5490;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.quick-reply-btn:hover {
    background: #1a5490;
    color: #fff;
}

/* ── Input area ──────────────────────────────────────────────── */
.chat-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #e8ecf0;
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    padding: 9px 14px;
    border: 1.5px solid #d0d5dd;
    border-radius: 999px;
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.18s;
    background: #f9fafb;
}

.chat-input:focus {
    border-color: #1a5490;
    background: #fff;
}

.chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ff6b35;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, transform 0.18s;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: #e85a25;
    transform: scale(1.08);
}

/* TTS speak button */
.chat-speak-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #c8d0db;
    color: #555;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    flex-shrink: 0;
}

.chat-speak-btn:hover {
    background: #eef2fb;
    border-color: #1a5490;
    color: #1a5490;
}

.chat-speak-btn.speaking {
    background: #1a5490;
    border-color: #1a5490;
    color: #fff;
    animation: chat-pulse 1s infinite;
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
    #triae-chat-widget { right: 12px; bottom: 80px; }
    .chat-window { width: calc(100vw - 24px); right: 0; }
}

/* ── Scroll to Top Button ─────────────────────────────────────── */
#scrollToTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1a5490;
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 999;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTopBtn:hover {
    background-color: #0d2d4f;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Icon Alignment */
#scrollToTopBtn i {
    font-size: 1.2rem;
    pointer-events: none;
}

