/* ====== GLOBAL STYLES ====== */
html, body {
    height: 100%;
}

p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #000;
    margin: 0;
}

a {
    -webkit-transition: .3s;
    transition: .3s;
}

a:hover {
    color: #000;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro', sans-serif;
    color: #000;
    font-weight: 600;
    line-height: 1.7;
    margin: 0;
}

.d-table {
    width: 100%;
    height: 100%;
}

.d-table-cell {
    vertical-align: middle;
}

img {
    max-width: 100%;
    height: auto;
}

.button {
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    border: 2px solid;
    padding: 10px 20px;
}

.button:hover {
    color: #000;
}

.section-padding {
    padding: 100px 0;
}

.pb-70 {
    padding-bottom: 50px;
}

.pb-85 {
    padding-bottom: 85px;
}

.bg-img {
    background-color: #ddd;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.bg-secondary {
    background-color: #003049 !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

button:focus {
    outline: none;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 15px;
}



/* ====== PRELOADER ====== */
.preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 99999;
}

.spinner {
    position: absolute;
    left: 50%;
    margin-left: -20px;
    bottom: 50%;
    margin-bottom: -20px;
    width: 40px;
    height: 40px;
}

.cube1, .cube2 {
    background-color: #003049;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
    animation: sk-cubemove 1.8s infinite ease-in-out;
}

.cube2 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

@-webkit-keyframes sk-cubemove {
    25% { -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5) }
    50% { -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg) }
    75% { -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5) }
    100% { -webkit-transform: rotate(-360deg) }
}

@keyframes sk-cubemove {
    25% { 
        transform: translateX(42px) rotate(-90deg) scale(0.5);
        -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
    }
    50% { 
        transform: translateX(42px) translateY(42px) rotate(-179deg);
        -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
    }
    50.1% { 
        transform: translateX(42px) translateY(42px) rotate(-180deg);
        -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
    }
    75% { 
        transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
        -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    }
    100% { 
        transform: rotate(-360deg);
        -webkit-transform: rotate(-360deg);
    }
}



/* ====== SECTION TITLE ====== */
.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    text-transform: uppercase;
    position: relative;
    font-size: 32px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    line-height: 1;
}

.section-title h2.no-uppercase {
    text-transform: none;
}

.section-title.our-class-title {
    margin-bottom: 0px;
}

.section-title.our-class-title h2 {
    margin-top: 100px;
}

.section-title h2:before,
.section-title h2:after {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0;
    width: 50px;
    height: 5px;
    background-color: #000;
}

.section-title h2:before {
    left: auto;
    right: 50%;
    background-color: #003049;
}

/* ====== NAVBAR ====== */
.navbar {
    -webkit-transition: .3s;
    transition: .3s;
    background-color: #fff;
}

.navbar-brand.logo img {
    max-height: 60px;
}

.navbar .container {
    justify-content: flex-start;
}

.navbar-brand.logo {
    margin-left: -50px;
}

.navbar-brand-text {
    color: #000000;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: "Poppins", sans-serif;
    padding-top: 8px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    color: #003049;
    font-size: 15px;
}

.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link.active {
    color: #780000;
}

/* Mobile view */
@media (max-width: 768px) {
    .navbar-brand-text {
        color: #000000;
        font-size: 0.8rem;
    }
   
}



/* ====== HERO AREA ====== */
.hero-aria,
.hero-area-slids,
.single-slider {
    height: 100%;
    position: relative;
    z-index: 1;
    background-position: center;
    background-size: cover;
}

.hero-aria:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    background-color: #003049;
    opacity: .8;
    z-index: 2;
}

.hero-area-slids .owl-stage-outer,
.hero-area-slids .owl-stage,
.hero-area-slids .owl-item {
    height: 100%;
}

.slider-bg {
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.slider-bg:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .3;
    z-index: -1;
}

.hero-content {
    position: absolute;
    z-index: 999;
    max-width: 40%;
}

.hero-content h2 {
    color: #fff;
    font-size: 90px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 5px;
}

.hero-content h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    margin: 15px 0;
}

.hero-content p {
    color: #fff;
    font-size: 40px;
    margin: 5px 0;
    letter-spacing: 4px;
}

.hero-content .button {
    margin-top: 30px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.5;
    margin-top: 1px;
    margin-bottom: 25px;
    font-weight: 400;
}

/* Mobile Responsive untuk Hero Area */
@media (max-width: 768px) {
    .hero-aria .button {
        margin-top: -5px !important;
        margin-bottom: 0px;
    }
    
    .hero-aria .d-table-cell {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    
    .hero-aria h3 {
        margin-bottom: 2px !important;
        margin-top: 20px !important;
    }
    
    .hero-aria .hero-content {
        padding-top: 20px !important;
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        margin-top: -15px !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        font-size: 16px !important;
    }
    
    .hero-aria h3 {
        margin-top: 30px !important;
        margin-bottom: 10px !important;
    }
}

/* Geser teks hero lebih ke atas pada mobile */
@media (max-width: 768px) {
    .hero-aria .d-table-cell {
        transform: translateY(-120px); /* geser ke atas 50px */
    }
}




/* ====== KENAPA BAHASA INGGRIS SECTION ====== */
#kenapa-english {
    padding: 90px 20px;
    background: radial-gradient(circle at top, #f0f7ff, #e6eeff);
    font-family: 'Poppins', sans-serif;
}

#kenapa-english .container {
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
}

#kenapa-english h2 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 70px;
    color: #111827;
    position: relative;
}

#kenapa-english h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #003049;
    margin: 14px auto 0;
    border-radius: 6px;
}

#kenapa-english .reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

#kenapa-english .reason {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 0px;
    padding: 30px 25px;
    width: 320px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#kenapa-english .reason:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 45px rgba(37,99,235,0.25);
}

#kenapa-english .image-wrap {
    width: 250px;
    height: 250px;
    margin: 0 auto 20px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.4s ease;
}

#kenapa-english .reason:hover .image-wrap {
    transform: scale(1.1) rotate(3deg);
}

#kenapa-english .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#kenapa-english .text h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #003049;
}

#kenapa-english .text p {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}



/* ====== WHY CHOOSE BEST SECTION ====== */
.features {
    max-width: 1150px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: Arial, sans-serif;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.feature-item .text h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: bold;
}

.feature-item .text p {
    font-size: 14px;
    line-height: 1.5;
}

.image-box {
    flex-shrink: 0;
    width: 250px;
    height: 200px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    max-height: 200px;
}

.image-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-row {
        flex-direction: column;
        gap: 20px;
    }
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    .image-box {
        margin: 0 auto;
    }
}



/* ====== OUR PROGRAM SECTION ====== */
    .featured-conv {
        padding-top: 30px;
        padding-bottom: 30px;
        margin-top: 10px;
    }

    .featured-general {
        padding-top: 30px;
        padding-bottom: 30px;
        margin-top: 15px;
    }

.english-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: bold;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.english-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #003049;
    margin: 10px auto 0;
    border-radius: 0px;
}

.program {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1150px;
    margin: 0 auto 30px auto;
}

.card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 30%;
    min-width: 250px;
}

.card h3 {
    background: linear-gradient(90deg, black, black, black);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-content {
    padding: 5px 5px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 10px;
}

.card-content .subtitle {
    font-size: 19px;
    color: black;
    margin-bottom: 30px;
    font-weight: normal;
}

.card-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 20px;
}

.card, .card * {
    border-radius: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .card-content h3 {
        font-size: 14px;
    }
    .card-content .subtitle {
        font-size: 12px;
    }
    .card-content p {
        font-size: 12px;
    }
}



/* ====== FACILITY COUNTER SECTION ====== */
.fact-counter:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -1;
    opacity: .8;
}

.single-fun-fact {
    border: 1px solid #fff;
    padding: 15px;
    margin-bottom: 30px;
}

.single-fun-fact h2 {
    line-height: 1;
    color: #fff;
}

.single-fun-fact h2 span {
    margin-right: 5px;
}

.single-fun-fact p {
    color: #fff;
    position: relative;
    margin-top: 30px;
}

.single-fun-fact p:after {
    position: absolute;
    content: '';
    left: 50%;
    top: -15px;
    width: 60px;
    margin-left: -30px;
    height: 1px;
    background-color: #fff;
}

#counter .single-fun-fact i {
    color: #ffffff !important;
    font-size: 24px;
    margin-bottom: 10px;
}



/* ====== PORTFOLIO SECTION ====== */
.row.portfolio .col-lg-4 {
    padding-left: 7.5px;
    padding-right: 7.5px;
}

.single-portfolio {
    height: 240px;
    margin-bottom: 15px;
    background-position: center;
    background-size: cover;
    background-color: #ddd;
    padding: 15px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    min-height: 240px;
    max-height: 240px;
}

.single-portfolio:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    opacity: .5;
    -webkit-transition: .3s;
    transition: .3s;
    z-index: -1;
}

.single-portfolio:hover:after {
    height: 100%;
}

.portfolio-icon {
    position: absolute;
    top: 100%;
    margin-top: -20px;
    left: 50%;
    margin-left: -20px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .6s;
    transition: .6s;
}

.single-portfolio:hover .portfolio-icon {
    opacity: 1;
    visibility: visible;
    top: 50%
}

.portfolio-icon a {
    font-size: 15px;
    color: #fff;
    width: 40px;
    height: 40px;
    border: 1px solid;
    display: inline-block;
    line-height: 40px;
    -webkit-transition: .3s;
    transition: .3s;
}

.portfolio-icon a:hover {
    border-radius: 50%;
}

/* Portfolio: 2 columns per row on small phones */
@media (max-width: 576px) {
    .row.portfolio .col-lg-4,
    .row.portfolio .col-md-6,
    .row.portfolio .col-sm-4,
    .row.portfolio .col-12 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .single-portfolio {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 200px;
        width: 100%;
        min-height: 200px;
        max-height: 200px;
    }
}

@media (max-width: 576px) {
    .single-portfolio:after {
        height: 100% !important;
    }
    .portfolio-icon {
        opacity: 1 !important;
        visibility: visible !important;
        top: 50% !important;
    }
}


/* ====== ABOUT/FAQ SECTION ====== */
.section-title.faq-title h2:after {
    background-color: #000;
}

.section-title.faq-title h2:before {
    background-color: #fff;
}

.faq-bg {
    height: 100%;
    min-height: 320px;
}

.single-faq {
    margin-bottom: 5px;
}

.single-faq h4 {
    color: #fff;
    padding: 5px 15px;
    background-color: #333;
    cursor: pointer;
    font-weight: 400;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.single-faq h4[aria-expanded="true"]:after {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.single-faq h4:after {
    position: absolute;
    font-family: FontAwesome;
    content: "\f107";
    text-align: center;
    right: 0;
    top: 0;
    color: #fff;
    background-color: #000;
    width: 60px;
    height: 100%;
    line-height: 200%;
}

.faq-body {
    background: #3e3e3e;
    color: #fff;
    padding: 15px;
}



/* ====== TESTIMONIAL/MANAGEMENT SECTION ====== */
.testimonial-area {
    position: relative;
    z-index: 1;
}

.testimonials.owl-carousel {
    position: relative;
}

.testimonial-area .bg-white {
    padding: 60px;
}

.testimonial-quote {
    font-size: 30px;
}

.single-testimonial p {
    margin: 30px 0;
}

.single-testimonial h4 {
    font-size: 20px;
}

.single-testimonial h4 span {
    display: block;
    font-size: 70%;
    color: #aaa;
    font-weight: 400;
    line-height: 2;
}

.single-testimonial .testimonial-avatar {
    width: 100px !important;
    height: 100px !important;
    aspect-ratio: 1 / 1;
    max-width: none;
    border: 4px solid #e9ecef;
    border-radius: 50%;
    box-sizing: border-box;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 15px auto 0;
    background-color: #fff;
}

.testimonial-area .section-title h2 {
    text-transform: none;
}

.testimonials .owl-nav div {
    display: inline-block;
    font-size: 15px;
    width: 30px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid;
    position: absolute;
    top: 50%;
    margin-top: -20px;
    left: -50px;
    color: #aaa;
    opacity: .5;
    -webkit-transition: .3s;
    transition: .3s;
}

.testimonials .owl-nav div.owl-next {
    left: auto;
    right: -50px;
}

.testimonials .owl-nav div:hover {
    opacity: 1;
}

@media (max-width: 576px) {
    .single-testimonial .testimonial-avatar {
        width: 90px !important;
        height: 90px !important;
        border-width: 3px;
    }
    
    .testimonial-area .bg-white {
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 24px;
        padding-bottom: 24px;
    }
    
    .single-testimonial p {
        margin-left: 0;
        margin-right: 0;
    }
}



/* ====== CONTACT SECTION ====== */
.map-section {
    padding: 40px 20px;
    text-align: center;
    background: #ffffff;
}

.map-section h2 {
    margin-bottom: 10px;
}

.map-caption {
    margin: 0 0 16px;
    color: #666;
}

.map-embed {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 16px;
    padding-top: 50%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.map-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-button {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 0px;
    text-decoration: none;
    color: #333;
    transition: background .2s, transform .2s;
}

.map-button:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

.contact-info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 220px;
    background: #fff;
    padding: 15px;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.icon {
    background: #003049;
    padding: 12px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.text p {
    margin: 2px 0 0;
    font-size: 14px;
    color: #333;
}

.contact-info .info-box:first-of-type .text p {
    font-size: 12px;
}

.contact-section .container {
    max-width: 1150px;
    margin: 0 auto;
}

.contact-section .col-lg-10 {
    flex: 0 0 100%;
    max-width: 100%;
}

.map-section .map-embed {
    max-width: 100%;
}



/* ====== FLOATING BUTTONS ====== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.instagram-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px;
    right: 20px;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.instagram-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}



/* ====== FOOTER ====== */
.footer-area {
    padding: 30px;
    background-color: #000;
    border-bottom: 5px solid #003049;
}

.copyright-text {
    color: #fff;
}

.copyright-text a {
    color: #eee;
    -webkit-transition: .3s;
    transition: .3s;
}


.navbar {
    z-index: 9999 !important;
    position: relative !important;
}