/* ==========================================================================
   Skillgogy - Cloudflare Inspired Theme (Orange & White)
   ========================================================================== */

/* Variables */
:root {
    /* Color Palette - Cloudflare Theme */
    --bg-main: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fcfcfc;
    --primary-color: #f38020;
    --secondary-color: #d85c00;
    --text-main: #333333;
    --text-muted: #5e5e5e;
    --border-glass: #eaeaea;
    --gradient-1: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-text: var(--primary-color);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 8px; /* Sharper edges like Cloudflare */
    --section-pad: 100px 0;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.gradient-text {
    color: var(--primary-color);
    display: inline-block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Card Utilities (Replaces Glassmorphism) */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.glass-panel:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(243, 128, 32, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(243, 128, 32, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #dcdcdc;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: #ffffff;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1a1a1a;
}

.logo .dot {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a4a4a;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a1a1a;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background-color: #fbfbfb; /* Slightly off-white for contrast */
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(243, 128, 32, 0.1);
    border: 1px solid rgba(243, 128, 32, 0.3);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Section Common */
section {
    padding: var(--section-pad);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
}

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

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 100px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-right: 2rem;
}

.timeline-icon {
    position: absolute;
    left: 20px;
    top: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--text-muted);
    z-index: 2;
}

.timeline-content h3 {
    margin-bottom: 0.2rem;
    color: #1a1a1a;
}

.timeline-content .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-panel {
    border-color: rgba(243, 128, 32, 0.3);
    background: rgba(243, 128, 32, 0.02);
}

.glow-icon {
    background: var(--primary-color);
    border: none;
    box-shadow: 0 0 15px rgba(243, 128, 32, 0.4);
    color: #fff;
}

/* Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.feature-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.feature-list strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #1a1a1a;
}

.feature-list span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Skillgogy CSS Model Graphic */
.image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    background: #fafafa;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.skillgogy-model {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem;
}

.model-pillars {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.pillar {
    background: #fff;
    border: 1px solid var(--border-glass);
    padding: 1.2rem 0.5rem;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    margin: 0 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.pillar i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    display: block;
}

.pillar span {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.model-arrows {
    position: relative;
    width: 100%;
    height: 40px;
    margin-bottom: 1.5rem;
}

.arrow-line {
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--gradient-1);
}

.arrow-line::before, .arrow-line::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 40px;
    background: var(--gradient-1);
    top: 0;
}

.arrow-line::before { left: 0; }
.arrow-line::after { right: 0; }

.model-arrows::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

.model-core {
    background: var(--gradient-1);
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    box-shadow: 0 10px 25px rgba(243, 128, 32, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, 10px); }
    60% { transform: translate(-50%, 5px); }
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.media-card {
    overflow: hidden;
    padding: 0;
    background: #fff;
}

.video-container, .podcast-container {
    width: 100%;
    position: relative;
}

.video-container {
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

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

.podcast-container {
    padding: 1rem;
    background: #f9f9f9; 
    border-bottom: 1px solid var(--border-glass);
}

.media-info {
    padding: 1.5rem;
}

.media-info h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
}

.media-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pioneer Section */
.pioneer-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.pioneer-image {
    flex-shrink: 0;
}

.avatar-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-glass);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pioneer-details .title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pioneer-details p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    color: var(--text-main);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #f8f8f8;
    border-top: 1px solid var(--border-glass);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations (Animate on scroll classes) */
.fade-in { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.fade-in-up { opacity: 0; transform: translateY(40px); transition: 0.6s ease-out; }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: 0.6s ease-out; }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: 0.6s ease-out; }

.appear {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    .pioneer-content {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-glass);
        clip-path: circle(0% at top right);
        transition: all 0.4s ease-in-out;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    .nav-links.active {
        clip-path: circle(150% at top right);
    }
    .hamburger {
        display: block;
    }
    .timeline::before { left: 20px; }
    .timeline-icon { left: 0; width: 30px; height: 30px; font-size: 0.8rem; }
    .timeline-item { padding-left: 60px; }
    .media-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
}
