:root,
[data-bs-theme=light] {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 0, 214, 43;
  --bs-secondary-rgb: 6, 137, 21;
  --bs-success-rgb: 21, 85, 213;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-primary-text-emphasis: #052c65;
  --bs-secondary-text-emphasis: #2b2f32;
  --bs-success-text-emphasis: #0a3622;
  --bs-info-text-emphasis: #055160;
  --bs-warning-text-emphasis: #664d03;
  --bs-danger-text-emphasis: #58151c;
  --bs-light-text-emphasis: #495057;
  --bs-dark-text-emphasis: #495057;
  --bs-primary-bg-subtle: #cfe2ff;
  --bs-secondary-bg-subtle: #e2e3e5;
  --bs-success-bg-subtle: #d1e7dd;
  --bs-info-bg-subtle: #cff4fc;
  --bs-warning-bg-subtle: #fff3cd;
  --bs-danger-bg-subtle: #f8d7da;
  --bs-light-bg-subtle: #fcfcfd;
  --bs-dark-bg-subtle: #ced4da;
  --bs-primary-border-subtle: #9ec5fe;
  --bs-secondary-border-subtle: #c4c8cb;
  --bs-success-border-subtle: #a3cfbb;
  --bs-info-border-subtle: #9eeaf9;
  --bs-warning-border-subtle: #ffe69c;
  --bs-danger-border-subtle: #f1aeb5;
  --bs-light-border-subtle: #e9ecef;
  --bs-dark-border-subtle: #adb5bd;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg: #fff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-emphasis-color: #000;
  --bs-emphasis-color-rgb: 0, 0, 0;
  --bs-secondary-color: rgba(33, 37, 41, 0.75);
  --bs-secondary-color-rgb: 33, 37, 41;
  --bs-secondary-bg: #e9ecef;
  --bs-secondary-bg-rgb: 233, 236, 239;
  --bs-tertiary-color: rgba(33, 37, 41, 0.5);
  --bs-tertiary-color-rgb: 33, 37, 41;
  --bs-tertiary-bg: #f8f9fa;
  --bs-tertiary-bg-rgb: 248, 249, 250;
  --bs-heading-color: inherit;
  --bs-link-color: #0d6efd;
  --bs-link-color-rgb: 13, 110, 253;
  --bs-link-decoration: underline;
  --bs-link-hover-color: #0a58ca;
  --bs-link-hover-color-rgb: 10, 88, 202;
  --bs-code-color: #d63384;
  --bs-highlight-color: #212529;
  --bs-highlight-bg: #fff3cd;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2rem;
  --bs-border-radius-2xl: var(--bs-border-radius-xxl);
  --bs-border-radius-pill: 50rem;
  --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  --bs-focus-ring-width: 0.25rem;
  --bs-focus-ring-opacity: 0.25;
  --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
  --bs-form-valid-color: #198754;
  --bs-form-valid-border-color: #198754;
  --bs-form-invalid-color: #dc3545;
  --bs-form-invalid-border-color: #dc3545;
}

.logo {
    height: 50px;
}

@media (max-width: 450px) {

    .logo {
        height: 40px;
    }
}

#font-cals {
    font-family: "Cal Sans", sans-serif;
    font-weight: 800;
}

.background-wisuda {
    background-image: linear-gradient(rgba(9, 128, 9, 0.5), rgba(5, 95, 5, 0.952)), url('https://sditgamaschool.sch.id/wp-content/uploads/2024/11/foto1.png');
    background-position:top center;
}

.background-sekolah {
    height: 500px;
    background-image:url('https://sditgamaschool.sch.id/frontend/sditgamma/img/background-1-768x423.jpg');
    background-position:center center;
    background-size:cover;
}

.background-sekolah-200 {
    height: max-content;
    background-image:url('https://sditgamaschool.sch.id/frontend/sditgamma/img/background-1-768x423.jpg');
    background-position:center center;
    background-size:cover;
}

.background-bola {
    background-image: url('https://sditgamaschool.sch.id/frontend/sditgamma/img/image_2024-11-20_142321711.png');
}

.background-bola-blur {
    background-image: url('https://sditgamaschool.sch.id/frontend/sditgamma/img/image_2024-11-20_142321711.png'); background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.background-gradasi-sekolah {
    background-image: linear-gradient(rgba(9, 128, 9, 0.5), rgba(21, 216, 223, 0.5)), url('https://sditgamaschool.sch.id/frontend/sditgamma/img/wisuda.jpg'); background-color: transparent;
}

.gradient {
    background-color: transparent;
    background-image: linear-gradient(180deg, #54B435 30%, #3DBBB9 100%);
}
.navbar-custom {
      background: #fff;
      border-radius: 0 0 30px 30px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      padding: 0.75rem 1.5rem;
      width: 90%
    }

    .nav-link {
      color: #00ff15 !important;
      font-weight: 500;
    }

    .social-icons .btn {
      margin-left: 0.5rem;
    }

    .social-icons .facebook { background-color: #3b5998; color: #fff; }
    .social-icons .youtube  { background-color: #ff0000; color: #fff; }
    .social-icons .instagram{ background-color: #000; color: #fff; }
    .social-icons .whatsapp { background-color: #25d366; color: #fff; }

.timeline {
      position: relative;
      margin: 50px 0;

    }

    .timeline::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 4px;
      height: 100%;
      background-color: #dee2e6;
    }

    .timeline-item {
      position: relative;
      margin-bottom: 50px;
    }

    .timeline-icon {
      position: absolute;
      top: 15px;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 2;
      background-color: white;
      padding: 8px;
      border-radius: 50%;
      border: 2px solid #198754;
      color: #198754;
      height: 45px;
      width: 45px;
    }

    .timeline-content {
      background-color: #28a745;
      color: white;
      border: 2px dashed #198754;
      border-radius: 10px;
      padding: 20px;
    }

    .timeline-content h5 {
      font-weight: bold;
    }

    /* Responsif Zigzag */
    @media (min-width: 768px) {
      .timeline-item {
        display: flex;
        align-items: center;
      }

      .timeline-item.left .timeline-content {
        margin-right: auto;
        width: 45%;
      }

      .timeline-item.right .timeline-content {
        margin-left: auto;
        width: 45%;
      }
    }

    @media (max-width: 767.98px) {

        .timeline::before {
        left: 10px;
      }

      .timeline-icon {
        left: 10px;
        transform: none;
      }

      .timeline-content {
        margin-left: 40px !important;
        width: auto !important;
      }
    }

    .accordion-header {
        background-color: #198754;
    }

#typed {
    font-family:  'Sofia', cursive;
    font-weight: 800;
    font-style: normal;
}

#typed::after {
  content: '|';
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.btn-primary {
    background-color: 0, 214, 43;
}

.article-card {
            border: 1px solid #dee2e6;
            border-radius: 0.375rem;
            overflow: hidden;
        }
        .article-img-container {
            height: 300px; /* Sesuaikan tinggi gambar */
            overflow: hidden;
        }
        .article-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .article-body {
            padding: 1rem;
        }
        .article-meta {
            font-size: 0.8rem;
            color: #6c757d;
        }
        .article-title {
            font-size: 1.25rem;
            margin-top: 0.5rem;
            margin-bottom: 0.5rem;
            font-weight: bold;
        }
        .article-excerpt {
            font-size: 0.9rem;
            color: #495057;
            margin-bottom: 1rem;
        }
        .read-more-link {
            font-size: 0.9rem;
            color: #0d6efd;
            text-decoration: none;
        }
        .read-more-link::before {
            content: "\2192 "; /* Unicode untuk panah ke kanan */
        }

        .article-list-item {
            display: flex;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #eee;
            padding-bottom: 1.5rem;
        }
        .article-list-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
            margin-bottom: 0;
        }
        .article-image-wrapper {
            width: 150px; /* Lebar gambar */
            height: 100px; /* Tinggi gambar */
            overflow: hidden;
            border-radius: 0.25rem;
            margin-right: 1rem;
            flex-shrink: 0; /* Agar tidak menyusut */
        }
        .article-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .article-details {
            flex-grow: 1;
        }
        .article-meta-info {
            font-size: 0.85rem;
            color: #6c757d;
            margin-bottom: 0.25rem;
        }
        .article-category {
            font-weight: bold;
            color: #0a58ca; /* Warna kategori */
        }
        .article-title-list {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: #343a40;
            text-decoration: none; /* Hilangkan underline default link */
        }
        .article-title-list:hover {
            color: #0a58ca; /* Warna hover judul */
        }
        .article-excerpt-list {
            font-size: 0.9rem;
            color: #495057;
            margin-bottom: 0.5rem;
        }

        .video-gallery {
            padding: 2rem 0;
        }
        .video-item {
            position: relative;
            overflow: hidden;
            border-radius: 0.25rem;
            cursor: pointer;
            aspect-ratio: 16 / 9; /* Rasio aspek video YouTube */
        }
        .video-thumbnail {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease-in-out;
        }
        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 3rem;
            color: red;
            opacity: 0.8;
            transition: opacity 0.3s ease-in-out;
        }
        .video-item:hover .video-thumbnail {
            transform: scale(1.05);
        }
        .video-item:hover .play-button {
            opacity: 1;
        }
        .modal-dialog-centered {
            min-height: calc(100% - 1rem);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .modal-content-video {
            background-color: black;
            color: white;
            border: none;
            border-radius: 0.25rem;
            overflow: hidden;
        }
        .modal-body-video {
            padding: 0;
        }
        .embed-responsive {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
        }
        .embed-responsive iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
