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

:root {
   --primary: #012245;
   --primary-dark: #001a35;
   --secondary: #ffb900;
   --accent: #c6880b;
   --dark: #1a1a1a;
   --light: #f8fafc;
   --gray: #64748b;
   --card-bg: #ffffff;
}

body {
   font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
   line-height: 1.6;
   color: var(--dark);
   overflow-x: hidden;
   background: var(--light);
}

/* Navigation */
nav {
   position: fixed;
   top: 0;
   width: 100%;
   background: var(--primary);
   backdrop-filter: blur(20px);
   box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
   z-index: 1000;
   transition: all 0.3s ease;
}

.nav-container {
   max-width: 1400px;
   margin: 0 auto;
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 0.8rem 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
  }
  
  .logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
  }
  
  .logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
  }
  
  .logo-text-primary {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.5px;
    line-height: 1.1;
  }
  
  .logo-text-secondary {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--light);
    line-height: 1.1;
    letter-spacing: 0.5px;
  }
  
  /* Make both lines visually same width */
  .logo-text-container {
    width: max-content;
  }
  
  .logo-text-primary,
  .logo-text-secondary {
    display: block;
    text-align: left;
  }
  
  /* Subtle tweak: slightly expand letter spacing on smaller line to balance width */
  .logo-text-secondary {
    letter-spacing: 1px;
  }
  
  /* Optional: responsive scaling */
  @media (max-width: 600px) {
    .logo-icon {
      width: 40px;
      height: 40px;
    }
  
    .logo-text-primary {
      font-size: 1.3rem;
    }
  
    .logo-text-secondary {
      font-size: 1rem;
    }
  }

.nav-links {
   display: flex;
   list-style: none;
   gap: 2.5rem;
}

.nav-links a {
   text-decoration: none;
   color: white;
   font-weight: 500;
   font-size: 0.95rem;
   transition: all 0.3s ease;
   position: relative;
}

.nav-links a::after {
   content: "";
   position: absolute;
   bottom: -5px;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--secondary);
   transition: width 0.3s ease;
}

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

.nav-links a:hover {
   color: var(--secondary);
}

.menu-toggle {
   display: none;
   font-size: 1.8rem;
   background: none;
   border: none;
   color: white;
   cursor: pointer;
}

/* Hero Section - Split Design */
.hero {
   margin-top: 70px;
   position: relative;
   overflow: hidden;
   min-height: 600px;
   display: flex;
   align-items: center;
   background: white;
}

.hero-split-container {
   display: flex;
   width: 100%;
   max-width: 1400px;
   margin: 0 auto;
   position: relative;
}

.hero-content-side {
   flex: 1;
   padding: 4rem 3rem 4rem 5rem;
   display: flex;
   flex-direction: column;
   justify-content: center;
   z-index: 2;
}

.hero-image-side {
   flex: 1;
   position: relative;
   background: linear-gradient(
      135deg,
      var(--primary) 0%,
      var(--primary-dark) 100%
   );
   clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
}

.hero-image-side::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
   );
   background-size: 50px 50px;
   animation: float 30s infinite linear;
}

.hero-image-side:hover {
    transform: scale(1.03);
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
}

@keyframes float {
   from {
      transform: translate(0, 0) rotate(0deg);
   }
   to {
      transform: translate(50px, 50px) rotate(360deg);
   }
}

.hero-image-placeholder {
   position: relative;
   z-index: 1;
   text-align: center;
   color: white;
}

.hero-image-placeholder .icon {
   font-size: 8rem;
   margin-bottom: 1rem;
   filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.hero-image-placeholder h3 {
   font-size: 1.8rem;
   font-weight: 600;
}

.hero-subtitle {
   color: var(--secondary);
   font-size: 1rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 2px;
   margin-bottom: 1rem;
}

.hero h1 {
   font-size: 3.5rem;
   margin-bottom: 1.5rem;
   font-weight: 800;
   color: var(--dark);
   line-height: 1.2;
}

.hero-description {
   font-size: 1.2rem;
   color: var(--gray);
   margin-bottom: 2.5rem;
   line-height: 1.8;
}

.hero-buttons {
   display: flex;
   gap: 1.5rem;
}

.btn {
   padding: 1rem 2.5rem;
   font-size: 1.05rem;
   font-weight: 600;
   border-radius: 50px;
   text-decoration: none;
   transition: all 0.3s ease;
   cursor: pointer;
   border: none;
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
}

.btn-primary {
   background: var(--primary);
   color: white;
   box-shadow: 0 10px 30px rgba(1, 34, 69, 0.3);
}

.btn-primary:hover {
   transform: translateY(-3px);
   box-shadow: 0 15px 40px rgba(1, 34, 69, 0.4);
   background: var(--primary-dark);
}

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

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

/* Image Carousel */
.carousel-section {
   padding: 0;
   background: white;
   margin: -2px 0;
}

.carousel-container {
   max-width: 100%;
   margin: 0 auto;
   position: relative;
   overflow: hidden;
}

.carousel-wrapper {
   position: relative;
   height: 500px;
}

.carousel-slide {
   position: absolute;
   width: 100%;
   height: 100%;
   opacity: 0;
   transition: opacity 0.8s ease-in-out;
}

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

.carousel-slide img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.carousel-btn {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background: rgba(255, 255, 255, 0.9);
   border: none;
   color: var(--primary);
   font-size: 2rem;
   padding: 1rem 1.5rem;
   cursor: pointer;
   border-radius: 50%;
   transition: all 0.3s ease;
   z-index: 10;
   width: 60px;
   height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
   background: white;
   transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
   left: 2rem;
}

.carousel-btn.next {
   right: 2rem;
}

.carousel-dots {
   position: absolute;
   bottom: 2rem;
   left: 50%;
   transform: translateX(-50%);
   display: flex;
   gap: 1rem;
   z-index: 10;
}

.dot {
   width: 12px;
   height: 12px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.5);
   cursor: pointer;
   transition: all 0.3s ease;
   border: 2px solid white;
}

.dot:hover {
   background: rgba(255, 255, 255, 0.8);
}

.dot.active {
   background: white;
   width: 35px;
   border-radius: 10px;
}

/* Section Styles */
section {
   padding: 5rem 2rem;
}

.container {
   max-width: 1400px;
   margin: 0 auto;
}

.section-header {
   text-align: center;
   margin-bottom: 4rem;
}

.section-subtitle {
   color: var(--secondary);
   font-size: 0.95rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 2px;
   margin-bottom: 0.5rem;
}

.section-title {
   font-size: 2.8rem;
   font-weight: 800;
   color: var(--primary);
   margin-bottom: 1rem;
}

.section-description {
   font-size: 1.15rem;
   color: var(--gray);
   max-width: 800px;
   margin: 0 auto;
   line-height: 1.8;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
  
    /* ✅ Center the grid block */
    justify-content: center;
  
    /* ✅ Limit max width so max 3 items fit in one row */
    max-width: calc(320px * 3 + 2.5rem * 2); /* 3 items + 2 gaps */
    margin-left: auto;
    margin-right: auto;
  }

.card {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   text-align: center;
   background: var(--card-bg);
   border-radius: 20px;
   padding: 2.5rem;
   position: relative;
   overflow: hidden;
   transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
   border: 1px solid rgba(1, 34, 69, 0.1);
}

.card::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 5px;
   background: linear-gradient(
      90deg,
      var(--primary),
      var(--secondary)
   );
   transform: scaleX(0);
   transition: transform 0.4s ease;
}

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

.card:hover {
   transform: translateY(-15px);
   box-shadow: 0 20px 60px rgba(1, 34, 69, 0.15);
}

.card-icon {
   font-size: 3.5rem;
   margin-bottom: 1.5rem;
   display: inline-block;
   transition: transform 0.4s ease;
}

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

.card h3 {
   color: var(--dark);
   margin-bottom: 1rem;
   font-size: 1.5rem;
   font-weight: 700;
}

.card p {
   color: var(--gray);
   line-height: 1.9;
   font-size: 1.05rem;
}

/* About Section */
#about {
   background: var(--light);
}

.about-card {
   max-width: 1000px;
   margin: 0 auto;
   background: white;
   padding: 4rem;
   border-radius: 20px;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.about-card p {
   color: var(--dark);
   font-size: 1.15rem;
   line-height: 2;
}

/* Team Section */
#team {
   background: white;
}

#contact {
   padding: 60px 20px;
   display: flex;
   justify-content: center;
}

.contact-container {
   width: 100%;
   max-width: 800px;
   background: var(--card-bg);
   border-radius: var(--radius);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
   padding: 40px 30px;
   text-align: center;
}

.contact-header .subtitle {
   color: var(--primary);
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 5px;
}

.contact-header h2 {
   font-size: 1.8rem;
   margin-bottom: 10px;
}

.contact-header .description {
   color: var(--text-light);
   font-size: 0.95rem;
   margin-bottom: 30px;
}

.contact-grid {
   display: flex;
   flex-direction: column;
   gap: 15px;
}

.contact-item {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 8px;
   font-size: 1rem;
   color: var(--text-dark);
   background: #f3f6fa;
   padding: 10px 15px;
   border-radius: var(--radius);
   transition: background 0.3s;
}

.contact-item:hover {
   background: #eaf1ff;
}

.contact-item-text {
   margin: 0;
   color: var(--text-dark);
   text-decoration: none;
   font-size: 1rem;
   font-weight: 500;
   color: var(--text-dark);
   transition: all 0.3s ease;
   cursor: pointer;
   border: none;
   background: none;
   padding: 0;
}

.social-section {
   margin-top: 30px;
}

.follow-text {
   font-weight: 600;
   margin-bottom: 10px;
   color: var(--text-light);
}

.social-links {
   display: flex;
   justify-content: center;
   gap: 20px;
}

.social-links a {
   display: inline-flex;
   justify-content: center;
   align-items: center;
   font-size: 1.3rem;
   background: #f3f6fa;
   color: var(--primary);
   width: 40px;
   height: 40px;
   border-radius: 50%;
   transition: all 0.3s ease;
   text-decoration: none;
}

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

/* --- Footer --- */
footer {
   background: var(--primary);
   color: var(--light);
   text-align: center;
   padding: 15px 10px;
   font-size: 0.9rem;
   margin-top: 40px;
}

footer strong {
   color: var(--light);
}

.footer-link-ikhlaq {
   color: var(--secondary);
   text-decoration: underline;
   transition: all 0.3s ease;
   font-weight: 600;
   text-decoration-color: var(--secondary);
}

.footer-link-ikhlaq:hover {
   color: var(--primary);
   text-decoration: underline;
   text-decoration-color: var(--primary);
}


/* --- Responsive --- */
@media (max-width: 600px) {
   .contact-container {
      padding: 30px 20px;
   }
   .contact-header h2 {
      font-size: 1.5rem;
   }
}
/* Responsive */
@media (max-width: 1024px) {
   .hero-split-container {
      flex-direction: column;
   }

   .hero-image-side {
      clip-path: none;
      min-height: 400px;
   }

   .hero-content-side {
      padding: 3rem 0rem;
   }
}

@media (max-width: 1024px) {
   .hero-image-side {
      margin-top: 20px;
      min-height: 400px;
      border-radius: 20px;
   }
   .hero-image-placeholder {
      border-radius: 20px;
   }
}
@media (max-width: 768px) {
   .menu-toggle {
      display: block;
   }

   .nav-container {
      padding: 1rem 1.5rem;
   }

   .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--primary);
      flex-direction: column;
      padding: 2rem;
      transform: translateY(-20px);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      gap: 1.5rem;
   }

   .nav-links.active {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
   }

   .hero h1 {
      font-size: 2.5rem;
   }

   .hero-description {
      font-size: 1.1rem;
   }

   .hero-buttons {
      flex-direction: column;
   }

   .section-title {
      font-size: 2.2rem;
   }

   .card-grid {
      grid-template-columns: 1fr;
   }

   .carousel-wrapper {
      height: 400px;
   }

   .carousel-btn {
      width: 45px;
      height: 45px;
      font-size: 1.5rem;
   }

   .carousel-btn.prev {
      left: 1rem;
   }

   .carousel-btn.next {
      right: 1rem;
   }
}


/* Info Container */
.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    width: 100%;
    margin: 5rem auto;
    padding: 0 20px;
}

.info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }

  .info-text {
    flex: 1;
    margin-right: 2rem;
  }

  .info-text h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0.6rem;
    color: #111827;
  }

  .info-divider {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }

  .info-divider::before {
    content: "•••";
    color: var(--secondary);
    font-size: 1.1rem;
    margin-right: 0.5rem;
    letter-spacing: 2px;
  }

  .info-divider::after {
    content: "";
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
  }

  .info-text p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
  }

  .info-text b {
    font-weight: 600;
  }

  .info-btn {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 1rem 1.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(11, 33, 73, 0.1);
    white-space: nowrap;
  }

  .info-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
  }

  .info-btn::after {
    content: " →";
    font-weight: bold;
    transition: margin-left 0.2s;
  }

  .info-btn:hover::after {
    margin-left: 6px;
  }

  /* Responsive tweaks */
  @media (max-width: 640px) {
    .info-box {
      flex-direction: column;
      text-align: center;
      padding: 1.5rem;
    }

    .info-text {
      margin-right: 0;
      margin-bottom: 1rem;
    }

    .info-btn {
      width: 100%;
    }
  }
