/* ========================================= */
/* 1. GLOBAL RESET & FONTS                   */
/* ========================================= */
* { margin: 0;
     padding: 0;
      box-sizing: border-box;
      font-family: 'Questrial', sans-serif; }

/* Mobile Auth Buttons (Hidden on Desktop) */
.mobile-auth-btn { display: none; }

/* ========================================= */
/* 2. BODY & THEME (Light/Dark)              */
/* ========================================= */
body {
    background: url('images/body(background 1) copy.png') no-repeat center center fixed;
    background-size: cover;
    transition: background-image 0.3s ease;
    cursor: none;
}
/* Hide default cursor */
body {
  cursor: none;
}

/* Small dot */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100001;
  transform: translate(-50%, -50%);
}

/* Outer ring */
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s ease,
    height 0.2s ease,
    border 0.2s ease;
}

/* Hover effect */
.cursor-ring.cursor-hover {
  width: 50px;
  height: 50px;
  border-color: #ff8a00;
}

/* --- NIGHT MODE --- */
body.dark-mode {
    background-image: url('images/night.png'); 
    background-attachment: scroll;
}

body.dark-mode .hero {
    background-image: url('images/hero\ night\ bg\ copy.png') !important;
}

body.dark-mode .hero-content h1, 
body.dark-mode .hero-content h2, 
body.dark-mode .nav-links li, 
body.dark-mode .hero-content p { 
    color: #ffffff; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}

body.dark-mode .brand { color: #4da6ff; }
body.dark-mode .fade-overlay { background: linear-gradient(to bottom, rgba(197, 21, 21, 0) 0%, #13265b 100%); }
.navbar {
     will-change: transform;
    transform: translateZ(0);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: transform 0.45s ease, background 0.3s ease;
     height: 85px;          /* FIXED HEIGHT */
    padding: 0 60px;       /* REMOVE vertical padding */
    display: flex;
    align-items: center;
}
.hero{
    padding-top: 90px;
}
/* Hide on scroll down */
.navbar.nav-hide {
    transform: translateY(-120%);
}

/* Optional background when scrolled */
.navbar.scrolled {
     background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    /* Bottom-only radius */
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;

    /* Reduce height */
    padding: 14px 60px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ========================================= */
/* 3. HERO HEADER & NAVBAR                   */
/* ========================================= */

/* ===== HERO INTRO ANIMATION ===== */
.hero-intro .intro-line,
.hero-intro .intro-title span,
.hero-intro .intro-sub,
.hero-intro .intro-ui {
  opacity: 0;
  transform: translateY(40px);
}

.hero-intro.animate .intro-line {
  animation: riseIn 0.9s cubic-bezier(.2,.8,.2,1) forwards;
}

.hero-intro.animate .intro-title span:nth-child(1) {
  animation: riseIn 0.9s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: 0.15s;
}

.hero-intro.animate .intro-title span:nth-child(2) {
  animation: riseIn 0.9s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: 0.3s;
}

.hero-intro.animate .intro-sub {
  animation: riseIn 0.9s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: 0.5s;
}

.hero-intro.animate .intro-ui {
  animation: riseIn 0.9s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: 0.7s;
}

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

.hero { min-height: 100vh; background: transparent; position: relative; transition: background-image 0.3s ease; }

.fade-overlay { 
    position: absolute; bottom: 0; left: 0; width: 100%; height: 150px; 
    background: linear-gradient(to bottom, rgba(240, 246, 252, 0) 0%, #f0f6fc 100%); 
    z-index: 2; pointer-events: none; 
}
/* Removes underline and blue color from all links in the navbar */
.nav-links a {
    text-decoration: none; /* Removes the underline */
    color: inherit;        /* Makes the text match the color of its parent (black or white) */
}

/* Optional: Ensures they don't turn purple after being clicked */
.nav-links a:visited {
    color: inherit;
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 32px 80px; }
.logo-space img { height: 36px; }
.nav-links { display: flex; gap: 40px; list-style: none; font-size: 16px; }
/* .nav-actions { display: flex; align-items: center; gap: 15px; } */

/* Buttons */
/* .login-btn { 
    background: #fff; border: none; padding: 10px 22px; 
    border-radius: 25px; cursor: pointer; transition: all 0.3s ease; 
}
.login-btn:hover { transform: translateY(-2px); }

.signup-btn {
    background: #000; color: #fff; border: 1px solid #000;
    padding: 10px 22px; border-radius: 25px; cursor: pointer;
    font-size: 14px; font-family: 'Questrial', sans-serif; transition: all 0.3s ease; */

.signup-btn:hover { background: #333; border-color: #333; transform: translateY(-2px); }

body.dark-mode .signup-btn { background: #4da6ff; border-color: #4da6ff; color: #fff; }
body.dark-mode .signup-btn:hover { background: #3d8bdb; border-color: #3d8bdb; }

.hero-wrapper { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; min-height: calc(100vh - 120px); padding: 0 80px; }
.hero-content h1 { font-size: 72px; line-height: 1.1; margin: 20px 0; color: #0b1c2d; }
.hero-content h2 { font-size: 36px; color: #0b1c2d; }
.hero-content p { font-size: 18px; color: #1e2a38; margin-bottom: 40px; }
.accent { color: #ff8a00; }
.brand { color: #0b4fff; }
.brand span { color: #ff8a00; }

.hero-actions { display: flex; align-items: center; gap: 25px; }
.primary-btn { background: #000; color: #fff; border: none; padding: 14px 32px; border-radius: 30px; cursor: pointer; }
.slider-line { height: 2px; width: 200px; background: rgba(0, 0, 0, 0.4); }

.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-image img { height: 450px; max-width: 870px; object-fit: contain; }

.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: #000; border-radius: 2px; }

/* Theme Toggle */
.theme-switch { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: inline-block; width: 60px; height: 30px; }
.theme-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #87CEEB; transition: .4s; border-radius: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 5px; }
.slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; z-index: 2; }
input:checked + .slider { background-color: #483d8b; }
input:checked + .slider:before { transform: translateX(30px); }
.icon-sun, .icon-moon { color: #fff; z-index: 1; width: 14px; }
.icon-sun { stroke: #FDB813; }
.icon-moon { stroke: #F4F6F0; }
/* ========================================= */
/* 4. UNIFIED CM SECTION DESIGN (Desktop)    */
/* ========================================= */
.cm-section-container { 
    margin-top: 80px; width: 100%; max-width: 1400px; 
    display: flex; flex-direction: column; gap: 20px; 
    font-family: 'Poppins', sans-serif; margin-left: auto; margin-right: auto;
    position: relative; min-height: 650px; 
}
.cm-top-row { display: flex; gap: 20px; height: 500px; }
.cm-placeholder { flex: 3; }

/* Hero Card (Trigger) */
.cm-hero-card { 
    position: absolute; top: 0; left: 0; z-index: 10;
    width: 100%; height: 100%; border-radius: 40px; overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.cm-hero-img-wrap, .cm-hero-bg { width: 100%; height: 100%; object-fit: cover; position: relative; }
.cm-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); }
.cm-hero-text { position: absolute; bottom: 40px; left: 40px; color: white; max-width: 600px; z-index: 2; }
.cm-hero-text h1 { font-size: 3.5rem; font-weight: 700; margin: 0 0 10px 0; }
.cm-desc { font-size: 1.1rem; font-weight: 300; margin-bottom: 25px; opacity: 0.9; }
.cm-btn-primary { background-color: #0055ff; color: white; border: none; padding: 12px 30px; border-radius: 30px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: 0.3s; }
.cm-btn-primary:hover { background-color: #0044cc; }

/* Sidebar (Hidden on Desktop default) */
.cm-sidebar { 
    flex: 1; 
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E"), linear-gradient(0deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), linear-gradient(90deg, rgba(31, 106, 255, 0.77) 0%, rgba(132, 163, 242, 0.77) 100%); 
    border-radius: 40px; padding: 25px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
    border: 1px solid rgba(255,255,255,0.6); display: flex; flex-direction: column; justify-content: space-between; 
    opacity: 0; transform: translateX(-100px); transition: all 0.5s ease-out;
}
.cm-sidebar h3 { font-size: 1.2rem; color: #333; font-weight: 500; margin: 0 0 20px 0; }
.cm-amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 20px; }
.cm-amenity-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cm-amenity-center { grid-column: 2; }
.cm-icon-box { margin-bottom: 5px; display: flex; justify-content: center; align-items: center; height: 35px; width: 35px; }
.cm-icon-box img { width: 38px; height: 38px; object-fit: contain; opacity: 0.7; }
.cm-amenity-item p { font-size: 0.85rem; color: #555; line-height: 1.2; margin: 0; }
.cm-contact-area { display: flex; flex-direction: column; gap: 10px; }
.cm-contact-card { background: rgba(255,255,255,0.6); border: 1px solid #ccc; border-radius: 12px; padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; }
.cm-brand-info { display: flex; flex-direction: column; }
.cm-brand-name { font-weight: 700; color: #0055ff; font-size: 0.9rem; }
.cm-sub-text { font-size: 0.6rem; color: #666; }
.cm-btn-contact { background: #f0f0f0; border: 1px solid #ddd; border-radius: 20px; padding: 12px 15px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.cm-btn-vr { background-color: #0099ff; color: white; border: none; border-radius: 15px; padding: 12px; font-size: 0.9rem; font-weight: 600; cursor: pointer; text-align: center; line-height: 1.2; }
.cm-vr-subtext { display: block; font-size: 0.65rem; font-weight: 400; opacity: 0.9; }

/* Bottom Bar (Hidden on Desktop default) */
.cm-bottom-bar { 
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E"), linear-gradient(0deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), linear-gradient(90deg, rgba(31, 106, 255, 0.77) 0%, rgba(132, 163, 242, 0.77) 100%); 
    backdrop-filter: blur(10px); border-radius: 50px; padding: 10px 15px; 
    display: flex; align-items: center; justify-content: space-between; gap: 15px; 
    border: 1px solid white; opacity: 0; transform: translateY(-50px); transition: all 0.5s ease-out;
}
.cm-info-pill { flex: 1; background-color: rgba(243, 244, 246, 0.8); border: 1px solid #d1d5db; border-radius: 40px; padding: 10px 20px; display: flex; align-items: center; gap: 15px; height: 60px; }
.cm-info-icon-wrapper { display: flex; justify-content: center; align-items: center; width: 30px; }
.cm-info-icon-wrapper img { width: 24px; height: 24px; opacity: 0.6; }
.cm-price-sym { font-weight: bold; font-size: 1.4rem; color: #222; margin-right: 10px; }
.cm-info-text { display: flex; flex-direction: column; }
.cm-label { font-size: 0.7rem; color: #666; }
.cm-value { font-size: 0.95rem; font-weight: 600; color: #222; }
.cm-unit { font-weight: 400; font-size: 0.8rem; color: #666; }
.cm-options-btn { cursor: pointer; background-color: transparent; border: 1px solid #ccc; flex: 0 0 auto; }
.cm-download-btn { width: 60px; height: 60px; border-radius: 50%; border: 1px solid #ccc; background-color: rgba(243, 244, 246, 0.8); display: flex; justify-content: center; align-items: center; cursor: pointer; flex-shrink: 0; }
.cm-download-btn img { width: 20px; opacity: 0.6; }

/* Desktop Hover Triggers */
.cm-section-container:hover .cm-hero-card { width: calc(72% - 20px); height: 500px; }
.cm-section-container:hover .cm-sidebar { opacity: 1; transform: translateX(0); transition-delay: 0.1s; }
.cm-section-container:hover .cm-bottom-bar { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }

/* ========================================= */
/* 5. FOOTER                                 */
/* ========================================= */
.bs-footer { margin-top: 80px; padding: 80px 20px 40px; width: 100%; font-family: 'Inter', sans-serif; }
.bs-container { max-width: 1200px; margin: 0 auto; }
.bs-footer-flex-wrapper { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; margin-bottom: 60px; }
.bs-top-section { flex: 1; max-width: 500px; }
.bs-map-section { flex: 1; height: 450px; width: 100%; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid rgba(255, 255, 255, 0.1); }
.bs-label { color: #ea580c; font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 15px; display: block; text-transform: uppercase; }
.bs-heading { font-size: 3rem; font-weight: 700; line-height: 1.1; margin-bottom: 20px; color: #0b1c2d; }
.bs-subtext { color: #4b5563; font-size: 1rem; line-height: 1.6; margin-bottom: 50px; font-weight: 300; }
.bs-contact-list { display: flex; flex-direction: column; gap: 30px; }
.bs-contact-item { display: flex; gap: 20px; align-items: flex-start; }
.bs-icon-box { width: 45px; height: 45px; background-color: rgba(30, 58, 138, 0.15); border: 1px solid rgba(59, 130, 246, 0.3); border-radius: 12px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; color: #3b82f6; font-size: 1.1rem; }
.bs-contact-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 5px; color: #0b1c2d; }
.bs-detail-label { font-size: 0.75rem; color: #6b7280; margin-bottom: 2px; }
.bs-detail-value { font-size: 0.9rem; color: #1f2937; line-height: 1.5; }
.bs-divider { height: 1px; background-color: #e5e7eb; margin-bottom: 60px; width: 100%; }
.bs-bottom-section { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.bs-logo-wrapper { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.bs-logo { height: 30px; width: auto; }
.bs-brand-desc { color: #4b5563; font-size: 0.85rem; line-height: 1.6; margin-bottom: 25px; max-width: 300px; }
.bs-social-icons { display: flex; gap: 15px; }
.bs-social-icons a { color: #6b7280; font-size: 1rem; transition: 0.3s; }
.bs-social-icons a:hover { color: #000; }
.bs-col h5 { color: #0b1c2d; font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.bs-links { list-style: none; }
.bs-links li { margin-bottom: 12px; }
.bs-links a { text-decoration: none; color: #4b5563; font-size: 0.85rem; transition: 0.3s; }
.bs-copyright { color: #6b7280; font-size: 0.75rem; line-height: 1.6; margin-top: 15px; margin-bottom: 15px; }

/* Footer Night Mode */
body.dark-mode .bs-footer { background-color: #0C1131; color: #ffffff; position: relative; }
body.dark-mode .bs-footer::before { content: ""; position: absolute; top: -150px; left: 0; width: 100%; height: 151px; background: linear-gradient(to bottom, rgba(12, 17, 49, 0), #0C1131); pointer-events: none; }
body.dark-mode .bs-heading, body.dark-mode .bs-contact-info h4, body.dark-mode .bs-col h5 { color: #ffffff; }
body.dark-mode .bs-subtext, body.dark-mode .bs-brand-desc, body.dark-mode .bs-links a { color: #9ca3af; }
body.dark-mode .bs-detail-value { color: #d1d5db; }
body.dark-mode .bs-links a:hover, body.dark-mode .bs-social-icons a:hover { color: #ffffff; }
body.dark-mode .bs-divider { background-color: #1f2937; }
body.dark-mode .bs-social-icons a { color: #9ca3af; }
body.dark-mode .bs-map-section iframe { filter: grayscale(100%) invert(92%) contrast(83%); }

/* ========================================= */
/* 6. MOBILE RESPONSIVENESS (FINAL)          */
/* ========================================= */

@media screen and (max-width: 1024px) {
    .hero-content h1 { font-size: 50px; }
    .hero-image img { height: 350px; }
    .navbar { padding: 0 40px; }
}

@media screen and (max-width: 768px) {
    

    .navbar { padding: 20px; background: rgba(255, 255, 255, 0.95); }
    .logo-space img { height: 28px; }
    .hamburger { display: flex; z-index: 9999; }
    .nav-actions { display: none; } /* Hide Desktop Buttons */

    /* Mobile Menu */
    .nav-links {
        position: fixed; top: 70px; left: 0; width: 100%; height: 0;
        background: white; flex-direction: column; align-items: center; justify-content: center;
        overflow: hidden; transition: height 0.3s ease; padding: 0; gap: 20px;
        z-index: 9998; box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        height: 380px; /* Expands to fit buttons */
        border-bottom: 1px solid #eee;
    }

    /* Show Mobile Buttons */
    .mobile-auth-btn { display: block; text-align: center; }

    /* Dark Mode Fixes */
    body.dark-mode .nav-links { background: #0C1131; border-color: #333; }

    /* --- 2. HERO SECTION --- */
    
    .hero-wrapper { grid-template-columns: 1fr; text-align: center; gap: 40px; padding: 0 20px; }
    .hero-content { order: 2; }
    .hero-image { order: 1; }
    .hero-content h1 { font-size: 42px; margin-top: 10px; }
    .hero-content h2 { font-size: 24px; }
    .hero-content p { font-size: 16px; margin-bottom: 25px; }
    .hero-actions { justify-content: center; }
    .hero-image img { height: auto; width: 100%; max-width: 350px; }

    /* --- 3. PROJECT SECTIONS (Stacked & No Pills) --- */
    /* Target ALL 3 sections via their shared class */
    .cm-section-container {
        display: flex; flex-direction: column; height: auto; min-height: auto;
        margin-top: 0px; padding: 0 20px;
    }
    .cm-placeholder { display: none; }
    
    .cm-top-row { display: flex; flex-direction: column; height: auto; gap: 0; }

    /* Cards */
    .cm-hero-card {
        position: relative; width: 100% !important; height: 250px;
        border-radius: 20px; margin-bottom: 20px; top: auto; left: auto; right: auto;
        box-shadow: none;
    }
    .cm-hero-text { bottom: 20px; left: 20px; }
    .cm-hero-text h1 { 
        margin-left: 10px;
        margin-bottom: 20px;
        font-size: 2rem; }
    .cm-desc { display: none; } /* Optional: Hide desc on phone */

    /* Sidebars */
    .cm-sidebar {
        opacity: 1; transform: none; width: 100%; margin-top: 0;
        background: rgba(255,255,255,0.5); border: 1px solid #eee; padding: 20px;
    }
    .cm-amenities-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .cm-amenity-center { grid-column: auto; }

    /* HIDE BOTTOM BARS */
    .cm-bottom-bar { display: none !important; }

    /* Project Dark Mode Mobile */
    body.dark-mode .cm-sidebar { background: #131b40; border-color: #2d3748; }
    body.dark-mode .cm-sidebar h3 { color: #fff; }
    body.dark-mode .cm-amenity-item p { color: #ccc; }
    body.dark-mode .cm-icon-box img { filter: invert(1); opacity: 0.8; }
    body.dark-mode .cm-contact-card { background: rgba(255,255,255,0.05); border-color: #2d3748; }
    body.dark-mode .cm-btn-contact { background: #2d3748; border-color: #4a5568; color: white; }

    /* --- 4. FOOTER --- */
    .bs-footer { padding: 40px 20px; }
    .bs-footer-flex-wrapper { flex-direction: column; gap: 40px; }
    .bs-top-section { max-width: 100%; }
    .bs-map-section { height: 300px; }
    .bs-bottom-section { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .bs-logo-wrapper { justify-content: center; }
    .bs-brand-desc { margin: 0 auto 20px; }
    .bs-social-icons { justify-content: center; }
    .bs-contact-item { flex-direction: column; align-items: flex-start; }
}

/* Small Phones */
@media screen and (max-width: 480px) {
    .cm-amenities-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ========================================= */
/* 6. MOBILE RESPONSIVENESS (NO ANIMATIONS)  */
/* ========================================= */

@media screen and (max-width: 768px) {
 
    /* --- KILL ALL CM/MBD/ANANTA ANIMATIONS --- */
    /* This targets the container and every single child element */
    .cm-section-container,
    .cm-section-container *,
    .cm-hero-card,
    .cm-sidebar,
    .cm-bottom-bar {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }

    /* --- NAVBAR & MENU --- */
    .navbar { padding: 20px; background: rgba(255, 255, 255, 0.95); }
    .logo-space img { height: 28px; }
    .hamburger { display: flex; z-index: 9999; }
    .nav-actions { display: none; } 

    .nav-links {
        position: fixed; top: 70px; left: 0; width: 100%; height: 0;
        background: white; flex-direction: column; align-items: center; justify-content: center;
        overflow: hidden; transition: height 0.3s ease; padding: 0; gap: 20px;
        z-index: 9998; box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active { height: 380px; border-bottom: 1px solid #eee; }
    .mobile-auth-btn { display: block; text-align: center; }

    /* --- HERO SECTION --- */
    .hero-wrapper { grid-template-columns: 1fr; text-align: center; gap: 40px; padding: 0 20px; }
    .hero-content { order: 2; }
    .hero-image { order: 1; }
    .hero-content h1 { font-size: 42px; margin-top: 10px; }
    .hero-image img { height: auto; width: 100%; max-width: 350px; }

    /* --- CM / MBD / ANANTA STATIC LAYOUT --- */
    .cm-section-container {
        display: flex; flex-direction: column; 
        height: auto !important; 
        min-height: auto !important;
        margin-top: 20px; padding: 0 20px;
    }
    
    .cm-placeholder { display: none !important; }
    .cm-top-row { display: flex; flex-direction: column; height: auto; gap: 0; }

    /* Force Card to be static and full width */
    .cm-hero-card {
        position: relative !important; 
        width: 100% !important; 
        height: 250px !important;
        border-radius: 20px; 
        margin-bottom: 20px;
        opacity: 1 !important;
    }

    /* Force Sidebar to be visible immediately */
    .cm-sidebar {
        display: flex !important;
        opacity: 1 !important; 
        visibility: visible !important;
        width: 100% !important; 
        background: rgba(255,255,255,0.5); 
        border: 1px solid #eee; 
        padding: 20px;
    }

    /* Ensure hover states don't trigger movement */
    .cm-section-container:hover .cm-hero-card {
        width: 100% !important;
    }

    /* Hide unnecessary UI for mobile */
    .cm-bottom-bar, 
    .cm-desc,
  

    /* --- DARK MODE MOBILE --- */
    body.dark-mode .nav-links { background: #0C1131; border-color: #333; }
    body.dark-mode .cm-sidebar { background: #131b40; border-color: #2d3748; }
    body.dark-mode .cm-sidebar h3 { color: #fff; }
    body.dark-mode .cm-icon-box img { filter: invert(1); opacity: 0.8; }
}



.tilt-card {
  perspective: 1000px;
}

.tilt-card img {
  will-change: transform;
  transform-style: preserve-3d;
}
