:root {
    --primary: #0056b3;
    --primary-light: #3378c2;
    --primary-dark: #004494;
    --secondary: #00a8cc;
    --accent: #ff6b6b;
    --text: #333333;
    --text-light: #666666;
    --surface: #ffffff;
    --bg: #f8f9fa;
    --border: #e9ecef;
    --font-main: 'Outfit', sans-serif;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

.text-lg {
    font-size: 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    /* Pill shape */
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ivas-logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
}

.header-cta {
    display: flex;
    gap: 1rem;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 600px;
    /* Reduced from fullscreen to typical hero height */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 4rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 30, 80, 0.8) 0%, rgba(0, 30, 80, 0.4) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-message {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Dynamic Boxes */
.hero-dynamic-boxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dynamic-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: transform 0.3s;
    cursor: pointer;
}

.dynamic-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.box-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dynamic-box p {
    font-weight: 500;
    margin: 0;
}

/* RESOURCES SECTION */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.fallback-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
}

.resource-card h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.resource-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.card-link::after {
    content: '→';
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.2s;
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* SPLIT SECTION */
.info-split-section {
    padding: 5rem 0;
    background: white;
}

.split-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.membership-card {
    background: var(--primary);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.membership-card h2 {
    color: white;
    font-size: 1.8rem;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.benefit-list {
    margin: 2rem 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.check-icon {
    background: var(--secondary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.about-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* PARTNERS */
.partners-section {
    padding: 4rem 0;
    background: var(--bg);
}

.partners-scroller {
    margin-top: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.partners-scroller::-webkit-scrollbar {
    display: none;
}

.partners-track {
    display: flex;
    gap: 3rem;
    justify-content: center;
    /* Centered if few, scrollable if many */
    min-width: min-content;
}

.partner-item img {
    height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.partner-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer */
.site-footer {
    background-color: #1a202c;
    color: #cbd5e0;
    padding: 5rem 0 2rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-col a:hover {
    color: white;
}