/* RESET */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Playfair Display', serif;
    margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #2b1f1a, #4a342c);
  color: #fff;
}

/* ====== PREMIUM NAVBAR (Transparent to Solid) ====== */
/* ====== PREMIUM NAVBAR (Transparent to Solid) ====== */
.navbar {
    position: fixed; 
    top: 0 !important;      /* Removed the 37px gap to touch the top */
    left: 0 !important;     /* Removed the 20px offset to touch the left */
    width: 100% !important; /* Full width coverage */
    z-index: 1200;
    background: transparent; 
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(212, 163, 115, 0); 
    transition: all 0.4s ease-in-out;
    color: #F5EFE6; /* White text for dark video background */
}

.navbar.scrolled {
    background: rgba(43, 31, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 163, 115, 0.2);
    padding: 5px 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 25px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 3px;
    color: #D4A373;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #F5EFE6;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #D4A373;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #D4A373;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #F5EFE6;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* ===== MOBILE / TABLET NAV ===== */
@media (max-width:900px){
  .nav-toggle {
    display: block;
    z-index: 2001;
    transition: transform 0.3s ease;
  }

  .nav-toggle:active {
    transform: scale(0.9);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background: rgba(43, 31, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    width: 100%;
    text-align: center;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered Delay for Menu Items */
  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }

  .nav-links a {
      color: #F5EFE6 !important;
      font-size: 24px;
      font-family: 'Playfair Display', serif;
      letter-spacing: 2px;
      padding: 10px 0;
      display: inline-block;
  }

  .nav-links a::after {
      bottom: 5px;
  }
}

/* Prevent body scroll when menu is active */
body.menu-open {
    overflow: hidden;
}
/* MAIN SECTION */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  
  /* 🔥 THE DARK BROWN BOX BORDER 🔥 */
  
  box-sizing: border-box; /* Ensures the border is included in the 100vh */
  
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* TEXT SIDE */
.hero-text {
  max-width: 480px;
  z-index: 2;
  top: 100%;
  margin-top: 100%;
  padding: 0 8%;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 16px;
  opacity: 0.7;
  margin-bottom: 25px;
}

/* HERO FULL VIDEO */

/* VIDEO CONTAINER */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Ensure the video and overlay respect the box boundaries */
.bg-video, .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Adjust the border for smaller screens so it doesn't look too thick */
@media (max-width: 768px) {
  .hero {
    border-width: 12px; /* Thinner frame for mobile */
  }
}

/* DARK OVERLAY */
/* DELETE THIS ENTIRE BLOCK */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); 
}

/* TEXT CONTENT */
/* TEXT CONTENT */
.hero-content {
  position: absolute;   
  top: 40px;            /* 🔥 Decreased to move it to the top */
  left: 8%;             
  right: 9%;            /* Added to allow it to stretch across the screen */
  z-index: 2;
  display: none;        /* Hidden on desktop */
  /* max-width: 520px; <-- REMOVED this limit */
}

.hero-content h1 {
  /* max-width: 480px; <-- REMOVED this limit */
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  white-space: nowrap;  /* Forces the text to stay on exactly one line */
  
  /* 🔥 NEW CHANGES BELOW 🔥 */
  font-style: italic;   /* Makes the text italic */
  text-align: right;    /* Shifts the text to the right side of the screen */
}
.hero-content p {
  opacity: 0.8;
  margin-bottom: 25px;
}

/* FLOAT ANIMATION */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-content {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0 auto;
    padding: 0 20px;
  }

  .hero-content h1 {
    white-space: normal;
    text-align: center;
    font-size: 32px;
    font-style: normal;
  }

  .hero-content p {
    text-align: center;
  }

  .video-container {
    position: relative;
    width: 90%;
    height: 300px;
    margin: 30px auto 0 auto;
    border-radius: 12px;
    overflow: hidden;
  }

  .tag {
    display: none;
  }
}


/* SECTION WRAPPER */
/* ================= MANIFESTO SECTION ================= */

.manifesto-section {
    position: relative;
    height: 130vh; /* extra height for breathing scroll */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* FULL WIDTH BACKGROUND IMAGE */
.manifesto-bg {
    position: absolute;
    inset: 0;
    background: url("Landpage2.png") center/cover no-repeat;
    transform: scale(1);
    transition: transform 0.2s linear;
    z-index: 1;
    will-change: transform;
}

/* DARK OVERLAY */
.manifesto-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20,10,5,0.65),
        rgba(20,10,5,0.55)
    );
    z-index: 2;
}

/* CONTENT */
.manifesto-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 720px;
    padding: 0 30px;
    color: #F5EFE8;
}

/* HEADING */
.manifesto-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;          /* was too big */
    font-weight: 500;
    letter-spacing: 3.5px;    /* more editorial spacing */
    line-height: 1.2;
    color: #F3EADF;           /* soft cream, not pure white */
    margin-bottom: 24px;
}
/* GOLD DIVIDER */
.gold-line {
    width: 90px;
    height: 2px;
    background: #C6A75E;
    margin: 0 auto 35px auto;
}
.manifesto-bg {
    filter: brightness(0.9) saturate(0.85);
}
/* PARAGRAPH */
.manifesto-content p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 1px;
    color: #E8D8C3;
    transition: transform 0.15s linear, letter-spacing 0.15s linear, opacity 0.15s linear;
    will-change: transform, letter-spacing, opacity;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .manifesto-content h2 {
        font-size: 36px;
    }

    .manifesto-content p {
        font-size: 16px;
    }
}

/* ================= PILLARS SECTION ================= */

.pillars-section {
    background: #2b1e17;
    padding: 120px 8%;
    color: #F3EADF;
}

.pillars-header {
    text-align: center;
    margin-bottom: 100px;
}

.pillars-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.pillars-header p {
    font-size: 16px;
    color: #D8C8B4;
}

.pillar {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.pillar.reverse {
    flex-direction: row-reverse;
}

.pillar-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.5s ease;
    will-change: transform;
}

.pillar-image img:hover {
    transform: scale(1.03);
}

.pillar-content {
    position: relative;
    max-width: 500px;
}

.pillar-number {
    position: absolute;
    top: -50px;
    left: -30px;
    font-size: 110px;
    font-family: 'Playfair Display', serif;
    color: rgba(198,167,94,0.08);
    z-index: 0;
}

.pillar-content h3 {
    font-size: 18px;
    letter-spacing: 4px;
    color: #C6A75E;
    margin-bottom: 10px;
    position: relative;
}

.pillar-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.pillar-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #D8C8B4;
    margin-bottom: 25px;
}

.pillar-content ul {
    list-style: none;
    padding: 0;
}

.pillar-content ul li {
    margin-bottom: 12px;
    padding-left: 22px;
    position: relative;
    color: #E8D8C3;
}

.pillar-content ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #C6A75E;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Scroll reveal */
/* Change Line 517 from .pillar.active to .reveal.active */
.reveal.active h4 span {
    transform: translateY(0);
}

/* Fix Pillar Numbers (Line 450) - they are currently too faint to see */
.pillar-number {
    color: rgba(198, 167, 94, 0.2); /* Increased from 0.08 to 0.2 for visibility */
    z-index: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .pillar {
        flex-direction: column;
        text-align: center;
    }

    .pillar.reverse {
        flex-direction: column;
    }

    .pillar-number {
        display: none;
    }
}

.gold-line {
    width: 0;
    height: 2px;
    background: #C6A75E;
    margin: 0 auto 35px auto;
    transition: width 1.2s ease;
}

.pillars-header.active .gold-line {
    width: 90px;
}
.pillar-number {
    animation: floatNumber 6s ease-in-out infinite;
}

@keyframes floatNumber {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
.pillar-image {
    position: relative;
    overflow: hidden;
}

.pillar-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.05)
    );
    transition: 0.8s;
}

.pillar-image:hover::after {
    left: 120%;
}
.pillar-content h4 {
    overflow: hidden;
}

.pillar-content h4 span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s ease;
}

.pillar.active .pillar-content h4 span {
    transform: translateY(0);
}
.pillars-section {
    background: linear-gradient(
        -45deg,
        #2b1e17,
        #2f211a,
        #3a281e
    );
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ================= OPTION 4 - IMMERSIVE STYLE ================= */

.immersive-section {
    padding: 120px 8%;
    background: #f5f2ee;
}

.immersive-header {
    text-align: center;
    margin-bottom: 80px;
}

.immersive-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #2b1e17;
}

.immersive-header p {
    font-family: 'Inter', sans-serif;
    color: #6d5a4f;
}

/* Grid */

.immersive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Card */

.immersive-card {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.6s ease;
}

.immersive-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
    will-change: transform;
}

.immersive-card:hover img {
    transform: scale(1.08);
}

.card-label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #fff;
    z-index: 2;
}

.immersive-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* ================= MODAL ================= */

.immersive-modal {
    position: fixed;
    inset: 0;
    background: rgba(20,10,5,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.6s ease;
    z-index: 999;
}

.immersive-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 80%;
    max-width: 1100px;
    background: #2b1e17;
    border-radius: 20px;

    display: flex;
    flex-direction: column;   /* IMPORTANT */
    
    max-height: 90vh;         /* LIMIT HEIGHT */
    overflow-y: auto;         /* ENABLE SCROLL */
    
    animation: fadeUp 0.6s ease;
}
/* .modal-content {
    width: 80%;
    max-width: 1100px;
    background: #2b1e17;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    animation: fadeUp 0.6s ease;
} */

.modal-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 450px;
}

.modal-text {
    flex: 1;
    padding: 60px;
    color: #F3EADF;
}

.modal-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 20px;
}

.modal-text p {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

/* Animation */

@keyframes fadeUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive */

@media(max-width: 900px) {
    .immersive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        flex-direction: column;
    }
}

/* ================= VIDEO MODAL LAYOUT FIX ================= */
.modal-video-section {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 25px;
    padding: 0 40px;
}

.video-player {
    flex: 3;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    /* This ensures the box stays the same shape regardless of video size */
    aspect-ratio: 16 / 9; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player video {
    width: 100%;
    height: 100%;
    /* 'contain' fits the entire video inside without cropping or stretching */
    object-fit: contain; 
    display: block;
}

/* Optimized Video Thumbnails - No more cutting faces */
.video-thumbnails .thumb-vid {
    height: 110px !important;    /* Increased height from 80px to show more frame */
    width: 100%;
    object-fit: cover;           /* Fills the box completely */
    /* 🔥 This focuses the crop higher up where faces usually are */
    object-position: center 20%; 
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s ease;
    opacity: 0.7;
}

/* Make the thumbnail column scrollable if you add many videos */
.video-thumbnails {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 480px;           /* Matches a standard 16:9 player height */
    overflow-y: auto;            /* Adds a scrollbar only if needed */
    padding-right: 8px;          /* Space for the scrollbar */
}

/* Custom scrollbar for a premium look */
.video-thumbnails::-webkit-scrollbar {
    width: 4px;
}
.video-thumbnails::-webkit-scrollbar-thumb {
    background: #D4A373;         /* Gold scrollbar */
    border-radius: 10px;
}

.video-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.video-thumbnails img:hover {
    border-color: #C6A75E; /* Gold border on hover */
}

/* 4. Fix Video Thumbnails (so they stay small if you use video files) */
.video-thumbnails .thumb-vid,
.video-thumbnails img {
    width: 100%;
    height: 85px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
    opacity: 0.6;
}

.video-thumbnails .thumb-vid:hover,
.video-thumbnails img:hover,
.video-thumbnails .active-thumb {
    border-color: #C6A75E;
    opacity: 1;
}

/* ================= FINAL LUXURY FOOTER ================= */

.luxury-footer {
    background: #2b1e17;
    color: #E8D8C3;
    padding: 100px 8% 60px;
    text-align: center;
}

/* Closing Line */
.footer-top h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-gold-line {
    width: 80px;
    height: 2px;
    background: #C6A75E;
    margin: 0 auto 60px;
}

/* Nav Row */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #C6A75E;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.footer-col p {
    font-size: 14px;
    opacity: 0.8;
}

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(198,167,94,0.3);
    margin: 40px auto;
    width: 80%;
}

/* Address + Phone */
.footer-contact-info p {
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0.85;
}

/* Social */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid #C6A75E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C6A75E;
    transition: 0.3s ease;
}

.footer-social a:hover {
    background: #C6A75E;
    color: #1f1612;
}

.footer-social a svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.footer-social a:hover svg {
    transform: scale(1.1);
}

/* Copyright */
.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-nav {
        gap: 40px;
    }

    .footer-top h2 {
        font-size: 30px;
    }
}
.footer-nav a {
    text-decoration: none;
    color: #E8D8C3;   /* your footer text color */
    transition: 0.3s ease;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

.footer-nav a:hover {
    color: #C6A75E;   /* gold hover */
    letter-spacing: 4px;
}
.footer-col p {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 6px;
}

.luxury-footer a {
    text-decoration: none;
    color: #E8D8C3;
    transition: 0.3s ease;
}

.luxury-footer a:hover {
    color: #C6A75E;
}

/* ===== GALLERY ===== */

.gallery-section{
padding:100px 8%;
background:#faf8f5;
}

.gallery-header{
text-align:center;
margin-bottom:60px;
}

.gallery-header h2{
font-family:'Playfair Display',serif;
font-size:42px;
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.gallery-item{
position:relative;
overflow:hidden;
border-radius:6px;
}

.gallery-item img{
width:100%;
height:220px;
object-fit:cover;
transition:0.4s;
}

.gallery-item:hover img{
transform:scale(1.05);
}

.gallery-title{
position:absolute;
bottom:0;
width:100%;
background:rgba(0,0,0,0.6);
color:white;
text-align:center;
padding:10px;
font-size:14px;
}
.team-card img,
.expert-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}
/* ===== FIX GALLERY MODAL GRID ===== */

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(20,10,5,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    width: 85%;
    max-width: 1200px;
    background: #2b1e17;
    border-radius: 20px;
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
    position: relative;
}

.gallery-modal-content h2 {
    color: #fff;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

/* 🔥 MAIN FIX */
.gallery-modal .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* IMAGE STYLE */
.gallery-modal .gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    transition: 0.3s;
}

.gallery-modal .gallery-grid img:hover {
    transform: scale(1.05);
}
/* CLOSE BUTTON POSITION FIX */
.close-gallery {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 1000;
}
/* Team GRID */
/* ===== TEAM GRID FIX (LIKE YOUR REFERENCE IMAGE) ===== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD STYLE */
.team-card, .expert-card {
    background: transparent;
    text-align: center;
}

/* IMAGE FIX */
.team-card img,
.expert-card img {
    width: 100%;
    height: 220px;              /* balanced height */
    object-fit: cover;          /* 🔥 MUST */
    object-position: top center;/* face visible */
    border-radius: 10px;
}
/* TEXT */
.team-card h3 {
    margin-top: 12px;
    font-size: 16px;
    color: #cccaca;
}

.team-card p {
    font-size: 13px;
    color: #b7b7b7;
}
/* Fix team grid spacing when text is hidden */
.team-modal-content {
    padding-bottom: 60px !important; /* Adds room at the bottom for an elegant finish */
}

/* EXPERT OVERLAY STYLE */
.expert-card {
    position: relative;
}

/* .expert-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(40,25,18,0.9);
    color: #fff;
    padding: 10px;
    text-align: left;
    padding: 4px 10px;  
} */
.expert-info {
    position: absolute;
    bottom: 0;
    width: 100%;

    background: linear-gradient(
        to top,
        rgba(164, 163, 163, 0.95),
        rgba(250, 248, 247, 0.6),
        transparent
    );

    padding: 6px 8px;

    max-height: 70px;          /* 🔥 LIMIT HEIGHT */
    overflow: hidden;          /* 🔥 STOP EXPANSION */
}
/* .expert-info h3 {
    font-size: 13px;
    margin-bottom: 2px;
}

.expert-info p {
    font-size: 11px;
} */
 .expert-info h3 {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;   /* long names cut nicely */
}

.expert-info p {
    font-size: 10px;
}
.team-card {
    overflow: hidden;
}

.team-card img {
    transition: transform 0.5s ease;
}

/* HOVER EFFECT */
.team-card:hover img {
    transform: scale(1.08);
}
/* =============================
   FULL RESPONSIVE OVERRIDES
   Paste at the very bottom
   ============================= */

/* safer global sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

img, video {
    max-width: 100%;
    display: block;
}

body {
    overflow-x: hidden;
}

/* ===== Large tablets / small laptops ===== */
@media (max-width: 1200px) {
    .hero-top-text h1 {
        font-size: 46px;
    }

    .hero-bottom-text p {
        font-size: 18px;
    }

    .manifesto-content h2 {
        font-size: 38px;
    }

    .pillars-header h2,
    .immersive-header h2,
    .footer-top h2 {
        font-size: 34px;
    }

    .immersive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid,
    .expert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Tablets ===== */
@media (max-width: 992px) {
    .menu-toggle {
        font-size: 32px;
        top: 18px;
        right: 16px;
    }

    .side-menu {
        width: 240px;
    }

    .hero {
        height: 90svh;
    }

    .hero-top-text {
        top: 10%;
        width: 92%;
    }

    .hero-top-text h1 {
        font-size: 40px;
    }

    .hero-bottom-text {
        bottom: 9%;
        max-width: 600px;
    }

    .hero-bottom-text p {
        font-size: 16px;
    }

    .social-icons {
        right: 18px;
        gap: 16px;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .manifesto-section {
        height: auto;
        min-height: 80svh;
        padding: 110px 18px;
    }

    .manifesto-content {
        max-width: 620px;
    }

    .manifesto-content h2 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .manifesto-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .pillars-section {
        padding: 90px 18px;
    }

    .pillars-header {
        margin-bottom: 70px;
    }

    .pillar {
        flex-direction: column;
        gap: 28px;
        text-align: center;
        margin-bottom: 80px;
    }

    .pillar.reverse {
        flex-direction: column;
    }

    .pillar-image img {
        width: 100%;
        max-width: 640px;
        height: auto;
    }

    .pillar-number {
        display: none;
    }

    .pillar-content {
        max-width: 100%;
    }

    .pillar-content h3 {
        font-size: 15px;
        letter-spacing: 3px;
    }

    .pillar-content h4 {
        font-size: 24px;
    }

    .pillar-content p,
    .pillar-content ul li {
        font-size: 15px;
    }

    .immersive-section,
    .luxury-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .immersive-card {
        height: 300px;
    }

    .modal-content {
        width: 94%;
        max-width: 94%;
        flex-direction: column;
        max-height: 92svh;
        overflow-y: auto;
    }

    .modal-text {
        padding: 32px;
    }

    .modal-text h2 {
        font-size: 28px;
    }

    .modal-video-section {
        flex-direction: column;
    }

    .video-player {
        min-height: 240px;
    }

    .video-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        padding: 12px;
    }

    .video-thumbnails img {
        height: 70px;
    }

    .gallery-modal-content {
        width: 94%;
        padding: 26px;
    }

    .gallery-modal .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid,
    .expert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .team-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 220 / 280;
    }

    .expert-card img {
        height: 220px;
    }

    .footer-nav {
        gap: 34px;
    }
}

/* ===== Small tablets / large phones ===== */
@media (max-width: 768px) {
    .hero {
        height: 86svh;
    }

    .hero-video {
        object-fit: cover;
        object-position: center center;
    }

    .hero-top-text {
        top: 9%;
    }

    .hero-top-text h1 {
        font-size: 30px;
        line-height: 1.15;
    }

    .hero-bottom-text {
        bottom: 8%;
        max-width: 520px;
    }

    .hero-bottom-text p {
        font-size: 14px;
        line-height: 1.5;
    }

    .social-icons {
        right: 12px;
        gap: 12px;
    }

    .social-icons a {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .manifesto-section {
        padding: 90px 16px;
    }

    .manifesto-content h2 {
        font-size: 26px;
        letter-spacing: 1.5px;
    }

    .manifesto-content p {
        font-size: 14px;
    }

    .pillars-section {
        padding: 74px 16px;
    }

    .pillars-header h2 {
        font-size: 28px;
    }

    .pillar-image img {
        border-radius: 12px;
    }

    .pillar-content h4 {
        font-size: 21px;
    }

    .pillar-content p,
    .pillar-content ul li {
        font-size: 14px;
        line-height: 1.8;
    }

    .immersive-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .immersive-card {
        height: 250px;
    }

    .card-label {
        font-size: 20px;
        left: 18px;
        bottom: 18px;
    }

    .modal-content {
        width: 96%;
        border-radius: 16px;
    }

    .close-modal,
    .close-gallery {
        top: 18px;
        right: 18px;
        font-size: 24px;
    }

    .modal-text {
        padding: 24px;
    }

    .video-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-modal-content {
        padding: 20px;
        border-radius: 16px;
    }

    .gallery-modal .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-modal .gallery-grid img {
        height: 140px;
    }

    .team-grid,
    .expert-grid {
        grid-template-columns: 1fr;
    }

/* Optimized Footer Grid for Mobile & Tablet (2x2 Layout) */
@media (max-width: 768px) {
    .luxury-footer {
        padding: 60px 15px 40px; /* Better padding for smaller screens */
    }

    .footer-top h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .footer-nav {
        display: grid !important; /* Switch from flex to grid */
        grid-template-columns: repeat(2, 1fr); /* Create exactly 2 columns */
        gap: 40px 10px; /* 40px vertical space, 10px horizontal space */
        max-width: 500px;
        margin: 0 auto 40px; /* Center the grid on the screen */
    }

    .footer-col {
        text-align: center; /* Ensure text stays centered in its grid box */
    }

    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .footer-col p {
        font-size: 12px;
        line-height: 1.4;
        max-width: 140px; /* Prevents text from leaking into the next column */
        margin: 0 auto;
    }
}
}

@media (max-width: 400px) {
    .footer-nav {
        gap: 30px 5px; /* Tighter spacing for very small phones */
    }
    
    .footer-col h4 {
        font-size: 14px;
    }
}

/* ===== Small phones ===== */
@media (max-width: 480px) {
    .menu-toggle {
        font-size: 30px;
        top: 14px;
        right: 14px;
    }

    .side-menu {
        width: 100%;
    }

    .hero {
        height: 82svh;
    }

    .hero-video {
        object-position: center top;
    }

    .hero-top-text {
        top: 10%;
        width: 94%;
    }

    .hero-top-text h1 {
        font-size: 24px;
    }

    .hero-bottom-text {
        bottom: 7%;
        padding: 0 12px;
    }

    .hero-bottom-text p {
        font-size: 13px;
    }

    .social-icons {
        right: 10px;
        gap: 10px;
    }

    .social-icons a {
        width: 31px;
        height: 31px;
        font-size: 12px;
    }

    .manifesto-section {
        padding: 76px 14px;
    }

    .manifesto-content h2 {
        font-size: 22px;
        letter-spacing: 1px;
        margin-bottom: 18px;
    }

    .gold-line {
        width: 64px;
        margin-bottom: 24px;
    }

    .manifesto-content p {
        font-size: 13px;
        line-height: 1.65;
    }

    .pillars-section {
        padding: 64px 14px;
    }

    .pillars-header h2 {
        font-size: 24px;
    }

    .pillar {
        margin-bottom: 64px;
        gap: 22px;
    }

    .pillar-content h3 {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .pillar-content h4 {
        font-size: 19px;
    }

    .pillar-content p,
    .pillar-content ul li {
        font-size: 13px;
    }

    .immersive-section {
        padding: 72px 14px;
    }

    .immersive-header h2 {
        font-size: 24px;
    }

    .immersive-header p {
        font-size: 13px;
    }

    .immersive-card {
        height: 210px;
    }

    .card-label {
        font-size: 18px;
    }

    .modal-text {
        padding: 18px;
    }

    .modal-text h2 {
        font-size: 22px;
    }

    .modal-text p {
        font-size: 14px;
        line-height: 1.65;
    }

    .video-player {
        min-height: 200px;
    }

    .video-thumbnails {
        grid-template-columns: 1fr 1fr;
    }

    .video-thumbnails img {
        height: 64px;
    }

    .gallery-modal-content {
        padding: 16px;
    }

    .gallery-modal-content h2 {
        font-size: 22px;
    }

    .gallery-modal .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-modal .gallery-grid img {
        height: 170px;
    }

    .team-card h3 {
        font-size: 16px;
    }

    .team-card p,
    .expert-info p {
        font-size: 12px;
    }

    .expert-info h3 {
        font-size: 13px;
    }

    .luxury-footer {
        padding: 76px 14px 48px;
    }

    .footer-top h2 {
        font-size: 24px;
    }

    .footer-col h4 {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .footer-col p {
        font-size: 12px;
    }
    @media (max-width: 480px) {
    .footer-divider {
        width: 60%; /* Shorter line for a cleaner look */
        margin: 30px auto;
    }

    .footer-social {
        gap: 15px;
    }

    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .footer-contact-info p {
        font-size: 13px;
        line-height: 1.6;
    }
}
}


/* ===== Very small phones ===== */
@media (max-width: 380px) {
    .hero {
        height: 80svh;
    }

    .hero-top-text h1 {
        font-size: 22px;
    }

    .hero-bottom-text p {
        font-size: 12px;
    }

    .manifesto-content h2 {
        font-size: 20px;
    }

    .pillars-header h2,
    .immersive-header h2,
    .footer-top h2 {
        font-size: 22px;
    }

    .immersive-card {
        height: 200px;
    }

    .card-label {
        font-size: 16px;
    }

    .cta {
        width: 100%;
    }
}

/* ===== 320px phones ===== */
@media (max-width: 340px) {
    .hero {
        height: 78svh;
    }

    .hero-top-text {
        top: 8%;
    }

    .hero-top-text h1 {
        font-size: 20px;
    }

    .hero-bottom-text {
        bottom: 6%;
        padding: 0 8px;
    }

    .hero-bottom-text p {
        font-size: 11px;
    }

    .manifesto-section {
        padding: 64px 12px;
    }

    .manifesto-content h2 {
        font-size: 18px;
        letter-spacing: 0.8px;
    }

    .manifesto-content p {
        font-size: 12px;
    }

    .pillars-section {
        padding: 56px 12px;
    }

    .pillar-content h4 {
        font-size: 17px;
    }

    .pillar-content p,
    .pillar-content ul li {
        font-size: 12px;
    }

    .immersive-section {
        padding: 62px 12px;
    }

    .immersive-card {
        height: 185px;
    }

    .gallery-modal-content {
        padding: 12px;
    }

    .gallery-modal .gallery-grid img {
        height: 150px;
    }

    .footer-top h2 {
        font-size: 20px;
    }
}
/* /Galley Responsive */
@media (max-width: 992px) {
    .gallery-modal .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .gallery-modal .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* Team Responsive */
@media (max-width: 992px) {
    .team-grid,
    .expert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .team-grid,
    .expert-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== TEAM RESPONSIVE FIX (2 COLUMN ALWAYS) ===== */

/* Tablet + Mobile */
@media (max-width: 992px) {
    .team-grid,
    .expert-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    /* reduce image size for better fit */
    .team-card img,
    .expert-card img {
        height: 180px;
    }
}

/* Small phones (480px) */
@media (max-width: 480px) {
    .team-grid,
    .expert-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .team-card img,
    .expert-card img {
        height: 150px;
    }

    /* text adjust */
    .team-card h3 {
        font-size: 13px;
    }

    .team-card p,
    .expert-info p {
        font-size: 11px;
    }
}

/* Optional: very very small (320px only) */
@media (max-width: 340px) {
    .team-grid,
    .expert-grid {
        grid-template-columns: 1fr;
    }
}/* MOBILE ONLY (320 - 480) */
@media (max-width: 480px) {
    .hero-bottom-text {
        text-align: center;
        padding: 0 10px;
    }

    .hero-bottom-text p {
        font-size: 13px;
        line-height: 1.4;

        /* 🔥 FORCE 2 LINE BEHAVIOR */
        display: inline-block;
        max-width: 260px;
        word-break: break-word;
    }
}
/* Hides the floating navbar when the immersive modal is active */
.immersive-modal.active ~ .navbar,
body:has(.immersive-modal.active) .navbar {
    display: none !important;
}
/* ... all your other hundreds of lines of CSS above this ... */

@media (max-width: 480px) {
    .hero-bottom-text {
        text-align: center;
        padding: 0 10px;
    }
    /* ... your other mobile rules ... */
}

/* =========================================================
   🔥 MASTER FIX: PASTE AT THE VERY BOTTOM OF LANDINGPAGE.CSS 
   ========================================================= */

/* 1. Force the Modals to sit ON TOP of the Menu Bar */
.immersive-modal,
.gallery-modal {
    z-index: 9999 !important; 
}

/* 2. Fix the Mobile Toggle Button (Make it clickable and positioned) */
@media (max-width: 992px) {
    .nav-toggle {
        display: block !important;
        position: absolute !important;
        right: 25px !important;
        top: 18px !important;
        z-index: 9999 !important; /* Must be higher than the sliding menu */
        pointer-events: auto !important;
    }

    /* Ensure the sliding menu sits underneath the toggle button */
    .nav-links {
        z-index: 9000 !important;
    }
    
    /* Center the logo on mobile since button is now on the right */
    .nav-inner {
        justify-content: flex-start !important;
    }
}

/* 3. Ensure the Scrolled Solid Background works on Mobile */
.navbar.scrolled {
    background: rgba(43, 31, 26, 0.98) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}