* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  :root {
    --primary-color: #003366;
    --secondary-color: #00509e;
    --accent-color: #ffee00;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Header Styles */
  header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }

  .logo-container {
    display: flex;
    align-items: center;
    animation: slideInLeft 0.8s ease-out;
  }

  .logo-container img {
    height: 60px;
    margin-right: 15px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
  }

  .logo-container img:hover {
    transform: scale(1.05) rotate(5deg);
  }

  .logo-text h1 {
    margin: 0;
    font-size: 2.2em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .logo-text p {
    margin: 0;
    font-size: 0.55em;
    opacity: 0.9;
    font-weight: 300;
  }

  .menu-toggle {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: var(--transition);
  }

  .menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  nav.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: slideInRight 0.8s ease-out;
  }

  nav.navbar a {
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 20px;
    transition: var(--transition);
    border-radius: 25px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  nav.navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 238, 0, 0.2), rgba(255, 255, 255, 0.1));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 25px;
  }

  nav.navbar a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 238, 0, 0.3), transparent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
  }

  nav.navbar a:hover::before {
    width: 100%;
  }

  nav.navbar a:hover::after {
    width: 100px;
    height: 100px;
  }

  nav.navbar a:hover {
    color: var(--text-light);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 238, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }

  nav.navbar a:active {
    transform: translateY(0) scale(1.02);
    transition: all 0.1s ease;
  }

  .dropdown {
    position: relative;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    top: 100%;
    left: 0;
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.3s ease-out;
    flex-direction: column;
  }

  .dropdown-content.show {
    display: flex;
  }

  .dropdown-content a {
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    display: block;
    transition: var(--transition);
    border-radius: 8px;
    margin: 5px;
    position: relative;
    overflow: hidden;
  }

  .dropdown-content a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 238, 0, 0.2), transparent);
    transition: all 0.5s ease;
  }

  .dropdown-content a:hover::before {
    left: 100%;
  }

  .dropdown-content a:hover {
    background: linear-gradient(45deg, rgba(255, 238, 0, 0.1), rgba(255, 255, 255, 0.1));
    transform: translateX(8px) scale(1.02);
    color: var(--accent-color);
    box-shadow: 0 2px 10px rgba(255, 238, 0, 0.2);
  }

  /* Hero Section */
  .hero {
    padding: 100px 20px;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 80, 158, 0.7)), 
                url('../Galeri/BG-sklh.png') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 238, 0, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
  }

  .hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffffff, #ffd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
  }

  .hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    font-size: 1.1em;
    background: linear-gradient(45deg, var(--accent-color), #ffd700);
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 238, 0, 0.3);
    position: relative;
    overflow: hidden;
  }

  .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition);
  }

  .cta-button:hover::before {
    left: 100%;
  }

  .cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 238, 0, 0.4);
  }

  /* Content Sections */
  .content {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
  }

  .section {
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
  }

  .section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    font-weight: 700;
  }

  .section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--accent-color), #ffd700);
    border-radius: 2px;
  }

  /* Akreditasi Section */
  #accreditation .accreditation-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  /* Programs Section */
  .programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }

  .program-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
  }

  .program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 238, 0, 0.1), transparent);
    transition: var(--transition);
  }
  
  .program-card:hover::before {
    left: 100%;
  }

  .program-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-top-color: var(--accent-color);
  }

  .program-card i {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
  }

  .program-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
  }

  .program-card p {
    color: #666;
    line-height: 1.6;
  }

  /* Features Section */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }

  .feature-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }

  .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .feature-item i {
    font-size: 2.5em;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
  }

  .feature-item h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
  }

  /* Contact Section */
  .contact-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 238, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
  }

  .contact-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    margin-top: 30px;
  }

  .social-icons a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .social-icons i {
    font-size: 1.5em;
  }

  /* Floating Action Buttons */
  .floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
  }

  .float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    text-decoration: none;
    color: white;
    font-weight: 500;
    backdrop-filter: blur(10px);
  }

  .wa-float {
    background: linear-gradient(45deg, #25d366, #128c7e);
  }

  .map-float {
    background: linear-gradient(45deg, #4285f4, #34a853);
  }

  .float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  }

  .float-btn img {
    width: 30px;
    height: 30px;
  }

  /* Footer */
  footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: var(--text-light);
    text-align: center;
    padding: 30px 20px;
    margin-top: 0;
  }

  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes glow {
    from {
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    }
    to {
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    }
  }

  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }

  @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }

    nav.navbar {
      display: none;
      flex-direction: column;
      width: 100%;
      background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
      margin-top: 10px;
      border-radius: 10px;
      padding: 20px 0;
    }

    nav.navbar.show {
      display: flex;
      animation: fadeInDown 0.3s ease-out;
    }

    nav.navbar a {
      padding: 15px 20px;
      margin: 5px 10px;
      border-radius: 10px;
    }

    .hero h1 {
      font-size: 2.5em;
    }

    .hero p {
      font-size: 1em;
    }

    .section h2 {
      font-size: 2em;
    }

    #accreditation .accreditation-content {
      padding: 0 15px;
    }
  
    #accreditation .accreditation-content p {
      font-size: 1em;
      line-height: 1.6;
    }
  
    #accreditation .accreditation-content img {
      width: 100%;
      max-width: 100%;
      margin-top: 15px;
    }

    .programs-grid,
    .features-grid {
      grid-template-columns: 1fr;
    }

    .floating-buttons {
      bottom: 10px;
      right: 10px;
    }

    .float-btn {
      padding: 12px 15px;
      font-size: 0.9em;
    }

    .logo-text h1 {
      font-size: 1.8em;
    }
  }

  @media (max-width: 480px) {
    .header-container {
      padding: 10px 15px;
    }

    .hero {
      padding: 60px 15px;
    }

    .hero h1 {
      font-size: 2em;
    }

    .content {
      padding: 60px 15px;
    }

    .contact-section {
      padding: 60px 15px;
    }

    .social-icons {
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 0px;
    }
  
    .social-icons a {
      flex-shrink: 0;
    }    
  }

  /* Dark mode support */
  @media (prefers-color-scheme: dark) {
    :root {
      --bg-light: #1a1a1a;
      --text-dark: #f0f0f0;
    }

    #accreditation .accreditation-content {
      padding: 0 10px;
      text-align: left;
    }
  
    #accreditation .accreditation-content p {
      font-size: 0.95em;
      line-height: 1.5;
    }
  
    #accreditation .accreditation-content img {
      width: 100%;
      max-width: 100%;
      margin-top: 12px;
      border-radius: 8px;
    }

    .program-card,
    .feature-item {
      background: #2d2d2d;
      color: #f0f0f0;
    }

    .program-card p {
      color: #ccc;
    }
  }