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

/* ================= BODY ================= */
body {
  font-family: "Inter", system-ui, sans-serif;
  color: #f2f2f7;
  overflow-x: hidden;

  background:
    radial-gradient(900px 500px at 50% -20%, #1b1740 0%, transparent 60%),
    linear-gradient(180deg, #05040a 0%, #080612 100%);
}

/* ================= CANVAS ================= */
#bg-ring {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ================= NAV ================= */
#sec1-nav-intro {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.navbar {
  position: fixed;
  padding: 20px 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(18, 16, 30, 0.55);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);

  z-index: 100;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 30px;
}

.nav-left img {
  width: 72px;
  border-radius: 50%;
}

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

.nav-links a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #d7d5e6;
  opacity: 0.7;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-right {
  margin-right: 50px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #bdbad3;
}

/* ================= HERO ================= */
.hero {
  min-height: 90vh; /* reduced height to make section 2 visible */
  padding-top: 160px; /* adjust spacing for hero content */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: end;

}

/* MAIN TITLE */
.p-title {
  margin-top: 10%;
  font-size: clamp(64px, 4vw, 110px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.05;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  z-index: 2;
  background: linear-gradient(
    90deg,
    #ffffff,
    #c5a059,
    #ffffff
  );
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: shimmer 6s linear infinite;
}

/* SUBTITLE */
.p-subtitle {
  text-shadow: 0 1px 2px rgba(149, 127, 38, 0.6);
  font-size: clamp(26px, 3.5vw, 40px);
  opacity: 0;
  color:#eeb543d4;
  animation: slideUp 1s ease forwards;
  animation-delay: 0.4s;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  z-index: 2;
}

/* TAGLINE */
.p-tagline {
  text-shadow: 0 1px 2px rgba(24720, 244, 244, 0.6);
background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  z-index: 2;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: #efe8df;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.9s;
}

/* ================= SECTION 2 ================= */
/* ================= SECTION 2 ================= */
#section-2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
  color: #fff;
  gap: 60px; /* space between left and right */
  position: relative;  /* NEW */
  z-index: 0;
}

/* Left column */
.section-left {
  background-color: #080612;
  padding: 40px ;
  max-width: 400px;
  flex: 1;
  text-align: left;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Level + Title + Desc */
.section-level {
  font-size: 12px;
  letter-spacing: 2px;
  color: #7d7998;
  text-transform: uppercase;
}

.section-title {
  margin-top: 8px;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: #ffffff;
}

.section-desc {
  margin-top: 16px;
  font-size: 14px;
  max-width: 500px;
  line-height: 1.6;
  color: #9a96b5;
}

/* Tabs */
.section-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.section-tabs span {
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  font-size: 13px;
  color: #bdbad3;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.section-tabs span:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* Right column */
.section-right {
  flex: 1.5;
  
}

/* ================= CARDS GRID ================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* Individual Card */
.card {
  background-color: #080612;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 30px 24px;
  text-align: left;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
  position: relative;
}

.card-category {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9f9bb8;
  margin-bottom: 8px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #a5a1c1;
  margin-bottom: 16px;
}

.card-link {
  font-size: 13px;
  color: #d4af37;
  font-weight: 500;

}

/* Hover pop effect: moves left and raises slightly */
.card:hover {
  transform: translate(-12px, -8px);
  box-shadow: 0 28px 40px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.15);
  cursor: pointer;
}

/* ================= MODAL STYLES ================= */
/* ================= MODAL CONTENT STYLING ================= */
.modal-body {
    padding: 20px 10px;
    font-family: "Inter", sans-serif;
}

/* The Sub-headers (Level 1, THE FIRM etc) */
.modal-level {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8e8e93;
    margin-bottom: 4px;
}

/* Main Modal Titles */
.modal-body h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

/* White Content Blocks (Like in your image) */
.modal-info-card {
    background: #ffffff;
    color: #1c1c1e;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.modal-info-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #000;
}

.modal-info-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #3a3a3c;
}

/* Dark Highlight Block */
.modal-dark-block {
    background: #12101f;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.modal-dark-block h3 {
    color: #d4af37;
    margin-bottom: 15px;
}

/* Grid for the Bottom Nodes */
.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.modal-grid-item {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #d4af37;
}

.modal-grid-item h4 {
    font-size: 12px;
    color: #d4af37;
    margin-bottom: 5px;
}
/* ================= BASE MODAL CONTAINER (FIX) ================= */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); /* Dark overlay */
  backdrop-filter: blur(10px);    /* Blur effect */
  display: none;                  /* Hidden by default */
  justify-content: center;
  align-items: flex-start;        /* Start from top for scrolling */
  z-index: 2000;
  overflow-y: auto;               /* Allows scrolling if content is long */
  padding: 40px 20px;
}

.modal-content {
  background-color: #0b0a17;
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: auto; /* Centers the content */
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 35px;
  cursor: pointer;
  color: #8e8e93;
  transition: color 0.3s;
  line-height: 1;
}

.modal-close:hover {
  color: #ffffff;
}

/* Blur the background when open */
body.modal-open #sec1-nav-intro, 
body.modal-open #section-2 {
  filter: blur(8px);
  pointer-events: none;
}
/* ================= ADVANCED MODAL DASHBOARD ================= */
.modal-content {
    background-color: #05040a;
    border-radius: 0; /* Sharp corners for a more "military/corporate" feel */
    padding: 0;
    max-width: 1100px;
    width: 95%;
    border: 1px solid rgba(184, 181, 255, 0.2);
    overflow: hidden;
    position: relative;
    scrollbar-width: none;   
}

.modal-split-container {
    display: grid;
    grid-template-columns: 350px 1fr; /* Left Briefing, Right Operations */
    min-height: 600px;
}

/* Left Sidebar (The Briefing) */
.modal-briefing {
    background: linear-gradient(180deg, #0b0a17 0%, #05040a 100%);
    padding: 60px 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-briefing h2 {
    font-size: 38px;
    line-height: 1.1;
    margin: 20px 0;
    color: #fff;
    border: none;
    padding: 0;
}

.brief-text {
    color: #8e8e93;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.brief-status {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brief-status span {
    font-size: 10px;
    letter-spacing: 2px;
    color: #d4af37;
    padding: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
}

/* Right Content Area (The Operations) */
.modal-operations {
    padding: 60px;
    background: rgba(255, 255, 255, 0.02);
    overflow-y: auto;
    scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;
    max-height: 85vh;
}

.modal-operations::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Redesigned White Info Card */
.modal-info-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 4px; /* Slight roundness */
    margin-bottom: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.5);
}

.modal-info-card h3 {
    color: #000;
    font-size: 24px;
    margin: 10px 0;
}

.modal-info-card p {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

/* Dark Block Styling */
.modal-dark-block {
    background: rgba(212, 175, 55, 0.05);
    border-left: 4px solid #d4af37;
    padding: 30px;
    margin-top: 20px;
}

.modal-dark-block h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

/* ================= ROLE GRID STYLING ================= */
.role-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 10px;
}

.role-item {
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    padding-left: 20px;
    transition: all 0.3s ease;
}

.role-item:hover {
    border-left: 1px solid #d4af37;
    background: rgba(212, 175, 55, 0.08);
}

.role-accent {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.role-caption {
    color: #d4af37; /* Golden Accent */
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    margin-top: 10px;
}

.role-desc {
    color: #9a96b5; /* Soft gray for high-end look */
    font-size: 14px;
    line-height: 1.6;
    max-width: 600px;
}

.modal-list {
    margin-top: 20px;
    padding-left: 20px;
    color: #444;
    font-size: 14px;
    line-height: 1.8;
}

.modal-list li::marker {
    color: #d4af37;
}

/* section 3 */
/* ================= SECTION 3 ================= */
#section-3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 120px 60px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
  position: relative;
  z-index: 0;
}

#section-3 .section-left {
  flex: 1;
  max-width: 400px;
  position: sticky;
  top: 150px;
  padding: 40px;
  background-color: #080612;

}

#section-3 .section-right {
  flex: 2; /* Increased weight to fit two boxes side-by-side */
}

/* Updated Grid: 2 boxes per row */
#section-3 .cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* This creates the 2-column row */
  gap: 25px; 
  width: 100%;
  
}

/* Card Styling: Ensuring uniform box shapes */
.slide-card {
  display: flex;
  flex-direction: column;
  min-height: 260px; /* Uniform height for the boxes */
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  z-index: 2;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  
  /* Initial state for slide-in effect */
  opacity: 0;
  transform: translateX(60px); 
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Specific logic for the first card if you want it to stand alone, 
   otherwise it will sit in the first slot of the grid */
.slide-card:nth-child(1) {
    height: 290px;
}

/* Reveal class triggered by JS */
.slide-card.reveal {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered Delay */
.slide-card:nth-child(1) { transition-delay: 0.1s; }
.slide-card:nth-child(2) { transition-delay: 0.2s; }
.slide-card:nth-child(3) { transition-delay: 0.3s; }

/* Clean Header Styling */
.card-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  padding-bottom: 12px;
}

.card-id {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #d4af37;
}

.card-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: #ffffff;
}

.card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}


/* ================= SECTION 4 (MIRROR OF SECTION 2) ================= */
/* ================= SECTION 4 (UNIFORM WITH SECTION 2) ================= */
#section-4 {
    display: flex;
    flex-direction: row-reverse; /* Flips the layout: Text Right, Cards Left */
    justify-content: space-between;
    align-items: flex-start;
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
    z-index: 0; /* Match Section 2 */
}
.s4-level{
  font-size: 12px;
  letter-spacing: 2px;
  color: #7d7998;
}

.s4-left-text-container {
    flex: 1;
    max-width: 400px;
    text-align: left;
    background-color: #080612;
    padding: 40px;
}

/* Match Section 2 Title/Desc Logic */
.s4-title {
    margin-top: 8px;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 600;
    color: #ffffff;
}

.s4-desc {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #9a96b5;
}

/* Match Section 2 Tab Styles */
.s4-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.s4-tabs span {
    padding: 6px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    font-size: 13px;
    color: #bdbad3;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.s4-tabs span:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

/* --- Cards Grid --- */
.s4-right-grid-container {
    flex: 1.5;
}

.s4-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

/* Individual Card - EXACT Section 2 Style */
.s4-card {
    background-color: #080612;
    border: 1px solid rgba(255,255,255,0.08); /* Uniform Border */
    border-radius: 18px;
    padding: 30px 24px;
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease; /* Uniform Transition */
    position: relative;
    cursor: pointer;
}

/* Card Hover - Match Section 2 Pop Effect */
.s4-card:hover {
    transform: translate(-12px, -8px); /* Uniform with Section 2 */
    box-shadow: 0 28px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.15);
}

.s4-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.s4-card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #a5a1c1;
    margin-bottom: 16px;
}

.s4-card-link {
    font-size: 13px;
    color: #d4af37;
    font-weight: 500;
}

/* ================= SECTION 5 ================= */
#section-5 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 120px 60px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

#section-5 .section-left {
  flex: 1;
  max-width: 450px;
  position: sticky;
  top: 150px;
  padding: 40px;
  
}

#section-5 .section-right {
  flex: 1.5;
}


/* Reusing your existing .slide-card and .reveal classes for Section 5 */
#section-5 .card-id {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #d4af37;/* Unique color accent for Private Capital section */
  
}

#section-5 .card-header {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 15px;
  padding-bottom: 10px;
}

#section-5 .card-link{
  
    font-size: 13px;
    color: #d4af37;
    font-weight: 500;
}
/* Staggered Delay for Section 5 cards */
#section-5 .slide-card:nth-child(1) { transition-delay: 0.1s; }
#section-5 .slide-card:nth-child(2) { transition-delay: 0.3s; }


#section-5 .card{
  height: auto;
}

/* Reusing Section 2 Logic for Section 6 */
/* SECTION 6: Global Markets & Treasury */
#section-6 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
  color: #fff;
  gap: 60px;
  position: relative;
}

/* Left Column - Fixed Width logic from Section 2 */
#section-6 .section-left {
  background-color: #080612;
  padding: 40px;
  max-width: 400px;
  flex: 1;
  text-align: left;
}

#section-6 .section-level {
  font-size: 12px;
  letter-spacing: 2px;
  color: #7d7998;
  text-transform: uppercase;
}

#section-6 .section-title {
  margin-top: 8px;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: #ffffff;
}

#section-6 .section-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #9a96b5;
}

/* Single Tab Logic */
#section-6 .section-tabs {
  display: flex;
  justify-content: flex-start;
  margin-top: 28px;
}

#section-6 .section-tabs span {
  padding: 8px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #bdbad3;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Right Column - Single Card logic */
#section-6 .section-right {
  flex: 1.5;
}

#section-6 .card {
  background-color: #080612;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  text-align: left;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

#section-6 .card:hover {
  transform: translate(-10px, -5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
}

#section-6 .card-category {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9f9bb8;
  margin-bottom: 12px;
}

#section-6 .card-title {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

#section-6 .card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #a5a1c1;
  margin-bottom: 24px;
}

/* Internal Pill Styling */
.card-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.pill {
  font-size: 11px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  color: #8fa1b3;
}

/* Footer Link */
#section-6 .card-link {
  display: inline-block;
  font-size: 13px;
  color: #d4af37;
  font-weight: 500;
  text-decoration: none;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

/* ================= SECTION 7 (Mirroring Section 3) ================= */
#section-7 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 120px 60px;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

#section-7 .section-left {
  flex: 1;
  max-width: 450px;
  position: sticky;
  top: 150px;
  background-color: #080612;
  padding: 40px;

}

#section-7 .section-right {
  flex: 1.5;
}

/* Reusing your slide-in animation logic */
#section-7 .slide-card {
  opacity: 0;
  transform: translateX(100px); 
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 30px;

}

#section-7 .slide-card.reveal {
  opacity: 1;
  transform: translateX(0);
}
/* Staggered Delay for Section 7 cards */
#section-7 .slide-card:nth-child(1) { transition-delay: 0.1s; }


/* ================= SECTION 8 (Assurance & Risk) ================= */
#section-8 {
    display: flex;
    flex-direction: row-reverse; /* Text Right, Cards Left */
    justify-content: space-between;
    align-items: flex-start;
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
    z-index: 0;
}

/* Left Grid Logic */
.s8-left-grid-container {
    flex: 1.5;
    padding: 40px;
}

.s8-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 980px;
}

/* Individual Card - Match Section 4 Style */
.s8-card {
    background-color: #080612;
    border-radius: 18px;
    padding: 40px;
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
    cursor: pointer;
}

.s8-card:hover {
    transform: translate(12px, -8px); /* Pop effect matching Section 4 */
    box-shadow: 0 28px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.15);
}

.s8-card-tag {
    font-size: 11px;
    letter-spacing: 1px;
    color: #d4af37;
    margin-bottom: 12px;
    display: block;
}

.s8-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.s8-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #a5a1c1;
    margin-bottom: 20px;
}

/* Right Text Logic */
.s8-right-text-container {
    flex: 1;
    max-width: 450px;
    text-align: left;
    background-color: #080612;
    padding: 20px;
}

.s8-level {
    font-size: 12px;
    letter-spacing: 2px;
    color: #7d7998;
    text-transform: uppercase;
    margin-top: 10px;
}

.s8-title {
    margin-top: 10px;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.1;
}

.s8-desc {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #9a96b5;
}

.s8-tabs {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;

}

.s8-tabs span:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-4px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); 
}

.s8-tabs span:active {
    transform: translateY(-1px);
    transition: 0.1s;
}
.s8-tabs span {
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    font-size: 13px;
    color: #bdbad3;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.s8-card:hover {
    transform: translate(-12px, -8px); 
    
}

/* ================= SECTION 9: INTELLIGENCE DIRECTORATE ================= */

#section-9 {
  display: flex;
  justify-content: center; /* center the whole section */
  align-items: flex-start;
  padding: 120px 60px;
  max-width: 1400px;
  margin: 0 auto; /* ensure container is centered */
  gap: 60px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

/* Left Content */
.s9-left-text-container {
  flex: 0 0 420px; /* fixed column width for consistent layout */
  max-width: 420px;
  position: sticky;
  top: 150px;
  background-color: #080612;
  padding: 40px;
  margin-right: 28px; /* spacing away from center content */
}

.s9-level {
    font-size: 12px;
    letter-spacing: 2px;
    color: #7d7998;
    text-transform: uppercase;
}

.s9-title {
    margin-top: 12px;
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.1;
}

.s9-desc {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #9a96b5;
}

/* Tabs with Pop Effect */
.s9-tabs {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.s9-tab-item {
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: #bdbad3;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy pop */
    cursor: pointer;
}

.s9-tab-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Right Grid & Sliding Animation */
.s9-right-grid-container {
  flex: 1;
  
  max-width: 820px; /* keep right content from stretching too wide */
  padding: 50px;
  
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    animation: slideIn 0.8s forwards ease-out;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.s9-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: start;
  justify-items: center; /* center cards inside the grid */
}

/* The Card Styling */
.s9-card {
  background: #080612;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}


.s9-card-tag {
    font-size: 11px;
    color: #7d7998;
    display: block;
    margin-bottom: 20px;
}

.s9-card-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 16px;
}

.s9-card-desc {
    font-size: 15px;
    color: #a5a1c1;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* The Link with Spacer Fix */
.s9-card-link-container {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-card-link {
    color: #d4af37;
    font-size: 14px;
    font-weight: 500;
    border: none;
}


/* ================= SECTION 10 STYLES ================= */
#section-10 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
  color: #fff;
  gap: 60px;
  position: relative;
  z-index: 0;

 /* Darker background to make cards pop */
}

/* Left Column */
#section-10 .section-left {
    background-color: #080612;
  max-width: 400px;
  flex: 1;
  text-align: left;
  padding: 40px;
}

#section-10 .section-level {
  font-size: 12px;
  letter-spacing: 2px;
  color: #7d7998;
  text-transform: uppercase;
}

#section-10 .section-title {
  margin-top: 8px;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

#section-10 .section-desc {
  margin-top: 16px;
  font-size: 14px;
  max-width: 500px;
  line-height: 1.6;
  color: #9a96b5;
}

/* Tabs */
#section-10 .section-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

#section-10 .section-tabs span {
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #bdbad3;
  cursor: pointer;
  transition: all 0.3s ease;
}

#section-10 .section-tabs span:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px); /* Tab pop-up effect */
  color: #fff;
}

/* Right Column & Cards */
#section-10 .section-right {
  flex: 1;
  margin-top: 0;
  max-width: 820px; /* keep right content from stretching too wide */
  padding: 90px;

}

#section-10 .cards-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

#section-10 .card {
  background-color: #080612;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px 24px;
  text-align: left;
  position: relative;
}

#section-10 .card-category {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7d7998;
  margin-bottom: 8px;
}

#section-10 .card-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

#section-10 .card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #a5a1c1;
  margin-bottom: 20px;
}

#section-10 .card-link {
  
  font-size: 13px;
  color:#d4af37; /* Amber/Gold accent matching the image logic */
  font-weight: 500;
  text-decoration: none;
}

/* The Hover Pop-Up Effect */
#section-10 .card:hover {
  transform: translate(-12px, -8px);
  box-shadow: 0 28px 40px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.15);
  cursor: pointer;
}


/* ================= SECTION 11: ASSET MANAGEMENT ================= */

#section-11 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 120px 60px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 80px;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

/* Left Content */
.s11-left-text-container {
    flex: 1;
    max-width: 480px;
    background-color: #080612;
    margin-top: 10px;
    padding: 40px;
}

.s11-level {
    font-size: 12px;
    letter-spacing: 2px;
    color: #7d7998;
    text-transform: uppercase;
}

.s11-title {
    margin-top: 12px;
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.1;
}

.s11-desc {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #9a96b5;
}

/* Tabs with Pop Effect */
.s11-tabs {
    display: flex;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.s11-tab-item {
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: #bdbad3;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy pop */
    cursor: pointer;
}

.s11-tab-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Right Grid & Sliding Animation */
.s11-right-grid-container {
    flex: 1.5;
    padding-top: 70px;
  }
  
  /* Re-using the slideIn keyframe from your S9 logic */
.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    animation: slideInWealth 0.8s forwards ease-out;
}

@keyframes slideInWealth {
    to {
        opacity: 1;
        transform: translateX(0);
    }
  }
  
  .s11-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* The Card Styling */
.s11-card {
    background: #080612;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

/* Slight Pop Effect for Card */
.s11-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.s11-card-tag {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #7d7998;
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.s11-card-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 16px;
}

.s11-card-desc {
    font-size: 15px;
    color: #a5a1c1;
    line-height: 1.6;
    margin-bottom: 30px;
}



.card-linkk {
  color:#d4af37; /* Greenish/Mint accent to match the visual feel of Wealth management */
    font-size: 14px;
    font-weight: 500;
    border: none;
    text-decoration: none;
}

/* ================= SECTION 12 ================= */
#section-12 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
  color: #fff;
  gap: 60px;
  position: relative;
  z-index: 0;
}

/* Visibility Fix for Left Column */
#section-12 .section-left {
  flex: 1;
  max-width: 450px;
  background-color: #080612; /* Distinct dark color */
  padding: 40px;            /* Added padding so text isn't cramped */
  text-align: left;
}

#section-12 .section-level {
  font-size: 12px;
  letter-spacing: 2px;
  color: #7d7998;
  text-transform: uppercase;
  margin-bottom: 10px;
}

#section-12 .section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

#section-12 .section-desc {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #9a96b5;
}

/* Tabs Hover Pop */
#section-12 .section-tabs {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

#section-12 .section-tabs span {
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #bdbad3;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#section-12 .section-tabs span:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Right Side - Cards Grid */
#section-12 .section-right {
  flex: 1.8;
}

#section-12 .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* THE HOVER POP CARD */
#section-12 .cardd {
  background-color: #080612;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 35px 28px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.4s ease, 
              border 0.4s ease;
  cursor: pointer;
}

#section-12 .card:hover {
 transform: translate(-12px, -8px);
  box-shadow: 0 28px 40px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.15);
  cursor: pointer;
}

#section-12 .card-category {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #7d7998;
  margin-bottom: 12px;
}

#section-12 .card-title {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

#section-12 .card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #a5a1c1;
  margin-bottom: 24px;
}

#section-12 .card-link {
  font-size: 13px;
  color: #d4af37;
  font-weight: 500;
}
/* ================= SECTION 13: INVESTOR RELATIONS ================= */
#section-13 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
  color: #fff;
  gap: 60px;
  position: relative;
  z-index: 0;
}

#section-13 .section-left {
  flex: 0 0 400px;
  background-color: #080612;
  padding: 40px;
}

#section-13 .section-right {
  flex: 1.8;
}

#section-13 .cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

/* Base Card State - All cards now #080612 */
#section-13 .card {
  background-color: #080612; /* */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 35px;
  color: #ffffff;
  position: relative;
  
  /* Initial state for Intersection Observer slide-in */
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reveal State triggered by JavaScript */
#section-13 .card.reveal {
  opacity: 1;
  transform: translateX(0);
}

/* Logic for the tall left card spanning two rows */
#section-13 .card:nth-child(1) { 
  grid-row: span 2; 
  transition-delay: 0.1s; 
}

/* Staggered delays for other cards */
#section-13 .card:nth-child(2) { transition-delay: 0.3s; }
#section-13 .card:nth-child(3) { transition-delay: 0.5s; }

/* Sub-metrics/Sub-boxes styling based on Investor Relations image */
.sub-metrics-container, .sub-box-container {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sub-metric-box, .sub-info-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-label, .sub-box-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #d4af37; /* Accent color from IR images */
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.sub-metric-box p, .sub-info-box p {
  font-size: 13px;
  color: #a5a1c1;
  margin: 0;
  line-height: 1.4;
}

#section-13 .card-header {
  margin-bottom: 15px;
}

#section-13 .card-category {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #7d7998;
  text-transform: uppercase;
}

#section-13 .card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

#section-13 .card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #a5a1c1;
}


/* ================= SHARED DUAL-COLUMN LAYOUT ================= */
#section-14, #section-15, #section-16, #section-17 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
  color: #fff;
  gap: 60px;
  position: relative;
  z-index: 0;
}

#section-14 .section-left, 
#section-15 .section-left, 
#section-16 .section-left,
#section-17 .section-left {
  flex: 0 0 400px;
  background-color: #080612;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
}

/* Maintain identical card styling across all sections */
.dual-column-section .card {
  background-color: #080612;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 35px;
  color: #ffffff;
  position: relative;
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.dual-column-section .card.reveal {
  opacity: 1;
  transform: translateX(0);
}

.dual-column-section .card:nth-child(1) { grid-row: span 2; transition-delay: 0.1s; }
.dual-column-section .card:nth-child(2) { transition-delay: 0.3s; }
.dual-column-section .card:nth-child(3) { transition-delay: 0.5s; }

/* Sub-metric Styling for all levels */
.sub-metrics-container {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sub-metric-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #d4af37; /* Matching Section 13 Accent */
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
}
/* Removed card-link styles as per request */
/* Responsive Fix */



@media (max-width: 900px) {
    .modal-split-container {
        grid-template-columns: 1fr;
    }
    .modal-briefing {
        padding: 40px 30px;
    }
}
/* ================= ANIMATIONS ================= */
@keyframes shimmer {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

@keyframes slideUp {
  from { transform: translateY(22px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeUp {
  from { transform: translateY(28px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


#section-13 .card,
#section-14 .card,
#section-15 .card,
#section-16 .card,
#section-17 .card {
  cursor: default;
  pointer-events: none;
}




/* Dwarkadas STRATEGIC FINANCIAL FOOTER */

:root {
  --ozz-bg: #05080a;           /* Deep Obsidian Black */
  --ozz-gold: #c5a059;         /* Premium Accent Gold */
  --ozz-white: #ffffff;
  --ozz-muted: #a0a0a0;        /* Gray for secondary data */
  --ozz-border: rgba(255, 255, 255, 0.08);
  --ozz-glass: rgba(255, 255, 255, 0.03);
}

.dwarkadas-footer {
  background-color: var(--ozz-bg);
  color: var(--ozz-white);
  padding: 80px 5% 40px 5%;
  font-family: 'Inter', -apple-system, sans-serif;
  border-top: 1px solid var(--ozz-border);
  position: relative;
  z-index: 0;
  width: 100%;
  box-sizing: border-box;
}

/* 1. Main Grid Layout */
.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1fr; /* 4-column layout as per image */
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* 2. Section Headings */
.dwarkadas-footer h3 {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--ozz-muted);
  margin-bottom: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.col-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--ozz-white); /* High contrast for sub-headers */
}

/* 3. Identity & Regulatory Data (Monospaced) */
.id-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.id-details li {
  font-size: 12px;
  margin-bottom: 10px;
  color: var(--ozz-muted);
  line-height: 1.4;
}

.id-details span {
  color: var(--ozz-white);
  font-family: 'JetBrains Mono', 'Courier New', monospace; /* Professional data look */
  font-weight: 600;
  margin-right: 5px;
}

/* 4. Policy Links (Modal Triggers) */
.disclaimer {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 20px;
}

.policy-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-links a {
  color: var(--ozz-muted);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  width: fit-content;
}

.policy-links a:hover {
  color:#d4af37;
  transform: translateX(5px); /* Visual cue for interactive link */
}

/* 5. Status & Brand Badge */
.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  margin-bottom: 15px;
}

.mini-logo {
  height: 20px;
  filter: brightness(1.2);
}

.brand-badge p {
  font-size: 10px;
  letter-spacing: 2px;
  margin: 0;
  font-weight: 700;
  color:#d4af37;
}

.address {
  font-size: 12px;
  color: var(--ozz-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-methods p, .regulatory-offices p {
  font-size: 11px;
  margin: 5px 0;
  color: var(--ozz-muted);
}

.contact-methods a {
  color: var(--ozz-white);
  text-decoration: none;
  font-weight: 500;
}

/* 6. Officer Info (Bottom Drawer) */
.footer-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  margin: 60px auto 30px auto;
  max-width: 1400px;
  border-top: 1px solid var(--ozz-border);
  padding-top: 40px;
  gap: 40px;
}

.officer-box strong {
  display: block;
  font-size: 10px;
  color: var(--ozz-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.officer-box p {
  font-size: 13px;
  margin: 5px 0;
  color: var(--ozz-muted);
}

.officer-box small {
  color: var(--ozz-white);
  font-size: 12px;
  display: block;
  margin-top: 5px;
}

/* 7. Copyright Footer Bar */
.footer-copyright {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--ozz-border);
  font-size: 11px;
  color: #ffffff;
  letter-spacing: 1px;
}

.
/* 8. Responsive Design */
@media (max-width: 1024px) {
  .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .footer-container { grid-template-columns: 1fr; }
  .footer-copyright { flex-direction: column; gap: 10px; text-align: center; }
}

.brand-badge img{
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

/* ===== CONTACT MODAL OVERRIDE ===== */

.modal-split-container {
  display: grid;
  grid-template-columns: 42% 58%;
  height: 100%;
  background: radial-gradient(circle at top left, #0e1020, #05040a 70%);
}

/* ===== LEFT PANEL ===== */

.modal-briefing {
  padding: 64px 56px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-briefing .modal-level {
  font-size: 11px;
  letter-spacing: 2px;
  color: #d4af3797;
  margin-bottom: 18px;
}

.modal-briefing h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 22px;
}

.modal-briefing .brief-text {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  max-width: 360px;
}

.brief-status {
  margin-top: 36px;
  padding: 10px 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  width: fit-content;
}

.brief-status span {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #d4af37;
}

/* ===== RIGHT PANEL ===== */

.modal-operations {
  padding: 64px 72px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}


.contact-form {
  width: 100%;
  max-width: 520px;
  display: grid;
  gap: 22px;
}

/* Labels */
.contact-form label {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  display: flex;
  gap: 6px;
}

.contact-form label span {
  color: #ff6b6b;
}

/* Inputs */
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.25s ease;
}

.contact-form textarea {
  resize: none;
  min-height: 110px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

/* Focus state */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

/* Footer note */
.form-note {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: -6px;
}

/* Button */
.send-btn {
  margin-top: 10px;
  align-self: flex-end;
  background: linear-gradient(135deg, #d4af37, #e8c9a0);
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.send-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.45);
}

.division {
  background: linear-gradient(180deg, #0c0e18, #07080f);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
}

.division-header {
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.division-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1),
              padding 0.3s ease;
  padding: 0 26px;
}

.division.active .division-content {
  /* Let JS set explicit inline maxHeight for smooth animation; keep padding for visible state */
  padding: 26px;
}

/* ===== Whitepaper pop-in navbar (inside modal operations) ===== */
.whitepaper-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 8px;
  margin-bottom: 18px;
  position: relative;
  top: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(5,4,10,0.65), rgba(5,4,10,0.6));
  backdrop-filter: blur(8px);
  border-radius: 12px;
}
.whitepaper-nav a {
  display: inline-block;
  padding: 8px 12px;
  color: #d4af37;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}
.whitepaper-nav a:hover, .whitepaper-nav a:focus {
  transform: translateY(-3px);
  background: rgba(184,181,255,0.08);
  color: #fff;
}

/* Improved drawer visual for divisions */
.division { box-shadow: 0 8px 30px rgba(3,3,6,0.6); }
.division-header {
  padding: 18px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.division-header h3 { margin: 0; font-size: 15px; color: #fff; }
.division-header .division-status {
  font-size: 12px; color: #8e8eff; background: rgba(122,124,255,0.08); padding: 6px 10px; border-radius: 999px;
}

/* Smooth height transition: uses max-height but we set explicit inline maxHeight in JS for precise animation */
.division .division-content p, .division .division-content .whitepaper-grid { color: rgba(255,255,255,0.85); }

/* Small screens: make nav horizontally scrollable */


/* ===== Unified slide-in transition for main sections ===== */
/* Applies the same entrance animation to cards/slide-cards in the listed sections */
#section-3 .card, #section-3 .slide-card,
#section-5 .card, #section-5 .slide-card,
#section-7 .card, #section-7 .slide-card,
#section-9 .card, #section-9 .slide-card,
#section-11 .card, #section-11 .slide-card,
#section-13 .card, #section-13 .slide-card,
#section-14 .card, #section-14 .slide-card,
#section-15 .card, #section-15 .slide-card,
#section-16 .card, #section-16 .slide-card {
  opacity: 0;
  transform: translateY(32px);
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease;
  will-change: transform, opacity;
}

/* Reveal state added by JS IntersectionObserver */
#section-3 .card.reveal, #section-3 .slide-card.reveal,
#section-5 .card.reveal, #section-5 .slide-card.reveal,
#section-7 .card.reveal, #section-7 .slide-card.reveal,
#section-9 .card.reveal, #section-9 .slide-card.reveal,
#section-11 .card.reveal, #section-11 .slide-card.reveal,
#section-13 .card.reveal, #section-13 .slide-card.reveal,
#section-14 .card.reveal, #section-14 .slide-card.reveal,
#section-15 .card.reveal, #section-15 .slide-card.reveal,
#section-16 .card.reveal, #section-16 .slide-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: small stagger for first three cards to create a pleasing cascade */
#section-3 .card:nth-child(1), #section-5 .card:nth-child(1), #section-7 .card:nth-child(1),
#section-9 .card:nth-child(1), #section-11 .card:nth-child(1), #section-13 .card:nth-child(1),
#section-14 .card:nth-child(1), #section-15 .card:nth-child(1), #section-16 .card:nth-child(1) {
  transition-delay: 0.06s;
}
#section-3 .card:nth-child(2), #section-5 .card:nth-child(2), #section-7 .card:nth-child(2),
#section-9 .card:nth-child(2), #section-11 .card:nth-child(2), #section-13 .card:nth-child(2),
#section-14 .card:nth-child(2), #section-15 .card:nth-child(2), #section-16 .card:nth-child(2) {
  transition-delay: 0.12s;
}
#section-3 .card:nth-child(3), #section-5 .card:nth-child(3), #section-7 .card:nth-child(3),
#section-9 .card:nth-child(3), #section-11 .card:nth-child(3), #section-13 .card:nth-child(3),
#section-14 .card:nth-child(3), #section-15 .card:nth-child(3), #section-16 .card:nth-child(3) {
  transition-delay: 0.18s;
}





/* Tab Navigation Styling */
.whitepaper-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-tab {
    padding: 17px 18px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    background: transparent;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab.active {
    background: #ffffff;
    color: #05040a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Viewport for Cards - Scrollbar Hidden */
.division-viewport {
    flex: 1;
    height: 520px;
    overflow-y: auto;
    padding-right: 15px;
    /* Hide scrollbar for Chrome, Safari and Opera */
    &::-webkit-scrollbar {
        display: none;
    }
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.division-pane {
    display: none; 
}

.division-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Content Grid Styling (Enhanced High-Density Look) */
.whitepaper-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
    margin-top: 20px;
}

.whitepaper-card {
    background: transparent;
    border-left: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.3s ease;
}

.whitepaper-card:hover {
    border-left-color: #d4af37;
}

.whitepaper-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.whitepaper-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin: 0;
}

.access-tag {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    cursor: pointer;
    opacity: 0.8;
}

.access-tag:hover {
    text-decoration: underline;
    opacity: 1;
    color: #d4af37;
}

/* Division Header Detail */
.division-header-alt h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 4px;
}

.division-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}
