/* Proposal A: Modern Elegant */

:root {
    --color-primary: #D4AF37;
    /* Gold */
    --color-accent: #Efb7c2;
    /* Soft Pink */
    --color-bg: #FFFFFF;
    --color-bg-alt: #FDF5F7;
    /* Very pale pink */
    --color-text: #333333;
    --color-text-light: #666666;
    --font-serif: "Zen Old Mincho", serif;
    --font-sans: "Lato", sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
    min-height: 300px;
}

/* Buttons */
.btn-primary,
.btn-hero,
.btn-video {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    font-family: var(--font-serif);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover,
.btn-hero:hover {
    background: #b5942f;
    transform: translateY(-2px);
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: block;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-list a:hover {
    color: var(--color-primary);
}

.btn-nav {
    border: 1px solid var(--color-primary);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--color-primary) !important;
}

.btn-nav:hover {
    background: var(--color-primary);
    color: #fff !important;
}

.btn-login {
    background: #333;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 30px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    /* Tighter gap for buttons */
    align-items: center;
}

.menu-toggle {
    display: none;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 0;
    z-index: 2;
}

.hero-content>* {
    max-width: 600px;
}

.hero-sub {
    font-size: 1rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.4;
    margin-bottom: 40px;
    color: #333;
    font-feature-settings: "palt";
}

.hero-image {
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-image .img-placeholder {
    height: 100%;
    background-color: #ffe6ea;
    /* Fallback color */
    /* Add a nice background image or gradient here */
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

/* USP Section */
.usp-section {
    background-color: var(--color-bg);
    text-align: center;
    padding: 80px 0;
}

.usp-badge {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    line-height: 2;
    margin-bottom: 20px;
}

.gold-text {
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: bold;
}

.note-small {
    font-size: 0.8rem;
    color: #999;
}

.news-ticker {
    margin-top: 40px;
    background: var(--color-bg-alt);
    padding: 15px;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    gap: 20px;
}

.news-ticker .label {
    background: var(--color-primary);
    color: #fff;
    padding: 2px 10px;
    font-size: 0.8rem;
}

/* Features */
.features {
    background: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-text);
}

.section-desc {
    font-size: 1.1rem;
}

.video-cta {
    text-align: center;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 20px;
}

.stat-item {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--color-text-light);
    min-height: 3em;
    /* Ensure space for 2 lines */
    display: flex;
    align-items: flex-end;
    /* Align text to bottom if desired, or center. Let's stick to default flow which is top, but maybe center is better? User asked for number alignment. */
    justify-content: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-primary);
    font-family: var(--font-serif);
    line-height: 1;
}

.stat-value .unit {
    font-size: 1rem;
    color: var(--color-text);
}

.stats-footer-note {
    text-align: right;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 60px;
}

.award-block {
    background: #fff;
    border: 2px solid var(--color-primary);
    padding: 40px;
    text-align: center;
    margin-bottom: 80px;
}

.award-block h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feature-item {
    background: #fff;
    padding: 40px;
    position: relative;
    border-radius: 8px;
}

.feature-num {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.1);
    font-family: var(--font-serif);
    font-weight: bold;
}

.feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

/* Counselor */
.counselor-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.counselor-img {
    flex: 1;
}

.counselor-info {
    flex: 1;
}

.counselor-info .role {
    color: var(--color-primary);
    font-weight: bold;
    letter-spacing: 0.1em;
}

.counselor-info .name {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.counselor-info .message p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Events */
.event-card {
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    max-width: 800px;
    margin: 0 auto;
}

.event-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-details h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.event-details .note {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 20px;
}

.btn-text {
    color: var(--color-primary);
    font-weight: bold;
}

/* Process */
.process {
    background: var(--color-bg-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 4px;
    position: relative;
}

.step-num {
    color: var(--color-primary);
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Pricing */
.pricing-grid {
    display: grid;
    gap: 40px;
}

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

.plan-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.plan-card.recommended {
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
    transform: scale(1.05);
    z-index: 1;
    background: #fff;
}

.plan-header {
    background: #f8f8f8;
    padding: 20px;
    text-align: center;
    position: relative;
}

.plan-card.recommended .plan-header {
    background: var(--color-primary);
    color: #fff;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff5252;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.plan-body {
    padding: 30px;
}

.gender-price {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.male,
.female {
    width: 48%;
}

.male h4,
.female h4 {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--color-text-light);
}

.plan-body dl {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 5px;
    border-bottom: 1px dotted #eee;
    padding-bottom: 5px;
}

.total-initial {
    background: var(--color-bg-alt);
    padding: 15px;
    text-align: center;
    border-radius: 4px;
}

.total-initial p {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.total-initial .price-val {
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--color-text);
}

.pricing-note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 40px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-logo {
    font-family: var(--font-serif);
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.map-item {
    margin-bottom: 20px;
}

.map-item h4 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.office {
    margin-bottom: 30px;
}

.office h3 {
    border-left: 3px solid var(--color-primary);
    padding-left: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.office p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-inner {
        padding: 15px 20px;
    }

    .nav {
        display: none;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        background: #fff;
        padding-top: 100px;
        /* Space for header */
        z-index: 999;
        overflow-y: auto;
    }

    .nav.active {
        display: block;
    }

    .nav.active .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
        padding-top: 20px;
        padding-bottom: 100px;
        /* Balance padding */
    }

    .nav.active .nav-list li {
        width: 80%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav.active .nav-list li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .nav.active .nav-list li a {
        display: block;
        padding: 20px 0;
        width: 100%;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        background: none;
        border: none;
        z-index: 1001;
        /* Ensure visible above nav overlay */
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #333;
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }

    .menu-toggle span:nth-child(1) {
        top: 0;
    }

    .menu-toggle span:nth-child(2) {
        top: 9px;
    }

    .menu-toggle span:nth-child(3) {
        top: 18px;
    }

    /* Active State (X Close Button) */
    .menu-toggle.active span:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        padding-top: 100px;
        height: auto;
    }

    .hero-content {
        width: 100%;
        padding: 40px 20px;
        text-align: center;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
        clip-path: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .stats-grid,
    .features-list,
    .counselor-container,
    .steps,
    .footer-grid {
        grid-template-columns: 1fr;
        display: block;
    }

    .stat-item,
    .feature-item,
    .step-card {
        margin-bottom: 20px;
    }

    .counselor-container {
        display: block;
        text-align: center;
    }

    .counselor-img {
        margin-bottom: 30px;
    }

    .event-card {
        display: block;
    }

    .plan-card.recommended {
        transform: scale(1);
    }
}

/* Login Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-backdrop.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.login-card {
    background: #fdf5f7;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    height: 160px;
}

.login-card:hover {
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.login-logo {
    max-height: 60px;
    margin-bottom: 15px;
    width: auto;
    max-width: 100%;
}

.login-card span {
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .login-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 30px 20px;
    }
}

/* FAQ */
.faq-section {
    background-color: var(--color-bg);
}

/* .faq-container { max-width: 800px; } Removed to match other content */

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.faq-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-trigger:hover {
    color: var(--color-primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    display: block;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--color-primary);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 100%;
}

.faq-trigger.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}


/* Reservation Form */
.reservation-section {
    background-color: #fff;
    padding: 80px 0;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fdf5f7;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-label.center-label {
    /* text-align: center; */
    /* Keep labels left aligned for cleanliness, or center if requested. User didn't specify alignment but structure implies standard form. */
}

.required {
    background: #ff5252;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: text-bottom;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--color-primary);
    outline: none;
    background: #fff;
}

.date-inputs,
.time-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-inputs input,
.time-inputs select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.date-inputs input {
    width: 80px;
    text-align: center;
}

.time-inputs select {
    min-width: 80px;
}

.date-sep,
.time-sep {
    font-weight: bold;
    color: #666;
}

.radio-group {
    display: flex;
    gap: 30px;
    padding: 10px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-footer {
    margin-top: 40px;
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px;
    }

    .date-inputs,
    .time-inputs {
        flex-wrap: wrap;
    }

    .date-inputs input {
        width: 60px;
    }
}

.modal.modal-large {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Modern Form Styling */
.modern-form {
    padding: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.modern-input {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.modern-input:focus {
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(228, 169, 186, 0.2);
    transform: translateY(-1px);
}

/* Date Picker */
.date-wrapper {
    position: relative;
}

.date-wrapper input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    cursor: pointer;
}

/* Time Selector */
.time-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.select-wrapper {
    flex: 1;
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.8rem;
    color: #888;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.select-wrapper select {
    appearance: none;
    width: 100%;
}

/* Radio Cards (Location) */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.radio-card input {
    display: none;
}

.radio-card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
}

.radio-card input:checked+.card-content {
    border-color: var(--color-primary);
    background: rgba(228, 169, 186, 0.1);
    color: var(--color-primary);
}

.card-title {
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.card-desc {
    font-size: 0.8rem;
    color: #666;
}

/* Gender Toggle */
.gender-toggle {
    display: flex;
    background: #f1f3f5;
    border-radius: 50px;
    padding: 4px;
    width: fit-content;
}

.gender-toggle label {
    cursor: pointer;
}

.gender-toggle input {
    display: none;
}

.gender-toggle span {
    display: block;
    padding: 10px 25px;
    border-radius: 40px;
    transition: all 0.3s;
    font-weight: bold;
    color: #666;
}

.gender-toggle input:checked+span {
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Submit Button */
.btn-submit-modern {
    background: #e4a9ba;
    /* Fallback */
    background: linear-gradient(135deg, var(--color-primary, #e4a9ba), #dfa3a3);
    color: #ffffff !important;
    text-shadow: none;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(228, 169, 186, 0.4);
}

.btn-submit-modern span {
    color: #ffffff !important;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 169, 186, 0.6);
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}

/* =========================================
   Animation Styles through Steps
   ========================================= */

/* Loading Screen */
#loading-screen {
    position: fixed;
    inset: 0;
    background-color: #ffffff;
    /* White background */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease-out, visibility 1.5s ease-out;
    /* Slower fade for dramatic effect */
}

#opening-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.logo-animation {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulseLogo 1.5s infinite;
}

@keyframes pulseLogo {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(228, 169, 186, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(228, 169, 186, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(228, 169, 186, 0);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Hero Specific Animations */
.hero-content>* {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-sub {
    animation-delay: 0.5s;
}

.hero-title {
    animation-delay: 0.7s;
}

.btn-hero {
    animation-delay: 0.9s;
}

.hero-image {
    opacity: 0;
    transform: scale(1.05);
    /* Slight zoom out effect */
    animation: revealImage 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealImage {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Login Logos and Cards */
.login-grid {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.login-logo {
    height: 60px;
    /* Base height */
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    /* Spacing below logo */
}

.login-logo-biu {
    height: 90px !important;
    /* Adjusted for column layout */
    max-width: 100% !important;
    width: auto !important;
}

.login-card {
    flex: 1;
    /* Equal width */
    display: flex;
    flex-direction: column;
    /* Stack logo and text */
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    background: #fff;
    font-weight: bold;
    min-width: 0;
    /* Prevent flex overflow */
}

.login-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Affiliate/External Links Section */
.affiliate-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.affiliate-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    /* Fixed width for same size buttons */
    height: 100px;
    /* Fixed height */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s ease;
}

.affiliate-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.affiliate-logo {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.affiliate-logo-biu {
    max-width: 95%;
    /* Maximizing width for BIU within the box */
}

/* Video Modal */
.modal-video {
    width: 90%;
    max-width: 800px;
    background: transparent;
    padding: 0;
    overflow: visible;
    /* Changed from hidden to visible */
    box-shadow: none;
    /* Removed default shadow */
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-video .modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}