/* 
   Theme: Orange & Cream
   SMKN 1 Liwa 
*/

:root {
    /* Colors - Orange Theme */
    --primary: #ea580c;        /* Orange */
    --primary-dark: #c2410c;   /* Dark Orange */
    --primary-light: #fed7aa;  /* Light Orange / Cream */
    --accent: #d97706;         /* Amber */
    
    /* Neutral & Backgrounds */
    --bg-cream: #fffbeb;       /* Very light cream background */
    --bg-white: #ffffff;
    --bg-gray: #f5f5f4;        /* Warm gray */
    
    /* Header/Footer */
    --header-bg: #ffffff;
    --topbar-bg: #1c1917;      /* Stone Dark */
    --footer-bg: #0c0a09;
    
    /* Text */
    --text-main: #1c1917;
    --text-muted: #78716c;
    --text-light: #ffffff;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Others */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-cream); /* Cream background */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

/* =========================================
   TOPBAR
========================================= */
.topbar {
    background-color: var(--topbar-bg);
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left a, .topbar-right a {
    color: #d6d3d1;
    margin-right: 15px;
}

.topbar-right a {
    margin-right: 0;
    margin-left: 15px;
}

.topbar a:hover {
    color: var(--primary-light);
}

.topbar i {
    margin-right: 5px;
    color: var(--primary);
}

/* =========================================
   HEADER & NAVBAR
========================================= */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .site-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.logo-text .site-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-links > li > a {
    color: var(--text-main);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    padding: 10px 0;
    position: relative;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links > li > a:hover::after {
    width: 100%;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--primary);
}

.nav-links > li > a.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    border-top: 3px solid var(--primary);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: var(--text-main);
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-cream);
    color: var(--primary);
    padding-left: 25px;
}

/* Nav Btn */
.nav-btn {
    background-color: var(--primary);
    color: var(--bg-white) !important;
    padding: 8px 20px !important;
    border-radius: 50px;
}

.nav-btn:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white) !important;
}

.nav-btn::after {
    display: none;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.search-btn, .menu-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
}

/* =========================================
   HERO / SLIDER
========================================= */
.hero {
    position: relative;
    height: 500px;
    background-color: var(--primary-dark);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)); /* Dark gradient to reveal original image */
}

/* Stars Effect */
.stars, .twinkling {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 5; /* Above hero-bg */
    pointer-events: none;
}

.stars {
    background: transparent url('https://www.transparenttextures.com/patterns/stardust.png') repeat top center;
    opacity: 0.8;
}

.twinkling {
    background: transparent url('https://www.transparenttextures.com/patterns/stardust.png') repeat top center;
    animation: move-twink-back 100s linear infinite;
    opacity: 0.5;
}

@keyframes move-twink-back {
    from {background-position: 0 0;}
    to {background-position: -10000px 5000px;}
}

.hero-content {
    position: relative;
    z-index: 10; /* Above stars */
    color: var(--text-light);
    max-width: 600px;
    text-align: left;
    margin: 0; /* Override any auto margin */
}

/* Slider Navigation Buttons */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-nav:hover {
    background: var(--primary);
}
.hero-nav.prev { left: 30px; }
.hero-nav.next { right: 30px; }


.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Slider Text Animations */
.hero-slide .hero-content h1,
.hero-slide .hero-content p,
.hero-slide .hero-content .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.hero-slide.active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.hero-slide.active .hero-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero-slide.active .hero-content .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
}

.btn-light {
    background-color: var(--bg-white);
    color: var(--primary-dark);
}

.btn-light:hover {
    background-color: var(--primary-light);
}

/* =========================================
   STATISTIK SECTION
========================================= */
.stats-section {
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-bottom: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

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

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background-color: var(--footer-bg);
    color: #a8a29e;
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo .site-name {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.about-text {
    margin-bottom: 20px;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--bg-white);
}

.social-links a:hover {
    background-color: var(--primary);
}

.widget-title {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.widget-links ul li {
    margin-bottom: 10px;
}

.widget-links ul li a {
    color: #a8a29e;
}

.widget-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.contact-info i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-bottom {
    background-color: #000000;
    padding: 20px 0;
    font-size: 0.875rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.visitor-counter {
    background-color: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

/* =========================================
   UTILS & COMMON
========================================= */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-3 { margin-top: 15px; }
.d-inline-block { display: inline-block; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header.text-center {
    flex-direction: column;
    align-items: center;
}

.section-title-wrap {
    margin-bottom: 30px;
}

.section-header .section-title-wrap {
    margin-bottom: 0;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.empty-state {
    color: var(--text-muted);
    font-style: italic;
    padding: 20px 0;
}

/* =========================================
   SAMBUTAN SECTION
========================================= */
.sambutan-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.video-card:hover img {
    transform: scale(1.05);
}
.video-card::after {
    content: '\f04b'; /* play icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}
.video-card:hover::after {
    opacity: 1;
}

.sambutan-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.sambutan-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border-bottom: 5px solid var(--primary);
}

.kepsek-name {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.kepsek-text {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* =========================================
   BERITA SECTION
========================================= */
.berita-section {
    padding: 80px 0;
    background-color: var(--bg-cream);
}

.berita-slider-container {
    position: relative;
}

.berita-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(234, 88, 12, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.berita-nav:hover {
    background: var(--primary-dark);
}

.berita-nav.prev { left: -20px; }
.berita-nav.next { right: -20px; }

@media (max-width: 1250px) {
    .berita-nav.prev { left: 5px; }
    .berita-nav.next { right: 5px; }
}

.berita-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    padding-bottom: 20px; /* Space for shadow */
    margin: 0 -10px;
    padding: 10px;
}

.berita-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}


.berita-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    min-width: 250px;
}

.berita-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.berita-img {
    position: relative;
    height: 200px;
    overflow: hidden; /* Added to contain zoomed image */
}

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

.berita-card:hover .berita-img img {
    transform: scale(1.1);
}

.berita-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.berita-body {
    padding: 20px;
}

.berita-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.berita-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.berita-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.berita-title a {
    color: var(--text-main);
}

.berita-title a:hover {
    color: var(--primary);
}

.berita-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================================
   JURUSAN SECTION
========================================= */
.jurusan-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.jurusan-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
}

.jurusan-card {
    flex: 0 0 calc(25% - 18.75px);
    width: calc(25% - 18.75px);
    box-sizing: border-box;
    background-color: var(--bg-cream);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

/* Modal Animations */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modalPopIn {
    0% { opacity: 0; transform: scale(0.9) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-overlay-animated {
    animation: modalFadeIn 0.3s ease forwards;
}
.modal-content-animated {
    animation: modalPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes textFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-text-reveal {
    animation: textFadeInDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.jurusan-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.jurusan-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.jurusan-card:hover .jurusan-icon {
    background-color: var(--primary);
    color: var(--bg-white);
}

.jurusan-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.jurusan-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.jurusan-link {
    font-weight: 600;
    font-size: 0.95rem;
}

/* =========================================
   PENGUMUMAN & AGENDA SECTION
========================================= */
.info-section {
    padding: 80px 0;
    background-color: var(--bg-cream);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.pengumuman-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pengumuman-item {
    display: flex;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pengumuman-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.pengumuman-date {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.pengumuman-date .d {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.pengumuman-date .m {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pengumuman-content {
    padding: 20px;
    display: flex;
    align-items: center;
}

.pengumuman-content h4 {
    font-size: 1.1rem;
    margin: 0;
}

.pengumuman-content a {
    color: var(--text-main);
}

.pengumuman-content a:hover {
    color: var(--primary);
}

/* Agenda */
.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agenda-item {
    display: flex;
    gap: 20px;
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.agenda-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.agenda-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-top: 5px;
}

.agenda-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.agenda-content ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.agenda-content ul li i {
    color: var(--primary-light);
    width: 15px;
}

/* =========================================
   SLIDER CARDS (VIDEO & GALERI)
========================================= */
.card-slide {
    flex: 0 0 calc(50% - 15px);
    min-width: 400px;
    scroll-snap-align: start;
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 320px;
    text-decoration: none;
}

/* =========================================
   RESPONSIVE (MOBILE-FRIENDLY)
========================================= */
@media (max-width: 992px) {
    /* Header & Navigation */
    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-main);
    }
    
    .nav-links {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        z-index: 100;
        padding: 10px 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: var(--bg-cream);
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-slide {
        height: 60vh !important;
    }
    
    /* Grids & Layouts */
    .jurusan-card {
        flex: 0 0 calc(50% - 12.5px) !important;
        width: calc(50% - 12.5px) !important;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sambutan-inner {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .footer-col {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Cards and Sliders for smaller mobile */
    .jurusan-card {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    
    .card-slide {
        flex: 0 0 85% !important;
        min-width: 280px !important;
    }
    
    .video-card, .gallery-card {
        height: 250px !important;
    }
    
    .berita-card {
        flex: 0 0 85% !important;
        min-width: 250px !important;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .video-nav, .gallery-nav, .berita-nav {
        display: none !important; /* Hide arrows on touch devices */
    }
    
    .header-inner {
        padding: 10px 0;
    }
    
    .logo-text .site-name {
        font-size: 1.1rem;
    }
    
    .logo-text .site-tagline {
        display: none; /* Hide tagline to save space */
    }
}
