/* =========================
   GLOBAL STYLES
========================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*{
box-sizing:border-box;
}

body{
font-family:'Inter',Arial,Helvetica,sans-serif;
margin:0;
line-height:1.7;
color:#1a1a1a;
background:#f4f6f9;
letter-spacing:.2px;
scroll-behavior:smooth;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
/* =========================
   HEADER
========================= */

header{
background:linear-gradient(135deg,#0a3d62,#134e7a);
color:white;
padding:80px 20px;
text-align:center;
}

header h1{
margin:0;
font-weight:700;
font-size:2.2rem;
}

header p{
opacity:.9;
margin-top:10px;
}

/* =========================
   NAVBAR
========================= */

nav{
background:white;
padding:14px 10px;
box-shadow:0 2px 10px rgba(0,0,0,0.06);
position:sticky;
top:0;
z-index:1000;
}

.menu-toggle{
display:none;
width:30px;
height:22px;
cursor:pointer;
flex-direction:column;
justify-content:space-between;
}

.menu-toggle span{
display:block;
height:3px;
width:100%;
background:#0a3d62;
border-radius:2px;
transition:all .3s ease;
}

.main-nav{
list-style:none;
margin:0;
padding:0;
display:flex;
justify-content:center;
align-items:center;
flex-wrap:wrap;
}

.main-nav > li{
position:relative;
margin:0 14px;
}

.main-nav a{
color:#0a3d62;
text-decoration:none;
font-weight:600;
padding:8px 6px;
display:block;
transition:.25s;
}

.main-nav a:hover{
color:#134e7a;
}

/* =========================
   DROPDOWN
========================= */

#guidanceBtn::after{
content:" ▾";
font-size:12px;
margin-left:4px;
}

.dropdown{
position:relative;
}

.dropdown-menu{
display:none;
position:absolute;
top:100%;
left:0;
background:white;
min-width:260px;
max-height:320px;
overflow-y:auto;
box-shadow:0 10px 30px rgba(0,0,0,0.12);
border-radius:10px;
padding:8px 0;
z-index:999;
}

.dropdown-menu.show{
display:block;
}

.dropdown-menu li{
list-style:none;
width:100%;
}

.dropdown-menu a{
display:block;
padding:10px 16px;
text-align:left;
}

/* =========================
   SECTIONS
========================= */

section{
padding: 20px 20px;
max-width:1000px;
margin:auto;
scroll-margin-top:110px;
}

section h2{
color:#0a3d62;
margin-top:0;
font-weight:700;
margin-bottom:20px;
}

/* =========================
   CARDS (FINAL PREMIUM)
========================= */

body {
    background: #f4f7fb;
}

section {
    padding: 16px;
    max-width: 900px;
    margin: auto;
}

.card {
    background: #ffffff;
    padding: 16px 18px;
    border-radius: 14px;
    margin-bottom: 10px;

    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);

    transition: all 0.25s ease;
}

/* Subtle hover */
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* Active / expanded state */
.card.active {
    border-left: 4px solid #0b5ed7;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* Click feedback */
.card:active {
    transform: scale(0.98);
}

/* Title styling */
.card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0a3d62;
    margin: 0;
}

/* Accordion content */
.card-content {
    margin-top: 10px;
    font-size: 14px;
    color: #555;

    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Open state */
.card.active .card-content {
    max-height: 500px;
}

/* Inner items */
.card-content div {
    background: #f8fafc;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 8px;

    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

/* Inner hover */
.card-content div:hover {
    background: #eef4ff;
    transform: translateX(2px);
}
/* =========================
   BUTTONS
========================= */

.btn{
display:inline-block;
background:#0a3d62;
color:white;
padding:13px 22px;
margin:10px 6px;
text-decoration:none;
border-radius:8px;
font-weight:600;
transition:.25s;
}

.btn:hover{
background:#134e7a;
transform:translateY(-2px);
box-shadow:0 8px 18px rgba(0,0,0,0.15);
}
button:hover {
    background-color: #0a58ca;
    cursor: pointer;
}
/* =========================
   FOOTER
========================= */

footer{
background:#0a3d62;
color:white;
text-align:center;
padding:28px;
margin-top:40px;
font-size:14px;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width:768px){

header{
padding:60px 20px;
}

/* hamburger */

.menu-toggle{
display:flex;
}

/* mobile nav */

.main-nav{
display:none;
flex-direction:column;
background:white;
position:absolute;
top:65px;
left:0;
right:0;
padding:10px 0;
max-height:75vh;
overflow-y:auto;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.main-nav.active{
display:flex;
}

.main-nav li{
margin:4px 0;
}

.main-nav a{
padding:12px 18px;
font-size:16px;
}

/* mobile dropdown */

@media (max-width:768px){

.dropdown-menu{
position:relative;
max-height:250px;
overflow-y:auto;
}

}
/* make dropdown scrollable */
max-height:280px;
overflow-y:auto;

/* smoother scrolling on mobile */
-webkit-overflow-scrolling:touch;
}

}
.dropdown-menu li{
border-bottom:1px solid #eef1f5;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin: 20px 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* =========================
   HAMBURGER ANIMATION
========================= */

.menu-toggle.active span:nth-child(1){
transform:rotate(45deg) translate(5px,5px);
}

.menu-toggle.active span:nth-child(2){
opacity:0;
}

.menu-toggle.active span:nth-child(3){
transform:rotate(-45deg) translate(6px,-6px);
}

textarea{
    width:100%;
    max-width:600px;
    min-height:120px;
    padding:12px;
    font-size:14px;
    border-radius:6px;
    border:1px solid #d1d5db;
    resize:vertical;
}

textarea:focus{
    border-color:#2563eb;
    outline:none;
    box-shadow:0 0 0 2px rgba(37,99,235,0.1);
}

.char-counter{
    font-size:12px;
    color:#6b7280;
    margin-top:5px;
}
a:hover {
    color: #0b5ed7;
}

/* =========================
   MOBILE + GLOBAL TYPOGRAPHY FIX
========================= */

/* Base font scaling */
body {
    font-size: 15px;
}

/* Section spacing tighter */
section {
    padding: 12px 14px;
}

/* Cards tighter */
.card {
    padding: 14px 16px;
    margin-bottom: 8px;
}

/* Headings (main fix) */
.card h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

/* Accordion content text */
.card-content {
    font-size: 13px;
    margin-top: 8px;
}

/* Inner items */
.card-content div {
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 6px;
}

/* =========================
   DESKTOP SCALING (keeps it nice on big screens)
========================= */

@media (min-width: 768px) {
    body {
        font-size: 16px;
    }

    .card h3 {
        font-size: 16px;
    }

    .card-content {
        font-size: 14px;
    }
}
/* =========================
   FINAL OVERRIDE (FIX BIG TEXT + GAPS)
========================= */

/* Fix large headings inside cards */
.card h2 {
    font-size: 16px !important;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Reduce section spacing */
section {
    padding: 10px 12px !important;
}

/* Reduce card size */
.card {
    padding: 12px 14px !important;
    margin-bottom: 8px !important;
}

/* Reduce inner spacing */
.card-content {
    font-size: 13px;
    margin-top: 6px;
}

.card-content div {
    padding: 8px 10px;
    margin-bottom: 6px;
}
