:root {
    --primary-color: #0a1a35;
    --secondary-color: #ffffff;
    --accent-color: #1e3a8a;
    --text-light: #e2e8f0;
    --text-dark: #1e293b;
    --gray-light: #f8fafc;
    --gray-dark: #64748b;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
    padding: 1rem 0;
}

header.scrolled {
    background: var(--primary-color);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-color);
}

.logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links .dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
}

.btn-get-started {
    border: 1px solid var(--secondary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-get-started:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('assets/hero_bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* About Us Section */
.about {
    padding: 5rem 0;
    background: var(--secondary-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-label {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 1.5rem;
    color: #475569;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Our Services Section */
.services {
    padding: 5rem 0;
    background: var(--primary-color);
    color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.service-intro {
    padding-right: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.service-card-content {
    padding: 2rem;
}

.service-card-content h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.learn-more {
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Assessment Section */
.assessment-cta {
    padding: 5rem 0;
    background: var(--secondary-color);
    text-align: center;
}

.assessment-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.assessment-cta p {
    margin-bottom: 2rem;
    color: #475569;
}

.assessment-image-container {
    max-width: 400px;
    margin: 2rem auto 0;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--primary-color);
    color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
}


.testimonial-content blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Blog Section */
.blog {
    padding: 5rem 0;
    background: var(--gray-light);
}

.blog-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: stretch;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-card img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.blog-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
    min-height: 3.5rem; /* Ensures alignment if titles wrap differently */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    display: block;
}

.blog-card-content .btn-primary {
    align-self: flex-start;
    margin-top: auto;
}


/* Footer */
footer {
    padding: 5rem 0 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a:hover {
    color: #94a3b8;
}

.subscribe-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: none;
}

.subscribe-form button {
    background: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    border: none !important;
    font-weight: 700;
    padding: 0.8rem !important;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.subscribe-form button:hover {
    background: var(--text-light) !important;
    transform: translateY(-2px);
}



.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Assessment Page Specific */
.quiz-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(rgba(10, 26, 53, 0.9), rgba(10, 26, 53, 0.9)), url('assets/quiz_hero_bg.png') no-repeat center center/cover;
    color: var(--secondary-color);
    text-align: center;
}

.quiz-container {
    max-width: 800px;
    margin: -3rem auto 5rem;
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    width: 33%;
    transition: var(--transition-smooth);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Nav */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .services-grid, .blog-grid, .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .social-icons {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .services-grid, .blog-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Notification */
.custom-notice {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.custom-notice.show {
    transform: translateX(0);
    opacity: 1;
}

.notice-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notice-close {
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.notice-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

@media (max-width: 480px) {
    .custom-notice {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}

