:root {
    --primary-color: #2c3e50;
    --secondary-color: #000000;
    --accent-color: #ffffff;
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.7);
    --text-muted: rgba(0, 0, 0, 0.5);
    --bg-primary: #ffffff;
    --bg-secondary: rgba(0, 0, 0, 0.05);
    --bg-dark: rgba(0, 0, 0, 0.9);
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    margin-left: 120px;
    transition: margin-left 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles - Sidebar Layout */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 120px;
    height: 100vh;
    background: #344A9D;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

header.scrolled {
    background: #344A9D;
    backdrop-filter: blur(20px);
}

nav {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.logo img {
    max-height: 70px;
    max-width: 100%;
    height: auto;
    width: auto;
    z-index: 1001;
    object-fit: contain;
}

.nav-menu {
    display: none;
}

.nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    width: 100%;
}

.nav-links a {
    display: block;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Burger Menu - Always Visible */
.burger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 15px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.burger:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--accent-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Sidebar Menu Overlay - Full Screen */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 50px 30px 30px;
    gap: 80px;
}

.mobile-menu .logo {
    margin-bottom: 20px;
}

.mobile-menu .logo img {
    max-height: 80px;
    max-width: 100%;
    height: auto;
    width: auto;
}

.mobile-menu-item {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    padding: 15px 30px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 250px;
}

.mobile-menu-overlay.active .mobile-menu-item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-item:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-item:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-item:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-item:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-chat-btn {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    transition-delay: 0.5s;
    margin-top: 20px;
}

.mobile-menu-overlay.active .mobile-chat-btn {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-item:hover,
.mobile-chat-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}


/* Desktop Navigation in Mobile Menu Overlay */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 250px;
}

.mobile-nav-links a {
    display: block;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(1) {
    transition-delay: 0.5s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(2) {
    transition-delay: 0.6s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(3) {
    transition-delay: 0.7s;
}

.mobile-menu-overlay.active .mobile-nav-links a:nth-child(4) {
    transition-delay: 0.8s;
}

.mobile-menu-overlay.active .mobile-nav-links a {
    opacity: 1;
    transform: translateY(0);
}



/* Hero Section */
.hero {
    height: 100vh;
    background: url('Asset/Banner Website.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 50px;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    color: var(--accent-color);
    position: relative;
    z-index: 3;
    animation: fadeIn 1.5s ease forwards;
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Hide hero h1 initially to prevent flash of untyped text before typewriter animation */
.hero h1[data-i18n="home.hero.title"] {
    visibility: hidden;
    min-height: 1.2em;
    /* Reserve space to prevent layout shift */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease forwards 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.learn-more-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease forwards 0.6s;
    opacity: 0;
    transform: translateY(30px);
}

.learn-more-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    background: #FFFFFF;
    padding: 80px 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    color: #000;
}

.stat-item-index {
    text-align: center;
    color: #344A9D;
}

.stat-number {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #344A9D;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 100px 50px;
    background: #FFFFFF;
    position: relative;
    z-index: 10;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    color: #344A9D;
}

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

/* Responsive layout for services */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(50px);
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card:nth-child(3) {
    animation-delay: 0.6s;
}

.service-card:nth-child(4) {
    animation-delay: 0.8s;
}

.service-card:nth-child(5) {
    animation-delay: 1.0s;
}

.service-card:nth-child(6) {
    animation-delay: 1.2s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 250px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.service-content {
    padding: 30px;
    text-align: center;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: 120px 50px 80px;
    background: #FFFFFF;
    position: relative;
    z-index: 15;
}

.projects h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    color: #042ea6;
}

.projects-subtitle {
    text-align: center;
    color: #999;
    margin-bottom: 80px;
    font-size: 1.2rem;
}

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

/* Updated: light card + better readability */
.project-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: box-shadow 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(50px);
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card:nth-child(4) {
    animation-delay: 0.4s;
}

.project-card:nth-child(5) {
    animation-delay: 0.5s;
}

.project-card:nth-child(6) {
    animation-delay: 0.6s;
}

.project-card:nth-child(7) {
    animation-delay: 0.7s;
}

.project-card:nth-child(8) {
    animation-delay: 0.8s;
}

.project-card:nth-child(9) {
    animation-delay: 0.9s;
}

.project-card:hover {
    transform: translateY(-2px);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    overflow: hidden;
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-thumbnail:hover {
    transform: scale(1.05);
}


.project-content {
    padding: 30px;
    text-align: center;
}

/* Updated: higher contrast title and body text */
.project-content h3 {
    color: #0f172a;
    /* slate-900 */
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.project-content p {
    color: #1f2937;
    /* gray-800 */
    font-size: 0.975rem;
    line-height: 1.7;
    margin-top: 6px;
}

.project-content p strong {
    color: #0b1220;
    font-weight: 700;
}

/* Quote Section */
.quote-section {
    background: #FFFFFF;
    padding: 40px 50px 60px;
    /* reduced top padding to lower text position, adjusted bottom padding */
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    /* ensure proper vertical centering */
}

.quote-box {
    background: #344A9D;
    padding: 40px 80px;
    border-radius: 50px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
}

.quote-box h2 {
    font-size: 2.5rem;
    color: #FFFFFF;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

/* Footer */
footer {
    background: #ffffff;
    padding: 40px 50px 20px;
    position: relative;
    z-index: 0;
    margin-top: 40px;
    /* space from content */
}

/* Social media icons */
.social-icon {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #042ea6;
}

/* Admin link - discreet */
.footer-links a.admin-link {
    opacity: 0.3;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-links a.admin-link:hover {
    opacity: 1;
    transform: scale(1.2);
}


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

.social-links a {
    width: 40px;
    height: 40px;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

/* Brand-colored hover states for social media links (order-dependent) */
.social-links a:nth-child(1):hover {
    /* Facebook */
    background: #1877F2;
}

.social-links a:nth-child(2):hover {
    /* Instagram */
    background: linear-gradient(45deg, #F9CE34, #EE2A7B, #6228D7);
}

.social-links a:nth-child(3):hover {
    /* TikTok */
    background: #000000;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.footer-logo {
    margin-bottom: 10px;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

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

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Desktop Styles - Burger Menu Always Visible */
@media (min-width: 769px) {

    /* Burger menu is always visible on desktop */
    .burger {
        display: flex !important;
    }

    /* Hide traditional nav menu on desktop */
    .nav-menu {
        display: none !important;
    }

    /* Increase gap for desktop overlay menu */
    .mobile-menu {
        gap: 100px;
    }

    /* Hide logo in overlay menu for all devices */
    .mobile-menu .logo {
        display: none !important;
    }

    /* Additional space between navigation links and top on desktop */
    .mobile-nav-links {
        margin-top: 80px;
    }
}


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

    /* Additional space for mobile overlay without logo */
    .mobile-nav-links {
        margin-top: 60px;
    }

    /* Transform sidebar to regular header on mobile */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        background: #344A9D;
        backdrop-filter: blur(10px);
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: auto;
        gap: 20px;
    }

    .logo {
        position: static;
        transform: none;
        margin-bottom: 0;
        order: 1;
    }

    .logo img {
        max-height: 60px;
    }

    .burger {
        display: flex !important;
        position: static;
        order: 3;
        margin: 0;
        padding: 10px;
    }

    /* Hide nav-menu on mobile */
    .nav-menu {
        display: none !important;
    }

    /* Mobile menu overlay adjustments */
    .mobile-menu-overlay {
        display: block !important;
    }

    /* Reset body margin for mobile */
    body {
        margin-left: 0;
        padding-top: 80px;
    }

    /* Adjust hero section for mobile */
    .hero {
        padding: 100px 20px 0 20px;
        text-align: center;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .stats {
        padding: 60px 20px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .services,
    .projects {
        padding: 60px 20px;
    }

    .services h2,
    .projects h2 {
        font-size: 2.5rem;
    }

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

    .quote-box {
        padding: 40px 20px;
        margin: 0 auto;
    }

    .quote-box h2 {
        font-size: 2rem;
    }

    footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-logo {
        justify-content: center;
        text-align: center;
    }
}

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

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

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

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

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

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

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoom {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}





/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-container {
    width: calc(100vw - 20px);
    max-width: 1200px;
    max-height: calc(100vh - 20px);
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin: auto;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #000;
    border-bottom: 1px solid #333;
}

.gallery-header h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.close-gallery {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-gallery:hover {
    background: rgba(255, 255, 255, 0.1);
}

.gallery-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000;
    min-height: 250px;
    max-height: calc(100vh - 200px);
    overflow: hidden;
}

.gallery-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-height: calc(100vh - 250px);
}

.gallery-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: scale-down;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
    opacity: 0;
    display: block;
}

.gallery-image-container img.loaded {
    opacity: 1;
}

/* Loading indicator for gallery images */
.gallery-image-container.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #344A9D;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
    opacity: 1;
}

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

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

.gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: #1a1a1a;
    overflow-x: auto;
    border-top: 1px solid #333;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #333;
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.1);
    border-color: #344A9D;
}

.thumbnail.active {
    border-color: #344A9D;
    transform: scale(1.05);
}

/* Expanded Image View (Fullscreen with Blur) */
.expanded-image-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* To indicate the background is clickable to close */
    animation: fadeIn 0.3s ease;
}

.expanded-image-view img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
    /* The image itself is not clickable */
}

.expanded-image-view .close-expanded {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 45px;
    text-align: center;
    cursor: pointer;
    z-index: 2501;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.expanded-image-view .close-expanded:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Mobile Gallery Styles */
@media (max-width: 768px) {
    .gallery-modal {
        padding: 10px;
    }

    .gallery-container {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }

    .gallery-content {
        max-height: calc(100vh - 150px);
        min-height: 200px;
    }

    .gallery-image-container {
        max-height: calc(100vh - 200px);
    }

    .gallery-header {
        padding: 15px 20px;
    }

    .gallery-header h3 {
        font-size: 1.2rem;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-nav.prev {
        left: 10px;
    }

    .gallery-nav.next {
        right: 10px;
    }

    .gallery-counter {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .gallery-thumbnails {
        padding: 15px;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

/* Very Small Screens */
@media (max-width: 480px) {
    .gallery-modal {
        padding: 5px;
    }

    .gallery-container {
        width: calc(100vw - 10px);
        max-height: calc(100vh - 10px);
    }

    .gallery-content {
        max-height: calc(100vh - 120px);
        min-height: 150px;
    }

    .gallery-image-container {
        max-height: calc(100vh - 170px);
    }

    .gallery-header {
        padding: 10px 15px;
    }

    .gallery-header h3 {
        font-size: 1.1rem;
    }

    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .gallery-counter {
        bottom: 5px;
        right: 5px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .gallery-thumbnails {
        padding: 10px;
    }

    .thumbnail {
        width: 50px;
        height: 35px;
    }
}

/* Extra contrast for users who request it */
@media (prefers-contrast: more) {
    .project-content p {
        color: #0a0a0a;
        font-weight: 600;
    }

    .project-card {
        border-color: #d1d5db;
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
    }
}

/* Contact Us Page Styles */
.contact-main-section {
    padding: 70px 0 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
}

.contact-main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(49, 145, 208, 0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(49, 145, 208, 0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(49, 145, 208, 0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.contact-main-section>.container {
    position: relative;
}

.contact-layout {
    display: flex;
    height: 600px;
    gap: 40px;
}

.office-image {
    flex: 1;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.office-image:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.contact-details {
    flex: 1;
    display: grid;
    grid-template-rows: 200px 520px;
    /* fixed heights */
    gap: 24px;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 30px;
    color: #344A9D;
    font-size: 1.8rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    animation: fadeInLeft 0.8s ease forwards;
}

.contact-item:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-item:nth-child(4) {
    animation-delay: 0.4s;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    color: #555;
    line-height: 1.5;
}

.contact-item strong {
    color: #333;
    font-weight: 600;
}

.contact-item a {
    color: #344A9D;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}


/* Mobile Responsive for Contact Us */
@media (max-width: 768px) {

    .contact-main-section {
        padding: 80px 20px;
    }

    .contact-layout {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }

    .office-image {
        height: 300px;
        flex: none;
    }

    .contact-details {
        gap: 20px;
    }

    .contact-info {
        padding: 20px;
    }
}

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

    /* Header adjustments */
    header {
        padding: 15px 20px;
    }

    /* Hero sections */
    .about-hero {
        padding: 140px 0 80px;
    }

    .about-main-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .about-main-subtitle {
        font-size: 1.1rem;
    }

    /* Stats adjustments */
    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

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

    /* Grid adjustments */
    .mission-values,
    .services-grid,
    .process-steps,
    .why-choose-grid,
    .services-overview,
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Trusted Partners mobile */
    .trusted-partners {
        padding: 50px 0;
    }

    .trusted-partners h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .partners-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
        padding: 0 15px;
    }

    .partner-logo {
        padding: 12px 6px;
        min-height: 70px;
        min-width: 80px;
    }

    .partner-placeholder {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .partner-logo p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    /* Projects adjustments */
    .projects-container {
        flex-direction: column;
        gap: 30px;
    }

    .filter-sidebar {
        width: 100%;
        padding: 25px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* CTA buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        min-width: 250px;
    }

    /* Trusted Partners mobile adjustments */
    .trusted-partners {
        padding: 50px 0;
    }

    .trusted-partners h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .partners-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .partners-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }

    .partner-logo {
        padding: 15px 8px;
        min-height: 80px;
        min-width: 100px;
    }

    .partner-placeholder {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .partner-logo p {
        font-size: 0.8rem;
    }

    /* Footer adjustments */
    footer {
        padding: 30px 20px 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

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


@media (max-width: 480px) {

    .about-main-title,
    .contact-main-title {
        font-size: 1.8rem;
    }

    .about-main-subtitle,
    .contact-main-subtitle {
        font-size: 1rem;
    }

    .hero-emoji {
        font-size: 5rem;
    }

    .hero-image {
        max-width: 350px;
    }

    .floating-item {
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Trusted Partners small screens */
    .trusted-partners h2 {
        font-size: 1.8rem;
    }

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

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 10px;
    }

    .partner-logo {
        padding: 15px 8px;
        min-height: 80px;
        min-width: 100px;
    }

    .partner-placeholder {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .partner-logo p {
        font-size: 0.75rem;
    }

    .years-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .years-grid label {
        padding: 4px 6px;
        font-size: 0.75rem;
        min-height: 24px;
        justify-content: flex-start;
    }

    .years-grid .filter-checkbox {
        width: 10px;
        height: 10px;
        margin-right: 6px;
    }
}


/* Mobile adjustments for quote section */
@media (max-width: 768px) {
    .quote-section {
        padding: 60px 20px 40px;
    }
}

@media (max-width: 480px) {
    .quote-section {
        padding: 40px 20px 30px;
    }
}

/* Category Navigation Styles */
.category-navigation {
    display: flex;
    justify-content: center;
    margin: 40px 0 30px;
    padding: 0 20px;
}

.category-nav {
    display: flex;
    flex-direction: row;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 8px;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    color: #666;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #000;
    transform: translateY(-1px);
}

.category-btn.active {
    background: linear-gradient(135deg, #344A9D, #344A9D);
    color: white;
    box-shadow: 0 4px 15px rgba(49, 145, 208, 0.3);
}

.category-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 1.5s ease-in-out;
}

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

    50% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

.projects-content {
    margin-top: 20px;
}

.filter-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.filter-section h4 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-section label {
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.years-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.years-grid label {
    padding: 6px 8px;
    font-size: 0.85rem;
    margin: 0;
    justify-content: center;
    text-align: center;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.years-grid .filter-checkbox {
    margin-right: 6px;
    width: 14px;
    height: 14px;
}

.filter-section label:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.filter-checkbox {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #344A9D;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Mobile Category Navigation Styles */
@media (max-width: 768px) {
    .category-navigation {
        margin: 30px 0 20px;
        padding: 0 15px;
    }

    .category-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        padding: 6px;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-nav::-webkit-scrollbar {
        display: none;
    }

    .category-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 140px;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float img {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .category-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-width: 120px;
        flex-shrink: 1;
    }

    .whatsapp-float {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float img {
        width: 22px;
        height: 22px;
    }
}

/* Project Meta and Badge Styles */
.project-meta {
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.7;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e3a8a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}



.about-hero-title {
    text-align: left;
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-text {
    color: #1f2937;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-values-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.about-value-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 150px;
}

.about-value-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-value-title {
    margin: 0;
    color: #f39c12;
    font-size: 1.1rem;
}

.about-value-text {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #666;
}

.about-logo-circle {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #f39c12, #e67e22);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.3);
}

.about-logo-emoji {
    font-size: 8rem;
}


/* Our Projects Page Styles */
.projects-search-section {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.projects-search-input {
    flex: 1;
    min-width: 240px;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
}

.projects-download-btn {
    background: #333;
    border-color: #333;
}

/* Footer Styles */
.footer-company-name {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #999;
}

/* Index Page Styles */
.index-learn-more-dark {
    background: #333;
    border-color: #333;
}

/* About Us Page Styles */
.about-hero {
    background: #FFFFFF;
    color: white;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.about-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-main-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    gap: 30px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #344A9D;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.about-hero-visual {
    text-align: center;
}

.hero-image-container {
    position: relative;
    display: inline-block;
}

.hero-emoji {
    font-size: 8rem;
    animation: float 3s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-item {
    position: absolute;
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
}

.item-1 {
    top: -20px;
    left: -30px;
    animation-delay: 0s;
}

.item-2 {
    top: 20px;
    right: -40px;
    animation-delay: 1s;
}

.item-3 {
    bottom: -10px;
    left: 20px;
    animation-delay: 2s;
}

@keyframes float {

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

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

.about-vision-mission {
    padding: 80px 0;
    background: #FFFFFF;
}

.vision-mission-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vision-section,
.mission-section {
    margin-bottom: 60px;
}

.vision-section h2,
.mission-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.vision-section h2::after,
.mission-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #344A9D, #344A9D);
    border-radius: 2px;
}

.vision-points,
.mission-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vision-point,
.mission-point {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #344A9D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.vision-point:hover,
.mission-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.vision-icon,
.mission-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.vision-point p,
.mission-point p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Responsive adjustments for Vision & Mission */
@media (max-width: 768px) {

    .vision-points,
    .mission-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vision-point,
    .mission-point {
        padding: 25px;
        flex-direction: column;
        text-align: center;
    }

    .vision-icon,
    .mission-icon {
        margin-top: 0;
        margin-bottom: 10px;
    }
}

.about-services {
    padding: 80px 0;
    background: white;
}

.about-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-card {
    flex: 1 1 280px;
    max-width: 300px;
}

.expertise-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #344A9D, #344A9D);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #344A9D;
}

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

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.expertise-card h3 {
    font-size: 1.5rem;
    color: #344A9D;
    margin-bottom: 15px;
    font-weight: 700;
}

.expertise-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Responsive styles for expertise cards */
@media (max-width: 768px) {
    .expertise-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .expertise-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 30px 20px;
    }

    .expertise-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .expertise-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .expertise-card p {
        font-size: 0.95rem;
    }
}




/* Enhanced responsive design */
@media (max-width: 1200px) {
    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {}

@media (max-width: 480px) {}

.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #344A9D, #344A9D);
    color: white;
    text-align: center;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.cta-button.primary {
    background: white;
    color: #344A9D;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

/* Large Desktop Responsive */
@media (min-width: 1201px) {
    .timeline-content {
        height: 240px;
        text-align: center;
        align-items: center;
    }

    .timeline-content h3 {
        text-align: center;
    }

    .timeline-content p {
        -webkit-line-clamp: 7;
        line-clamp: 7;
        text-align: center;
        width: 100%;
    }
}

/* Small Tablet/Large Mobile Responsive */
@media (min-width: 481px) and (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: 25px;
        padding: 0 15px;
    }

    .timeline-item {
        flex-direction: row;
        text-align: left;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .timeline-item .timeline-content {
        margin-left: 15px;
        margin-top: 0;
        text-align: center;
        border-left: 4px solid #344A9D;
        border-top: none;
        height: auto;
        min-height: 100px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .timeline-item .timeline-content h3 {
        text-align: center;
        margin-bottom: 10px;
    }

    .timeline-item .timeline-content p {
        text-align: center;
        width: 100%;
    }

    .timeline-marker {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .timeline-connector {
        display: none;
    }
}

/* Mobile Responsive for About Us */
@media (max-width: 768px) {
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-main-title {
        font-size: 2.5rem;
    }

    .about-stats {
        justify-content: center;
    }

    .mission-values,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .expertise-content,
    .process-timeline {
        padding: 0 15px;
    }

    .expertise-content p {
        font-size: 1rem;
        text-align: left;
    }

    .process-timeline {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
    }

    .timeline-item {
        flex-direction: row !important;
        text-align: left;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .timeline-item .timeline-content {
        margin-left: 15px !important;
        margin-top: 0;
        text-align: center !important;
        border-left: 4px solid #344A9D;
        border-top: none;
        height: auto;
        min-height: 120px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .timeline-item .timeline-content h3 {
        text-align: center !important;
        margin-bottom: 10px;
    }

    .timeline-item .timeline-content p {
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        line-clamp: unset;
        overflow: visible;
        text-align: center !important;
        width: 100%;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0;
        flex-shrink: 0;
        align-self: flex-start;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        text-align: center !important;
    }

    .timeline-content p {
        font-size: 0.9rem;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        line-clamp: unset;
        overflow: visible;
        text-align: center !important;
        width: 100%;
    }

    .timeline-connector {
        display: none;
    }

    .hero-emoji {
        font-size: 6rem;
    }

    .hero-image {
        max-width: 450px;
    }

    .floating-item {
        display: none;
    }
}

/* Trusted Partners Section */
.trusted-partners {
    padding: 80px 0;
    background: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

.trusted-partners h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.partners-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1800px;
    margin: 0 auto;
    justify-content: center;
}

.partner-logo {
    background: white;
    padding: 20px 15px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    min-width: 140px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #344A9D;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.partner-logo:hover::before {
    transform: scaleX(1);
}

.partner-placeholder {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Company Logo Styles */
.company-logo {
    width: 100%;
    max-width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

/* Specific adjustment for Kumkang logo */
.company-logo.kumkang-logo {
    max-width: 180px;
    /* Increased from 120px */
    height: 75px;
    /* Increased from 60px */
}

.partner-logo:hover .company-logo {
    transform: scale(1.05);
}

/* Ensure consistent logo container sizing */
.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
}

/* Logo container for consistent spacing */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
    margin-bottom: 15px;
}

.partner-logo:hover .partner-placeholder {
    opacity: 1;
}

.partner-logo p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.4;
}


/* About Us Page Specific Styles */
.about-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.kpi-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.kpi-num {
    font-size: 2rem;
    font-weight: 800;
    color: #344A9D;
}

.kpi-desc {
    color: #1f2937;
}

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

.bullet {
    list-style: none;
    padding-left: 0;
}

.bullet li {
    margin: 8px 0;
    color: #1f2937;
}

.section-muted {
    background: #f8f9fa;
}

.timeline {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline li {
    position: relative;
    padding-left: 36px;
    margin: 16px 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #344A9D;
    border-radius: 50%;
}

.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

/* Page-specific padding adjustments */
#projects-section.projects {
    padding-top: 140px;
}

.about-hero {
    padding-top: 160px;
}

/* Common Layout Styles */
.text-center {
    text-align: center;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-top-60 {
    margin-top: 60px;
}

/* Contact Us Page Styles */
.contact-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.contact-card h3 {
    margin: 0;
    padding: 20px 24px;
    background: #000;
    color: #fff;
    font-size: 1.25rem;
}

.contact-body {
    padding: 24px;
}

.contact-item {
    margin-bottom: 12px;
    color: #1f2937;
}

.contact-item strong {
    color: #0f172a;
}

.contact-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 30px;
    border: 2px solid #333;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

.map-embed {
    border: 0;
    border-radius: 12px;
    width: 100%;
    height: 320px;
}

.people {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.person {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
}

.person h4 {
    margin: 0 0 6px;
    color: #0f172a;
}

.person p {
    margin: 0;
    color: #1f2937;
    font-size: 0.95rem;
}

.muted {
    color: #6b7280;
    font-size: 0.9rem;
}

/* === CONTACT PAGE STYLES (FINAL) === */

.contact-main-section {
    padding-top: 0px;
    /* no gap at top */
    padding-bottom: 400px;
    /* ruang aman sebelum footer */
    background: #FFFFFF;
    overflow: visible;
}

.contact-main-section .container,
.contact-main-section .contact-layout {
    margin-top: 0;
    padding-top: 0;
    overflow: visible;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    /* same height */
    height: 744px;
}

/* LEFT: Office Photo */
.office-image {
    border-radius: 0;
    overflow: hidden;
    background: #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    height: 100%;
    min-height: 560px;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.contact-details {
    display: grid;
    grid-template-rows: auto minmax(460px, auto);
    gap: 24px;
}

.contact-info {
    background: #fff;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    padding: 24px;
}

.contact-info h3 {
    margin-bottom: 18px;
    color: #0f172a;
    text-align: left;
    font-size: 1.4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}


.map-embed {
    width: 100%;
    height: 520px;
    border: 0;
    border-radius: 5px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    display: block;
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .contact-main-section {
        padding-top: 20px;
        padding-bottom: 500px;
    }

    footer {
        margin-top: 100px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .office-image {
        min-height: 340px;
    }

    .map-embed {
        height: 380px;
    }
}

/* Language Switcher */
.lang-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    height: calc(100% - 6px);
    background: #344A9D;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.lang-switcher {
    position: fixed;
    bottom: 90px;
    /* Position above the WhatsApp button */
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    padding: 3px;
}

.lang-switcher button {
    background: transparent;
    border: none;
    padding: 6px 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.lang-switcher button.active {
    color: white;
}

@media (max-width: 768px) {
    .lang-switcher {
        bottom: 80px;
        right: 15px;
    }
}