/* Fonts */
/* :root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Raleway", sans-serif;
} */
:root {
  --default-font: "Science Gothic", sans-serif;
  --heading-font: "Science Gothic", sans-serif;
  --nav-font: "Science Gothic", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #444444;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2c4964;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #FFA500;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #2c4964;
  /* The default color of the main navmenu links */
  --nav-hover-color: #FFA500;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #2c4964;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1977cc;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f7fc;
  --surface-color: #ffffff;
}

.jingga-background {
  --background-color: #ffa500;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  position: sticky;
  top: 0;
  width: 100%;
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 999;
  background-color: var(--background-color);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  width: 100%;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
  position: relative;
  z-index: 1100;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
  background-color: #2c4964;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: white;
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.btn-orange {
  background-color: #FFA500;  
  color: #fff;
}

.btn-orange:hover {
  background-color: #FFB733;   
  color: #fff;
}

/* --- Branding Section Layout --- */
.branding .container {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  color: #FFA500; 
}

/* --- Navmenu Desktop --- */
.navmenu {
  display: flex;
  align-items: center;
}

.navmenu .dropdown {
  position: relative; 
}

.navmenu li a:hover,
.navmenu li a.active {
  color: #FFA500; 
}

/* === Struktur dasar === */
.navmenu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 10px 20px;
}

.navmenu ul li {
  position: relative;
}

.navmenu ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 10px;
}

/* === Mega Dropdown === */
.dropdown-toggle {
  cursor: pointer;
}

.dropdown-mega {
  display: flex;            
  gap: 200px;  
  position: absolute;
  top: 180% !important; 
  left: -1020% !important;
  width: 100%;
  background: #fff;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: none;
}

.navmenu ul li > .dropdown-mega {
  position: absolute;
  top: 100%; 
  left: 0;
  width: 100vw;
  display: none;
  z-index: 999;
}

.navmenu ul li:hover > .dropdown-mega,
.navmenu ul li.active > .dropdown-mega {
  display: flex;
}

/* === Kolom kiri & tengah === */

.dropdown-column {
  display: flex;
  flex-direction: column;
}

.dropdown-column h4 {
  color: #f15a24;
  font-size: 20px;
  margin-bottom: 10px;
}

.dropdown-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column; 
  gap: 5px;
  text-align: left; 
  align-items: flex-start; 
}

.dropdown-column ul li a {
  color: #333;
  text-decoration: none;
  padding: 5px 0;
  display: block;
  text-align: left; 
  width: 100%; 
}

.dropdown-column ul li a:hover {
  color: #f7931e;
}

/* === Kolom teks kanan === */
.dropdown-side {
  color: #555;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.btn-learn {
  background-color: #f7931e;
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
  width: fit-content;
}

.btn-learn:hover {
  background-color: #d87f10;
}

.deskripsi-teks {
  text-align: justify;
}

.features,
.accordion,
.py-4 {
  margin-bottom: 30px;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: #fff;
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .contact-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.footer .contact-link:hover {
  text-decoration: underline;
}

.footer .footer-contact i {
  color: #00ff99; 
  font-size: 18px;
}

.footer-contact a.contact-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.footer-contact a.contact-link:hover {
  text-decoration: underline;
}

/* Saat di-scroll */
.scrolled .header {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #ffffff; 
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  font-size: 16px;
  color: color-mix(in srgb, var(--contrast-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: #fff;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: var(--contrast-color);
  display: inline-block;
  line-height: 1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer .footer-links ul a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, white, transparent 70%);
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits a{
  margin-top: 8px;
  font-size: 13px;
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

/* Preloader bulat */
#preloader:before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 6px solid var(--accent-color);
  border-top-color: transparent;
  border-radius: 50%; 
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.row.align-items-center .col-md-6 {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  justify-content: center; 
  align-items: center;    
}

.row.align-items-center .col-md-6 img {
  max-width: 100%;   
  max-height: 400px; 
  object-fit: contain; 
  width: auto;       
  height: auto;      
  display: block;
  border-radius: 8px;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

#produk .section-title h2 {
  font-weight: 600;
  font-size: 40px;
  line-height: 1.5;
  text-align: center;
  text-justify: inter-word;
  color: white;
  text-shadow: 0 4px 12px rgba(41, 41, 41, 0.4);
}

#produk .section-title h2 span {
  color: #0a1a3c;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

#hero-mobile {
  display: none;
}

.hero {
  width: 100%;
  min-height: calc(100vh - 80px); /* minimal setinggi layar, bisa lebih jika isi banyak */
  padding: 80px 0;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 🖤 Overlay Transparan Gelap */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55); /* ubah angka 0.55 sesuai gelap yang diinginkan */
  z-index: 1;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .container {
  z-index: 3;
}

.hero .welcome {
  position: relative;
  z-index: 2;
  /* biar teks di atas overlay */
  padding-top: 50px;
  /* biar turun lebih jauh */
}

.welcome h2 {
  font-size: 70px;
  /* besar & tegas */
  font-weight: 700;
  /* bold */
  color: #ffffff;
  /* putih biar kontras */
  margin-bottom: 20px;
  /* jarak ke bawah */
  line-height: 1.2;
  /* rapat, tapi tetap enak dibaca */
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
  /* efek elegan */
}

.welcome h3 {
  font-size: 35px;
  font-weight: 600;
  color: #FFA500;
  /* oranye elegan */
  margin-bottom: 15px;
  line-height: 1.4;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
  /* efek elegan */
}

.welcome p {
  font-size: 25px;
  font-weight: 400;
  color: #f1f1f1;
  /* abu muda */
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 600px;
  /* biar teks ga terlalu melebar */
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
  /* efek elegan */
}

.hero .content .col-lg-5,
.hero .content .col-lg-7 {
  padding-right: 10px;
  padding-left: 10px;
}

.hero .content {
  margin-top: 40px;
  width: auto;
  margin-right: -10px;
  margin-left: -10px;
}

.hero .content .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
}

.hero .content .why-box h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 34px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.hero .content .why-box p {
  margin-bottom: 30px;
}

.hero .content .why-box .more-btn {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  transition: all ease-in-out 0.4s;
}

.hero .content .why-box .more-btn i {
  font-size: 14px;
}

.hero .content .why-box .more-btn:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}

.hero .content .icon-box {
  text-align: center;
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.hero .content .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
}

.hero .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 20px 0;
}

.hero .content .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px; /* jarak antara gambar dan teks */
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-content {
  flex: 1;
  padding: 50px;
  margin-top: 20px;
}

.about-content h5 {
  font-size: 18px;
  font-weight: 700;
  color: #0a1a3c;
  margin-bottom: 8px;
}

.about-content p {
  font-size: 15px;
  color: #333;
  text-align: justify;
}

.about-content li i {
    font-size: 30px;
    color:#FFA500;
  }

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .icon::before {
  background: color-mix(in srgb, var(--background-color), transparent 70%);
}

.services .service-item:hover h3,
.services .service-item:hover p {
  color: var(--contrast-color);
}

.heroabout {
  position: relative;
}

.heroabout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* gelap transparan */
}

.heroabout .container {
  position: relative;
  text-align: justify;
  z-index: 1;
}

.heroabout h1, 
.heroabout h2 {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero h1 {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0,0,0,0.6); /* kotak hitam transparan */
}

.detail-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.detail-content.open {
  max-height: 1000px; /* cukup tinggi untuk isi list */
}

.lihat-lebih-lanjut {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: #003366;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}
.lihat-lebih-lanjut:hover {
  color: #0055aa;
}

#our-partner {
  margin-top: 80px;
  margin-bottom: 80px;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #003366;
}

#our-partner img {
  max-height: 80px;   /* atur tinggi logo biar seragam */
  object-fit: contain; /* logo tidak ketarik */
}

.card-img-top {
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
  border-radius: 0 !important;
  background-color:#0a1a3c;
}

#produk h2 {
  font-size: 1.75rem;
  color: #0a1a3c;
}

#produk .btn-link {
  text-decoration: none;
  font-weight: 600;
}
#produk .btn-link:hover {
  text-decoration: underline;
}

.product-img {
  width: 100%;              /* isi full kanan-kiri */
  height: 250px;            /* atur tinggi seragam */
  object-fit: cover;        /* biar proporsional tapi full */
  object-position: center;  /* fokus tengah gambar */
  display: block;           /* hindari celah bawah gambar */
}

html {
  scroll-behavior: smooth;
}

/* PRODUK */
.produk-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0a1a3c;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 24px;
  height: 100%;
}

.produk-card i {
  font-size: 40px;
  color: orange;
}

.produk-card h4 {
  margin-top: 16px;
  font-size: 23px;
  font-weight: 600;
  color: white;
}

.produk-card p {
  margin-top: 8px;
  font-size: 14px;
  color: orange;
  text-align: center;
}

.produk-btn {
  margin-top: auto;
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background: orange;
  color: #fff;
  font-weight: 600;
}


/* Tru-life-insurance */
/* Features */
.features {
  margin-top: 60px;
}

.features h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1a237e; /* biru khas MSIG */
  margin-bottom: 30px;
}

/* Setiap item */
.feature-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 45px;
  padding-left: 25px;
}

/* Checklist di kiri */
.feature-item::before {
  content: "✔";
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 14px;
}

/* Ikon */
.feature-item img {
  width: 55px;
  height: auto;
  flex-shrink: 0;
}

/* Teks */
.feature-item h3 {
  font-size: 18px;
  color: #1a237e;
  font-weight: 600;
}

.feature-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  text-align: justify;
}

.summary {
  background: #f9f9f9;
  margin-top: -5%;
}

.summary h2 {
  font-size: 22px;
  color: #1a237e; 
  font-weight: 600;
}

.summary ol {
  margin-left: 20px;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.summary ol li {
  margin-bottom: 12px;
  padding-left: 5px;
}


/* Buttons */
.cta-buttons {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  text-align: center;
}

.btn {
  text-decoration: none;
  padding: 10px 20px;
  font-weight: 600;
  text-align: center;
}

.btn.outline {
  border: 2px solid #0a3c7d;
  color: #0a3c7d;
}

.btn.outline:hover {
  background-color: #FFB733;
  color: white;
  border: none;
}

/* Accordion */
.accordion-item {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    cursor: pointer;
}

.plus-sign {
    margin-left: auto; 
    padding-left: 10px; 
    font-size: 18px;
}

.accordion-content {
  display: none;
  padding: 15px;
  background: white;
  font-size: 15px;
  overflow-y: auto; 
  transition: max-height 0.3s ease-out; 
}

.accordion-content.active {
  display: block;
  max-height: 500px;
}

.insurance-coverage {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 20px 0;
}

.insurance-coverage h2,
.insurance-coverage h3 {
    color: #FFB733;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.insurance-coverage p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.insurance-coverage ul {
    list-style-type: disc;
    margin-left: 20px;
}

.insurance-coverage li {
    margin-bottom: 5px;
}

.insurance-coverage ul li::before {
    margin-right: 5px;
}


/* Gaya untuk link */
.download-link {
    color: #2c4964;
    text-decoration: none; /* Menghapus garis bawah pada link */
}

/* Efek hover untuk link */
.download-link:hover {
    color: #ff6f00; /* Ubah warna teks saat hover */
    text-decoration: underline; /* Menambahkan garis bawah saat hover */
}

/* ========================= */
/* 📱 RESPONSIVE DESIGN CSS  */
/* ========================= */

/* Animasi */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  #preloader:before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    /* gabungkan translate & rotate dalam animation */
    transform: translate(-50%, -50%);
    border: 6px solid var(--accent-color);
    border-top-color: transparent;
    border-radius: 50%;
    width: 40px;   /* kecilkan */
    height: 40px;  /* kecilkan */
    animation: animate-preloader 1.5s linear infinite;
  }

  @keyframes animate-preloader {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }


  /* Header */
  .header .topbar {
    display: none !important;
  }

  .header .logo {
    line-height: 1;
  }

  .header .logo img {
    max-height: 35px;
  }

  .header .logo h1 {
    font-size: 30px;
  }

 /* Tombol burger */
  .mobile-nav-toggle {
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    z-index: 2001;
  }

  /* Menu utama fullscreen */
  .navmenu {
    display: none;
  }

  .navmenu.active {
    display: flex;
    position: fixed;
    inset: 0;
    background-color: #0a1a3c; 
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px;
    z-index: 2000;
    overflow-y: auto;
  }

  .navmenu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .navmenu ul li {
    width: 100%;
  }

  .navmenu ul li a {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .navmenu ul li a:hover {
    color: #FFD580;
  }

  .navmenu .dropdown {
    position: relative;
    width: 100%;
  }

 .navmenu .dropdown-mega {
    position: relative;
    width: 100% !important;             
    margin-left: auto;        
    margin-right: auto;
    top: 100% !important;
    left: 0!important;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
    display: none;
    overflow-y: auto;
    max-height: 60vh;
  }

  .navmenu .dropdown.open .dropdown-mega {
    display: block;
  }

  .navmenu .dropdown-mega .dropdown-column {
    margin-bottom: 50px;
  }

  .navmenu .dropdown-mega h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
  }

  .navmenu .dropdown-mega ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .navmenu .dropdown-mega ul li a {
    display: block;
    padding: 5px 0;
    color: #222;
    font-size: 18px;
    text-decoration: none;
    line-height: 10px;
  }

  .navmenu .dropdown-mega ul li a:hover {
    color: var(--accent-color, #0d6efd);
  }

  .navmenu .dropdown:hover .dropdown-mega {
    display: none !important;
  }

  /* Hero */
  #hero {
    display: none; /* sembunyikan hero desktop */
  }

  .hero-mobile {
    display: block;
    position: relative;
    height: 80vh;
    overflow: hidden;
  }

  .hero-mobile .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 70% 65%; /* geser turun sedikit */
    background-attachment: scroll; /* ubah dari fixed */
    z-index: 1;
  }

  /* Swiper */
  .hero-mobile .swiper {
    height: 100%;
    background-attachment: fixed;
  }

  .hero-mobile .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: top;
    height: 100%;
    text-align: center;
    color: #fff;
  } 

  .hero-content {
    animation: fadeInUp 1s ease-in-out;
  }

  .hero-mobile .slide-content {
    position: relative;
    width: 90%;
    text-align: justify;
    color: white;
  }

  #hero-slide-1 .slide-content{
    height: 34%;
    width: 90%;
    margin-top: 65%;
    background: rgba(10, 26, 60, 0.9);
    padding: 30px 50px;
    border-radius: 16px;
  }

  #hero-slide-1 .slide-content h2{
    font-size: 27px;
    font-weight: 600;
    text-align: justify;
    margin-left: 10px;
    margin-bottom: 20px;
    color: white;
  }

  #hero-slide-1 .slide-content h3{
    font-size: 15px;
    text-align: justify;
    color: #f9a602;
    margin-left: 10px;
    margin-right: 10px;
  }

  #hero-slide-2 .slide-content{
    height: 34%;
    width: 90%;
    margin-top: 65%;
    background: rgba(10, 26, 60, 0.9);
    padding: 30px 50px;
    border-radius: 16px;
  }

  #hero-slide-2 .slide-content h3{
    font-size: 23px;
    font-weight: 600;
    text-align: left;
    margin-left: 10px;
    margin-bottom: 10px;
    color: #f9a602;
  }

  #hero-slide-2 .why-box ul {
    list-style: none;
    text-align: left;
    font-size: 15px;
    margin-left: -22px;
    color: white;
  } 

  #hero-slide-3 .why-box-card {
    height: 45%;
    width: 90%;
    background: rgba(10, 26, 60, 0.9);
    padding: 25px 50px;
    border-radius: 16px;
    margin: 0 auto 20px;
  }

  #hero-slide-3 .why-box-card h3 { 
    color: white !important;
    font-size: 20px;
  }

  #hero-slide-3 .why-box-card p { 
    font-size: 13px !important;
    color: #f9a602;
  }

  #hero-slide-3 .why-box-card a.btn {
    font-size: 13px !important;
    border-radius: 6px !important;
  }

  .swiper-pagination {
    bottom: 20px !important;
    text-align: center;
    z-index: 10;
  }

  .swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.6;
  }

  .swiper-pagination-bullet-active {
    background: #f9a602 !important;
    opacity: 1;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ABOUT WRAPPER */
  .about-wrapper {
    flex-direction: column; /* ubah jadi vertikal */
    align-items: center;
    text-align: left;
    gap: 20px; /* jarak antar elemen */
  }

  .about-image {
    order: 1; /* gambar di atas */
  }

  .about-content {
    order: 2; /* konten di bawah */
    padding: 20px; /* lebih kecil di mobile */
    margin-top: 0;
  }

  .about-content p {
    text-align: left; 
  }

  .about-content li {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 10px 20px;
  }

  .about-content li i {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 35px;           /* -> ukuran icon */
    background: #FFA500;
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;            /* -> agar tidak gepeng */
    margin-bottom: 10px;   
  }

  .about-content li p {
    text-align: justify;
  }

  .heroabout .container p{
    text-align: justify;
  }

  .section-light {
    background: #ebf4ff;
  }

  .section-white {
    background: #ffffff;
  }

  /* produk WRAPPER */
  .produk-section {
    margin-bottom: 5px !important; /* sebelumnya mb-5 = 48px */
  }

  #produk .section-title{
   padding: 0 20px;
  }

  #produk .section-title h2{
    font-size: 23.5px;
    text-align: justify;
  }

  #produk .section-title h2 span{
    text-align: left;
    font-size: 32px;
  }

  #produk .card {
    background: #FFA500;
    box-shadow: none !important;
  }

  #produk .card .card-body {
    height: 45%;
    width: 90%;
    background: rgba(10, 26, 60, 0.9);
    padding: 25px 50px;
    border-radius: 13px;
    margin: 0 auto 20px;
  }

 
  .card-body i {
    font-size: 35px !important; 
  }

  .card-body h5 {
    font-size: 1.3rem;
    color: white;
  }

  .card-body p {
    font-size: 0.9rem; 
    color: #FFA500;
  }

  .card-body .btn {
    font-size: 0.9rem;
    padding: 6px 14px;
  }

  /* Cards */
  .produk-section .card,
  .service-section .card {
    width: 100%;
    margin: 0 0 20px 0;
  }

  #about .col-md-5 {
    margin-top: 20px; /* sesuaikan sesuai kebutuhan */
  }

  #about .col-md-5 img {
    width: 100%;            /* stretch full width */
    height: auto;           /* jaga proporsinya */
    display: block;         /* hilangkan spasi bawah gambar */
  }

  #about .col-md-6:first-child {
    margin-bottom: 20px; /* sesuaikan sesuai kebutuhan */
  }

   #contact h2 {
    font-size: 2.5rem; /* sekitar 28–30px di layar kecil */
  }

  .footer {
    color: #fff;
    background-color: #2c4964;
  }

  .footer-contact div,
  .footer-contact a {
    font-size: 0.9rem;
  }

  #grand{
    font-size: 0.8rem;
    font-weight: 600;
  }

  .col-8[style] {
    padding: 20px !important; /* kurangi padding biar proporsional di HP */
  }

  /* Struktur grid */
  .footer .footer-top .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Kolom footer agar rata tengah dan tidak terlalu lebar */
  .footer .footer-top .col-lg-4,
  .footer .footer-top .col-lg-2,
  .footer .footer-top .col-md-3,
  .footer .footer-top .col-md-6 {
    width: 100%;
    max-width: 500px;
    margin-bottom: 25px;
  }

  /* Logo dan nama perusahaan */
  .footer .footer-about .logo {
    justify-content: center;
  }

  .footer .footer-about .logo span {
    font-size: 22px;
  }

  /* Kontak */
  .footer .footer-contact p {
    margin: 4px 0;
  }

  .footer .footer-contact a.contact-link {
    display: inline-block;
    word-break: break-all; /* supaya link panjang tidak overflow */
  }

  /* Social links */
  .footer .social-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
  }

  .footer .social-links a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  /* Footer links */
  /* Pastikan seluruh kolom footer center */
  .footer .footer-links {
    text-align: center;
  }

  .footer .footer-links h4 {
    margin-bottom: 10px;
    font-size: 20px;
    text-align: center;
  }

  .footer .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;   /* Center horizontal */
    padding: 0;
    margin: 0 auto;
    list-style: none;
  }

  .footer .footer-links ul li {
    padding: 6px 0;
    text-align: center; 
    font-size: 16px;
  }

  /* Copyright dan credits */
  .footer .copyright {
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
  }

  .footer .credits {
    margin-top: 5px;
    font-size: 12px;
  }

  .features{
    padding: 0;
  }

  /* Asuransi Jiwa WRAPPER */
 .row.align-items-center .col-md-6 {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .row.align-items-center .col-md-6 img {
    max-height: 300px; 
  }

  .fw-bold{
    font-size: 40px;
  }

}

/* ================================
   GLOBAL CONTAINER RESPONSIVE FIX
   ================================ */
@media (max-width: 1366px) {
  .container,
  .container-lg,
  .container-md,
  .container-xl {
    max-width: 1366px !important; 
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
  .dropdown-mega {
     top: 180% !important; 
    left: -1170% !important;
  }
}

@media (max-width: 1280px) {
  .container,
  .container-lg,
  .container-md,
  .container-xl {
    max-width: 1280px !important;
    padding-left: 48px !important;
    padding-right: 48px !important;
  }
  .dropdown-mega {
    top: 180% !important; 
    left: -1170% !important;
  }
}

@media (max-width: 1093px) {
  .container,
  .container-lg,
  .container-md,
  .container-xl {
    max-width: 1093px !important;
    padding-left: 48px !important;
    padding-right: 48px !important;
    font-size: 12px;
  }
  .dropdown-mega {
    top: 220% !important; 
    left: -1112% !important;
  }
}
