:root {
    --primary-color: #0077B6;
    --secondary-color: #90E0EF;
    --accent-color: #ff9e00;
    --dark-blue: #03045e;
    --light-blue: #caf0f8;
    --white: #ffffff;
    --black: #111111;
    --gray-100: #f8fafc;
    --gray-200: #edf2f7;
    --gray-300: #d1d5db;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Inter', sans-serif; 
    color: var(--black); 
    line-height: 1.6; 
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 800; 
    color: var(--dark-blue); 
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--white) !important;
    letter-spacing: -1px;
}

.logo span { color: var(--secondary-color) !important; transition: var(--transition); }
.logo i, .logo svg { stroke: var(--white); transition: var(--transition); }

.main-header.scrolled .logo { color: var(--primary-color) !important; }
.main-header.scrolled .logo span { color: var(--dark-blue) !important; }
.main-header.scrolled .logo i, .main-header.scrolled .logo svg { stroke: var(--primary-color); }

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after { width: 100%; }

.main-header.scrolled .nav-links a { 
    color: var(--gray-700) !important; 
    text-shadow: none; 
}
.main-header.scrolled .nav-links a:hover { color: var(--primary-color) !important; }

.nav-cta {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.3);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 119, 182, 0.4);
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    margin-bottom: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(3, 4, 94, 0.85) 0%, rgba(3, 4, 94, 0.5) 50%, rgba(3, 4, 94, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 100px 20px 40px;
}

.hero h1 {
    font-size: clamp(2.8rem, 9vw, 4.5rem);
    color: var(--white) !important;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 50px;
    color: var(--white);
    opacity: 1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 20px 45px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: var(--secondary-color);
    color: var(--dark-blue);
}

/* Overlap Grid */
.grid-overlap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: -120px;
    position: relative;
    z-index: 10;
    padding-bottom: 50px;
}

/* Sections */
section { padding: 100px 0; }
.bg-gray { background-color: var(--gray-100); }

.section-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: var(--dark-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 5px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img { transform: scale(1.08); }

.card-body { padding: 35px; flex-grow: 1; }
.card-category { font-size: 0.85rem; font-weight: 800; color: var(--primary-color); text-transform: uppercase; margin-bottom: 15px; display: block; letter-spacing: 1px; }
.card-body h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--dark-blue); }
.card-body p { color: var(--gray-600); font-size: 1rem; line-height: 1.7; }

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--black);
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

/* FAQ Accordion */
.faq-accordion { max-width: 900px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-md); }

.faq-header {
    width: 100%;
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark-blue);
    text-align: left;
    transition: var(--transition);
}

.faq-header:hover { color: var(--primary-color); }
.faq-header.active { background-color: var(--gray-100); color: var(--primary-color); }
.faq-header i { transition: transform 0.4s ease; stroke-width: 3; }
.faq-header.active i { transform: rotate(180deg); }

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content p { padding: 0 35px 30px; color: var(--gray-600); line-height: 1.8; font-size: 1.05rem; }

/* Article Layout with Sidebar */
.article-hero { height: 55vh; min-height: 500px; }
.article-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 120px;
}

.article-main {
    background: var(--white);
    padding: 70px;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-sticky {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--white);
    padding: 35px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.sidebar-widget h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 45px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.sidebar-cta h3 { color: var(--white); margin-bottom: 20px; font-size: 1.7rem; line-height: 1.2; }
.sidebar-cta p { opacity: 0.95; margin-bottom: 30px; font-size: 1rem; line-height: 1.6; }

.rich-text h2 { margin: 50px 0 25px; font-size: 2rem; border-left: 6px solid var(--primary-color); padding-left: 25px; color: var(--dark-blue); }
.rich-text h3 { margin: 40px 0 20px; font-size: 1.6rem; color: var(--primary-color); }
.rich-text p { margin-bottom: 30px; font-size: 1.15rem; line-height: 1.9; color: var(--gray-700); }
.rich-text ul { margin-bottom: 30px; padding-left: 30px; list-style: none; }
.rich-text li { margin-bottom: 15px; font-size: 1.15rem; color: var(--gray-700); position: relative; }
.rich-text li::before { content: '•'; color: var(--primary-color); font-weight: bold; position: absolute; left: -20px; font-size: 1.5rem; line-height: 1; }

/* Social Icons & Share Buttons */
.share-links { display: flex; align-items: center; gap: 12px; }
.share-btn {
    display: flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; border-radius: 50%;
    background: var(--black) !important; color: var(--white) !important; 
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.share-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); filter: brightness(1.2); }

/* Force SVGs & Icons to be white */
.share-btn svg, .share-btn i, .share-btn path, .share-btn rect, .share-btn circle {
    stroke: var(--white) !important;
    color: var(--white) !important;
}

/* X-logo specifically uses fill */
.share-btn.x svg, .share-btn.x path { 
    fill: var(--white) !important; 
    stroke: none !important; 
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 120px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-col h4 { color: var(--white); margin-bottom: 35px; font-size: 1.4rem; }
.footer-links li { margin-bottom: 18px; }
.footer-links a { color: #cbd5e0; font-size: 1.05rem; }
.footer-links a:hover { color: var(--secondary-color); padding-left: 5px; }

.footer-bottom {
    padding-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #a0aec0;
    font-size: 1rem;
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .article-layout { grid-template-columns: 1fr; gap: 50px; }
    .sidebar-sticky { position: static; }
    .article-main { padding: 50px 30px; }
}

@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .main-header { padding: 20px 0; }
    .hero h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .video-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2.2rem; }
    .grid-overlap { margin-top: -60px; padding: 0 20px; }
    .article-layout { margin-top: 0px; }
}