

/* ==========================================================================
   Extracted Page-Specific Styles
   ========================================================================== */

/* Modern Reset & Base */
      :root {
        --bs-dark:     #365359;
        --bs-teal:     #2699A6;
        --bs-cyan:     #24A6A6;
        --bs-olive:    #A3A649;
        --bs-light:    #F2F2F2;
        --font-heading: 'Montserrat', sans-serif;
        --font-body: 'Poppins', sans-serif;
        --max-w: 1200px;
        --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }

      [data-theme="light"] {
        --bg-body: #F8F9FA;
        --bg-card: #FFFFFF;
        --bg-card-hover: #F2F5F6;
        --text-title: #1a2a2e;
        --text-main: #365359;
        --text-muted: #5e7a82;
        --border: rgba(38, 153, 166, 0.15);
      }
      
      [data-theme="dark"] {
        --bg-body: #0a0f12;
        --bg-card: #121a1e;
        --bg-card-hover: #182329;
        --text-title: #ffffff;
        --text-main: #e2e8f0;
        --text-muted: #94a3b8;
        --border: rgba(255, 255, 255, 0.08);
      }

      * { margin: 0; padding: 0; box-sizing: border-box; }
      body {
        font-family: var(--font-body);
        background-color: var(--bg-body);
        color: var(--text-main);
        overflow-x: hidden;
      }

      .container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
      .section { padding: 120px 0; }
      .section-alt { background-color: var(--bg-card); }

      h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--text-title); line-height: 1.2; font-weight: 700; }
      p { line-height: 1.7; color: var(--text-muted); margin-bottom: 20px; }
      a { text-decoration: none; transition: all var(--transition); }

      /* Buttons */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 32px;
        border-radius: 8px;
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all var(--transition);
        border: none;
        gap: 10px;
      }
      .btn-primary {
        background: linear-gradient(135deg, var(--bs-teal), var(--bs-cyan));
        color: #fff;
        box-shadow: 0 4px 15px rgba(38,153,166,0.3);
      }
      .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(38,153,166,0.4);
        color: #fff;
      }
      .btn-outline {
        background: transparent;
        color: var(--text-title);
        border: 2px solid var(--border);
      }
      .btn-outline:hover {
        border-color: var(--bs-teal);
        color: var(--bs-teal);
      }

      /* Grid system */
      .grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 30px; }
      .col-6 { grid-column: span 6; }
      .col-4 { grid-column: span 4; }
      .col-12 { grid-column: span 12; }
      @media(max-width: 992px) { .col-6, .col-4 { grid-column: span 12; } }

      /* Hero Section */
      .hero {
        min-height: 80vh;
        display: flex;
        align-items: center;
        position: relative;
        padding-top: 120px;
        padding-bottom: 80px;
      }
      .hero-title { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 900; margin-bottom: 15px; letter-spacing: -1px; }
      .hero-title span { background: linear-gradient(135deg, var(--bs-teal), var(--bs-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
      .hero-subtitle { font-size: 1.25rem; color: var(--bs-teal); font-weight: 600; margin-bottom: 25px; letter-spacing: 1px; text-transform: uppercase; }
      .hero-text-wrap { max-width: 600px; }

      .profile-img-wrapper {
        position: relative;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        aspect-ratio: 1;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--bs-teal), var(--bs-cyan), var(--bs-olive));
        padding: 5px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.2);
        animation: float 6s ease-in-out infinite;
      }
      @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
        100% { transform: translateY(0px); }
      }
      .profile-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 10px solid var(--bg-body);
      }

      /* Floating Badges */
      .float-badge {
        position: absolute;
        background: var(--bg-card);
        padding: 15px 25px;
        border-radius: 12px;
        border: 1px solid var(--border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 10;
      }
      .badge-exp { top: 10%; left: -20px; }
      .badge-proj { bottom: 10%; right: -20px; }
      .badge-num { font-size: 1.8rem; font-weight: 800; font-family: var(--font-heading); color: var(--bs-teal); line-height: 1; }
      .badge-text { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; }

      @media(max-width: 768px) {
        .hero { flex-direction: column; text-align: center; }
        .hero-text-wrap { order: 2; margin: 0 auto; }
        .hero-img-col { order: 1; margin-bottom: 40px; }
        .badge-exp { left: 0; }
        .badge-proj { right: 0; }
      }

      /* Stats */
      .stats-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        text-align: center;
        padding: 60px 0;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
      }
      .stat-number { font-size: 4rem; font-family: var(--font-heading); font-weight: 900; color: var(--text-title); margin-bottom: 5px; }
      .stat-number span { color: var(--bs-teal); }
      .stat-label { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; }

      /* Timeline */
      .timeline { position: relative; padding-left: 50px; margin-top: 40px; }
      .timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--bs-teal), var(--bs-cyan), transparent); }
      .timeline-item { position: relative; margin-bottom: 50px; }
      .timeline-dot { position: absolute; left: -56px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--bs-teal); box-shadow: 0 0 0 4px var(--bg-body), 0 0 0 8px rgba(38,153,166,0.2); transition: all var(--transition); }
      .timeline-item:hover .timeline-dot { background: var(--bs-cyan); box-shadow: 0 0 0 4px var(--bg-body), 0 0 0 8px rgba(36,166,166,0.4); }
      .timeline-date { font-size: 0.9rem; color: var(--bs-teal); font-weight: 700; margin-bottom: 8px; letter-spacing: 1px; display: inline-block; padding: 4px 12px; background: var(--border); border-radius: 20px; }
      .timeline-title { font-size: 1.4rem; margin-bottom: 10px; }

      /* Skills */
      .skills-container { background: var(--bg-card); padding: 40px; border-radius: 20px; border: 1px solid var(--border); }
      .skill-item { margin-bottom: 30px; }
      .skill-item:last-child { margin-bottom: 0; }
      .skill-header { display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 600; font-size: 1.05rem; }
      .skill-bar-bg { width: 100%; height: 10px; background: var(--bg-body); border-radius: 5px; overflow: hidden; border: 1px solid var(--border); }
      .skill-bar-fill { height: 100%; background: linear-gradient(90deg, var(--bs-teal), var(--bs-cyan)); width: 0; transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); border-radius: 5px; }

      /* Philosophy */
      .phil-card {
        background: var(--bg-body);
        padding: 40px;
        border-radius: 20px;
        border: 1px solid var(--border);
        transition: all var(--transition);
        height: 100%;
        position: relative;
        overflow: hidden;
      }
      .phil-card::before {
        content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--bs-teal), var(--bs-cyan)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
      }
      .phil-card:hover { transform: translateY(-10px); border-color: var(--bs-teal); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
      .phil-card:hover::before { transform: scaleX(1); }
      .phil-icon { font-size: 2.5rem; margin-bottom: 25px; }

      /* Gallery */
      .gallery-item {
        border-radius: 16px;
        overflow: hidden;
        position: relative;
        aspect-ratio: 4/3;
        border: 1px solid var(--border);
        transition: all var(--transition);
      }
      .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s ease;
      }
      .gallery-item:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); border-color: var(--bs-teal); }
      .gallery-item:hover img { transform: scale(1.08); }

      /* Animations */
      .reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
      .reveal.visible { opacity: 1; transform: translateY(0); }
      .delay-1 { transition-delay: 0.1s; }
      .delay-2 { transition-delay: 0.2s; }
      .delay-3 { transition-delay: 0.3s; }

      .section-heading { text-align: center; margin-bottom: 60px; }
      .section-heading-badge { display: inline-block; padding: 6px 16px; background: var(--border); color: var(--bs-teal); border-radius: 30px; font-weight: 700; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px; }
      .section-heading h2 { font-size: 3rem; margin-bottom: 15px; background: linear-gradient(135deg, var(--text-title), var(--bs-teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
      
      /* Utilities */
      .text-teal { color: var(--bs-teal); }

.timeline-scroll {
      max-height: 520px;
      overflow-y: auto;
      padding-right: 20px;
    }
    .timeline-scroll::-webkit-scrollbar {
      width: 6px;
    }
    .timeline-scroll::-webkit-scrollbar-track {
      background: transparent;
    }
    .timeline-scroll::-webkit-scrollbar-thumb {
      background: var(--brand-blue, #0a5cff);
      border-radius: 10px;
    }