:root {
    --primary-maroon: #800020;
    --primary-navy: #000080;
    --primary-yellow: #FBC02D;
    --primary-white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #800020, #4d0013, #000080, #00005c);
    --gradient-secondary: linear-gradient(135deg, #FBC02D, #dda700);
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Navbar Styling */
.navbar {
    transition: all 0.5s ease;
    padding: 1.5rem 0;
    background-color: transparent;
    z-index: 1000;
}

.navbar-scrolled {
    background: var(--gradient-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-white);
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--primary-white) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section with Slider */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 128, 0.2), rgba(128, 0, 32, 0.2));
    z-index: -1;
}

.hero-content {
    color: var(--primary-white);
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    color: var(--primary-white);
    /* Removed gradient text and animation */
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

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

.hero-btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.primary-btn {
    background: var(--gradient-primary);
    background-size: 200% 100%;
    color: var(--primary-white);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

.primary-btn:hover {
    background-position: right center;
    color: var(--primary-white);
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.secondary-btn:hover {
    background: var(--primary-white);
    color: var(--primary-navy);
    transform: translateY(-5px);
}

.hero-controls {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 10;
}

.hero-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--primary-white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-control:hover {
    background: var(--primary-white);
    color: var(--primary-navy);
    transform: scale(1.1);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-navy);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: var(--primary-white);
    transition: all 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    z-index: -1;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    color: var(--primary-white);
    font-size: 2rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background-position: right center;
    transform: rotateY(180deg);
}

.feature-title {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--primary-navy);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--primary-white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 0, 128, 0.1), rgba(128, 0, 32, 0.1));
    top: -150px;
    left: -150px;
    z-index: 0;
}

.about-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(251, 192, 45, 0.1), rgba(221, 167, 0, 0.1));
    bottom: -150px;
    right: -150px;
    z-index: 0;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.about-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.about-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    font-size: 2rem;
    color: var(--primary-navy);
}

.about-title:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 0;
}

/* Visi Misi Icons */
.vision-mission-icon {
    width: 60px;
    height: 60px;
    min-width: 60px; /* Ensure fixed width */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    background: var(--gradient-primary);
    color: var(--primary-white);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: var(--primary-white);
    padding: 4rem 0 2rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-white);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

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

.social-icons a:hover {
    background-color: var(--primary-yellow);
    color: #333;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .navbar-brand {
        font-size: 1.5rem;
    }
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}
