/* Variables declared here - these are the colors for our pages, as well as the font stacks and sizes. */

:root {
    --black: #171321;           /* body background                  */
    --french-blue: #3A3C91;    /* section-blue background           */
    --dark-navy: #1e1f5c;      /* section-darkgreen background      */
    --racing-red: #E6232B;     /* primary accent – links, buttons   */
    --hot-red: #ff3a42;        /* hover state for accent            */
    --lavender: #A6A7CD;       /* secondary highlight – h3, icons   */
    --white: #FDFDFD;          /* body text & general white         */
    --font-size: 1.3rem;
    --display: 'Playfair Display', Georgia, serif;
    --sans: 'Poppins', sans-serif;
}


/* border box model: https://css-tricks.com/box-sizing/ */

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}


/* generic styles for the page */

body {
    padding: 0;
    margin: 0;
    font-family: var(--sans);
    background-color: var(--black);
    color: var(--white);
    font-size: var(--font-size);
    line-height: 1.7;
    /* Smooth theme transition */
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--display);
    line-height: 1.25;
}

a {
    color: var(--racing-red);
}

a:hover {
    color: var(--hot-red);
    text-decoration: none;
}

img {
    width: 100%;
}

/* Logo variants — must override the width: 100% rule above */

.nav-logo {
    height: 52px;
    width: auto;
    display: block;
    border-radius: 4px;
}

.footer-logo {
    height: 90px;
    width: auto;
    display: block;
    margin: 0 auto 1.5rem;
    border-radius: 6px;
    opacity: 0.92;
}


/* background color divs */

.section-darkgreen {
    background-color: var(--dark-navy);
    transition: background-color 0.5s ease;
}

.section-blue {
    background-color: var(--french-blue);
    transition: background-color 0.5s ease;
}

.gradient {
    background: linear-gradient(90deg, rgba(230, 35, 43, 1) 0%, rgba(166, 167, 205, 1) 100%);
    height: 2px;
}


/* intro styles */

#intro {
    padding: 4rem 1rem 10rem 1rem;
    padding-bottom: 10rem;
    max-width: 1200px;
    margin: 0 auto;
}

#intro p {
    font-size: 1rem;
    line-height: 1.5;
}

#intro .name {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
}

.name span {
    font-family: var(--display);
    font-size: 4rem;
    color: var(--lavender);
    display: block;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0;
}

#intro h2 {
    font-family: var(--display);
    font-size: 4rem;
    font-weight: 600;
}


/* ==============================================
   TRUST SECTION
============================================== */

#trust {
    padding: 3.5rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-grid {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;   /* centers the last row automatically */
    align-items: flex-start;
    gap: 2.5rem 2rem;
}

.trust-item {
    flex: 0 1 160px;           /* fixed base, can shrink, won't grow */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.trust-icon {
    font-size: 2rem;
    color: var(--lavender);
    margin-bottom: 0.5rem;
}

.trust-stat {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.1;
}

.trust-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.6;
    margin: 0;
    line-height: 1.4;
}


/* ==============================================
   TRUST SECTION V2 (MODERN & GLOSSY)
============================================== */

#trust-v2 {
    padding: 4.5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    justify-content: center;
}

@media (min-width: 600px) {
    .trust-v2-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 900px) {
    .trust-v2-grid {
        grid-template-columns: repeat(4, 1fr); /* Fits 7 items well: 4 on top, 3 centered on bottom using auto-placement or wrapping, or just lets them flow */
    }
    /* Let's make the last row centered if it's not full */
    .trust-v2-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .trust-v2-item {
        flex: 0 1 250px;
    }
}

.trust-v2-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(166, 167, 205, 0.15);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.trust-v2-item::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: translateY(20%);
    pointer-events: none;
}

.trust-v2-item:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 35, 43, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.trust-v2-item:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.trust-v2-icon {
    font-size: 2.2rem;
    color: var(--lavender);
    margin-bottom: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(166, 167, 205, 0.05);
    border-radius: 50%;
}

.trust-v2-item:hover .trust-v2-icon {
    color: var(--white);
    background: var(--racing-red);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(230, 35, 43, 0.3);
}

.trust-v2-stat {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.4rem;
    line-height: 1.2;
}

.trust-v2-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.65;
    margin: 0;
    line-height: 1.5;
}

/* Light mode overrides for Trust V2 */
[data-theme="light"] .trust-v2-item {
    background: #ffffff;
    border-color: rgba(58, 60, 145, 0.25);
    box-shadow: 0 4px 15px rgba(58, 60, 145, 0.08);
}
[data-theme="light"] .trust-v2-item:hover {
    border-color: var(--lavender);
    box-shadow: 0 15px 35px rgba(58, 60, 145, 0.15);
    background: #fdfdfd;
}
[data-theme="light"] .trust-v2-icon {
    color: var(--lavender);
    background: rgba(58, 60, 145, 0.1);
}
[data-theme="light"] .trust-v2-item:hover .trust-v2-icon {
    color: #fff;
    background: var(--racing-red);
}
[data-theme="light"] .trust-v2-stat {
    color: var(--white); /* In light mode, --white is dark text #171321 */
}
[data-theme="light"] .trust-v2-label {
    color: rgba(23, 19, 33, 0.85);
}


/* ==============================================
   KEUNGGULAN SECTION
============================================== */

#keunggulan {
    padding: 4.5rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

#keunggulan > h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.keunggulan-heading-accent {
    color: var(--lavender);
    font-style: italic;
}

.section-intro {
    font-size: 1rem;
    line-height: 1.75;
    opacity: 0.65;
    max-width: 580px;
    margin: 0 auto 3rem;
}

.keunggulan-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: left;
}

.keunggulan-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.keunggulan-icon {
    color: var(--lavender);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.keunggulan-item h3 {
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    color: var(--white);
}

.keunggulan-item p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.65;
    line-height: 1.65;
}

@media (min-width: 650px) {
    .keunggulan-list {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 3rem;
    }
}


/* ==============================================
   KEUNGGULAN SECTION V2 (MODERN ALTERNATIVE)
============================================== */

#keunggulan-v2 {
    padding: 6rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#keunggulan-v2 h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.k-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 650px) {
    .k-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 950px) {
    .k-v2-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.k-v2-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(166, 167, 205, 0.15);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay effect on hover */
.k-v2-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(230, 35, 43, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.k-v2-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(230, 35, 43, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.k-v2-card:hover::before {
    opacity: 1;
}

.k-v2-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(166, 167, 205, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--lavender);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.k-v2-card:hover .k-v2-icon-wrapper {
    transform: scale(1.15) rotate(10deg);
    background: var(--racing-red);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(230, 35, 43, 0.3);
}

.k-v2-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.k-v2-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(253, 253, 253, 0.7);
    margin: 0;
}

/* Light mode overrides for Keunggulan V2 */
[data-theme="light"] .k-v2-card {
    background: #ffffff;
    border-color: rgba(58, 60, 145, 0.25);
    box-shadow: 0 4px 20px rgba(58, 60, 145, 0.08);
}
[data-theme="light"] .k-v2-card:hover {
    background: #ffffff;
    border-color: var(--lavender);
    box-shadow: 0 15px 35px rgba(58, 60, 145, 0.15);
}
[data-theme="light"] .k-v2-card::before {
    background: radial-gradient(circle at top right, rgba(58, 60, 145, 0.1), transparent 70%);
}
[data-theme="light"] .k-v2-icon-wrapper {
    background: rgba(58, 60, 145, 0.1);
    color: var(--lavender);
}
[data-theme="light"] .k-v2-card:hover .k-v2-icon-wrapper {
    background: var(--racing-red);
    color: #fff;
}
[data-theme="light"] .k-v2-card h3 {
    color: var(--white);
}
[data-theme="light"] .k-v2-card p {
    color: rgba(23, 19, 33, 0.85);
}

/* ==============================================
   PEMBIMBING SECTION
============================================== */

#pembimbing {
    padding: 6rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#pembimbing h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.pembimbing-subtitle {
    font-size: 1rem;
    color: var(--lavender);
    margin-bottom: 3.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.pembimbing-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem 1.5rem;
}

@media (min-width: 480px) {
    .pembimbing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 850px) {
    .pembimbing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pembimbing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(166, 167, 205, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, background-color 0.5s ease, border-color 0.5s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pembimbing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(230, 35, 43, 0.3);
}

.pembimbing-img-wrapper {
    width: 100%;
    position: relative;
    /* Aspect ratio 4:5 for portraits */
    padding-top: 125%; 
    overflow: hidden;
    background-color: var(--dark-navy); /* Skeleton color before image loads */
}

.pembimbing-img-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: contrast(0.95);
}

.pembimbing-card:hover .pembimbing-img-wrapper img {
    transform: scale(1.05);
    filter: contrast(1.05);
}

.pembimbing-info {
    padding: 1.5rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pembimbing-name {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.pembimbing-title {
    font-size: 0.8rem;
    color: rgba(253, 253, 253, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Light Mode Overrides for Pembimbing */
[data-theme="light"] .pembimbing-subtitle {
    color: var(--french-blue);
}
[data-theme="light"] .pembimbing-card {
    background: #ffffff;
    border-color: rgba(58, 60, 145, 0.15);
    box-shadow: 0 4px 15px rgba(58, 60, 145, 0.05);
}
[data-theme="light"] .pembimbing-card:hover {
    border-color: var(--lavender);
    box-shadow: 0 15px 35px rgba(58, 60, 145, 0.15);
}
[data-theme="light"] .pembimbing-name {
    color: var(--french-blue); /* High contrast header in light mode */
}
[data-theme="light"] .pembimbing-title {
    color: rgba(23, 19, 33, 0.8);
}
[data-theme="light"] .pembimbing-img-wrapper {
    background-color: var(--french-blue);
}


/* ==============================================
   TESTIMONI SECTION
============================================== */

#testimoni {
    padding: 4.5rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#testimoni h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .testi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testi-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(166, 167, 205, 0.15);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.testi-stars {
    color: #ffc107; /* golden yellow */
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.2rem;
}

.testi-quote {
    margin: 0 0 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    opacity: 0.85;
    flex-grow: 1; /* pushes author info to bottom naturally */
}

.testi-author-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(166, 167, 205, 0.15);
    padding-top: 1.25rem;
}

.testi-photo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--dark-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lavender);
    font-size: 1.1rem;
    flex-shrink: 0;
    overflow: hidden; /* for when real images are added */
}

/* Light mode overrides for photo placeholder */
[data-theme="light"] .testi-photo-placeholder {
    background-color: var(--french-blue);
    color: #FDFDFD;
}

.testi-author-info {
    display: flex;
    flex-direction: column;
}

.testi-name {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.2;
}

.testi-city {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
    margin-top: 0.2rem;
}

/* Light mode overrides */
[data-theme="light"] .testi-card {
    background: #FDFDFD;
    border-color: rgba(58, 60, 145, 0.15);
}
[data-theme="light"] .testi-author-row {
    border-top-color: rgba(58, 60, 145, 0.15);
}

/* ==============================================
   PACKAGES SECTION V2 (MODERN & ANIMATED)
============================================== */

#packages-v2 {
    padding: 6rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#packages-v2 h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pkg-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .pkg-v2-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: center; /* Ensures the featured card can scale larger */
    }
}

/* Card Base */
.pkg-v2-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(166, 167, 205, 0.2);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pkg-v2-card:hover {
    transform: translateY(-12px);
    border-color: rgba(166, 167, 205, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Featured Card */
.pkg-v2-card.featured {
    background: linear-gradient(145deg, var(--french-blue) 0%, var(--dark-navy) 100%);
    border: 2px solid var(--racing-red);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(230, 35, 43, 0.2);
}

.pkg-v2-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
    box-shadow: 0 25px 50px rgba(230, 35, 43, 0.35);
}

/* Badges with Pulse Animation */
@keyframes pulse-badge {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 35, 43, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(230, 35, 43, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 35, 43, 0); }
}

.pkg-v2-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--racing-red), var(--hot-red));
    color: #fff;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.pkg-v2-badge.pulse {
    animation: pulse-badge 2s infinite;
}

.pkg-v2-badge.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--lavender);
    border: 1px solid rgba(166, 167, 205, 0.3);
}

/* Typography & Layout inside card */
.pkg-v2-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.pkg-v2-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--lavender);
    margin-bottom: 1.5rem;
}

.pkg-v2-meta i {
    margin-right: 0.3rem;
}

.pkg-v2-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pkg-v2-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.pkg-v2-features li:hover {
    transform: translateX(5px);
    color: var(--white);
}

.pkg-v2-features .fa-check-circle {
    color: var(--lavender);
    font-size: 1.1rem;
}

.pkg-v2-card.featured .fa-check-circle {
    color: var(--racing-red);
    background: #fff;
    border-radius: 50%;
}

/* Pricing Layout */
.pkg-v2-price-box {
    border-top: 1px dashed rgba(166, 167, 205, 0.3);
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.pkg-v2-amount {
    font-family: var(--display);
    font-size: 2.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.pkg-v2-card.featured .pkg-v2-amount {
    background: linear-gradient(90deg, #fff, #ffd1d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Call to Action Buttons */
.pkg-v2-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(166, 167, 205, 0.1);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(166, 167, 205, 0.2);
}

.pkg-v2-cta:hover {
    background: var(--lavender);
    color: var(--black);
    transform: scale(1.03);
}

.pkg-v2-card.featured .pkg-v2-cta {
    background: var(--racing-red);
    color: #fff;
    border: none;
}

.pkg-v2-card.featured .pkg-v2-cta:hover {
    background: var(--hot-red);
    box-shadow: 0 8px 20px rgba(230, 35, 43, 0.4);
    color: #fff;
}

.pkg-v2-cta i {
    transition: transform 0.3s ease;
}
.pkg-v2-cta:hover i {
    transform: translateX(4px);
}

/* Light mode overrides for Packages V2 */
[data-theme="light"] .pkg-v2-card {
    background: #ffffff;
    border-color: rgba(58, 60, 145, 0.25);
    box-shadow: 0 10px 30px rgba(58, 60, 145, 0.08);
}
[data-theme="light"] .pkg-v2-card:hover {
    box-shadow: 0 20px 40px rgba(58, 60, 145, 0.18);
    border-color: var(--lavender);
}
[data-theme="light"] .pkg-v2-card.featured {
    background: linear-gradient(145deg, #f4f5fc 0%, #ffffff 100%);
    border-color: var(--racing-red);
}
[data-theme="light"] .pkg-v2-badge.secondary {
    background: rgba(58, 60, 145, 0.1);
    color: var(--lavender);
    border-color: rgba(58, 60, 145, 0.25);
}
[data-theme="light"] .pkg-v2-meta, 
[data-theme="light"] .pkg-v2-features .fa-check-circle {
    color: var(--lavender);
}
[data-theme="light"] .pkg-v2-features li {
    color: var(--white);
}
[data-theme="light"] .pkg-v2-header h3 {
    color: var(--white);
}
[data-theme="light"] .pkg-v2-amount {
    background: linear-gradient(90deg, var(--white), var(--lavender));
    -webkit-background-clip: text;
}
[data-theme="light"] .pkg-v2-card.featured .pkg-v2-amount {
    background: linear-gradient(90deg, var(--white), var(--racing-red));
    -webkit-background-clip: text;
}
[data-theme="light"] .pkg-v2-cta {
    background: var(--lavender);
    color: #fff;
}
[data-theme="light"] .pkg-v2-cta:hover {
    background: var(--white);
    color: #fff;
}

/* ==============================================
   GALERI SECTION V2
============================================== */

#galeri-v2 {
    padding: 6rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#galeri-v2 h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.galeri-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin: 3.5rem auto 0;
    max-width: 850px; /* Constrain max width so it doesn't become too gigantic on desktop */
}

.galeri-v2-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* Aspect ratio to maintain shape without fixed heights. 4:3 for mobile */
    aspect-ratio: 4 / 3;
    background-color: var(--dark-navy); /* Skeleton color */
    border: 1px solid rgba(166, 167, 205, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

@media (min-width: 768px) {
    .galeri-v2-item {
        aspect-ratio: 16 / 9; /* Wider landscape on desktop */
    }
}

.galeri-v2-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.galeri-v2-item img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.9) contrast(1.1);
}

.galeri-v2-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.05) contrast(1.1);
}

.galeri-v2-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    padding: 4rem 1.5rem 1.5rem;
    text-align: left;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.galeri-v2-item:hover .galeri-v2-overlay {
    opacity: 1;
    transform: translateY(0);
}

.galeri-v2-overlay span {
    color: #fff;
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Light mode overrides for Galeri */
[data-theme="light"] .galeri-v2-item {
    background-color: #f4f5fc;
    border-color: rgba(58, 60, 145, 0.15);
    box-shadow: 0 4px 15px rgba(58, 60, 145, 0.08);
}
[data-theme="light"] .galeri-v2-item:hover {
    box-shadow: 0 15px 35px rgba(58, 60, 145, 0.15);
    border-color: var(--lavender);
}

/* ==============================================
   TESTIMONI SECTION V2 (ALTERNATE DESIGN)
============================================== */

#testimoni-v2 {
    padding: 6rem 1rem 4.5rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#testimoni-v2 h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testi-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem 2rem; /* Larger top gap to accommodate overlapping avatars */
    margin-top: 5rem;
}

@media (min-width: 768px) {
    .testi-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testi-v2-card {
    background: var(--dark-navy);
    border-radius: 20px;
    padding: 3.5rem 2rem 2rem; /* Extra top padding for avatar */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(166, 167, 205, 0.1);
}

.testi-v2-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.testi-v2-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--french-blue);
    border: 5px solid var(--black); /* Matches body background to look cut-out */
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    overflow: hidden;
}

.testi-v2-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-v2-quote-icon {
    color: var(--racing-red);
    font-size: 2rem;
    opacity: 0.8;
    margin-bottom: 1.25rem;
}

.testi-v2-text {
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: rgba(253, 253, 253, 0.85);
    flex-grow: 1;
}

.testi-v2-stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.15rem;
}

.testi-v2-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}

.testi-v2-city {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lavender);
    margin-top: 0.4rem;
}

/* Featured / Middle Card Variant */
.testi-v2-card.featured {
    background: linear-gradient(145deg, var(--french-blue) 0%, var(--dark-navy) 100%);
    border-color: var(--lavender);
}
.testi-v2-card.featured .testi-v2-avatar {
    background: var(--racing-red);
}

/* Light mode overrides for V2 */
[data-theme="light"] .testi-v2-card {
    background: #ffffff;
    border: 1px solid rgba(58, 60, 145, 0.25);
    box-shadow: 0 10px 30px rgba(58, 60, 145, 0.08);
}
[data-theme="light"] .testi-v2-card.featured {
    background: #f4f5fc;
    border-color: var(--lavender);
}
[data-theme="light"] .testi-v2-avatar {
    border-color: #ffffff;
    background: var(--lavender);
}
[data-theme="light"] .testi-v2-card.featured .testi-v2-avatar {
    background: var(--racing-red);
}
[data-theme="light"] .testi-v2-text {
    color: rgba(23, 19, 33, 0.85);
}
[data-theme="light"] .testi-v2-name {
    color: var(--white);
}
[data-theme="light"] .testi-v2-city {
    color: var(--lavender);
}


/* hero benefits list */

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hero-benefits .fa-check-circle {
    color: var(--lavender);
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* hero CTA button */

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    margin-top: 0.25rem;
}

.hero-cta .fab {
    font-size: 1.25rem;
}

/* urgency line */

.urgency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--racing-red);
    opacity: 0.9;
}

.urgency .fa-clock {
    flex-shrink: 0;
}


/* contact section */

#contact {
    width: 400px;
    text-align: center;
    margin: 0 auto;
    padding: 4rem 0;
}

#contact p:last-child {
    margin-top: 3rem;
}


/* navigation */

nav {
    font-family: var(--sans);
    font-size: 80%;
    padding: 4rem 1rem;
}

nav h1 a {
    font-family: var(--display);
    font-size: 1.4rem;
    letter-spacing: 0.01em;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

nav li:first-child {
    flex-basis: 100%;
    text-align: center;
}

nav [class*="fa-"] {
    font-size: 150%;
    color: var(--lavender);
}

nav h1 [class*="fa-"] {
    font-size: 100%;
    color: var(--lavender);
}

nav a {
    color: var(--nav-text, white);
    text-decoration: none;
    display: block;
}

nav a:hover,
nav [class*="fa-"]:hover {
    color: var(--racing-red);
}

.button {
    background-color: var(--racing-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.button:hover {
    color: white;
    background-color: var(--hot-red);
}


/* ==============================================
   PACKAGES SECTION
============================================== */

#packages {
    padding: 4.5rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#packages h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Grid wrapper */

.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: end;    /* baseline at bottom so featured lifts upward */
    }
}

/* Card container */

.package-card {
    background: var(--black);
    border: 1px solid rgba(166, 167, 205, 0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;  /* lets .package-features grow to push price down */
}

/* Featured (middle) card */

.package-card--featured {
    border: 2px solid var(--racing-red);
}

@media (min-width: 768px) {
    .package-card--featured {
        transform: translateY(-16px);
    }
}

/* "Paling Diminati" badge */

.package-badge {
    display: inline-block;
    background-color: var(--racing-red);
    color: #FDFDFD;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.package-badge--secondary {
    background-color: var(--french-blue);
}

/* Package name + meta row */

.package-header {
    margin-bottom: 1.75rem;
}

.package-header h3 {
    font-family: var(--display);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.65rem;
    line-height: 1.2;
}

.package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.65;
}

.package-meta .fas {
    color: var(--lavender);
    margin-right: 0.3rem;
}

/* Feature checklist */

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;                 /* grows to fill card height, pushing price to bottom */
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.package-features .fa-check {
    color: var(--lavender);
    font-size: 0.8rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

/* Price block */

.package-price {
    border-top: 1px solid rgba(166, 167, 205, 0.15);
    padding-top: 1.5rem;
    margin-bottom: 1.75rem;
}

.price-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 0.35rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.price-amount {
    font-family: var(--display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.price-note {
    font-size: 0.85rem;
    opacity: 0.55;
}

/* CTA button — full width */

.package-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-sizing: border-box;
}

.package-cta .fab {
    font-size: 1.2rem;
}

.package-secondary {
    text-align: center;
    margin: 1.1rem 0 0;
    font-size: 0.85rem;
    opacity: 0.6;
}

.package-secondary a {
    color: var(--lavender);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.packages-note {
    margin-top: 2rem;
    font-size: 0.78rem;
    opacity: 0.4;
    font-style: italic;
}


/* footer section */

footer {
    text-align: center;
    padding: 4rem 0;
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 3rem;
    font-size: 3rem;
}

/* Light mode: card adjusts to white background */

[data-theme="light"] .package-card {
    background: #FDFDFD;
    border-color: rgba(58, 60, 145, 0.15);
}

[data-theme="light"] .package-card--featured {
    border-color: var(--racing-red);
}

[data-theme="light"] .package-price {
    border-top-color: rgba(58, 60, 145, 0.15);
}

@media (min-width: 850px) {
    nav {
        max-width: 1200px;
        margin: 0 auto;
    }

    nav li:first-child {
        flex-basis: auto;
        text-align: left;
        margin-right: auto;
    }
}


/* ==============================================
   THEME TOGGLE BUTTON
============================================== */

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 150%;
    color: var(--lavender);
    padding: 0;
    line-height: 1;
    display: block;
}

.theme-toggle:hover {
    color: var(--racing-red);
}


/* ==============================================
   LIGHT MODE
   Activated by: <html data-theme="light">
============================================== */

[data-theme="light"] {
    --black: #FDFDFD;          /* body bg becomes white          */
    --french-blue: #dde0f5;   /* soft lavender-blue sections    */
    --dark-navy: #e8e9f5;     /* lighter navy sections          */
    --white: #171321;          /* text becomes dark              */
    --lavender: #3A3C91;      /* French Blue as highlight       */
    --nav-text: #171321;      /* dark nav links                 */
}

/* Keep button text white regardless of mode */
[data-theme="light"] .button {
    color: #FDFDFD;
}

/* Blackbox cards: light bg, dark text */
[data-theme="light"] .blackbox {
    color: #171321;
    background-color: #f0f1fb;
}

/* Image borders use French Blue in light mode */
[data-theme="light"] #packages img {
    border-left-color: var(--lavender);
    border-top-color: var(--lavender);
}
