/* =====================================================
   DEVELOPER PORTFOLIO - MAIN STYLESHEET
   Modern, clean, professional tech-themed design
   ===================================================== */

section{
    /* border: 2px solid #fff; */
}

/* ===================== CSS VARIABLES ===================== */
:root {
    /* Primary Colors */
    --color-bg: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-bg-tertiary: #1a1a25;
    /* Accent Colors */
    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-primary-dark: #4f46e5;
    --color-accent: #22d3ee;
    --color-accent-secondary: #a855f7;
    /* Text Colors */
    --color-text: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    /* Functional Colors */
    --color-success: #22c55e;
    --color-error: #ef4444;
    --color-border: rgba(148, 163, 184, 0.1);
    --color-border-hover: rgba(148, 163, 184, 0.2);
    /* Typography */
    --font-display: "Space Grotesk", sans-serif;
    --font-mono: "JetBrains Mono", monospace;
    /* Spacing */
    --section-padding: clamp(3rem, 10vw, 4rem);
    --container-max: 1200px;
    --container-padding: 1.5rem;
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

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

/* ===================== UTILITIES ===================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.section-title {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-secondary);
}

.section-footer {
    text-align: center;
    margin-top: 4rem;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.4);
}

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

.btn-secondary:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ===================== NAVIGATION ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-primary);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-primary-light);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-normal);
    transform-origin: center;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================== HERO SECTION ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-greeting {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.hero-name {
    display: block;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary-light) 50%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--color-text-secondary);
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-muted);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===================== ABOUT SECTION ===================== */
.about {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
}

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

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: filter var(--transition-normal);
}

.image-frame:hover img {
    filter: grayscale(0%);
}

.image-decoration {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-text {
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.highlight h4 {
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.highlight p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* ===================== EXPERIENCE SECTION ===================== */
.experience {
    background: var(--color-bg-secondary);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent-secondary));
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -7px;
    top: 0;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--color-bg-secondary);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.timeline-item:hover .marker-dot {
    background: var(--color-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.timeline-content {
    background: var(--color-bg-tertiary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--color-primary);
    transform: translateX(5px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.role {
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.company {
    font-size: 1.0625rem;
    color: var(--color-primary);
}

.period {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    background: var(--color-bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.responsibilities {
    list-style: none;
    margin-bottom: 1.5rem;
}

.responsibilities li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.responsibilities li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary-light);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ===================== PROJECTS SECTION ===================== */
.projects {
    background: var(--color-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.project-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--color-bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: all var(--transition-normal);
}

.project-link:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

.project-link svg {
    width: 20px;
    height: 20px;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.project-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--color-accent);
}

.project-tech span:not(:last-child)::after {
    content: " •";
    color: var(--color-text-muted);
    margin-left: 0.5rem;
}

/* ===================== SKILLS SECTION ===================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill-category {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.35rem;
}

.skill-category-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
    flex-shrink: 0;
}

.skill-icon svg {
    width: 21px;
    height: 21px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    line-height: 1.2;
    transition: all 0.25s ease;
}

.skill-tag:hover {
    color: var(--text-primary);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
    }

    .skill-category {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .skill-category {
        padding: 1.25rem;
    }

    .skill-category-header {
        margin-bottom: 1rem;
    }

    .skill-category-header h3 {
        font-size: 1rem;
    }

    .skill-icon {
        width: 38px;
        height: 38px;
    }

    .skill-tag {
        font-size: 0.72rem;
        padding: 0.45rem 0.65rem;
    }
}

/* =================== Beyond Engineering / Training Section =================== */
.training-intro {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* =================== Training Gallery =================== */
.training-gallery {
    margin-top: 3.5rem;
}

.training-subheader {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.training-label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--primary-light);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.training-subheader h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 600;
}

.training-controls {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.training-slider-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
}

.training-slider-btn:hover {
    color: var(--text-primary);
    border-color: rgba(99, 102, 241, 0.4);
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

.training-slider-btn svg {
    width: 17px;
    height: 17px;
}

.training-slider-wrapper {
    overflow: hidden;
    border-radius: 16px;
}

.training-slider {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.training-slide {
    width: calc(50% - 0.5rem);
    flex: 0 0 calc(50% - 0.5rem);
}

.training-image-wrapper {
    width: 100%;
    height: 420px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.training-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.training-image-wrapper:hover img {
    transform: scale(1.03);
}

.training-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.training-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.25s ease;
}

.training-dot.active {
    width: 22px;
    border-radius: 10px;
    background: var(--primary);
}

@media (max-width: 768px) {

    .training-gallery {
        margin-top: 2.5rem;
    }

    .training-subheader {
        align-items: center;
    }

    .training-slide {
        width: 100%;
        flex: 0 0 100%;
    }

    .training-image-wrapper {
        height: 400px;
    }

    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .student-feedback {
        margin-top: 4rem;
    }
}


@media (max-width: 480px) {

    .training-subheader {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .training-subheader h3 {
        font-size: 1.15rem;
    }

    .training-controls {
        align-self: flex-end;
    }

    .training-image-wrapper {
        height: 360px;
    }

    .feedback-card {
        min-height: 220px;
        padding: 1.25rem;
    }

    .feedback-card blockquote {
        font-size: 0.85rem;
    }

    .feedback-rating {
        display: none;
    }
}

/* =============== Student Feedback Slider =============== */
.student-feedback {
    margin-top: 5rem;
}

.feedback-header {
    align-items: center;
}

.feedback-controls {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.feedback-slider-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    background: var(--bg-secondary);
    color: var(--text-secondary);

    cursor: pointer;

    transition: all 0.25s ease;
}

.feedback-slider-btn:hover {
    color: var(--text-primary);
    border-color: rgba(99, 102, 241, 0.4);
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

.feedback-slider-btn svg {
    width: 17px;
    height: 17px;
}

.feedback-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.feedback-slider {
    display: flex;
    gap: 1.25rem;

    transition: transform 0.5s ease;

    will-change: transform;
}

.feedback-slide {
    min-width: calc((100% - 2.5rem) / 3);
    flex: 0 0 calc((100% - 2.5rem) / 3);
}

.feedback-card {
    display: flex;
    flex-direction: column;

    min-height: 250px;
    height: 100%;

    padding: 1.5rem;

    background: var(--bg-secondary);

    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;

    transition: all 0.3s ease;
}

.feedback-card:hover {
    border-color: rgba(99, 102, 241, 0.3);

    transform: translateY(-4px);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.feedback-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.feedback-stars svg {
    width: 15px;
    height: 15px;

    color: var(--primary-light);
    fill: currentColor;
}

.feedback-card blockquote {
    flex: 1;

    margin: 0;

    color: var(--text-secondary);

    font-size: 0.9rem;
    line-height: 1.7;
}

.feedback-author {
    display: flex;
    align-items: center;

    gap: 0.75rem;

    margin-top: 1.5rem;
    padding-top: 1rem;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feedback-avatar {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);

    flex-shrink: 0;
}

.feedback-avatar svg {
    width: 16px;
    height: 16px;
}

.feedback-author div:last-child {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.feedback-author strong {
    color: var(--text-primary);

    font-size: 0.8rem;
    font-weight: 600;
}

.feedback-author span {
    color: var(--text-secondary);

    font-size: 0.72rem;
}

.feedback-dots {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 0.5rem;

    margin-top: 1.5rem;
}

.feedback-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.2);

    cursor: pointer;

    transition: all 0.25s ease;
}

.feedback-dot.active {
    width: 22px;

    border-radius: 10px;

    background: var(--primary);
}

@media (max-width: 1024px) {

    .feedback-slide {
        min-width: calc((100% - 1.25rem) / 2);
        flex: 0 0 calc((100% - 1.25rem) / 2);
    }

}

@media (max-width: 768px) {

    .student-feedback {
        margin-top: 4rem;
    }

    .feedback-slide {
        min-width: 100%;
        flex: 0 0 100%;
    }

}


@media (max-width: 480px) {

    .feedback-header {
        align-items: flex-start;
    }

    .feedback-controls {
        align-self: flex-end;
    }

    .feedback-card {
        min-height: 220px;
        padding: 1.25rem;
    }

    .feedback-card blockquote {
        font-size: 0.85rem;
    }

}

/* ===================== CERTIFICATIONS SECTION ===================== */
.certifications {
    background: var(--color-bg);
}

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

.cert-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.cert-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.cert-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.cert-content h3 {
    color: var(--color-text);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.cert-issuer {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.cert-date {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.cert-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(34, 211, 238, 0.1);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================== EDUCATION SECTION ===================== */
.education {
    background: var(--color-bg-secondary);
}

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

.edu-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.edu-card:hover {
    border-color: var(--color-primary);
}

.edu-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edu-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.edu-content h3 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.4;
}

.edu-institution {
    font-size: 1.0625rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.edu-period {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.edu-focus {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* ===================== CONTACT SECTION ===================== */
.contact-card {
    max-width: 850px;
    margin: 0 auto;
    padding: 4rem 3rem;
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -180px;
    right: -100px;
    background: rgba(99, 102, 241, 0.12);
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-title {
    max-width: 650px;
    margin: 1rem auto 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.contact-description {
    max-width: 620px;
    margin: 0 auto 2.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.75rem;
    border-radius: 12px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-email:hover {
    border-color: rgba(99, 102, 241, 0.45);
    transform: translateY(-2px);
}

.contact-email-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
}

.contact-email-icon svg {
    width: 18px;
    height: 18px;
}

.contact-email-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.contact-arrow {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

.contact-details {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-detail svg {
    width: 17px;
    height: 17px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.contact-detail a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-detail a:hover {
    color: var(--text-primary);
}

.contact-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.contact-social {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    border-radius: 9px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.contact-social:hover {
    color: var(--text-primary);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.contact-social svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

/* CTA */
.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.contact-cta svg {
    width: 17px;
    height: 17px;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 3rem 1.75rem;
    }

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

    .contact-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .contact-email {
        max-width: 100%;
    }

    .contact-email-text {
        font-size: 0.8rem;
    }

    .contact-details {
        flex-direction: column;
        gap: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 2.5rem 1.25rem;
        border-radius: 16px;
    }

    .contact-title {
        font-size: 1.75rem;
    }

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

    .contact-email {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
    }

    .contact-socials {
        flex-direction: column;
        width: 100%;
    }

    .contact-social {
        width: 100%;
        justify-content: center;
    }

    .contact-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ===================== FOOTER ===================== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4rem 0 1.5rem;
    background: var(--bg-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 380px;
}

.footer-nav h4,
.footer-social h4 {
    margin: 0 0 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.25s ease;
}

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

.footer-social .social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
}

.footer-social .social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.footer-social .social-link:hover {
    color: var(--text-primary);
    transform: translateX(3px);
}

.footer-social .social-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 500px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-social .social-links {
        flex-direction: row;
        gap: 1rem;
    }

    .footer-bottom {
        align-items: center;
        text-align: center;
    }
}

/* ===================== ANIMATIONS ===================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== RESPONSIVE DESIGN ===================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    .projects-grid,
    .skills-grid,
    .cert-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        flex-direction: column;
        background: var(--color-bg-secondary);
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--color-border);
    }
    .nav-menu.active {
        right: 0;
    }
    .hamburger {
        display: flex;
    }
    .nav-cta {
        width: 100%;
        text-align: center;
    }
    /* Hero adjustments */
    .hero-stats {
        gap: 2rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    /* Timeline adjustments */
    .timeline::before {
        left: 7px;
    }
    .timeline-item {
        padding-left: 2.5rem;
    }
    .timeline-marker {
        left: 0;
    }
    .timeline-header {
        flex-direction: column;
    }
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .footer-social .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }
    .hero-cta {
        flex-direction: column;
    }
    .hero-cta .btn {
        width: 100%;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .edu-card {
        flex-direction: column;
        text-align: center;
    }
    .edu-icon {
        margin: 0 auto;
    }
    .cert-card {
        flex-direction: column;
        text-align: center;
    }
    .cert-icon {
        margin: 0 auto;
    }
}
