:root {
    --bg-deep: #FAFAFA;
    --grad-start: #2A8EE8;
    --grad-end: #56CCF2;
    --text-main: #111827;
    --text-muted: #4B5563;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(42, 142, 232, 0.2);
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Background Gradients */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 15% 15%, rgba(42, 142, 232, 0.6) 0%, transparent 65%),
        radial-gradient(circle at 85% 85%, rgba(27, 104, 179, 0.6) 0%, transparent 65%),
        radial-gradient(circle at 50% 100%, rgba(86, 204, 242, 0.5) 0%, transparent 70%),
        radial-gradient(circle at 50% 50%, rgba(250, 250, 250, 0) 0%, rgba(250, 250, 250, 0.7) 100%);
    background-color: #F8FAFC;
    z-index: -1;
    pointer-events: none;
    filter: blur(50px);
    transform: scale(1.2);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
}

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

a:hover {
    color: var(--grad-end);
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Loader Animation */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-deep);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-plane-path {
    width: 60vw;
    max-width: 600px;
}

.path-line {
    stroke: rgba(42, 142, 232, 0.4);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
}

#loader-plane {
    opacity: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, -120%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    z-index: 100;
    border-radius: 40px;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.navbar.visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: all;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-h {
    color: transparent;
    background: linear-gradient(to right, var(--grad-start), var(--grad-end));
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 1.3rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-btn {
    background: linear-gradient(to right, var(--grad-start), var(--grad-end));
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(86, 204, 242, 0.3);
}

/* Sections */
.section-padding {
    padding: 120px 0;
}

.blue-section {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    color: #ffffff;
}

.blue-section p {
    color: rgba(255, 255, 255, 0.9);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Subtle overlay for text readability */
    z-index: 1;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ai-input-wrapper {
    position: relative;
    width: 600px;
    max-width: 90%;
}

.ai-input {
    width: 100%;
    padding: 20px 60px 20px 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ai-input:focus {
    border-color: rgba(86, 204, 242, 0.5);
    box-shadow: 0 0 20px rgba(86, 204, 242, 0.1);
}

.ai-input::placeholder {
    color: rgba(75, 85, 99, 0.6);
}

.ai-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to right, var(--grad-start), var(--grad-end));
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ai-submit:hover {
    transform: translateY(-50%) scale(1.05);
}

.sparkle {
    width: 20px;
    height: 20px;
    color: #fff;
}

/* Destinations */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.dest-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.card-img {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dest-card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.9), transparent);
}

.card-content h3 {
    color: #ffffff;
}

.card-content p {
    color: #E2E8F0;
}

.hover-scale {
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.trending-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(to right, var(--grad-start), var(--grad-end));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(42, 142, 232, 0.3);
}

.hover-scale:hover {
    transform: translateY(-10px);
    border-color: rgba(86, 204, 242, 0.3);
}

/* Horizontal Scroll Packages */
.packages-section {
    overflow: hidden;
    position: relative;
    padding: 120px 0;
}

.package-title {
    margin-left: 5%;
}

.packages-container {
    position: relative;
    width: 100%;
}

.horizontal-scroll-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 30px;
    padding: 0 5%;
    margin-top: 50px;
}

.h-panel {
    width: 100%;
    height: auto;
    min-height: 400px;
    border-radius: 30px;
    display: flex;
    overflow: hidden;
}

.h-panel-img {
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.h-panel-info {
    width: 40%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.h-panel-info h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Plan / Map Section */
.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.minimal-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(47, 128, 237, 0.1), transparent);
}

.pulse-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--grad-end);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--grad-end), 0 0 20px var(--grad-end);
}

.pulse-point::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid var(--grad-end);
    animation: ripple 2s infinite ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.flight-route {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.route-line {
    stroke: rgba(42, 142, 232, 0.5);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

/* Buttons */
.primary-btn {
    background: linear-gradient(to right, var(--grad-start), var(--grad-end));
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glow-btn:hover {
    box-shadow: 0 0 25px rgba(47, 128, 237, 0.5);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    padding: 40px;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
}

.author {
    font-weight: 600;
    color: var(--grad-end);
}

/* Contact */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px;
}



.contact-info {
    margin-bottom: 40px;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-input {
    width: 100%;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.glass-input:focus {
    border-color: var(--grad-end);
}

.submit-btn {
    width: 100%;
    border-radius: 12px;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}

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

.footer-col h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--grad-start);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--grad-start);
    transform: translateX(5px);
}

.footer-col ul li a::before {
    content: '\203A';
    font-size: 1.2rem;
    color: var(--grad-start);
}

.footer-desc {
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 250px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item .icon {
    color: var(--grad-start);
    font-size: 1.1rem;
    margin-top: 3px;
}

.contact-item div p {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.dev-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--grad-start);
    font-weight: 600;
    transition: all 0.3s ease;
}

.dev-link:hover {
    color: var(--grad-end);
    transform: translateY(-2px);
}

.footer-bottom p .highlight {
    color: var(--grad-start);
    font-weight: 600;
}

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Parallel Slanted Card Display */
.arch-container {
    width: 100%;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 50px;
}

.arch-card {
    position: relative;
    width: 320px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* All cards slanted at the same -15deg angle */
    transform: rotate(-15deg);
}

.arch-card img {
    width: 100%;
    height: auto;
    display: block;
}

.explore-hint-single {
    display: inline-block;
    background: var(--text-main);
    color: white;
    padding: 12px 32px;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    cursor: default;
    border: 1px solid var(--text-main);
}

.explore-hint-single:hover {
    background: transparent;
    color: var(--text-main);
}

.membership-details-grid {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 80px;
}

.important-note-box {
    margin-top: 80px;
    background: rgba(255, 107, 107, 0.05);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid #ff6b6b;
}

.important-note-box h3 {
    color: #ff6b6b;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Dot list for About Page HIKard details */
.dot-list {
    list-style: none;
    padding: 0;
}

.dot-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.dot-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--text-main);
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-list li.sub-dot {
    padding-left: 25px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.dot-list li.sub-dot::before {
    width: 5px;
    height: 5px;
    background: var(--text-muted);
}

/* Blue Section Styling */
.blue-section {
    background: #0088cc;
    /* The specific blue from the image */
    color: white;
    margin: 40px 0;
    border-radius: 30px;
}

.blue-section .minimal-text,
.blue-section h2,
.blue-section h3,
.blue-section li {
    color: white !important;
}

.blue-section .dot-list li::before {
    background: white !important;
}

.blue-section .dot-list li.sub-dot::before {
    background: rgba(255, 255, 255, 0.7) !important;
}

.blue-section .important-note-box {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: white;
    border-radius: 15px;
}

.blue-section .important-note-box h3 {
    border-bottom-color: white !important;
}

@media (max-width: 768px) {
    .membership-details-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
}

/* Individual Card Offsets for the "Staircase" slant */
.card-gold {
    transform: rotate(-15deg) translateY(0px);
}

.card-onyx {
    transform: rotate(-15deg) translateY(40px);
}

.card-royal {
    transform: rotate(-15deg) translateY(80px);
}

/* Hover Effect: Straighten on mouse over */
.arch-card:hover {
    transform: rotate(0deg) scale(1.1) translateY(-20px) !important;
    z-index: 100 !important;
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 60px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 95%;
    max-width: 1000px;
    padding: 40px;
    display: flex;
    gap: 60px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.5s ease;
    align-items: center;
}

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

.modal-card-img {
    width: 500px;
    height: auto;
}

.modal-info {
    flex: 1;
    color: var(--text-main);
    background: transparent;
    padding: 20px;
}

.modal-info h2 {
    font-size: 2.8rem;
    margin: 0;
}

.validity-tag {
    background: var(--text-main);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modal-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--text-muted);
}

.benefit-list {
    list-style: none;
    margin-top: 20px;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.4;
}

.benefit-list li::before {
    content: '✓';
    color: var(--grad-start);
    font-weight: 700;
    margin-top: 2px;
}

.benefit-list li.sub-point {
    padding-left: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.benefit-list li.sub-point::before {
    content: '•';
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: -1px;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--grad-start);
}

@media (max-width: 992px) {
    .modal-content {
        flex-direction: column;
        padding: 40px;
        align-items: center;
        text-align: center;
    }

    .benefit-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .arch-card {
        width: 320px;
    }
}

@media (max-width: 576px) {
    .arch-container {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
    }

    .arch-card {
        width: 90%;
    }
}$content
/* --- Hamburger & Mobile Navigation --- */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
}
@media (min-width: 993px) { .hamburger { display: none; } }
@media (max-width: 992px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: var(--glass-bg); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
        flex-direction: column; justify-content: center; align-items: center; gap: 40px;
        transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); z-index: 999;
    }
    .nav-links li a { font-size: 1.6rem; }
    .nav-links.active { right: 0; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .nav-btn { display: none; }
}
@media (max-width: 768px) {
    html { font-size: 18px; }
    body, p, input, textarea, button, .minimal-text, .glass-input { font-size: 1.15rem; line-height: 1.6; word-wrap: break-word; }
    .hero-title { 
        font-size: clamp(2.2rem, 12vw, 3rem);
        width: 100%;
        margin: 0 auto 15px;
        padding: 0 15px;
        text-align: center;
    }
    .hero-subtitle { 
        font-size: 1.1rem; 
        width: 90%;
        margin: 0 auto;
        padding: 0 15px;
    }
    .section-title, .contact-info h2 { font-size: 2.4rem; }
    .destinations-grid { grid-template-columns: 1fr; }
    .h-panel { flex-direction: column; height: auto; }
    .h-panel-img { width: 100%; height: 250px; }
    .h-panel-info { width: 100%; padding: 25px; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-col { display: flex; flex-direction: column; align-items: center; }
    .footer-desc { max-width: 100%; font-size: 1.1rem; padding: 0 15px; }
    .contact-item { justify-content: center; }
    .contact-item div p { font-size: 1.1rem; }
    .footer-col ul li a { font-size: 1.2rem; }
    .footer-col h3 { font-size: 1.6rem; }
    .footer-bottom { font-size: 1rem; padding: 25px 15px; }
    .contact-container { padding: 40px 20px; }
    .section-padding { padding: 80px 0; }
    .ai-input-wrapper { width: 95%; }
    .ai-input { padding: 18px 50px 18px 25px; font-size: 1.1rem; }
}
.membership-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
@media (max-width: 992px) { .membership-details-grid { grid-template-columns: 1fr; gap: 40px; } }

/* --- Modal Mobile Fixes --- */
@media (max-width: 992px) {
    .modal-content {
        flex-direction: column !important;
        padding: 80px 20px 40px !important;
        width: 90% !important;
        margin: 40px auto !important;
        gap: 30px !important;
    }
    .modal-card-img {
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
    }
    .close-modal {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        background: white !important;
        width: 45px !important;
        height: 45px !important;
        border-radius: 50% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
        z-index: 1010 !important;
    }
}

/* --- Modal Scroll & Mobile Fixes --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto !important; /* Forces scrollability */
    -webkit-overflow-scrolling: touch;
    display: block; /* Use block for better scrolling behavior */
    padding: 60px 0;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto; /* Centers horizontally in block display */
    padding: 40px;
    display: flex;
    gap: 60px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

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

@media (max-width: 992px) {
    .modal {
        padding: 0; /* Remove padding to allow content to start at top */
    }
    .modal-content {
        flex-direction: column !important;
        padding: 80px 20px 40px !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        min-height: 100vh; /* Ensures it fills the screen */
        gap: 30px !important;
    }
    .modal-card-img {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
    }
    .close-modal {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        background: white !important;
        width: 45px !important;
        height: 45px !important;
        border-radius: 50% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
        z-index: 2100 !important;
    }
}

/* --- Navbar & Hamburger Refinements --- */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Increased gap for 'not single line' look */
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    transition: transform 0.3s ease;
}

.hamburger span {
    display: block;
    width: 28px; /* Slightly wider */
    height: 3px; /* Slightly thicker */
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

@media (max-width: 992px) {
    .navbar {
        justify-content: space-between;
        padding: 10px 20px;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-right {
        gap: 0; /* Clear gap on mobile */
    }
}

/* Hide hamburger on desktop */
.hamburger {
    display: none;
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
}
