/* Landing Page Styles */

/* Top Header Bar */
.top-header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1e3a8a; /* Dark blue */
    color: white;
    padding: 0.5rem 0;
    z-index: 1001;
    font-size: 0.875rem;
}

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

.top-header-left {
    color: white;
}

.top-header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-icon i {
    font-size: 0.875rem;
}

/* Main Navigation */
.landing-nav {
    position: fixed;
    top: 32px; /* Below top header bar */
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.landing-nav .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    text-transform: uppercase;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav-register {
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    background: #1e3a8a;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-nav-register:hover {
    background: #1e40af;
}

.btn-nav-portal {
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    background: #1e3a8a;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-nav-portal:hover {
    background: #1e40af;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    background: #1e3a8a; /* Deep blue */
    color: white;
    margin-top: 100px; /* Account for both header bars */
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 1;
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: white;
    color: #1e3a8a;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: white;
}

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

.btn-explore {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #60a5fa; /* Light blue */
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s;
}

.btn-explore:hover {
    background: #3b82f6;
}

.btn-contact {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: white;
    color: #1e3a8a;
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.btn-contact:hover {
    background: transparent;
    color: white;
}


.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 600px;
}

.hero-rotating-logo {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: rotateClockwise 20s linear infinite;
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Who We Are Section */
.who-we-are {
    padding: 5rem 2rem;
    background: white;
}

.who-we-are-content {
    max-width: 900px;
    margin: 0 auto;
}

.who-we-are-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.who-we-are-text p {
    margin-bottom: 1.5rem;
}

.who-we-are-text p:last-child {
    margin-bottom: 0;
}

/* Why Cybersecurity Matters Section */
.why-cybersecurity {
    padding: 5rem 2rem;
    background: var(--bg-color);
}

.why-cybersecurity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.why-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.why-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Statistics Section */
.statistics {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.3), transparent);
    pointer-events: none;
}

.statistics .container {
    position: relative;
    z-index: 1;
}

.statistics .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.statistics .section-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin: 0 auto 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
    line-height: 1.3;
}

.stat-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 400;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--bg-color);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Courses Preview */
.courses-preview {
    padding: 5rem 2rem;
    background: white;
}

.courses-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-preview-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-preview-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-preview-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.course-preview-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-preview-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

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

/* CTA Section */
.cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Reviews Section */
.reviews {
    padding: 5rem 2rem;
    background: var(--bg-color);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    color: #fbbf24;
    font-size: 1.1rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.review-author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.review-author-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Companies Section */
.companies {
    padding: 5rem 2rem;
    background: white;
    overflow: hidden;
}

.companies-scroll-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 3rem;
}

.companies-scroll {
    display: flex;
    gap: 3rem;
    animation: scrollCompanies 30s linear infinite;
    width: fit-content;
}

@keyframes scrollCompanies {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.companies-scroll-container:hover .companies-scroll {
    animation-play-state: paused;
}

.company-logo {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.company-logo:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.company-placeholder {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.company-img {
    width: 140px;
    height: 52px;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.85;
    transition: filter 0.25s, opacity 0.25s, transform 0.25s;
}

.company-logo:hover .company-img {
    filter: grayscale(0%) contrast(1.05);
    opacity: 1;
    transform: scale(1.03);
}

.company-fallback {
    display: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    padding: 0 0.75rem;
}

/* Footer */
.landing-footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .hero-container {
        flex-direction: column;
        gap: 3rem;
    }

    .hero-image {
        height: 400px;
    }

    .hero-rotating-logo {
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .top-header-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .landing-nav {
        top: auto;
        position: relative;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        width: 100%;
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .nav-buttons {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        margin-top: 0;
        padding: 2rem 1rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        height: 300px;
    }

    .hero-rotating-logo {
        max-height: 250px;
    }

    .features-grid,
    .courses-grid-preview,
    .reviews-grid,
    .why-cybersecurity-grid,
    .statistics-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }

    .stat-description {
        font-size: 0.9rem;
    }

    .company-logo {
        width: 150px;
        height: 80px;
    }

    .company-placeholder {
        font-size: 1rem;
    }
}

