@charset "UTF-8";

/**
 * CyBehave Main Stylesheet
 * Complete, production-ready CSS
 * Brand Colors: #6490A3 (Highlight), #4B506D (Headings)
 */

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

/* ==================== Base Styles ==================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    color: #1e293b;
    line-height: 1.6;
}

/* ==================== Header & Navigation ==================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6490A3;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

nav a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #6490A3;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ==================== Hero Section ==================== */
.hero {
    margin-top: 80px;
    padding: 8rem 5%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-compact {
    padding: 6rem 5% 3rem;
  max-width: 100%;
}

.hero-large {
    padding: 10rem 5% 6rem;
    min-height: 70vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(100, 144, 163, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(100, 144, 163, 0.1) 0%, transparent 50%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

/* Hero Grid Layout */
.hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 500px;
}

/* Image cell - positioned absolutely in background */
.hero-image-cell {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50%;
    max-width: 600px;
    z-index: 1;
    pointer-events: none;
}

.hero-image-cell img {
    width: 100%;
    height: auto;
    opacity: 0.15;
    object-fit: contain;
    display: block;
}

/* Text cell - overlays the entire grid with higher z-index */
.hero-text-cell {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
  max-width: 100%;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #4B506D;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    color: #6490A3;
}

.hero p {
    font-size: 1.35rem;
    color: #475569;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==================== Buttons ==================== */
.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: #6490A3;
    color: white;
}

.btn-primary:hover {
    background: #527a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 144, 163, 0.3);
}

.btn-secondary {
    background: white;
    color: #6490A3;
    border: 2px solid #6490A3;
}

.btn-secondary:hover {
    background: #f0f5f7;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

/* ==================== Sections ==================== */
section {
    padding: 6rem 5%;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;

}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #4B506D;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.8;
    max-width: 900px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 5%;
}

/* ==================== Mission Section ==================== */
.mission {
    background: white;
}

/* ==================== Lab Section ==================== */
.lab {
    background: #f8fafc;
}

.lab-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lab-features {
    list-style: none;
    margin: 2rem 0;
}

.lab-features li {
    padding: 1rem 0;
    padding-left: 2rem;
    color: #475569;
    font-size: 1.1rem;
    position: relative;
}

.lab-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #6490A3;
    font-weight: bold;
    font-size: 1.3rem;
}

.lab-visual {
    background: linear-gradient(135deg, #6490A3 0%, #527a8a 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lab-visual h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.lab-visual p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==================== Insights Section ==================== */
.insights {
    background: white;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.insight-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #6490A3;
}

.insight-card h3 {
    font-size: 1.5rem;
    color: #4B506D;
    margin-bottom: 1rem;
    font-weight: 700;
}

.insight-card p {
    color: #64748b;
    line-height: 1.7;
}

/* ==================== Articles Section ==================== */
.articles {
    background: #f8fafc;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #6490A3;
}

.article-card-image {
    background: linear-gradient(135deg, #6490A3 0%, #527a8a 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    background-size: cover;
    background-position: center;
}

.article-card-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    align-items: center;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Category Badge */
.content-category {
    background: #6490A3;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-block;
}

.article-card h3 {
    font-size: 1.6rem;
    color: #4B506D;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-card p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-link {
    color: #6490A3;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(100, 144, 163, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(100, 144, 163, 0.2);
}

.article-link:hover {
    color: white;
    background: #6490A3;
    border-color: #6490A3;
    transform: translateY(-2px);
}

.article-link::after {
    content: ' \2192';
}

/* ==================== Category Filter ==================== */
.category-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 0.95rem;
}

.category-btn:hover {
    background: #f8fafc;
    border-color: #6490A3;
    color: #6490A3;
    transform: translateY(-2px);
}

.category-btn.active {
    background: #6490A3;
    color: white;
    border-color: #6490A3;
}

/* ==================== Pagination ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    transition: all 0.3s;
    min-width: 45px;
    text-align: center;
}

.pagination a:hover {
    background: #6490A3;
    color: white;
    border-color: #6490A3;
    transform: translateY(-2px);
}

.pagination .active {
    background: #6490A3;
    color: white;
    border-color: #6490A3;
}

/* ==================== Single Article/Insight View ==================== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6490A3;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.back-link::before {
    content: '\2190';
}

.back-link:hover {
    color: #527a8a;
    transform: translateX(-3px);
}

.article-header,
.insight-header {
    margin-bottom: 2rem;
}

.article-header h1,
.insight-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #4B506D;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.article-body,
.insight-body,
.resource-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2d3748;
}

.article-body h2,
.insight-body h2,
.resource-body h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: #4B506D;
}

.article-body h3,
.insight-body h3,
.resource-body h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
    color: #4B506D;
}

.article-body p,
.insight-body p,
.resource-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.insight-body ul,
.resource-body ul,
.article-body ol,
.insight-body ol,
.resource-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li,
.insight-body li,
.resource-body li {
    margin-bottom: 0.5rem;
}

.article-body a,
.insight-body a,
.resource-body a {
    color: #6490A3;
    text-decoration: underline;
}

.article-body a:hover,
.insight-body a:hover,
.resource-body a:hover {
    color: #527a8a;
}

.article-body blockquote,
.insight-body blockquote,
.resource-body blockquote {
    border-left: 4px solid #6490A3;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #64748b;
}

.article-body img,
.insight-body img,
.resource-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* ==================== Empty State ==================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: #4B506D;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #64748b;
    font-size: 1.1rem;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    color: #64748b;
    font-size: 1.1rem;
}

/* ==================== Resources Section ==================== */
.resources {
    background: #f8fafc;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.resource-card:hover {
    border-color: #6490A3;
    box-shadow: 0 10px 30px rgba(100, 144, 163, 0.1);
    transform: translateY(-3px);
}

.resource-card h3 {
    font-size: 1.5rem;
    color: #4B506D;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.resource-card p {
    color: #64748b;
    line-height: 1.7;
}

/* ==================== Education Section ==================== */
.education {
    background: white;
}

.education-intro-box {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.education-intro-title {
    font-size: 1.8rem;
    color: #4B506D;
    margin-bottom: 1rem;
    font-weight: 700;
}

.education-intro-text {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.education-card {
    background: linear-gradient(135deg, #f0f5f7, #e6eef1);
    border-radius: 16px;
    padding: 2.5rem;
    border: 2px solid #c8d8de;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(100, 144, 163, 0.2);
    border-color: #6490A3;
}

.education-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6490A3, #527a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.education-card h3 {
    font-size: 1.5rem;
    color: #6490A3;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.education-card h4 {
    font-size: 1.1rem;
    color: #4B506D;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.education-card p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.education-subtitle {
    font-weight: 600;
    color: #6490A3;
    margin-bottom: 0.8rem;
}

.education-card-footer {
    font-weight: 600;
    color: #6490A3;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.education-target {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.education-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.education-features li {
    padding: 0.5rem 0;
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-features li::before {
    content: '\2713';
    color: #6490A3;
    font-weight: bold;
    flex-shrink: 0;
}

/* Push the learn more link to bottom */
.education-card .article-link {
    margin-top: auto;
}

/* Udemy Box */
.udemy-box {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-top: 4rem;
    border: 2px solid #e2e8f0;
}

.udemy-title {
    font-size: 1.8rem;
    color: #4B506D;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.udemy-description {
    text-align: center;
    color: #475569;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.udemy-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.udemy-benefit-item {
    text-align: center;
}

.udemy-benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.udemy-benefit-title {
    font-weight: 600;
    color: #6490A3;
}

.udemy-benefit-text {
    color: #64748b;
    font-size: 0.95rem;
}

/* ==================== About Section ==================== */
.about {
    background: white;
}

.about-content {
    max-width: 100%;
}

/* ==================== Newsletter Section ==================== */
.newsletter {
    background: linear-gradient(135deg, #6490A3 0%, #527a8a 100%);
    color: white;
    
}

.newsletter h2 {
    color: white;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);

}

.newsletter-form {
    max-width: 500px;
    margin: 2.5rem auto 0;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: #4B506D;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #3a3e52;
    transform: translateY(-2px);
}

/* ==================== Contact Page ==================== */
.contact-section {
    padding: 4rem 5%;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form-card,
.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.contact-form-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #4B506D;
    font-weight: 700;
}

.contact-form {
    margin-top: 2rem;
}

.contact-info-card {
    position: sticky;
    top: 100px;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #4B506D;
    font-weight: 700;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6490A3, #527a8a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #4B506D;
    font-weight: 600;
}

.contact-info-item p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.contact-info-item a {
    color: #6490A3;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: #527a8a;
    text-decoration: underline;
}

.contact-cta {
    background: linear-gradient(135deg, #f0f5f7, #e6eef1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 2px solid #c8d8de;
    text-align: center;
}

.contact-cta h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #6490A3;
    font-weight: 700;
}

.contact-cta p {
    color: #64748b;
    margin-bottom: 1rem;
}

/**
 * Mobile Grid Fix for CyBehave
 * Fixes: Insights and Articles cards stacking on mobile
 */

/* ==================== Mobile Grid Fixes ==================== */

@media (max-width: 968px) {
    /* Insights Grid - Stack vertically on mobile */
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Articles Grid - Stack vertically on mobile */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Resources Grid - Stack vertically on mobile */
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Education Grid - Stack vertically on mobile */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Card Grid - Stack vertically on mobile */
    .card-grid,
    .card-grid-2,
    .card-grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Ensure cards take full width on mobile */
    .insight-card,
    .article-card,
    .resource-card,
    .education-card,
    .card,
    .content-card {
        width: 100%;
        max-width: 100%;
    }

    /* Adjust card padding on mobile for better spacing */
    .insight-card,
    .resource-card,
    .education-card {
        padding: 2rem 1.5rem;
    }

    .article-card-content {
        padding: 1.5rem;
    }

    /* Article card image height adjustment for mobile */
    .article-card-image,
    .content-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    /* Additional stacking for medium mobile devices */
    .insights-grid,
    .articles-grid,
    .resources-grid,
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Small mobile devices - ensure single column */
    .insights-grid,
    .articles-grid,
    .resources-grid,
    .education-grid,
    .card-grid,
    .card-grid-2,
    .card-grid-4 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Reduce padding on very small screens */
    .insight-card,
    .resource-card,
    .education-card,
    .article-card-content {
        padding: 1.5rem 1rem;
    }

    /* Adjust card titles for smaller screens */
    .insight-card h3,
    .article-card h3 {
        font-size: 1.3rem;
    }
}
/* ==================== Alternative: Solid Color Option ==================== */
/* If you prefer a completely solid background color on mobile, use this instead */

@media (max-width: 968px) {
    /* Uncomment to use solid color instead of gradient */
    /*
    .hero {
        background: #f8fafc;
    }
    */
}
/* ==================== Footer ==================== */
footer {
    background: #4B506D;
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-tagline {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #6490A3;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-socials a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #6490A3;
}

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

/* ==================== Forms ==================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #6490A3;
    box-shadow: 0 0 0 3px rgba(100, 144, 163, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-helper {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* ==================== Alerts ==================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-color: #3b82f6;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-color: #f59e0b;
}

/* ==================== Badges ==================== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-error {
    background: #fee2e2;
    color: #991b1b;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

/* ==================== CTA Links ==================== */
.cta-link {
    display: inline-block;
    color: #6490A3;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-link:hover {
    color: #527a8a;
}

.cta-link::after {
    content: ' \2192';
}

.cta-link-center {
    display: block;
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
}

/* ==================== Text Variants ==================== */
.lead-text {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.body-text {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
}

.intro-text {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
   
    margin: 0 auto;

}

.subtitle-spaced {
    margin-top: 1.5rem;
}

/* ==================== Modal ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: #1e293b;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-content h2 {
    font-size: 2rem;
    color: #4B506D;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-subtitle {
    font-size: 0.95rem !important;
    color: #64748b !important;
    margin-bottom: 2rem !important;
}

.modal-content .btn {
    margin-top: 1rem;
    min-width: 150px;
}

/* ==================== Utility Classes ==================== */
.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 968px) {
    .hero {
        padding: 6rem 5% 4rem;
    }
    
    .hero-large {
        padding: 8rem 5% 5rem;
        min-height: auto;
    }
    
    .hero-grid {
        display: block;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .hero-compact {
        padding: 5rem 5% 2.5rem;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    /* COMPLETELY HIDE image on mobile */
    .hero-image-cell {
        display: none !important;
    }
    
    .hero-text-cell {
        position: static;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 80px;
        right: 5%;
        background: white;
        flex-direction: column;
        gap: 0;
        width: 250px;
        max-width: calc(100% - 10%);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        padding: 1rem 0;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    nav ul.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    nav li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 1rem 1.5rem;
        color: #1e293b;
        border-bottom: 1px solid #f1f5f9;
    }

    nav li:last-child a {
        border-bottom: none;
    }

    nav a:hover {
        background: #f8fafc;
        color: #6490A3;
    }

    .lab-content,
    .resources-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .insights-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .education-card h4 {
        font-size: 1rem;
    }

    .udemy-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-filter {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }

    .category-btn {
        white-space: nowrap;
    }

    .pagination a,
    .pagination span {
        padding: 0.5rem 0.75rem;
        min-width: 35px;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    /* Ensure image stays hidden */
    .hero-image-cell {
        display: none !important;
    }
    
    .article-header h1,
    .insight-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .logo-image {
        height: 32px;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    nav ul {
        width: calc(100% - 10%);
        right: 5%;
    }
    
    .hero {
        padding: 5rem 5% 3rem;
    }
    
    .hero-large {
        padding: 6rem 5% 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    /* Force hide image with multiple methods */
    .hero-image-cell,
    .hero-image-cell img {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
}