        :root {
            --primary-blue: #355e93;
            --nav-bg: #141414;
            --accent-gold: #254267;
            --dark-bg: #ffffff;
            --sidebar-gray: #ebeff5;
            --text-light: #333333;
            --uswds-gray: #15263b;
        }
        body {
            font-family: 'Lato', 'Oswald', 'Crimson Pro', 'Arial', 'Times New Roman', sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--dark-bg);
            color: var(--text-light);
            line-height: 1.6;
        }


        /* 1. USWDS Official Banner */
        .usa-banner { background-color: var(--uswds-gray); font-size: .90rem; color: #ffffff; }
        .usa-banner-header { 
            max-width: 1440px; /* Aligned with main container */
            margin: 0 auto;
            padding: 5px 20px; 
            display: flex; 
            align-items: center; 
            justify-content: space-between;
            font-family: Arial, Helvetica, sans-serif;
        }
        .banner-left-content { display: flex; align-items: center; }
        .usa-banner-header img { width: 16px; margin-right: 10px; }
        .usa-banner-button { background: none; border: none; color: #ebeff5; text-decoration: underline; cursor: pointer; font-size: 0.75rem; margin-left: 5px; padding: 0; }
        
        .banner-social-links { display: flex; gap: 15px; align-items: center; }
        .banner-social-links a { color: #555; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
        .banner-social-links a:hover { color: var(--primary-blue); }

        .usa-banner-content { display: none; padding: 20px; background-color: var(--uswds-gray); border-top: 1px solid #dcdcdc; }
        .usa-banner-content-inner { max-width: 1024px; margin: 0 auto; display: flex; gap: 40px; }
        .usa-banner-content.is-visible { display: block; }
        .banner-guidance { flex: 1; display: flex; gap: 15px; }

        /* 2. Navigation & Hero */
/* Your Original Base Styles */
nav { 
    background-color: var(--nav-bg); 
    border-bottom: 1px solid #333; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    font-family: Arial, Helvetica, sans-serif;
}

/* Nav Links Desktop Styling */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: white; /* Adjust to match your theme */
    font-size: 16px;
    transition: color 0.3s;
}

/* Hide Hamburger on Desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* --- MOBILE STYLING (900px and below) --- */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Transform nav-links into a full-width dropdown */
    .nav-links {
        position: absolute;
        top: 100%; /* Sits right under the nav */
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0; /* Hidden by default */
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        border-bottom: 1px solid #333;
    }

    .nav-links.active {
        max-height: 400px; /* Adjust based on number of links */
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 20px;
        width: 100%;
    }

    /* Animation: Hamburger to 'X' when active */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

        .logo-placeholder { width: 75px; height: 75px; background-image: url("Assets/SOARC/SOARC_Logo.png") ; display: flex; align-items: center; justify-content: center; color: var(--accent-gold); font-weight: bold; font-size: 0.7em; background-repeat: no-repeat; }
        nav ul { list-style: none; display: flex; gap: 25px; margin: 0; }
        nav ul li a { color: #ffffff; text-decoration: none; font-weight: bold; text-transform:inherit; font-size: 1.3rem; font-weight: 200; }






.hero {
  height: 35vh;
  background: url("Assets/SOARC/gradient_topo.png") center/cover no-repeat;
  background-color: #222;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;   /* vertical centering */
  align-items: center;       /* centers the inner container horizontally */
  border-bottom: 4px solid var(--accent-gold);
}

.hero-inner {
  width: 100%;
  max-width: 1440px;         /* <-- aligns content at 1440 on large screens */
  padding: 0 2rem;           /* mobile-friendly side padding */
  text-align: left;        /* center the text inside */
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 2.5rem);
  margin: 0;
  text-transform: none;
  letter-spacing: 6px;
  color: white;
}

.hero-social-row {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: flex-start; /* LEFT aligned */
}

.hero-social-row a {
    color: var(--sidebar-gray);
    font-size: 1.0rem;
    transition: color 0.2s ease;
}

.hero-social-row a:hover {
    color: #0a4fa3;
}

.hero-share-dropdown {
    position: relative;
    display: inline-block;
    margin-top: 20px;
}

/* Mobile hero scaling */
@media (max-width: 900px) {
  .hero {
    background-position: center 20%;
    min-height: 420px;
    padding-top: 80px;
    padding-bottom: 60px;
  }
}

/* Tablet hero scaling */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    background-position: center 10%;
    min-height: 500px;
  }
}

.social-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--sidebar-gray);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-circle:hover {
    background-color: var(--sidebar-gray);
    color: #254267;
}

.share-toggle {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border-radius: 4px;
}

.share-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.share-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: white;
    border: 1px solid var(--primary-blue);
    border-radius: 4px;
    padding: 10px 12px;
    display: none;
    flex-direction: row;
    gap: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 10;
}

.share-menu a {
    font-size: 1.4rem;
    color: var(--primary-blue);
}

.share-menu a:hover {
    color: #0a4fa3;
}

/* Show menu when active */
.hero-share-dropdown.active .share-menu {
    display: flex;
}
/* makes hero larger on mobile */
@media (max-width: 900px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

p {
    font-size: 1.0rem;
    color: #333333;
    font-family: 'Lato', 'Oswald', 'Crimson Pro', 'Arial', 'Times New Roman', sans-serif;
}

h1, h2 {
    color: #333333;
}
h2 {
    font-size: 1.5rem;
}
h3 {
    font-size: 1.2rem;
    color: var(--primary-blue); 
    font-weight: 400;
}
    


        /* 3. Main Container ADJUSTED TO 1024px */
        .main-container { 
            max-width: 1440px; 
            margin: 50px auto; 
            padding: 0 20px; 
            display: flex; 
            gap: 40px; 
        }
        .main-content { flex: 2; }

        .sidebar {
    flex: 1;
    background-color: var(--sidebar-gray);
    border: 1px solid var(--accent-gold);
    border-top: 4px solid var(--accent-gold);
    padding: 25px;
    border-radius: 0px;
    height: fit-content;
    position: relative;
    overflow: visible; /* allow title box to sit above */
}

/* Adjust the decorative top-right shape */
.sidebar::before {
  top: 0;          /* lock to the top */
  right: 0;        /* lock to the right */
  transform: none; /* remove any offsets */
}

@media (max-width: 900px) {
  .sidebar::before {
    top: 0;
    right: 0;
    margin: 0;
    transform: none;
  }
}

.sidebar-font {
    font-family: 'Lato', 'Oswald','Arial', sans-serif;
}

.see-more-container {
    margin-top: 10px;
    max-width: 700px;
}

/* Hidden by default */
.see-more-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

/* Toggle button styled like DoW links */
.see-more-toggle {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
    font-size: 1rem;
    text-decoration: none;
}

.see-more-toggle:hover {
    text-decoration: underline;
}

.see-more-container1 {
    margin-top: 10px;
    max-width: 700px;
}

/* Hidden by default */
.see-more-text1 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

/* Toggle button styled like DoW links */
.see-more-toggle1 {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
    font-size: 1rem;
    text-decoration: none;
}

.see-more-toggle1:hover {
    text-decoration: underline;
}




/* Title box positioned top-right */
.sidebar-title-box {
    position: absolute;
    top: -34px; /* aligns with top border */
    right: 0;
    width: 33%; /* one-third width */
    background-color: var(--accent-gold);
    color: white;
    padding: 0px 0px 0px 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    

    /* angled left edge */
    clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%);
}

/* Title text */
.sidebar-title-text {
    display: block;
    font-size: 1.2rem;
}



/* Responsive behavior */
@media (max-width: 768px) {
    .sidebar-title-box {
        width: 45%; /* slightly larger for readability */
        clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
        padding: 8px 10px;
    }
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* smaller spacing */
    padding: 10px 0;
}

/* Smaller logo boxes */
.logo-box {
    width: 80%;
    height: 105px; /* smaller height */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sidebar-gray);
    border-radius: 6px;
    padding: 8px; /* reduced padding */
    background: #fff;

    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation */
.logo-box:nth-child(1) { animation-delay: 0.1s; }
.logo-box:nth-child(2) { animation-delay: 0.2s; }
.logo-box:nth-child(3) { animation-delay: 0.3s; }
.logo-box:nth-child(4) { animation-delay: 0.4s; }
.logo-box:nth-child(5) { animation-delay: 0.5s; }
.logo-box:nth-child(6) { animation-delay: 0.6s; }

/* Logo images smaller + tighter */
.logo-box img {
    max-width: 100%;   /* reduced from 100% */
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 100;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-box:hover img {
    filter: grayscale(100%);
    opacity: 100;
}

/* Tablet: 2 per row */
@media (max-width: 900px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .logo-box {
        height: 80px;
    }
}

/* Mobile: 1 per row */
@media (max-width: 600px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .logo-box {
        height: 70px;
        padding: 6px;
    }
    .logo-box img {
        max-width: 100%;
        max-height: 100%;
    }
}

/* Fade animation */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}




        /* 4. Tabs */
        .tab-buttons { 
            display: flex; 
            border-bottom: 2px solid #444; 
            margin-bottom: 20px; 
        }
        .tab-btn { 
            font-family: 'Lato', 'Arial', sans-serif; 
            background: none; 
            border: none; 
            color: #999; 
            padding: 12px 20px; font-size: 1.0rem; 
            font-weight: bold; 
            text-transform: uppercase; 
            cursor: pointer; 
            position: relative; }
        .tab-btn.active { color: var(--accent-gold); }
        .tab-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px; background-color: var(--accent-gold); }
        .tab-content { 
            display: none; 
            animation: fadeIn 0.5s;
            font-family: 'Lato', 'Arial', sans-serif; 
            font-size: .90rem;
        }
        
            .tab-content.active-content { display: block; }

        @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

        footer { background-color: #000; color: #666; padding: 40px; text-align: center; margin-top: 60px; }

        @media (max-width: 900px) {
            .main-container { flex-direction: column; }
            .nav-inner, .usa-banner-header { flex-direction: column; text-align: left; gap: 15px; }
            .usa-banner-content-inner { flex-direction: column; gap: 20px; }
        }

        .btn-center {
            text-align: center;
            margin-top: 10px;
}
        .subscribe-btn {
            background-color:#355e93;      /* deep navy blue */
            color: #ffffff;                 /* white text */
            padding: 14px 26px;
            border: none;
            border-radius: 1px;             /* slight rounding like the site */
            font-size: 1.1rem;
            cursor: pointer;
            text-transform: none;
            letter-spacing: 0.5px;
            font-family: 'Lato', 'Oswald', 'Crimson Pro', 'Arial', 'Times New Roman', sans-serif;
}

        .subscribe-btn:hover {
            background-color: #254267;      /* slightly darker on hover */
}

.tab-btn-link {
  text-decoration: none;
}

/* main-content folds to cards on mobile*/

/* Default desktop/tablet: no card styling */
.main-content .tab-content {
  background: none;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* MOBILE CARD MODE */
@media (max-width: 768px) {
  .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .main-content .tab-content {
    background: #ffffff;
    padding: 20px 18px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border: 1px solid #e2e2e2;
  }

  /* Improve readability on mobile */
  .main-content .tab-content p {
    font-size: 1rem;
    line-height: 1.55;
  }

  /* Make tab buttons full width on mobile */
  .tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .tab-buttons .tab-btn,
  .tab-buttons .tab-btn-link {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* hamburger code */
/* Hide nav links on mobile */
@media (max-width: 900px) {

  /* Start collapsed */
  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #141414;
    overflow: hidden;
    max-height: 0;
    padding: 0;
    margin: 0;
    transition: max-height .35s ease, padding .25s ease;
  }

  /* Expanded state — pushes page down */
  .nav-links.open {
    max-height: 500px; /* adjust if needed */
    padding: 20px 0;
  }

  .nav-links li a.social-circle {
  width: 30px;
  height: 30px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0; /* prevents stretching */
}


  /* Hamburger styling */
  #menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
  }

  #menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    transition: 0.3s ease;
  }

  /* Animate into X */
  #menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  #menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}


  /* Hamburger styling */
  #menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
  }

  #menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    transition: 0.3s ease;
  }

  /* Animate into X */
  #menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  #menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  /* Hide hamburger on desktop */
@media (min-width: 901px) {
  #menu-toggle {
    display: none;
  }
}
@media (max-width: 900px) {
  .nav-links li:last-child {
    align-self: flex-start; /* keeps icon small */
  }
}
.social-circle i {
  font-size: 14px;
}

/* Prevent the LinkedIn icon from stretching on mobile */
@media (max-width: 900px) {
  .nav-links li:last-child {
    align-self: center;      /* centers the icon horizontally */
    width: auto;             /* prevents full-width stretching */
  }

  .nav-links li:last-child a.social-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;             /* fixed circle size */
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border-radius: 50%;
    flex-shrink: 0;          /* prevents distortion */
    margin: 0 auto;          /* ensures perfect centering */
  }

  .nav-links li:last-child i {
    font-size: 14px;
    line-height: 1;
  }
}


/* MOBILE TYPOGRAPHY */
@media (max-width: 900px) {

  /* HERO TITLE */
  .hero h1,
  .hero-title {
    font-size: 1.9rem;      /* was likely 2.5–3rem */
    line-height: 1.2;
    font-weight: 700;
  }

  /* HERO SUBTITLE */
  .hero p,
  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.55;
    opacity: 0.95;
    margin-top: 10px;
  }

  /* SECTION HEADERS */
  h2 {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  /* BODY TEXT */
  p,
  .tab-content p,
  .main-content p {
    font-size: 1rem;
    line-height: 1.55;
  }

  /* TAB BUTTONS */
  .tab-btn,
  .tab-btn-link {
    font-size: 1rem;
    padding: 12px 16px;
  }

  /* NAVIGATION LINKS */
  .nav-links a {
    font-size: 1.05rem;
    line-height: 1.4;
  }
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet layout tuning */
@media (min-width: 768px) and (max-width: 1024px) {

  .main-container,
  .sidebar,
  .hero {
    padding-left: 40px;
    padding-right: 40px;
  }

  /* Tab buttons in 2 columns */
  .tab-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Sidebar spacing */
  .sidebar {
    margin-top: 40px;
  }

  /* Typography scale */
  h2 {
    font-size: 1.9rem;
  }

  p {
    font-size: 1.1rem;
  }
}
/* Shrink effect */
nav.shrink {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  transition: padding .25s ease, background .25s ease;
}
/* Global spacing */
section,
.main-container,
.sidebar,
footer {
  margin-bottom: 0px;
}

/* Mobile spacing */
@media (max-width: 900px) {
  section,
  .main-container,
  .sidebar,
  footer {
    margin-bottom: 30px;
  }
}

/* Tablet spacing */
@media (min-width: 768px) and (max-width: 1024px) {
  section,
  .main-container,
  .sidebar,
  footer {
    margin-bottom: 50px;
  }
}

