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

:root {
    --primary-blue: #003d7a;
    --secondary-blue: #0056b3;
    --light-blue: #e6f2ff;
    --accent-blue: #0099ff;
    --dark-blue: #001f3f;
    --gold: #d4af37;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f2ff 100%);
    overflow: hidden;
    contain: strict;
    pointer-events: none;
}

.gear {
    position: absolute;
    opacity: 0.03;
    animation: rotate 20s linear infinite;
    will-change: transform;
    contain: layout style;
}

.gear1 {
    top: 10%;
    left: 10%;
    font-size: 200px;
    color: var(--primary-blue);
}

.gear2 {
    bottom: 20%;
    right: 10%;
    font-size: 150px;
    color: var(--secondary-blue);
    animation-direction: reverse;
    animation-duration: 25s;
}

.gear3 {
    top: 50%;
    right: 30%;
    font-size: 100px;
    color: var(--accent-blue);
    animation-duration: 30s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg) translateZ(0);
    }

    to {
        transform: rotate(360deg) translateZ(0);
    }
}

/* Flowing Lines Animation */
.flowing-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    animation: flow 8s linear infinite;
    will-change: transform;
}

.line1 {
    top: 20%;
    width: 60%;
    animation-delay: 0s;
}

.line2 {
    top: 50%;
    width: 40%;
    animation-delay: 2s;
}

.line3 {
    top: 80%;
    width: 50%;
    animation-delay: 4s;
}

@keyframes flow {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(200%);
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    pointer-events: none;
}

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

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid var(--light-blue);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
}

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

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
}

.top-bar a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 1;
}

/* Navigation */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.logo-icon i {
    color: white;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 5px;
}

.nav-menu a:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.nav-menu a.active {
    background: var(--primary-blue);
    color: white;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
    position: relative;
    margin-left: 10px;
    z-index: 1200;
    flex-shrink: 0;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--light-blue);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-blue);
}

.lang-toggle:hover {
    background: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 61, 122, 0.12);
}

.lang-flag {
    display: flex;
    align-items: center;
    width: 24px;
    height: 18px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.flag-icon {
    width: 100%;
    height: 100%;
    display: block;
}

.lang-label {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lang-arrow {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 31, 63, 0.18), 0 2px 8px rgba(0, 61, 122, 0.08);
    padding: 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 61, 122, 0.08);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.lang-option:hover {
    background: var(--light-blue);
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.08), rgba(0, 86, 179, 0.05));
    font-weight: 600;
    color: var(--primary-blue);
}

.lang-option .lang-name {
    flex: 1;
    text-align: left;
}

.lang-check {
    font-size: 0.75rem;
    color: var(--primary-blue);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lang-option.active .lang-check {
    opacity: 1;
}

/* Language switcher in mobile */
@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-right: 8px;
    }

    .lang-toggle {
        padding: 6px 10px;
        gap: 6px;
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .lang-flag {
        width: 20px;
        height: 15px;
    }

    .lang-dropdown {
        right: -10px;
        min-width: 160px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    /* background: linear-gradient(135deg, rgba(0, 61, 122, 0.9), rgba(0, 86, 179, 0.8)),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1932&q=80');
    background-size: cover;
    background-position: center; */
    background: #001f3f;
    /* Fallback color */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    contain: layout style;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity, transform;
    contain: layout style;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    animation: kenBurns 8s ease-in-out infinite alternate;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.9), rgba(0, 86, 179, 0.4));
    z-index: 2;
}

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

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

/* Removed hero::before shine animation for performance */

@keyframes hero-shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: white;
    color: var(--primary-blue);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Trust Indicators */
.trust-indicators {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

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

.trust-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.trust-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* About Section */
.about {
    padding: 80px 0;
    /* background: white; */
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-badge {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 61, 122, 0.15);
}

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

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

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 61, 122, 0.9), transparent);
    padding: 30px;
    color: white;
}

/* Video style for About section */
.about-image video {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 61, 122, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 10px;
}

/* Values Section */
.values {
    padding: 80px 0;
    background: var(--primary-blue);
    color: white;
}

.values-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.value-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    /* background: white; */
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.portfolio-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    width: calc(33.333% - 20px);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 61, 122, 0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    background: #f0f2f5;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-category {
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.portfolio-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.portfolio-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Leadership Section */
.leadership {
    padding: 80px 0;
    background: #f8f9fa;
}

.leadership-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.leader-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: calc(33.333% - 20px);
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 61, 122, 0.15);
}

.leader-image {
    position: relative;
    overflow: hidden;
    background: #f0f2f5;
    height: 300px;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-image img {
    transform: scale(1.1);
}

.leader-info {
    padding: 25px;
    text-align: center;
}

.leader-name {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.leader-position {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.leader-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.leader-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.leader-social a {
    width: 40px;
    height: 40px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.leader-social a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

/* Blog Section */
.blog-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 61, 122, 0.15);
}

.blog-image {
    overflow: hidden;
    position: relative;
    background: #f0f2f5;
    height: 350px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-meta i {
    color: var(--primary-blue);
}

.blog-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 10px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding: 40px;
    background: var(--light-blue);
    border-radius: 10px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 61, 122, 0.1);
}

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

/* Footer */
footer {
    background: var(--dark-blue);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-about h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-about p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

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

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

.footer-column ul li a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.8;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 61, 122, 0.3);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-blue);
    transform: translateY(-5px);
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .portfolio-grid {
        gap: 25px;
    }

    .portfolio-item {
        width: calc(50% - 15px);
    }

    .leadership-grid {
        gap: 25px;
    }

    .leader-card {
        width: calc(50% - 15px);
    }
}

/* ============================================
   MOBILE MENU BUTTON
   ============================================ */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-blue);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1100;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: var(--light-blue);
}

.mobile-menu-btn i {
    transition: transform 0.3s ease;
}

/* ============================================
   MOBILE MENU OVERLAY (Backdrop)
   ============================================ */
.mobile-menu-overlay {
    display: none;
}

/* Hide mobile-only logo on desktop */
.mobile-nav-logo {
    display: none;
}

/* ============================================
   RESPONSIVE MAX-WIDTH 768px
   ============================================ */
@media (max-width: 768px) {

    /* -- Overlay -- */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 31, 63, 0.55);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* -- Mobile Menu Button -- */
    .mobile-menu-btn {
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    /* When active (showing X icon), make it white so it's visible on dark background */
    .mobile-menu-btn.active {
        color: #ffffff;
    }

    .mobile-menu-btn.active:hover {
        background: rgba(0, 31, 63, 0.55);
    }

    /* -- Nav Menu Panel -- */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -110%;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(175deg, #ffffff 0%, #f0f6ff 100%);
        flex-direction: column;
        padding: 0;
        box-shadow: -12px 0 50px rgba(0, 31, 63, 0.2);
        transition: right 0.45s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 1050;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

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

    /* -- Menu Header inside panel -- */
    .nav-menu::before {
        content: '';
        display: block;
        width: 100%;
        height: 80px;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
        position: relative;
        flex-shrink: 0;
    }

    /* -- Decorative gradient line below header -- */
    .nav-menu::after {
        content: '';
        display: block;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--accent-blue), var(--gold), var(--accent-blue));
        flex-shrink: 0;
    }

    /* -- Logo on the blue header area -- */
    .mobile-nav-logo {
        position: absolute;
        top: 0;
        left: 20px;
        height: 80px;
        display: flex;
        align-items: center;
        z-index: 10;
    }

    .mobile-nav-logo img {
        height: 38px;
    }

    /* -- Menu Items -- */
    .nav-menu li {
        opacity: 0;
        transform: translateX(40px);
        transition: all 0.35s ease;
        border-bottom: 1px solid rgba(0, 61, 122, 0.06);
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation delays for each menu item */
    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.08s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.14s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.20s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.26s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.32s;
    }

    .nav-menu.active li:nth-child(6) {
        transition-delay: 0.38s;
    }

    .nav-menu.active li:nth-child(7) {
        transition-delay: 0.44s;
    }

    .nav-menu.active li:nth-child(8) {
        transition-delay: 0.50s;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        padding: 16px 28px;
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--text-primary);
        text-decoration: none;
        border-radius: 0;
        position: relative;
        transition: all 0.3s ease;
        letter-spacing: 0.3px;
    }

    /* Left accent bar on hover/active */
    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scaleY(0);
        width: 4px;
        height: 60%;
        border-radius: 0 4px 4px 0;
        background: linear-gradient(180deg, var(--accent-blue), var(--primary-blue));
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .nav-menu a:hover::before,
    .nav-menu a.active::before {
        transform: translateY(-50%) scaleY(1);
    }

    .nav-menu a:hover {
        background: rgba(0, 61, 122, 0.05);
        color: var(--primary-blue);
        padding-left: 36px;
    }

    .nav-menu a.active {
        background: linear-gradient(90deg, rgba(0, 61, 122, 0.1), transparent);
        color: var(--primary-blue);
        font-weight: 700;
        padding-left: 36px;
    }

    /* -- Special CTA style for last item (Perekrutan) -- */
    .nav-menu li:last-child {
        margin: 16px 20px;
        border-bottom: none;
        border-radius: 12px;
        overflow: hidden;
    }

    .nav-menu li:last-child a {
        background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)) !important;
        color: white !important;
        border-radius: 12px;
        padding: 14px 24px;
        justify-content: center;
        font-weight: 600;
        box-shadow: 0 4px 18px rgba(0, 61, 122, 0.25);
        transition: all 0.3s ease;
    }

    .nav-menu li:last-child a::before {
        display: none;
    }

    .nav-menu li:last-child a:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(0, 61, 122, 0.35);
        padding-left: 24px;
    }

    .nav-menu li:last-child a i {
        margin-right: 8px;
    }

    /* -- Hero responsive -- */
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* -- Section Headers -- */
    .section-header {
        margin: 0 auto 35px;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 5px 15px;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

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

    /* -- About Section -- */
    .about {
        padding: 50px 0;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .about-content {
        gap: 30px;
    }

    .feature-item strong {
        font-size: 0.9rem;
    }

    .about-image {
        border-radius: 10px;
    }

    .about-image img,
    .about-image video {
        height: auto !important;
        width: 100%;
        object-fit: contain;
    }

    .about-image-overlay {
        padding: 15px;
    }

    .about-image-overlay h3 {
        font-size: 1rem;
    }

    .about-image-overlay p {
        font-size: 0.8rem;
    }

    /* -- Services Section -- */
    .services {
        padding: 50px 0;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    /* -- Values Section -- */
    .values {
        padding: 50px 0;
    }

    .value-item h3 {
        font-size: 1.1rem;
    }

    .value-item p {
        font-size: 0.85rem;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* -- Portfolio Section -- */
    .portfolio {
        padding: 50px 0;
    }

    .portfolio-item {
        width: 100%;
    }

    .portfolio-image {
        height: 220px;
    }

    .portfolio-title {
        font-size: 1.1rem;
    }

    .portfolio-desc {
        font-size: 0.9rem;
    }

    .portfolio-category {
        font-size: 0.75rem;
    }

    .tab-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    /* -- Leadership Section -- */
    .leadership {
        padding: 50px 0;
    }

    .leader-card {
        width: 100%;
    }

    .leader-image {
        height: 280px;
    }

    .leader-name {
        font-size: 1.1rem;
    }

    .leader-position {
        font-size: 0.9rem;
    }

    .leader-bio {
        font-size: 0.85rem;
    }

    /* -- Blog Section -- */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-title {
        font-size: 1.1rem;
    }

    .blog-excerpt {
        font-size: 0.9rem;
    }

    .blog-content {
        padding: 18px;
    }

    .blog-link {
        font-size: 0.9rem;
    }

    /* -- Contact Section -- */
    .contact {
        padding: 50px 0;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .contact-info {
        padding: 25px;
    }

    .contact-details h4 {
        font-size: 0.95rem;
    }

    .contact-details p {
        font-size: 0.85rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* -- Footer -- */
    .footer-about h3 {
        font-size: 1.3rem;
    }

    .footer-about p {
        font-size: 0.9rem;
    }

    .footer-column h4 {
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    /* -- Logo responsive -- */
    .logo .logo-image {
        height: 90px !important;
    }

    .trust-container {
        flex-direction: column;
        gap: 30px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .top-bar {
        display: none;
    }

    .hero {
        height: 500px;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* Keyframes for animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

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

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}