/* styles.css */

/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: #8B0000; /* Merah marun */
    transition: color 0.3s ease;
}

a:hover {
    color: #A52A2A; /* Merah lebih terang saat hover */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    font-size: 2.5rem;
    color: #2c2c2c;
    font-weight: 700;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8B0000, #A52A2A);
    border-radius: 2px;
}

.section-title span {
    display: inline-block;
    padding: 0 15px;
    background: #fff;
    position: relative;
    z-index: 2;
}

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

.bg-light {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139,0,0,0.03) 0%, transparent 70%);
    z-index: 0;
}

.bg-light > * {
    position: relative;
    z-index: 1;
}

.bg-dark {
    background: linear-gradient(135deg, #2c2c2c 0%, #1c1c1c 100%);
    color: #fff;
}

.bg-dark h2, .bg-dark h3 {
    color: #fff;
}

.bg-dark p {
    color: #ccc;
}

/* Enhanced Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #fff;
    border: none;
    border-radius: 60px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, #A52A2A 0%, #8B0000 100%);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(139, 0, 0, 0.4);
    letter-spacing: 1.2px;
}

.btn-sm {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: #fff;
    border: none;
    border-radius: 60px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.25);
    font-weight: 600;
}

.btn-sm:hover {
    background: linear-gradient(135deg, #A52A2A 0%, #8B0000 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.35);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #8B0000; /* Merah marun */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: #A52A2A; /* Merah lebih terang */
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-sm {
    display: inline-block;
    padding: 8px 20px;
    background: #8B0000; /* Merah marun */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sm:hover {
    background: #A52A2A; /* Merah lebih terang */
    color: #fff;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
}

header.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo h1 {
    color: #8B0000; /* Red text */
    font-size: 1.8rem;
    font-weight: 800;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.logo h1::after {
    content: '®';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 0.6rem;
    color: #A52A2A;
}

.logo h1:hover {
    color: #A52A2A;
    transform: translateX(-3px);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: #333; /* Dark gray text */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    padding: 8px 4px;
    border-radius: 4px;
}

nav ul li a.active,
nav ul li a:hover {
    color: #8B0000; /* Red color for active/hover */
    background: rgba(139, 0, 0, 0.05);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #8B0000;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.4s ease;
    border-radius: 2px;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 70%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.language-switcher {
    margin-right: 20px;
    position: relative;
}

.language-switcher select {
    background: #fff;
    color: #333;
    border: 2px solid #e8e8e8;
    padding: 10px 45px 10px 18px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238B0000'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px;
    min-width: 100px;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.1);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.language-switcher select:hover {
    border-color: #8B0000;
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.15);
}

.language-switcher select:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.2);
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #fff; /* White hamburger menu */
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    font-size: 2rem;
    color: #8B0000;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(139, 0, 0, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    color: #8B0000;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .language-switcher {
        margin-right: 10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 2000;
    }
    
    .menu-toggle:focus {
        outline: none;
    }
    
    .menu-toggle span {
        width: 30px;
        height: 3px;
        background: #8B0000;
        border-radius: 2px;
        transition: all 0.3s linear;
        position: relative;
        transform-origin: center;
    }
    
    /* Hamburger to X animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        transition: 0.5s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        backdrop-filter: blur(15px);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 30px;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        color: #333; /* Dark text for mobile menu items */
        font-size: 1.2rem;
        padding: 15px 20px;
        display: block;
        border-radius: 8px;
        width: 80%;
        text-align: center;
        margin: 0 auto;
        font-weight: 600;
        position: relative;
        transition: all 0.3s ease;
    }
    
    nav ul li a:hover {
        color: #8B0000;
        background: rgba(139, 0, 0, 0.05);
    }
    
    nav ul li a::after {
        display: none;
    }
    
    header .container {
        flex-wrap: wrap;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 250, 0.9) 100%), url('https://via.placeholder.com/1920x1080') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #333;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(139, 0, 0, 0.05) 0%, rgba(139, 0, 0, 0.01) 70%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 60px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    transform: translateY(20px);
}

.hero h2 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: #2c2c2c;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: #666;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Floating Elements */
.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
    top: 15%;
    left: 10%;
    z-index: 0;
}

.hero .floating-1 {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, transparent 70%);
    top: 30%;
    right: 15%;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.03) 0%, transparent 70%);
    z-index: 0;
}

.about-text {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
    position: relative;
}

.about-text p::before {
    content: '→';
    position: absolute;
    left: -20px;
    color: #8B0000;
    font-weight: bold;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.6s ease;
    transform: rotate(3deg);
    z-index: 1;
}

.about-image:hover {
    transform: rotate(0deg);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

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

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 45px;
    margin-bottom: 60px;
    position: relative;
}

.service-card {
    background: #fff;
    padding: 50px 35px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 0, 0, 0.08);
    transform: translateY(0);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #8B0000, #A52A2A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 2;
}

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

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

.service-card img {
    width: 120px;
    height: 120px;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 8px 15px rgba(139, 0, 0, 0.2));
    border-radius: 50%;
    padding: 20px;
    background: rgba(139, 0, 0, 0.08);
}

.service-card:hover img {
    transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 20px;
    color: #2c2c2c;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 0, 0, 0.08);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8B0000, #A52A2A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.1);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item h3 {
    font-size: 2.2rem;
    color: #8B0000;
    margin-bottom: 8px;
    font-weight: 800;
    line-height: 1.1;
}

.stat-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 45px;
    position: relative;
}

.feature {
    text-align: center;
    padding: 55px 35px 45px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 0, 0, 0.08);
    transform: translateY(0);
    z-index: 1;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #8B0000, #A52A2A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 2;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(139, 0, 0, 0.12);
}

.feature h3 {
    color: #2c2c2c;
    margin-bottom: 20px;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.feature p {
    color: #666;
    position: relative;
    z-index: 2;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 45px;
    position: relative;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    height: 100%;
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 280px;
    display: block;
    transition: transform 0.6s ease;
    object-fit: cover;
}

/* Special styles for partner logos to prevent cropping */
.portfolio-item img[src*="partner/"] {
    object-fit: contain;
    padding: 20px;
    background: #f8f9fa;
    height: 240px;
}

/* Specific styles for marketplace partner logos */
.portfolio-item img[src*="partner/SHOPEE"],
.portfolio-item img[src*="partner/LAZADA"],
.portfolio-item img[src*="partner/BLIBLI"],
.portfolio-item img[src*="partner/TOKOPEDIA"],
.portfolio-item img[src*="partner/TIKTOK"] {
    object-fit: contain;
    padding: 30px;
    background: #ffffff;
    height: 220px;
    background: #f9f9f9;
}

/* Specific style for main partner logo */
.portfolio-item img[src*="partner/PARTNER.jpg"] {
    object-fit: contain;
    /*padding: 30px;*/
    background: #ffffff;
    height: 500px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Make portfolio grid single column for strategic partners section */
.strategic-partners-section .portfolio-grid {
    grid-template-columns: 1fr !important;
    max-width: 1200px;
    margin: 0 auto;
}

.strategic-partners-section .portfolio-item {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

/* Maintain original size for marketplace partners */
.marketplace-partners-section .portfolio-item img {
    width: 100%;
    height: 280px;
    padding: 0;
    background: transparent;
}

/* Specific styles for marketplace partner logos */
.marketplace-partners-section .portfolio-item img[src*="partner/SHOPEE"],
.marketplace-partners-section .portfolio-item img[src*="partner/LAZADA"],
.marketplace-partners-section .portfolio-item img[src*="partner/BLIBLI"],
.marketplace-partners-section .portfolio-item img[src*="partner/TOKOPEDIA"],
.marketplace-partners-section .portfolio-item img[src*="partner/TIKTOK"] {
    object-fit: contain;
    padding: 30px;
    background: #f9f9f9;
    height: 220px;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(44, 44, 44, 0.95) 0%, rgba(44, 44, 44, 0.7) 100%);
    color: #fff;
    padding: 40px 30px 30px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.portfolio-overlay p {
    color: #f1f1f1;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 45px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: all 0.5s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

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

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

.blog-content {
    padding: 35px;
}

.blog-content .date {
    color: #8B0000; /* Merah marun */
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content h3 {
    margin-bottom: 18px;
    font-size: 1.4rem;
    color: #2c2c2c;
    transition: color 0.3s ease;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card:hover .blog-content h3 {
    color: #8B0000;
}

.blog-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.contact-form {
    z-index: 2;
    position: relative;
}

.contact-form .form-group {
    margin-bottom: 30px;
    position: relative;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    position: relative;
}

.contact-form label::after {
    content: '*';
    color: #8B0000;
    margin-left: 3px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.4s ease;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #8B0000; /* Merah marun */
    outline: none;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.15);
    background: #fff;
}

.info-item {
    margin-bottom: 35px;
    padding: 25px;
    border-radius: 15px;
    background: linear-gradient(135deg, #fff 0%, #fefefe 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(139, 0, 0, 0.08);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.info-item h4 {
    color: #8B0000; /* Merah marun */
    margin-bottom: 15px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    position: relative;
}

.info-item h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #8B0000;
    border-radius: 50%;
    margin-right: 10px;
}

.info-item p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.map-container {
    margin-top: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 320px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-container {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Vision & Mission Section */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.vision, .mission {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission ul {
    list-style-type: none;
    padding-left: 0;
}

.mission ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.mission ul li::before {
    content: "✓";
    color: #8B0000; /* Merah marun */
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Company Values Section */
.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card h3 {
    color: #8B0000; /* Merah marun */
    margin-bottom: 15px;
}

/* Company History Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #8B0000; /* Merah marun */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-year {
    background: #8B0000; /* Merah marun */
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    color: #333;
    margin-bottom: 10px;
}

/* Team Section */
.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.team-member {
    background: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    color: #8B0000; /* Merah marun */
    margin-bottom: 5px;
}

/* Services Page Styles */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.services-intro p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.service-detailed:nth-child(even) {
    direction: rtl;
}

.service-detailed:nth-child(even) .service-description {
    direction: ltr;
}

.service-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-description h3 {
    color: #8B0000; /* Merah marun */
    margin-bottom: 20px;
}

.service-description ul {
    list-style-type: none;
    padding-left: 0;
    margin: 25px 0;
}

.service-description ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.service-description ul li::before {
    content: "✓";
    color: #8B0000; /* Merah marun */
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(rgba(139, 0, 0, 0.9), rgba(139, 0, 0, 0.9)), url('https://via.placeholder.com/1200x400') center/cover no-repeat;
    color: #fff;
    padding: 80px 20px;
    border-radius: 8px;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Portfolio Page Styles */
.portfolio-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.portfolio-intro p {
    font-size: 1.1rem;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: #fff;
    border: 2px solid #8B0000; /* Merah marun */
    color: #8B0000; /* Merah marun */
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #8B0000; /* Merah marun */
    color: #fff;
}

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

/* Portfolio Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    max-width: 900px;
    position: relative;
    animation: modalopen 0.4s;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-60px);}
    to {opacity: 1; transform: translateY(0);}
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 25px;
    top: 15px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #8B0000; /* Merah marun */
}

.project-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.project-meta span {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.project-images {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.detail-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
}

.project-description h3 {
    color: #8B0000; /* Merah marun */
    margin: 25px 0 15px;
}

@media (max-width: 768px) {
    .project-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-images {
        flex-direction: column;
    }
    
    .detail-image {
        min-width: 100%;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 3% auto;
    }
}

/* Blog Page Styles */
.blog-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.blog-intro p {
    font-size: 1.1rem;
}

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

.search-box {
    display: flex;
    flex: 1;
    max-width: 500px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.search-box button {
    border-radius: 0 4px 4px 0;
    padding: 12px 25px;
}

.blog-categories select {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    background: #fff;
}

/* Blog Card Styles */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.category {
    background: #8B0000; /* Merah marun */
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.date {
    color: #666;
    font-size: 0.9rem;
}

.blog-content h3 {
    margin-bottom: 15px;
    flex: 1;
}

.blog-content p {
    margin-bottom: 20px;
    flex: 1;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.page-link {
    display: inline-block;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #8B0000; /* Merah marun */
    color: #fff;
    border-color: #8B0000; /* Merah marun */
}

@media (max-width: 768px) {
    .blog-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

/* Contact Page Styles */
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-intro p {
    font-size: 1.1rem;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #8B0000; /* Merah marun */
    outline: none;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    color: #8B0000; /* Merah marun */
    margin-bottom: 10px;
}

.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Error Page Styles */
.error-page {
    text-align: center;
    padding: 50px 0;
}

.error-page h1 {
    font-size: 10rem;
    color: #8B0000; /* Merah marun */
    margin-bottom: 0;
    line-height: 1;
}

.error-page h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-page p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid #8B0000; /* Merah marun */
    color: #8B0000; /* Merah marun */
}

.btn-outline:hover {
    background: #8B0000; /* Merah marun */
    color: #fff;
}

@media (max-width: 576px) {
    .error-page h1 {
        font-size: 6rem;
    }
    
    .error-page h2 {
        font-size: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.contact-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 0, 0, 0.1);
    height: 100%;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B0000, #A52A2A);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.15);
}

.contact-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-card:hover .icon {
    transform: scale(1.1);
}

.contact-card h3 {
    color: #2c2c2c;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-card p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.contact-card a {
    color: #8B0000; /* Merah marun */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #A52A2A; /* Merah lebih terang */
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #333;
    padding: 100px 0 40px;
    position: relative;
    border-top: 1px solid rgba(139, 0, 0, 0.08);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B0000, #A52A2A);
}

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

.footer-info h3 {
    color: #8B0000; /* Red color */
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.footer-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #8B0000;
    border-radius: 2px;
}

.footer-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.social-media {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 50%;
    color: #8B0000;
    transition: all 0.4s ease;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.social-media a:hover {
    background: #8B0000; /* Merah marun */
    color: #fff;
    transform: translateY(-5px);
    border-color: #8B0000;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.2);
}

.footer-links {
    text-align: right;
}

.footer-links a {
    color: #666;
    margin: 0 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #8B0000; /* Red color */
    transform: translateY(-2px);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B0000;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(139, 0, 0, 0.1);
    color: #888;
    font-size: 1rem;
    position: relative;
}

.copyright::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8B0000, transparent);
    border-radius: 2px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    font-size: 2rem;
    color: #8B0000;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(139, 0, 0, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    color: #8B0000;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

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

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-text {
        padding: 0;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        text-align: center;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .hero {
        height: 90vh;
    }
    
    .hero h2 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid,
    .features,
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 80vh;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .nav ul li {
        margin-left: 20px;
    }
    
    .footer-links a {
        display: block;
        margin: 8px 0;
    }
    
    .timeline::after {
        display: none;
    }
    
    .timeline-item {
        padding: 20px 0 20px 40px;
    }
    
    .contact-card {
        margin-bottom: 30px;
    }
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.gallery-slide {
    display: none;
    animation: fade 1.5s ease;
}

.gallery-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.gallery-prev,
.gallery-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -30px;
    padding: 16px;
    color: #8B0000;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    user-select: none;
    z-index: 10;
}

.gallery-prev:hover,
.gallery-next:hover {
    background-color: #8B0000;
    color: white;
}

.gallery-next {
    right: 25px;
    border-radius: 3px 0 0 3px;
}

.gallery-prev {
    left: 25px;
    border-radius: 0 3px 3px 0;
}

.gallery-dots-container {
    text-align: center;
    padding: 20px;
}

.gallery-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.gallery-dot:hover,
.gallery-dot.active {
    background-color: #8B0000;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .gallery-slide img {
        height: 350px;
    }

    .gallery-prev,
    .gallery-next {
        padding: 12px;
        font-size: 20px;
        margin-top: -20px;
    }
}

@media (max-width: 576px) {
    .gallery-slide img {
        height: 250px;
    }

    .gallery-prev,
    .gallery-next {
        padding: 10px;
        font-size: 18px;
        margin-top: -15px;
    }
}