:root {
    --primary-color: #004d99;
    /* Deep Blue - Trust/Standard */
    --secondary-color: #f39c12;
    /* Gold/Orange - Premium/Energy (No more Red) */
    --text-color: #333333;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --transition-speed: 0.3s;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn:hover {
    background-color: white;
    color: var(--secondary-color);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

/* Navbar (Apple Style) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: rgba(255, 255, 255, 0.72);
    /* Translucent */
    backdrop-filter: saturate(180%) blur(20px);
    /* Apple Blur Effect */
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    position: sticky;
    top: 20px;
    z-index: 1000;

    /* Centered Rounded Style */
    width: 90%;
    max-width: 1000px;
    /* Slightly compact */
    margin: 20px auto 0;
    border-radius: 20px;
    /* Smooth corners */
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.navbar .logo img {
    height: 45px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    color: var(--primary-color) !important;
    /* Force override */
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    /* Semi-transparent base */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
}

.nav-links a:hover,
.nav-links a.active {
    color: white !important;
    background: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* Remove old underline effect for cleaner look */
.nav-links a::after {
    display: none;
}

/* Global Transitions */
body {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Smooth reveal for sections */
.section-padding,
.stats-section,
.hero-content {
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.lang-switch {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 20px;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    width: 32px;
    /* Set fixed width */
    height: 32px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    /* Inactive state */
    opacity: 0.7;
    display: flex;
    /* alignment */
    align-items: center;
    justify-content: center;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    /* Slight rounded corners for flags */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover,
.lang-btn.active {
    filter: grayscale(0%);
    /* Full color on active/hover */
    opacity: 1;
    transform: scale(1.1);
    background: transparent;
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    margin-top: -90px;
    /* Offset navbar height for full immersive effect if desired, or keep generic */
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#heroVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
    /* Enable controls interaction */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay for text readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 10px;
    color: #f0f0f0;
}

/* Page Header (Restored Blue Stripe) */
.page-header {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
    color: white;
    margin-top: 0;
}

.page-header h1 {
    font-size: 36px;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.page-header p {
    font-size: 18px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
}



.hero-content .tagline {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

/* Stats Section */
/* Stats Section */
.stats-section {
    padding: 30px 0;
    background-color: var(--bg-white);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    /* Only wrap on very small screens */
}

.stat-card {
    background: white;
    padding: 15px 25px;
    /* Compact padding */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    flex: 0 1 250px;
    /* Base width */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-illustration {
    height: 60px;
    /* Small icon container */
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.stat-icon-placeholder {
    font-size: 32px;
    /* Small icon */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.stat-content h2.counter {
    font-size: 32px;
    /* Small font */
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2px;
    line-height: 1.1;
}

.stat-content p {
    font-size: 13px;
    /* Small label */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Services Grid */
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: #666;
}

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

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform var(--transition-speed);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary-color);
}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #111;
    color: #ecf0f1;
    padding: 80px 0 20px;
    font-size: 14px;
    border-top: 4px solid var(--secondary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p {
    line-height: 1.8;
    color: #bdc3c7;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bdc3c7;
    transition: all 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    color: white;
    font-size: 14px;
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 25px;
    color: #7f8c8d;
    font-size: 13px;
}

.dev-link {
    color: var(--secondary-color);
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.dev-link:hover {
    color: white;
    border-bottom: 2px solid var(--secondary-color);
    letter-spacing: 1px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-top: 40px;
        transition: right 0.4s;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

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

    .hamburger {
        display: flex;
    }
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
    text-align: justify;
}

.about-text blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* Board Grid */
.bg-light {
    background-color: var(--bg-light);
}

.board-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.board-member {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 250px;
    transition: transform 0.3s;
}

.board-member:hover {
    transform: translateY(-5px);
}

.board-member img {
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--secondary-color);
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.board-member h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.board-member p {
    font-size: 14px;
    color: #777;
    font-weight: 600;
}

/* Detailed Services */
.detailed-services {
    margin-top: 40px;
}

.detailed-service-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.detailed-service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.detailed-service-item .ds-image {
    flex: 1;
}

.detailed-service-item .ds-image img {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.detailed-service-item .ds-content {
    flex: 1;
}

.detailed-service-item .ds-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.detailed-service-item .ds-content p {
    font-size: 16px;
    color: #555;
}

@media (max-width: 768px) {
    .detailed-service-item {
        flex-direction: column;
    }

    .detailed-service-item:nth-child(even) {
        flex-direction: column;
    }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

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

.contact-icon-wrapper {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.special-offer {
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
}

.special-offer h3 {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Illustration Layout (Services) */
.illustration-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.illus-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.illus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.illus-img-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.illus-placeholder {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.illus-content {
    padding: 30px;
}

.illus-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.illus-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.link-arrow {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: letter-spacing 0.3s;
}

.link-arrow:hover {
    letter-spacing: 1px;
}