/* Font Face - Granada Kufic untuk teks Arab */
@font-face {
    font-family: 'Granada';
    src: url('../fonts/Granada_Kufic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', 'Manrope', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
.main-header {
    background: transparent;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Header ketika scroll (solid hijau) */
.main-header.scrolled {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    border-bottom: none;
}

/* Header container untuk layout */
.header-sticky {
    margin: 0 20px;
}

.main-header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-header .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

/* Logo di kiri */
.main-header .navbar-brand {
    order: 1;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Menu di tengah */
.main-header .main-menu {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.main-header .nav-menu-wrapper {
    display: flex;
    justify-content: center;
}

.main-header .navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* Hamburger menu - hidden by default */
.navbar-toggle {
    display: none;
    order: 3;
    margin-left: auto;
}

.navbar-brand img {
    height: 70px;
    width: auto;
    max-width: 98px; /* 70px * 1.4 (rasio 700/500) */
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Teks Arab di samping logo */
.logo-arabic-text {
    font-family: 'Granada', 'Arial', 'Tahoma', sans-serif;
    font-size: 1.4rem;
    font-weight: normal;
    color: #fff;
    white-space: nowrap;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
    direction: rtl;
    text-align: right;
    line-height: 1.2;
}

/* Ketika header scrolled, kurangi text shadow */
.main-header.scrolled .logo-arabic-text {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar-nav .nav-link {
    color: #fff !important;
    padding: 10px 20px !important;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav .nav-link i {
    font-size: 0.9rem;
}

/* Ketika header scrolled, hapus text shadow */
.main-header.scrolled .navbar-nav .nav-link {
    text-shadow: none;
}

.navbar-nav .nav-link:hover {
    color: #fbbf24 !important;
}

.submenu {
    position: relative;
}

.submenu ul {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    top: 100%;
    left: 0;
    padding: 10px 0;
    border-radius: 5px;
}

.submenu:hover ul,
.submenu.open ul {
    display: block;
}

.submenu ul .nav-link {
    color: #333 !important;
    padding: 10px 20px !important;
    display: block;
}

.submenu ul .nav-link:hover {
    background: #f0fdf4;
    color: #10b981 !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin: 0 20px;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    border-radius: 0 0 40px 40px;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    border-radius: 0 0 40px 40px;
}

/* Overlay untuk readability text */
.hero-bg-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 0 0 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 8vw, 5rem);
    font-weight: 700;
    margin: 20px 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.5);
    color: #fff;
    white-space: nowrap;
    text-align: center;
}

.hero-content h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    color: #fff;
    text-align: center;
}

.hero-content p {
    font-size: 1.8rem;
    margin: 20px 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    color: #fff;
    text-align: center;
}

.hero-btn {
    text-align: center;
    margin-top: 30px;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 0 20px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 15px 0;
}

.section-title h3 {
    font-size: 1.2rem;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* News/Blog Section */
.why-choose-us {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 40px;
    height: 100%;
    border-top: 3px solid #fbbf24;
}

/* Jarak untuk col-lg-4, col-lg-3 dan col-md-6 - Vertical spacing */
.row > .col-lg-4,
.row > .col-lg-3,
.row > .col-md-6 {
    margin-bottom: 30px;
}

/* Jarak khusus untuk section yang menggunakan col-lg-4, col-lg-3 dan col-md-6 */
.why-choose-us .row > .col-lg-4,
.why-choose-us .row > .col-lg-3,
.why-choose-us .row > .col-md-6,
.our-service .row > .col-lg-4,
.our-service .row > .col-lg-3,
.our-service .row > .col-md-6,
.our-mission-vision .row > .col-lg-4,
.our-mission-vision .row > .col-lg-3,
.our-mission-vision .row > .col-md-6 {
    margin-bottom: 40px;
}

/* Jarak horizontal untuk row dengan col-lg-4 dan col-md-6 */
.row {
    margin-left: -20px;
    margin-right: -20px;
}

.row > .col-lg-4,
.row > .col-lg-3,
.row > .col-md-6 {
    padding-left: 20px;
    padding-right: 20px;
}

/* Override untuk why-choose-us jika perlu */
.why-choose-us .row {
    margin-left: -20px;
    margin-right: -20px;
}

.why-choose-us .row > [class*="col-"] {
    padding-left: 20px;
    padding-right: 20px;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.post-featured-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
}

img[src=""],
img:not([src]) {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    display: block;
}

.blog-item:hover .post-featured-image img {
    transform: scale(1.1);
}

.post-item-content {
    padding: 30px;
}

.tanggal-post {
    color: #999;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 18px;
}

.post-item-content h5 {
    font-size: 1.3rem;
    margin-bottom: 18px;
    line-height: 1.4;
}

.post-item-content h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-item-content h5 a:hover {
    color: #10b981;
}

.desc-post {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.readmore-btn {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.readmore-btn:hover {
    color: #059669;
}

/* Facts Section */
.our-service {
    padding: 80px 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
}

/* Section Title untuk background hijau */
.our-service .section-title h2 {
    color: #fff;
}

.our-service .section-title h3 {
    color: #fbbf24;
}

.our-service .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.why-choose-item {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid #fbbf24;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Why Choose Image */
.why-choose-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.why-choose-image figure {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.why-choose-image:hover img {
    transform: scale(1.1);
}

.icon-box {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.icon-box i,
.icon-box i.fa-solid,
.icon-box i.fa-regular,
.icon-box i.fa-brands {
    color: #10b981;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "FontAwesome";
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.why-choose-item .icon-box {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    width: 100%;
}

.why-choose-item .icon-box i,
.why-choose-item .icon-box i.fa-solid,
.why-choose-item .icon-box i.fa-regular,
.why-choose-item .icon-box i.fa-brands {
    color: #10b981;
    display: inline-block !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "FontAwesome" !important;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    visibility: visible !important;
    opacity: 1 !important;
}

.why-choose-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.why-choose-counter h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #10b981;
    margin: 20px 0 10px;
}

.why-choose-counter p {
    color: #666;
    font-size: 1.1rem;
}

/* Philosophy Section */
.our-mission-vision {
    padding: 80px 0;
    background: #f8f9fa;
}

.light-bg-section {
    background: #f8f9fa;
}

.service-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    border-top: 3px solid #fbbf24;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-body {
    padding: 25px;
}

.service-body-title h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Facilities Carousel Section */
.facilities-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.facilities-carousel {
    padding: 40px 0;
}

.facilities-swiper {
    padding-bottom: 50px;
}

.facility-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.facility-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.facility-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-image figure {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.facility-image img[src=""],
.facility-image img:not([src]) {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    display: block;
    min-height: 300px;
}

.facility-item:hover .facility-image img {
    transform: scale(1.1);
}

.facility-name {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.facility-name h4 {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.facilities-swiper .swiper-button-next,
.facilities-swiper .swiper-button-prev {
    color: #10b981;
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.facilities-swiper .swiper-button-next:hover,
.facilities-swiper .swiper-button-prev:hover {
    background: #10b981;
    color: #fff;
    transform: scale(1.1);
}

.facilities-swiper .swiper-button-next::after,
.facilities-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.facilities-swiper .swiper-pagination-bullet {
    background: #10b981;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.facilities-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #10b981;
}

/* Responsive Facilities Carousel */
@media (max-width: 768px) {
    .facilities-section {
        padding: 60px 0;
    }

    .facility-image {
        height: 250px;
    }

    .facility-name h4 {
        font-size: 1.1rem;
    }

    .facilities-swiper .swiper-button-next,
    .facilities-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .facilities-swiper .swiper-button-next::after,
    .facilities-swiper .swiper-button-prev::after {
        font-size: 16px;
    }
}

/* Achievement Gallery Section */
.achievement-gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.achievement-carousel-wrapper {
    position: relative;
    padding: 70px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.achievement-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.achievement-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    gap: 25px;
    align-items: center;
}

.achievement-item {
    min-width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
    padding: 10px;
}

.achievement-item:not(.active) {
    transform: scale(0.7);
    opacity: 0.7;
}

.achievement-item:not(.active) .achievement-image img {
    filter: grayscale(100%);
}

.achievement-item.active {
    transform: scale(1);
    opacity: 1;
    z-index: 2;
}

.achievement-item.active .achievement-image img {
    filter: grayscale(0%);
}

.achievement-image {
    position: relative;
    width: 280px;
    height: 420px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.achievement-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.3);
}

.achievement-image a {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.achievement-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
    border-radius: 30px;
}

.achievement-image img[src=""],
.achievement-image img:not([src]) {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    min-height: 100%;
}

.achievement-image:hover img {
    transform: scale(1.05);
}

.achievement-nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #10b981;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
    z-index: 10;
}

.achievement-nav-btn:hover {
    background: #059669;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.achievement-nav-btn:active {
    transform: scale(0.95);
}

.achievement-info {
    text-align: center;
    width: 100%;
    padding: 0 15px;
    background: transparent;
    max-width: 100%;
    overflow: hidden;
}

.achievement-info h4 {
    font-size: 2rem;
    color: #1e40af;
    margin: 0 0 12px 0;
    font-weight: 700;
    line-height: 1.3;
}

.achievement-rank {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

/* Responsive Achievement Gallery */
@media (max-width: 1200px) {
    .achievement-item {
        min-width: 300px;
        padding: 8px;
    }

    .achievement-image {
        width: 240px;
        height: 360px;
        border-radius: 25px;
        margin-bottom: 25px;
    }

    .achievement-image img {
        border-radius: 25px;
    }

    .achievement-info h4 {
        font-size: 1.7rem;
    }

    .achievement-rank {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .achievement-gallery-section {
        padding: 50px 0;
    }

    .achievement-carousel-wrapper {
        padding: 30px 15px;
        gap: 15px;
    }

    .achievement-carousel-container {
        padding: 0 10px;
    }

    .achievement-carousel {
        gap: 15px;
    }

    .achievement-item {
        min-width: calc(100vw - 100px);
        max-width: calc(100vw - 100px);
        padding: 5px;
    }

    .achievement-item:not(.active) {
        transform: scale(0.85);
        opacity: 0.5;
    }

    .achievement-item.active {
        transform: scale(1);
        opacity: 1;
    }

    .achievement-image {
        width: 200px;
        height: 300px;
        border-radius: 20px;
        margin-bottom: 25px;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    }

    .achievement-image img {
        border-radius: 20px;
    }

    .achievement-info {
        padding: 0 10px;
    }

    .achievement-info h4 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .achievement-rank {
        font-size: 0.95rem;
    }

    .achievement-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    }

    .achievement-info {
        padding: 0 10px;
    }

    .achievement-info h4 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .achievement-rank {
        font-size: 0.95rem;
        line-height: 1.4;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .achievement-gallery-section {
        padding: 40px 0;
    }

    .achievement-carousel-wrapper {
        padding: 20px 10px;
        gap: 10px;
    }

    .achievement-carousel-container {
        padding: 0 5px;
    }

    .achievement-carousel {
        gap: 10px;
    }

    .achievement-item {
        min-width: calc(100vw - 80px);
        max-width: calc(100vw - 80px);
        padding: 5px;
    }

    .achievement-item:not(.active) {
        transform: scale(0.8);
        opacity: 0.4;
    }

    .achievement-image {
        width: 180px;
        height: 270px;
        border-radius: 18px;
        margin-bottom: 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }

    .achievement-image img {
        border-radius: 18px;
    }

    .achievement-info {
        padding: 0 8px;
    }

    .achievement-info h4 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .achievement-rank {
        font-size: 0.9rem;
    }

    .achievement-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        box-shadow: 0 3px 10px rgba(16, 185, 129, 0.5);
    }

    .achievement-info {
        padding: 0 5px;
    }

    .achievement-info h4 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .achievement-rank {
        font-size: 0.85rem;
        line-height: 1.5;
        padding: 0;
        word-wrap: break-word;
    }
}

@media (max-width: 360px) {
    .achievement-item {
        min-width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
    }

    .achievement-image {
        width: 160px;
        height: 240px;
        border-radius: 15px;
        margin-bottom: 15px;
    }

    .achievement-image img {
        border-radius: 15px;
    }

    .achievement-info h4 {
        font-size: 1.25rem;
    }

    .achievement-rank {
        font-size: 0.85rem;
    }

    .achievement-info h4 {
        font-size: 1.15rem;
    }

    .achievement-rank {
        font-size: 0.8rem;
    }

    .achievement-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* CTA Section */
.cta-box {
    padding: 100px 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.cta-content-wrapper {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.cta-box .section-title {
    margin-bottom: 40px;
}

.cta-box .section-title h3 {
    font-size: 1.2rem;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-box .section-title h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-box .section-title p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 40px 0 30px 0;
}

.btn-primary-cta {
    background: #fff;
    color: #10b981;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-cta:hover {
    background: #fbbf24;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary-cta {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fbbf24;
    color: #fbbf24;
    transform: translateY(-3px);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.cta-feature-item i {
    color: #fbbf24;
    font-size: 1.2rem;
}

/* Responsive CTA */
@media (max-width: 768px) {
    .cta-box {
        padding: 60px 0;
    }

    .cta-box .section-title h2 {
        font-size: 2rem;
    }

    .cta-box .section-title p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary-cta,
    .btn-secondary-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 15px 40px;
        font-size: 1rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 20px;
    }
}

/* FAQs */
.our-faqs {
    padding: 80px 0;
    background: #f8f9fa;
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-button {
    background: #fff;
    color: #333;
    font-weight: 600;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.accordion-body {
    background: #fff;
    color: #666;
    line-height: 1.8;
}

/* FAQ Accordion Icon */
.accordion-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
}

.accordion-button span {
    flex: 1;
    text-align: left;
}

.accordion-button .accordion-icon {
    margin-left: 15px;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(90deg);
}

.accordion-button.collapsed .accordion-icon {
    transform: rotate(0deg);
}

/* FAQ Section - Style dari faq.php */
.faq-section-wrapper {
    padding: 80px 0;
    background: #f4f9f4;
}

.faq-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 30px;
}

.faq-eyebrow {
    background-color: #27ae60;
    color: white;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.faq-h1 {
    font-size: 36px;
    margin: 10px 0;
    color: #27ae60;
    font-weight: 700;
}

.faq-sub {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 600px) {
    .faq-grid {
        gap: 20px;
    }
}

details.faq {
    background-color: rgba(255,255,255,0.8);
    border: 1px solid rgba(0, 128, 0, 0.12);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 10px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

details.faq[open] {
    transform: translateY(-2px);
}

details.faq summary {
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    outline: none;
    color: #2d3436;
}

details.faq summary::-webkit-details-marker {
    display: none;
}

details.faq .chev {
    float: right;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
    font-size: 18px;
    color: #27ae60;
}

details.faq[open] .chev {
    transform: rotate(90deg);
}

details.faq .a {
    padding: 10px;
    background-color: rgba(39,174,96,0.1);
    border-radius: 5px;
    margin-top: 10px;
}

details.faq .a p {
    margin: 0;
    color: #2d3436;
    line-height: 1.6;
}

details.faq summary:focus-visible {
    box-shadow: 0 0 0 3px rgba(39,174,96,0.35);
}

.load-more {
    background-color: #27ae60;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    display: block;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.load-more:hover {
    background-color: #2ecc71;
}

.faq-hidden {
    display: none;
}

.faq-show-btn:checked + .load-more + .faq-hidden {
    display: block;
}

.faq-show-btn:checked + .load-more {
    display: none;
}

/* Buttons */
.btn-default {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-default:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

.btn-large {
    padding: 20px 55px;
    font-size: 1.4rem;
}

/* Footer */
.main-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    max-width: 112px; /* 80px * 1.4 (rasio 700/500) */
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-content p {
    color: #999;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #10b981;
}

.footer-info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-info-box .icon-box {
    width: 30px;
    margin-right: 15px;
    flex-shrink: 0;
}

.footer-info-box p {
    color: #999;
    margin: 0;
}

.footer-info-box a {
    color: #999;
    text-decoration: none;
}

.footer-info-box a:hover {
    color: #10b981;
}

.footer-social-links ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.footer-social-links ul li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social-links ul li a:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: translateY(-3px);
}

.footer-copyright {
    border-top: 1px solid #333;
    padding-top: 30px;
    margin-top: 40px;
}

.footer-copyright-text p {
    color: #999;
    margin: 0;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #27ae60 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.loading {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#loading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

#loading-icon img {
    max-width: 1000px;
    width: 1000px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@media (max-width: 768px) {
    #loading-icon img {
        max-width: 180px;
        width: 180px;
    }
    
    .loading {
        width: 50px;
        height: 50px;
    }
    
    .loading-container {
        gap: 25px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
        white-space: normal;
        line-height: 1.2;
    }

    .hero-content h3 {
        font-size: clamp(1.3rem, 4vw, 2rem);
    }

    .hero-content p {
        font-size: clamp(1rem, 3vw, 1.4rem);
        line-height: 1.4;
    }

    .btn-large {
        font-size: 1.1rem;
        padding: 16px 40px;
    }

    .section-title {
        padding: 50px 20px 20px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title h3 {
        font-size: 1.1rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .submenu ul {
        position: static;
        display: block;
        background: transparent;
        box-shadow: none;
    }

    /* Logo responsive untuk tablet */
    .navbar-brand img {
        height: 55px;
        max-width: 77px; /* 55px * 1.4 */
    }

    .logo-arabic-text {
        font-size: 0.95rem;
    }

    .main-header .navbar-brand {
        gap: 8px;
    }

    .main-header .container-fluid {
        padding: 0 15px;
    }

    .footer-logo img {
        height: 60px;
        max-width: 84px; /* 60px * 1.4 */
    }

    /* Container tablet */
    .container,
    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Utility Classes */
.service-footer-btn {
    text-align: center;
    margin-top: 40px;
    width: 100%;
}

.section-row {
    margin-bottom: 50px;
}

.wow {
    visibility: visible;
}

/* List Styling dengan Kuning */
ul li::marker,
ol li::marker {
    color: #fbbf24;
}

ul li,
ol li {
    color: #333;
}

.footer-links ul li::before {
    content: "▸";
    color: #fbbf24;
    font-weight: bold;
    margin-right: 10px;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul li::marker {
    display: none;
}

/* Highlight dengan kuning untuk list items */
.blog-item ul li,
.service-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.blog-item ul li::before,
.service-content ul li::before {
    content: "●";
    color: #fbbf24;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

/* Border accent kuning sudah ditambahkan di atas */

/* Highlight text dengan background kuning */
.highlight-yellow {
    background: linear-gradient(120deg, #fef3c7 0%, #fde68a 100%);
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
}

/* Responsive untuk Hero Video Rounded */
@media (max-width: 768px) {
    .hero {
        margin: 0 10px;
        border-radius: 0 0 20px 20px;
    }

    .hero-bg-video,
    .hero-bg-video video,
    .hero-bg-video::after {
        border-radius: 0 0 20px 20px;
    }

    .header-sticky {
        margin: 0 10px;
    }

    .main-header .container-fluid {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        margin: 0 5px;
        border-radius: 0 0 15px 15px;
        min-height: 80vh;
    }

    /* Hero content responsive untuk mobile */
    .hero-content {
        padding: 15px;
    }

    .hero-content h1 {
        font-size: clamp(1.2rem, 6vw, 2.2rem);
        white-space: normal;
        line-height: 1.3;
        word-break: break-word;
    }

    .hero-content h3 {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }

    .hero-content p {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        line-height: 1.5;
    }

    .btn-large {
        font-size: 0.95rem;
        padding: 12px 30px;
        width: auto;
        display: inline-block;
    }

    /* Logo responsive untuk mobile */
    .navbar-brand img {
        height: 45px;
        max-width: 63px; /* 45px * 1.4 */
    }

    .logo-arabic-text {
        display: none; /* Sembunyikan teks Arab di mobile */
    }

    .main-header .navbar-brand {
        gap: 5px;
    }

    /* Header mobile */
    .main-header {
        padding: 10px 0;
    }

    .main-header .container-fluid {
        padding: 0 10px;
        flex-wrap: wrap;
    }

    /* Hamburger menu button */
    .navbar-toggle {
        display: block !important;
        order: 3;
        margin-left: auto;
        cursor: pointer;
        padding: 8px;
    }

    .navbar-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #fff;
        margin: 5px 0;
        transition: 0.3s;
        border-radius: 2px;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Menu mobile - hidden by default */
    .main-header .main-menu {
        position: fixed !important;
        top: 70px;
        left: 0 !important;
        right: 0;
        width: 100% !important;
        order: 4;
        margin: 0 !important;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        display: block !important;
        background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
        z-index: 999;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transform: none !important;
        flex: none !important;
    }

    .main-header .main-menu.show {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .main-header .nav-menu-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .main-header .navbar-nav {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .main-header .nav-item {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .main-header .nav-link {
        padding: 15px 20px !important;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        display: block;
        color: #fff !important;
        font-size: 1rem;
    }

    .main-header .submenu ul {
        background: rgba(0, 0, 0, 0.2);
        margin: 0;
        padding: 0;
        width: 100%;
        position: static;
        display: none;
    }

    .main-header .submenu.open ul {
        display: block;
    }

    .main-header .submenu ul .nav-item {
        width: 100%;
    }

    .main-header .submenu ul .nav-link {
        padding: 12px 20px 12px 40px !important;
        text-align: left;
    }

    .footer-logo img {
        height: 50px;
        max-width: 70px; /* 50px * 1.4 */
    }

    .hero-bg-video,
    .hero-bg-video video,
    .hero-bg-video::after {
        border-radius: 0 0 15px 15px;
    }

    .header-sticky {
        margin: 0 5px;
    }

    /* Section responsive */
    .section-title {
        padding: 40px 15px 15px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title h3 {
        font-size: 1rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    /* Container mobile */
    .container,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Blog/News items mobile */
    .blog-item {
        margin-bottom: 30px;
    }

    /* Jarak untuk col-lg-4, col-lg-3 dan col-md-6 di mobile */
    .row > .col-lg-4,
    .row > .col-lg-3,
    .row > .col-md-6 {
        margin-bottom: 25px;
    }

    .why-choose-us .row > .col-lg-4,
    .why-choose-us .row > .col-lg-3,
    .why-choose-us .row > .col-md-6,
    .our-service .row > .col-lg-4,
    .our-service .row > .col-lg-3,
    .our-service .row > .col-md-6,
    .our-mission-vision .row > .col-lg-4,
    .our-mission-vision .row > .col-lg-3,
    .our-mission-vision .row > .col-md-6 {
        margin-bottom: 30px;
    }

    /* Jarak horizontal di mobile */
    .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    .row > .col-lg-4,
    .row > .col-lg-3,
    .row > .col-md-6 {
        padding-left: 15px;
        padding-right: 15px;
    }

    .service-item,
    .why-choose-item {
        margin-bottom: 20px;
    }

    .post-item-content {
        padding: 25px 20px;
    }

    .post-item-content h5 {
        margin-bottom: 15px;
    }

    .desc-post {
        margin-bottom: 20px;
    }

    .service-body {
        padding: 20px;
    }

    /* Footer mobile */
    .main-footer {
        padding: 40px 0 20px;
    }

    .main-footer .row > div {
        margin-bottom: 30px;
    }
}

/* Profile Page Styles */
body.profile-page {
    padding-top: 0;
}

body.profile-page .profile-main {
    padding-top: 0;
    margin-top: 0;
}

.page-header-section {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    padding: 120px 0 80px;
    color: #fff;
    text-align: center;
    margin-top: 0;
    padding-top: 180px;
    position: relative;
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.profile-hero-section {
    padding: 60px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 1;
}

.profile-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.profile-image-wrapper {
    padding: 40px 40px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
}

.profile-image-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.profile-image-placeholder i {
    font-size: 5rem;
    color: #fff;
    opacity: 0.9;
}

.profile-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section-image-wrapper {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.section-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 250px;
}

.section-image-center {
    max-width: 600px;
    margin: 30px auto;
}

.section-image-wrapper:has(img[style*="display: none"]) {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-image-wrapper:has(img[style*="display: none"])::after {
    content: 'Foto akan ditampilkan di sini';
    color: #9ca3af;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

.profile-card-content {
    padding: 30px 40px 40px;
}

.profile-name {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.profile-title {
    font-size: 1.2rem;
    color: #10b981;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 20px;
}

.profile-badge {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 50px;
    border: 2px solid #fbbf24;
}

.profile-badge span {
    color: #78350f;
    font-weight: 600;
    font-size: 0.95rem;
}

.profile-content-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

.profile-section {
    background: #fff;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.section-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    padding: 25px 40px;
    border-bottom: 3px solid #fbbf24;
}

.section-header .profile-section-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    color: #fff;
    font-size: 1.6rem;
}

.section-header .profile-section-title::after {
    display: none;
}

.profile-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #fbbf24;
    position: relative;
}

.profile-section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #10b981;
}

.profile-section-content {
    line-height: 1.9;
    color: #4b5563;
    font-size: 1.05rem;
    padding: 40px;
}

.profile-section-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.profile-section-content .family-member-info p,
.family-member-info .family-member-relation {
    text-align: center !important;
    margin: 0 auto !important;
}

.profile-section-content p:last-child {
    margin-bottom: 0;
}

.profile-section-content strong {
    color: #1f2937;
    font-weight: 600;
}

.profile-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin: 30px 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #10b981;
}

/* Family Members Grid */
.family-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.family-member-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.family-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.family-photo-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #10b981;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    margin: 0 auto 25px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.family-photo-container::after {
    content: 'Foto';
    color: #9ca3af;
    font-size: 0.9rem;
    position: absolute;
    z-index: 1;
    display: none;
}

.family-photo-container:not(:has(img:not([style*="display: none"])))::after {
    display: flex;
}

.family-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.family-photo[style*="display: none"] {
    display: none !important;
}

.family-member-info {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.family-member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 auto 8px auto;
    padding: 0;
    text-align: center !important;
    width: 100%;
    display: block;
    max-width: 100%;
}

.family-member-relation {
    font-size: 1rem;
    font-weight: 600;
    color: #10b981;
    margin: 0 auto !important;
    padding: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    line-height: 1.5;
    max-width: 100%;
    box-sizing: border-box;
}

.highlight-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #fbbf24;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    position: relative;
}

.highlight-box p {
    margin: 0;
    font-style: italic;
    color: #78350f;
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 0;
}


.section-intro {
    font-weight: 600;
    color: #1f2937;
    font-size: 1.1rem;
    margin: 25px 0 20px 0 !important;
}

/* Books List Styles */
.books-list {
    margin-top: 30px;
}

.book-item {
    background: #f8f9fa;
    border-left: 4px solid #10b981;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.book-item:hover {
    background: #f0fdf4;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.1);
}

.book-item:last-child {
    margin-bottom: 0;
}

.book-content {
    width: 100%;
}

.book-item h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.book-meta {
    font-size: 0.95rem;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 12px;
}

.book-description {
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
}

.timeline-list {
    margin: 25px 0;
    padding-left: 0;
    list-style: none;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 3px solid #f0fdf4;
    box-shadow: 0 0 0 2px #10b981;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 20px;
    width: 2px;
    height: calc(100% + 4px);
    background: #d1fae5;
}

.timeline-year {
    min-width: 100px;
    font-weight: 700;
    color: #10b981;
    font-size: 1rem;
    margin-right: 20px;
}

.timeline-content {
    color: #4b5563;
    line-height: 1.6;
    flex: 1;
}

/* Responsive Profile Page */
@media (max-width: 768px) {
    .page-header-section {
        padding: 100px 0 60px;
        padding-top: 150px;
        margin-top: 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .profile-hero-section {
        padding: 40px 0;
    }

    .profile-image-wrapper {
        padding: 30px 30px 15px;
    }

    .profile-image-placeholder {
        width: 150px;
        height: 150px;
    }

    .profile-image-placeholder i {
        font-size: 4rem;
    }

    .profile-card-content {
        padding: 25px 30px 30px;
    }

    .profile-name {
        font-size: 1.8rem;
    }

    .profile-title {
        font-size: 1.1rem;
    }

    .profile-badge {
        padding: 8px 20px;
    }

    .profile-badge span {
        font-size: 0.85rem;
    }

    .section-header {
        padding: 20px 25px;
    }

    .profile-section-content {
        padding: 30px 25px;
    }

    .profile-content-section {
        padding: 50px 0;
    }

    .profile-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .profile-section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .profile-section-content {
        font-size: 1rem;
    }

    .book-item {
        padding: 20px;
    }

    .book-item h4 {
        font-size: 1.2rem;
    }

    .family-members-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .family-member-card {
        padding: 25px 15px;
    }

    .family-photo-container {
        width: 120px;
        height: 120px;
    }

    .highlight-box {
        padding: 20px;
    }

    .highlight-box p {
        padding: 0;
        font-size: 1rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 8px;
    }

    .timeline-year {
        min-width: auto;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .page-header-section {
        padding: 90px 0 50px;
        padding-top: 130px;
        margin-top: 0;
    }

    .profile-section {
        border-radius: 12px;
    }

    .section-header {
        padding: 18px 20px;
    }

    .profile-section-title {
        font-size: 1.3rem;
    }

    .profile-section-content {
        padding: 25px 20px;
    }

    .profile-image-wrapper {
        padding: 25px 20px 15px;
    }

    .profile-image-placeholder {
        width: 120px;
        height: 120px;
    }

    .profile-image-placeholder i {
        font-size: 3rem;
    }

    .profile-image-container {
        width: 120px;
        height: 120px;
    }

    .section-image-wrapper {
        margin: 15px 0;
        min-height: 150px;
    }

    .section-image {
        min-height: 200px;
    }

    .section-image-center {
        max-width: 100%;
        margin: 20px auto;
    }

    .profile-card-content {
        padding: 20px 20px 25px;
    }

    .book-item {
        padding: 15px;
    }
}
    </style>
