/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.2px;
    background-color: #f8fafc;
    color: #0f172a;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== CUSTOM SCROLLBAR (index) ===== */
.custom-scroll::-webkit-scrollbar {
    width: 4px;
}
.custom-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.custom-scroll::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 4px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

/* ===== NAVBAR STYLES (digunakan bersama) ===== */
#navbar {
    transition: all 0.5s ease-in-out;
}

.header-container {
    transition: all 0.5s ease-in-out;
    background: transparent;
}

.header-container.bg-transparent {
    background: transparent;
}

.header-container.backdrop-blur-xl {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-container.bg-black\/30 {
    background-color: rgba(0, 0, 0, 0.3);
}

.header-container.rounded-2xl {
    border-radius: 5rem;
}

.header-container.shadow-2xl {
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.1), 0 8px 20px -6px rgba(0, 0, 0, 0.05);
}

.logo-img {
    transition: all 0.5s ease-in-out;
}

.logo-img.h-16 {
    height: 4rem;
}

.logo-img.h-14 {
    height: 3.5rem;
}

/* Nav links */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link.text-white {
    color: white;
}

.nav-link.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.nav-link.text-black {
    color: black;
}

.nav-link.text-black\/90 {
    color: rgba(0, 0, 0, 0.9);
}

.nav-link.hover\:text-gray-300:hover {
    color: #d1d5db;
}

/* Active nav indicator */
.nav-link.active-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.25rem;
    right: 0.25rem;
    height: 1px;
    background: linear-gradient(90deg, #6b7280, #374151);
    border-radius: 2px;
}

/* ===== LANGUAGE SWITCH ===== */
.lang-switch {
    display: flex;
    gap: 0.25rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    padding: 0.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-right: 0.5rem;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.lang-btn.active {
    background: white;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===== BURGER MENU (MOBILE) ===== */
.burger-menu {
    background: rgba(5, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.page-gallery .burger-menu {
    color: #333;
}

.page-gallery .header-container.bg-black\/30 .burger-menu {
    color: rgb(0, 0, 0);
}
/* Untuk index.html (background gelap) */
body:not(.page-gallery) .burger-menu {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

/* Untuk gallery.html (background terang) - tambahkan class page-gallery di body */
.page-gallery .burger-menu {
    background: rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: #333 !important;
}

/* Saat scroll di gallery */
.page-gallery .header-container.bg-black\/30 .burger-menu {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

.burger-menu:hover {
    background: rgba(255,255,255,0.3);
}

.burger-menu svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

/* ===== MOBILE DROPDOWN MENU ===== */
#mobileDropdown {
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 100;
}

#mobileDropdown.active {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
}

#mobileDropdown .lang-btn {
    background: rgba(255,255,255,0.2);
    color: white;
}
#mobileDropdown .lang-btn.active {
    background: white;
    color: #374151;
}

/* ===== CONSULT BUTTON ===== */
.consult-btn {
    background-color: #1f2937;
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(31, 41, 55, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.consult-btn:hover {
    background-color: #000000;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.consult-btn svg {
    width: 1rem;
    height: 1rem;
}

/* ===== HERO SECTION ZOOM ANIMATION (index) ===== */
@keyframes smoothZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1.2); }
}

/* ===== MAIN SWIPER (PORTFOLIO - index) ===== */
.mainSwiper.swiper {
    width: 100%;
    padding: 60px 0 80px;
    overflow: visible !important;
}

.mainSwiper .swiper-wrapper {
    align-items: center;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.mainSwiper .swiper-slide {
    width: 85%;
    max-width: 1000px;
    transform: scale(0.85);
    opacity: 0.5;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    overflow: hidden;
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.mainSwiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.mainSwiper .swiper-slide-next,
.mainSwiper .swiper-slide-prev {
    transform: scale(0.92);
    opacity: 0.75;
}

.mainSwiper .image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.mainSwiper .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.mainSwiper .swiper-slide-active .project-image:hover {
    transform: scale(1.05);
}

.mainSwiper .swiper-pagination {
    position: relative !important;
    margin-top: 30px;
    bottom: auto !important;
}

.mainSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.mainSwiper .swiper-pagination-bullet-active {
    background: #374151;
    transform: scale(1.4);
    width: 30px;
    border-radius: 10px;
}

/* ===== SLIDER CONTAINER (index) ===== */
.slider-container {
    position: relative;
    width: 100%;
    margin: 40px 0;
    overflow: hidden;
}

.slider-fade-left,
.slider-fade-right {
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.slider-fade-left {
    left: 0;
    background: linear-gradient(90deg, rgba(249, 250, 251, 1) 0%, rgba(249, 250, 251, 0) 100%);
}

.slider-fade-right {
    right: 0;
    background: linear-gradient(270deg, rgba(249, 250, 251, 1) 0%, rgba(249, 250, 251, 0) 100%);
}

/* ===== CUSTOM NAVIGATION BUTTONS (index) ===== */
.custom-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #374151;
}

.custom-navigation:hover {
    background: #374151;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(55, 65, 81, 0.3);
}

.nav-prev { left: 20px; }
.nav-next { right: 20px; }

.custom-navigation svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    stroke-width: 2;
}

/* ===== TESTIMONIAL SWIPER (index) ===== */
.testimonialSwiper.swiper {
    width: 100%;
    padding: 20px 0 60px;
    overflow: hidden;
}

.testimonialSwiper .swiper-wrapper {
    align-items: stretch;
}

.testimonialSwiper .swiper-slide {
    width: 100%;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 10px 0;
}

.testimonialSwiper .swiper-pagination {
    position: relative !important;
    margin-top: 40px;
    bottom: auto !important;
}

.testimonialSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonialSwiper .swiper-pagination-bullet-active {
    background: #374151;
    transform: scale(1.4);
    width: 30px;
    border-radius: 10px;
}

.testimonialSwiper .swiper-button-next,
.testimonialSwiper .swiper-button-prev {
    background: rgba(107, 114, 128, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(107, 114, 128, 0.3);
    color: #374151;
}

.testimonialSwiper .swiper-button-next:after,
.testimonialSwiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.testimonialSwiper .swiper-button-next:hover,
.testimonialSwiper .swiper-button-prev:hover {
    background: rgba(107, 114, 128, 0.2);
}

/* ===== MARQUEE ANIMATIONS (index) ===== */
.marquee-right {
    animation: marquee-right 20s linear infinite;
    width: max-content;
}

.marquee-left {
    animation: marquee-left 20s linear infinite;
    width: max-content;
}

@keyframes marquee-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@keyframes marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== PROJECT CARD STYLES (gallery) ===== */
.projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 0 auto;
}

.project-card {
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    height: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    background: white;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.image-container {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image {
    transform: scale(1.08);
}

/* ===== PERBAIKAN OVERLAY ===== */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 1;
    transition: all 0.4s ease;
}

.overlay-content {
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.project-card:hover .overlay-content {
    transform: translateY(-8px);
}

/* Style untuk teks di dalam overlay */
.overlay .project-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.overlay .project-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.overlay .project-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}
        
.status-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.status-completed {
    background: rgba(16, 185, 129, 0.9);
}

.status-ongoing {
    background: rgba(59, 130, 246, 0.9);
}

.category-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ===== FILTER BUTTONS (gallery) ===== */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    background: white;
    color: #4b5563;
    border-color: #e5e7eb;
}

.filter-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.filter-btn.active {
    background: #374151;
    color: white;
    border-color: #374151;
}

/* ===== STATS SECTION (digunakan bersama, dengan sedikit perbedaan) ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.stat-item {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6b7280, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ANIMATIONS (gallery) ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Extra large devices (large desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
        margin: 0 auto;
    }
    
    .projects-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

/* Large devices (desktops, 1200px to 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.3rem;
    }
    
    .projects-container {
        gap: 1.75rem;
        padding: 0 2rem;
    }
}

/* Medium-large devices (1025px to 1199px) */
@media (max-width: 1199px) and (min-width: 1025px) {
    .container {
        max-width: 960px;
        margin: 0 auto;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .projects-container {
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .stat-number {
        font-size: 2.3rem;
    }
}

/* Tablet landscape (901px to 1024px) */
@media (max-width: 1024px) and (min-width: 901px) {
    html {
        font-size: 15px;
    }
    
    .container {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .mainSwiper .swiper-slide {
        width: 90%;
    }
    
    .mainSwiper .project-title {
        font-size: 1.75rem;
    }
    
    .projects-container {
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .filter-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
    
    .custom-navigation {
        width: 50px;
        height: 50px;
    }
    
    .custom-navigation svg {
        width: 24px;
        height: 24px;
    }
    
    .nav-prev { left: 15px; }
    .nav-next { right: 15px; }
}

/* Tablet portrait (769px to 900px) */
@media (max-width: 900px) and (min-width: 769px) {
    html {
        font-size: 15px;
    }
    
    .container {
        max-width: 720px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .mainSwiper.swiper {
        padding: 40px 0 60px;
    }
    
    .mainSwiper .swiper-slide {
        width: 85%;
    }
    
    .mainSwiper .project-content {
        padding: 20px;
    }
    
    .mainSwiper .project-title {
        font-size: 1.5rem;
    }
    
    .mainSwiper .project-subtitle {
        font-size: 1rem;
    }
    
    .mainSwiper .project-description {
        font-size: 0.9rem;
    }
    
    .slider-fade-left,
    .slider-fade-right {
        width: 80px;
    }
    
    .custom-navigation {
        width: 45px;
        height: 45px;
    }
    
    .custom-navigation svg {
        width: 22px;
        height: 22px;
    }
    
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 0 1rem;
    }
    
    .project-card {
        border-radius: 1.25rem;
    }
        .overlay {
        padding: 1.5rem;
    }
    
    .overlay .project-title {
        font-size: 1.3rem;
    }
    
    .overlay .project-subtitle {
        font-size: 0.9rem;
    }
    
    .overlay .project-description {
        font-size: 0.85rem;
    }
    
    .status-badge,
    .category-tag {
        top: 1rem;
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .filter-buttons {
        gap: 0.6rem;
    }
    
    .filter-btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .stats-grid {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .testimonialSwiper .swiper-button-next,
    .testimonialSwiper .swiper-button-prev {
        width: 38px;
        height: 38px;
    }
    
    .testimonialSwiper .swiper-button-next:after,
    .testimonialSwiper .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* Mobile landscape (577px to 768px) */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
        margin: 0 auto;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    #navbar.pt-4 {
        top: 0.5rem;
    }
    
    .header-container.py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .header-container.px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .header-container.py-2 {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .header-container.px-5 {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .logo-img.h-16 {
        height: 3rem;
    }
    
    .logo-img.h-14 {
        height: 3rem;
    }
    
    .lang-switch {
        display: none !important;
    }
    
    .mainSwiper.swiper {
        padding: 30px 0 50px;
    }
    
    .mainSwiper .swiper-slide {
        width: 95%;
        border-radius: 20px;
    }
    
    .mainSwiper .image-container {
        aspect-ratio: 16 / 9;
    }
    
    .mainSwiper .project-content {
        padding: 1.25rem;
    }
    
    .mainSwiper .project-title {
        font-size: 1.3rem;
    }
    
    .mainSwiper .project-subtitle {
        font-size: 0.95rem;
    }
    
    .mainSwiper .project-description {
        font-size: 0.85rem;
    }
    
    .slider-fade-left,
    .slider-fade-right {
        width: 50px;
    }
    
    .custom-navigation {
        display: none;
    }

    .overlay {
        padding: 1.5rem;
    }
    
    .overlay .project-title {
        font-size: 1.3rem;
    }
    
    .overlay .project-subtitle {
        font-size: 0.9rem;
    }
    
    .overlay .project-description {
        font-size: 0.85rem;
    }
    
    .testimonialSwiper .swiper-button-next,
    .testimonialSwiper .swiper-button-prev {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .burger-menu {
        display: flex !important;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .project-card {
        max-width: 100%;
        margin: 0 auto;
        border-radius: 1.25rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .status-badge,
    .category-tag {
        top: 1rem;
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .consult-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        gap: 0.25rem;
    }
    
    .consult-btn svg {
        width: 0.9rem;
        height: 0.9rem;
    }
    
    .marquee-right,
    .marquee-left {
        animation-duration: 15s;
    }
    
    .section-divider {
        margin: 40px auto;
    }
}

/* Mobile portrait (376px to 576px) */
@media (max-width: 576px) and (min-width: 376px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .mainSwiper .swiper-slide {
        width: 98%;
        border-radius: 16px;
    }
    
    .mainSwiper .project-content {
        padding: 1rem;
    }
    
    .mainSwiper .project-title {
        font-size: 1.2rem;
    }
    
    .projects-container {
        padding: 0 0.75rem;
        gap: 1.25rem;
    }
    
    .project-card {
        border-radius: 1rem;
    }
    
    .filter-buttons {
        gap: 0.4rem;
        padding: 0 0.75rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    .overlay {
        padding: 1.25rem;
    }
    
    .overlay .project-title {
        font-size: 1rem;
    }
    
    .overlay .project-description {
        font-size: 0.7rem;
    }
    
    .status-badge,
    .category-tag {
        top: 0.75rem;
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .consult-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .consult-btn svg {
        width: 0.8rem;
        height: 0.8rem;
    }
    
    .stats-grid {
        padding: 0 0.75rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .burger-menu {
        width: 40px;
        height: 40px;
    }
    
    .burger-menu svg {
        width: 20px;
        height: 20px;
    }
    
    #mobileDropdown {
        left: 0.75rem;
        right: 0.75rem;
    }
}

/* Small mobile (320px to 375px) */
@media (max-width: 375px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    .header-container.px-5 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .logo-img.h-16,
    .logo-img.h-14 {
        height: 2.5rem;
    }
    
    .mainSwiper.swiper {
        padding: 20px 0 40px;
    }
    
    .mainSwiper .swiper-slide {
        width: 100%;
        border-radius: 14px;
    }
    
    .mainSwiper .project-content {
        padding: 0.875rem;
    }
    
    .mainSwiper .project-title {
        font-size: 1.1rem;
    }
    
    .mainSwiper .project-subtitle {
        font-size: 0.85rem;
    }
    
    .mainSwiper .project-description {
        font-size: 0.8rem;
    }
    
    .mainSwiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .mainSwiper .swiper-pagination-bullet-active {
        width: 24px;
    }
    
    .projects-container {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .project-card {
        border-radius: 0.875rem;
    }
    
    .filter-buttons {
        gap: 0.3rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .status-badge,
    .category-tag {
        top: 0.5rem;
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .consult-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        gap: 0.2rem;
    }
    
    .consult-btn svg {
        width: 0.7rem;
        height: 0.7rem;
    }
    
    .burger-menu {
        width: 36px;
        height: 36px;
    }
    
    .burger-menu svg {
        width: 18px;
        height: 18px;
    }
    
    .stats-grid {
        padding: 0 0.5rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .marquee-right,
    .marquee-left {
        animation-duration: 12s;
    }
    
    .section-divider {
        margin: 30px auto;
    }
}

/* Extra small devices (under 320px) */
@media (max-width: 319px) {
    html {
        font-size: 12px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .header-container.px-5 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .logo-img.h-16,
    .logo-img.h-14 {
        height: 2.2rem;
    }
    
    .burger-menu {
        width: 32px;
        height: 32px;
    }
    
    .burger-menu svg {
        width: 16px;
        height: 16px;
    }
    
    .consult-btn {
        padding: 0.25rem 0.5rem;
    }
    
    .filter-btn {
        padding: 0.3rem 0.6rem;
    }
    
    .status-badge,
    .category-tag {
        padding: 0.2rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
}

/* Desktop visibility classes */
@media (min-width: 769px) {
    .burger-menu {
        display: none !important;
    }
    
    .desktop-nav {
        display: flex !important;
    }
}

/* Mobile visibility classes */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}

/* ===== UTILITY CLASSES ===== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 60px auto;
    max-width: 800px;
}

/* Container utility */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Responsive padding utilities */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 1024px) {
    .section-padding {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 50px 0;
    }
}

@media (max-width: 375px) {
    .section-padding {
        padding: 40px 0;
    }
}

/* Responsive text utilities */
.text-responsive {
    font-size: calc(1rem + 0.5vw);
}

@media (max-width: 768px) {
    .text-responsive {
        font-size: 1rem;
    }
}

/* Responsive spacing utilities */
.mb-responsive {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .mb-responsive {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .mb-responsive {
        margin-bottom: 1rem;
    }
}