/* ==========================================================================
   PORTFOLIO MODERN & PREMIUM THEME - AHMAD PARIDI
   Concept: Modern Creative Developer Portfolio
   Aesthetic: Dark Premium, Futuristic Minimalist, Glassmorphism, Smooth Motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-main: #080B14;
    --bg-section: #0D1220;
    --bg-card: #121A2B;
    --bg-card-hover: #172338;
    --bg-glass: rgba(18, 26, 43, 0.72);
    --bg-glass-card: rgba(18, 26, 43, 0.85);
    --bg-surface: rgba(255, 255, 255, 0.03);

    /* Accents */
    --accent-primary: #635BFF;
    --accent-secondary: #00D4FF;
    --accent-gradient: linear-gradient(135deg, #635BFF 0%, #00D4FF 100%);
    --accent-gradient-hover: linear-gradient(135deg, #746dff 0%, #26ddff 100%);
    --accent-glow: rgba(99, 91, 255, 0.35);
    --cyan-glow: rgba(0, 212, 255, 0.28);

    /* Typography Colors */
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-accent: #38BDF8;

    /* Borders & Outlines */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.07);
    --border-card-hover: rgba(99, 91, 255, 0.35);
    --border-accent: rgba(0, 212, 255, 0.35);

    /* Shadows & Glows */
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-card);
    --shadow-card-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.7), 0 0 28px -4px var(--accent-glow);
    --shadow-btn-glow: 0 0 25px -4px rgba(99, 91, 255, 0.6);

    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Fonts */
    --font-sans: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    --font-logo: 'League Spartan', 'Plus Jakarta Sans', sans-serif;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s var(--ease-smooth);
    --transition-slow: 0.6s var(--ease-smooth);
}

/* --------------------------------------------------------------------------
   2. RESET & GLOBAL STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-primary);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Text Selection */
::selection {
    background: rgba(99, 91, 255, 0.35);
    color: #ffffff;
}

/* Ambient Background Glow Elements */
.ambient-glow-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    pointer-events: none;
}

.ambient-glow-1 {
    top: -10%;
    left: 15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.35) 0%, rgba(99, 91, 255, 0) 70%);
    animation: pulseSlow 12s ease-in-out infinite alternate;
}

.ambient-glow-2 {
    bottom: 20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.25) 0%, rgba(0, 212, 255, 0) 70%);
    animation: floatSlow 16s ease-in-out infinite alternate;
}

.ambient-glow-3 {
    top: 45%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 60%, transparent 80%);
    animation: pulseSlow 14s ease-in-out infinite alternate-reverse;
}

@keyframes pulseSlow {
    0% { transform: scale(0.9) translate(0, 0); opacity: 0.35; }
    50% { transform: scale(1.1) translate(20px, 30px); opacity: 0.55; }
    100% { transform: scale(0.95) translate(-15px, 15px); opacity: 0.4; }
}

@keyframes floatSlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -40px) scale(1.08); }
    100% { transform: translate(25px, 20px) scale(0.95); }
}

/* Container */
.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Typography Helpers */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Section Common Styles */
section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 91, 255, 0.1);
    border: 1px solid rgba(99, 91, 255, 0.25);
    color: var(--accent-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.section-tag i {
    font-size: 0.8rem;
    color: var(--accent-secondary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. NAVBAR
   -------------------------------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-scrolled {
    background: rgba(8, 11, 20, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    transition: var(--transition-normal);
}

.header-scrolled .navbar {
    padding: 14px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-logo);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    position: relative;
    transition: var(--transition-fast);
}

.logo span {
    color: var(--accent-secondary);
    font-size: 2.2rem;
    line-height: 0;
    margin-left: 2px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.logo:hover {
    transform: translateY(-1px);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 36px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-smooth);
    box-shadow: 0 0 10px rgba(99, 91, 255, 0.6);
}

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

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: #ffffff;
    font-weight: 600;
}

.nav-link.active::after {
    transform: scaleX(1);
}

/* Nav Right / CTA */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(99, 91, 255, 0.15);
    border: 1px solid rgba(99, 91, 255, 0.35);
    border-radius: var(--radius-full);
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: var(--transition-normal);
}

.btn-nav:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-glow);
}

/* Hamburger Button */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 91, 255, 0.3);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
    position: relative;
}

.hamburger-line::before,
.hamburger-line::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.hamburger-line::before {
    top: -6px;
}

.hamburger-line::after {
    bottom: -6px;
}

.hamburger.is-active .hamburger-line {
    background: transparent;
}

.hamburger.is-active .hamburger-line::before {
    top: 0;
    transform: rotate(45deg);
    background: var(--accent-secondary);
}

.hamburger.is-active .hamburger-line::after {
    bottom: 0;
    transform: rotate(-45deg);
    background: var(--accent-secondary);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 70px;
    position: relative;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.hero-text {
    position: relative;
    z-index: 2;
}

/* Status Pill */
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: rgba(18, 26, 43, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 12px #10B981;
    animation: blinkGlow 2s infinite ease-in-out;
}

@keyframes blinkGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-greeting {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.hero-title .name-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-roles {
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    font-weight: 700;
    color: #e2e8f0;
    min-height: 1.6em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

.typing-prefix {
    color: var(--text-secondary);
    font-weight: 500;
}

.typing-text {
    color: var(--accent-secondary);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 34px;
}

/* Hero CTA Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 38px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: var(--radius-full);
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(99, 91, 255, 0.5);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(99, 91, 255, 0.7);
    color: #ffffff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(18, 26, 43, 0.85);
    color: var(--text-primary);
    font-size: 0.98rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-secondary:hover {
    background: rgba(25, 36, 58, 0.95);
    border-color: rgba(0, 212, 255, 0.4);
    color: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 212, 255, 0.25);
}

.btn-secondary i {
    transition: transform var(--transition-fast);
}

.btn-secondary:hover i {
    transform: translateX(4px);
}

/* Social Media Pills */
.hero-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 26, 43, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1.15rem;
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    backdrop-filter: blur(6px);
}

.social-link:hover {
    color: #ffffff;
    border-color: rgba(99, 91, 255, 0.4);
    background: rgba(99, 91, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px -3px rgba(99, 91, 255, 0.4);
}

.social-link[aria-label="GitHub"]:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px -3px rgba(255, 255, 255, 0.2);
}

.social-link[aria-label="LinkedIn"]:hover {
    border-color: rgba(10, 102, 194, 0.6);
    background: rgba(10, 102, 194, 0.25);
    box-shadow: 0 8px 20px -3px rgba(10, 102, 194, 0.4);
}

.social-link[aria-label="Instagram"]:hover {
    border-color: rgba(225, 48, 108, 0.6);
    background: rgba(225, 48, 108, 0.2);
    box-shadow: 0 8px 20px -3px rgba(225, 48, 108, 0.4);
}

.social-link[aria-label="TikTok"]:hover {
    border-color: rgba(0, 242, 234, 0.6);
    background: rgba(0, 242, 234, 0.15);
    box-shadow: 0 8px 20px -3px rgba(0, 242, 234, 0.3);
}

/* Hero Visual / Profile Image */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.profile-card-wrapper {
    position: relative;
    width: 380px;
    height: 440px;
    max-width: 100%;
}

.profile-glow-ring {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.35) 0%, rgba(0, 212, 255, 0.2) 60%, transparent 80%);
    border-radius: var(--radius-xl);
    filter: blur(25px);
    z-index: 0;
    animation: pulseRing 6s infinite alternate ease-in-out;
}

@keyframes pulseRing {
    0% { transform: scale(0.96); opacity: 0.5; }
    100% { transform: scale(1.04); opacity: 0.85; }
}

.profile-card {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
}

.profile-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 91, 255, 0.45);
    box-shadow: var(--shadow-card-hover);
}

.profile-img-container {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius-xl) - 6px);
    overflow: hidden;
    position: relative;
    background: #0a0e19;
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s var(--ease-smooth);
    display: block;
}

.profile-card:hover .profile-img-container img {
    transform: scale(1.05);
}

/* Floating Badges on Hero Image */
.floating-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(18, 26, 43, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 3;
    pointer-events: none;
}

.floating-chip-1 {
    top: 25px;
    left: -25px;
    animation: floatChip1 5s ease-in-out infinite alternate;
}

.floating-chip-2 {
    bottom: 25px;
    right: -20px;
    animation: floatChip2 6s ease-in-out infinite alternate;
}

.chip-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.chip-icon-code {
    background: rgba(99, 91, 255, 0.25);
    color: var(--accent-secondary);
}

.chip-icon-ux {
    background: rgba(0, 212, 255, 0.25);
    color: #38BDF8;
}

@keyframes floatChip1 {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes floatChip2 {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(12px) rotate(1deg); }
}

/* Scroll Down Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: var(--transition-fast);
    z-index: 2;
}

.hero-scroll-indicator:hover {
    color: var(--accent-secondary);
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    position: relative;
    display: flex;
    justify-content: center;
}

.wheel-dot {
    width: 4px;
    height: 7px;
    background: var(--accent-secondary);
    border-radius: var(--radius-full);
    position: absolute;
    top: 6px;
    animation: scrollWheel 2s infinite ease-in-out;
    box-shadow: 0 0 6px var(--accent-secondary);
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* --------------------------------------------------------------------------
   5. ABOUT ME SECTION
   -------------------------------------------------------------------------- */
.about {
    background-color: var(--bg-section);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.3) 0%, rgba(0, 212, 255, 0.15) 60%, transparent 75%);
    filter: blur(30px);
    border-radius: var(--radius-xl);
    z-index: 0;
}

.about-image-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    height: 440px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    padding: 12px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
}

.about-image-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 91, 255, 0.4);
    box-shadow: var(--shadow-card-hover);
}

.about-image-inner {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius-xl) - 6px);
    overflow: hidden;
    background: #090e1a;
}

.about-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.6s var(--ease-smooth);
}

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

/* About Content Column */
.about-content {
    display: flex;
    flex-direction: column;
}

.about-lead {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 20px;
}

.about-description {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Info Grid (4 Cards) */
.about-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition-normal);
}

.info-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 91, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.5);
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(99, 91, 255, 0.12);
    border: 1px solid rgba(99, 91, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-secondary);
    flex-shrink: 0;
}

.info-text strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-text span {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Highlights Chips */
.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 7px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.highlight-pill i {
    color: var(--accent-secondary);
    font-size: 0.75rem;
}

.highlight-pill:hover {
    background: rgba(99, 91, 255, 0.12);
    border-color: rgba(99, 91, 255, 0.3);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. SKILLS SECTION
   -------------------------------------------------------------------------- */
.skills {
    background-color: var(--bg-main);
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, var(--card-glow, rgba(99, 91, 255, 0.15)), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--card-border-glow, rgba(99, 91, 255, 0.45));
    box-shadow: var(--shadow-card-hover);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
}

.skill-icon-wrap i {
    font-size: 2.3rem;
    transition: transform var(--transition-normal);
}

.skill-card:hover .skill-icon-wrap {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--card-border-glow, rgba(99, 91, 255, 0.35));
    box-shadow: 0 0 20px -3px var(--card-glow, rgba(99, 91, 255, 0.3));
}

.skill-card:hover .skill-icon-wrap i {
    transform: scale(1.12);
}

.skill-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.skill-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Individual Skill Icon Color Treatments */
.skill-html { --card-glow: rgba(228, 77, 38, 0.25); --card-border-glow: rgba(228, 77, 38, 0.4); }
.skill-html i { color: #E44D26; }

.skill-css { --card-glow: rgba(21, 114, 182, 0.25); --card-border-glow: rgba(21, 114, 182, 0.4); }
.skill-css i { color: #264de4; }

.skill-js { --card-glow: rgba(247, 223, 30, 0.25); --card-border-glow: rgba(247, 223, 30, 0.4); }
.skill-js i { color: #F7DF1E; }

.skill-node { --card-glow: rgba(104, 160, 99, 0.25); --card-border-glow: rgba(104, 160, 99, 0.4); }
.skill-node i { color: #68A063; }

.skill-express { --card-glow: rgba(255, 255, 255, 0.2); --card-border-glow: rgba(255, 255, 255, 0.35); }
.skill-express i { color: #F8FAFC; }

.skill-react { --card-glow: rgba(97, 218, 251, 0.25); --card-border-glow: rgba(97, 218, 251, 0.4); }
.skill-react i { color: #61DAFB; }

.skill-mysql { --card-glow: rgba(68, 121, 161, 0.25); --card-border-glow: rgba(68, 121, 161, 0.4); }
.skill-mysql i { color: #00758F; }

.skill-figma { --card-glow: rgba(242, 78, 30, 0.25); --card-border-glow: rgba(242, 78, 30, 0.4); }
.skill-figma i { color: #F24E1E; }

.skill-github { --card-glow: rgba(255, 255, 255, 0.2); --card-border-glow: rgba(255, 255, 255, 0.35); }
.skill-github i { color: #F8FAFC; }

.skill-excel { --card-glow: rgba(33, 115, 70, 0.25); --card-border-glow: rgba(33, 115, 70, 0.4); }
.skill-excel i { color: #217346; }

.skill-word { --card-glow: rgba(24, 90, 189, 0.25); --card-border-glow: rgba(24, 90, 189, 0.4); }
.skill-word i { color: #185ABD; }

.skill-canva { --card-glow: rgba(0, 196, 204, 0.25); --card-border-glow: rgba(0, 196, 204, 0.4); }
.skill-canva i { color: #00C4CC; }

/* --------------------------------------------------------------------------
   7. PROJECTS SECTION
   -------------------------------------------------------------------------- */
.projects {
    background-color: var(--bg-section);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 91, 255, 0.4);
    box-shadow: var(--shadow-card-hover);
}

/* Project Thumbnail */
.project-media {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #090e1a;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s var(--ease-smooth);
}

.project-card:hover .project-media img {
    transform: scale(1.08);
}

.project-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(8, 11, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-secondary);
    backdrop-filter: blur(8px);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Project Content */
.project-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition-fast);
}

.project-card:hover .project-title {
    color: #ffffff;
}

.project-desc {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 22px;
    flex-grow: 1;
}

/* Tech Badges */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-badge {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    background: rgba(99, 91, 255, 0.1);
    border: 1px solid rgba(99, 91, 255, 0.2);
    color: #a5b4fc;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.project-card:hover .tech-badge {
    background: rgba(99, 91, 255, 0.15);
    border-color: rgba(99, 91, 255, 0.35);
    color: #c7d2fe;
}

/* Action Buttons */
.project-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-project-details {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-project-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -3px rgba(99, 91, 255, 0.5);
    color: #ffffff;
}

.btn-project-github {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-normal);
}

.btn-project-github:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--accent-secondary);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   8. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact {
    background-color: var(--bg-main);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: flex-start;
}

/* Contact Info Column */
.contact-info-col {
    display: flex;
    flex-direction: column;
}

.contact-heading {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 18px;
}

.contact-desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 34px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

.contact-detail-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 91, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(99, 91, 255, 0.15);
    border: 1px solid rgba(99, 91, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-secondary);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.contact-detail-card:hover .contact-icon-box {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(99, 91, 255, 0.5);
}

.contact-meta strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.contact-meta span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact Social Links */
.contact-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Contact Form Column */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
    position: relative;
    backdrop-filter: blur(12px);
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.4), rgba(0, 212, 255, 0.2), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    background: rgba(8, 11, 20, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(13, 18, 32, 0.95);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.2), 0 0 20px -3px rgba(99, 91, 255, 0.25);
}

.form-control::placeholder {
    color: #64748b;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(99, 91, 255, 0.5);
    transition: var(--transition-normal);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(99, 91, 255, 0.7);
    color: #ffffff;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    filter: grayscale(30%);
}

.btn-submit i {
    transition: transform var(--transition-fast);
}

.btn-submit:hover:not(:disabled) i {
    transform: translateX(4px);
}

/* Form Status Notification */
.form-status {
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-status.status-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

.form-status.status-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.form-status.status-error {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
.footer {
    background-color: #06080F;
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0 30px 0;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo {
    font-family: var(--font-logo);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.footer-logo span {
    color: var(--accent-secondary);
}

.footer-copyright {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.footer-link {
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent-secondary);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-back-to-top {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-back-to-top:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-btn-glow);
}

/* Floating Back to Top Button */
.floating-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(18, 26, 43, 0.85);
    border: 1px solid rgba(99, 91, 255, 0.4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-normal);
    z-index: 900;
}

.floating-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-back-to-top:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn-glow);
}

/* --------------------------------------------------------------------------
   10. MODAL (VIEW DETAILS)
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.35s var(--ease-smooth);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.modal-image-wrap {
    width: 100%;
    height: 280px;
    background: #080B14;
    overflow: hidden;
    position: relative;
}

.modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-content {
    padding: 30px;
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.modal-desc {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 22px;
}

.modal-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.modal-actions {
    display: flex;
    gap: 14px;
}

/* --------------------------------------------------------------------------
   11. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Accessible preferences */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}
.academic-section {
    padding: 100px 9%;
    background: #0D1220;
    position: relative;
    overflow: hidden;
}

.academic-container {
    max-width: 1100px;
    margin: auto;
}

.academic-heading {
    text-align: center;
    margin-bottom: 55px;
}

.academic-subtitle {
    display: inline-block;
    color: #817AFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.academic-heading h2 {
    font-size: 38px;
    color: #F8FAFC;
    margin-bottom: 15px;
}

.academic-heading h2 span {
    color: #817AFF
}

.academic-heading p {
    color: #94A3B8;
    font-size: 15px;
    line-height: 1.7;
}

.academic-education {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: linear-gradient(135deg, #171F35, #111827);
    border: 1px solid rgba(129, 122, 255, 0.25);
    border-radius: 20px;
    margin-bottom: 45px;
    transition: 0.3s ease;
}

.academic-education:hover {
    transform: translateY(-5px);
    border-color: #817AFF;
    box-shadow: 0 15px 40px rgba(99, 91, 255, 0.12);
}

.academic-icon {
    width: 75px;
    height: 75px;
    min-width: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(129, 122, 255, 0.15);
    color: #817AFF;
    font-size: 30px;
    border-radius: 18px;
}

.academic-status {
    display: inline-block;
    color: #A5A0FF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.academic-info h3 {
    color: #F8FAFC;
    font-size: 22px;
    margin-bottom: 8px;
}

.academic-campus {
    color: #94A3B8;
    font-size: 14px;
    margin-bottom: 20px;
}

.academic-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.academic-details div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #CBD5E1;
    font-size: 13px;
}

.academic-details i {
    color: #817AFF;
}

/* DOCUMENTS */

.academic-documents {
    padding: 35px;
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 20px;
}

.documents-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.documents-heading h3 {
    color: #F8FAFC;
    font-size: 24px;
    margin-top: 5px;
}

.document-count {
    color: #A5A0FF;
    background: rgba(129, 122, 255, 0.12);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 12px;
}

/* DOCUMENT CARD */

.document-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: #172033;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 15px;
    transition: 0.3s ease;
}

.document-card:hover {
    border-color: rgba(129, 122, 255, 0.6);
    transform: translateX(4px);
}

.document-file-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B78;
    background: rgba(255, 107, 120, 0.12);
    border-radius: 13px;
    font-size: 24px;
}

.document-info {
    flex: 1;
}

.document-info h4 {
    color: #F8FAFC;
    font-size: 16px;
    margin-bottom: 6px;
}

.document-info p {
    color: #94A3B8;
    font-size: 12px;
    margin-bottom: 10px;
}

.document-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #4ADE80;
    font-size: 11px;
}

.document-label.pending {
    color: #FBBF24;
}

.document-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.document-view,
.document-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 9px;
    transition: 0.3s ease;
}

.document-view {
    padding: 11px 17px;
    background: #635BFF;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.document-view:hover {
    background: #817AFF;
    transform: translateY(-2px);
}

.document-download {
    width: 40px;
    height: 40px;
    color: #CBD5E1;
    background: #263248;
}

.document-download:hover {
    color: white;
    background: #635BFF;
}

.document-coming {
    color: #94A3B8;
    font-size: 12px;
    padding: 10px;
}

.document-unavailable {
    opacity: 0.65;
}

.academic-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #94A3B8;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 25px;
}

.academic-note i {
    color: #817AFF;
    margin-top: 3px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .academic-section {
        padding: 75px 6%;
    }

    .academic-heading h2 {
        font-size: 30px;
    }

    .academic-education {
        padding: 25px;
        align-items: flex-start;
    }

    .academic-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 23px;
    }

    .academic-info h3 {
        font-size: 18px;
    }

    .academic-documents {
        padding: 22px;
    }

    .documents-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .document-card {
        flex-wrap: wrap;
        padding: 17px;
    }

    .document-info {
        min-width: 150px;
    }

    .document-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .academic-section {
        padding: 65px 5%;
    }

    .academic-heading h2 {
        font-size: 27px;
    }

    .academic-education {
        gap: 15px;
        padding: 18px;
    }

    .academic-details {
        flex-direction: column;
        gap: 10px;
    }

    .document-count {
        font-size: 11px;
    }

    .document-info h4 {
        font-size: 14px;
    }

    .document-view {
        flex: 1;
    }
}

/* =================================
   DESIGN PROJECTS
================================= */

.design-projects {
    padding: 100px 9%;
    background: #0D1220;
}

.design-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.design-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #00D4FF;
    background: rgba(99, 91, 255, 0.12);
    border: 1px solid rgba(99, 91, 255, 0.3);
    padding: 10px 17px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.design-heading h2 {
    font-size: 40px;
    color: #F8FAFC;
    margin: 20px 0 12px;
}

.design-heading h2 span {
    color: #817AFF;
}

.design-heading p {
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.8;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: auto;
}

.design-item {
    background: #121A2B;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    overflow: hidden;
    transition: .35s ease;
}

.design-item:hover {
    transform: translateY(-8px);
    border-color: #635BFF;
    box-shadow: 0 15px 40px rgba(99,91,255,.15);
}

.design-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #1B2437;
}

.design-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.design-item:hover .design-image img {
    transform: scale(1.06);
}

.design-index {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(8,11,20,.85);
    color: #00D4FF;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.design-info {
    padding: 24px;
}

.design-category {
    color: #00D4FF;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.design-info h3 {
    color: #F8FAFC;
    font-size: 20px;
    margin: 12px 0;
}

.design-info p {
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.8;
    min-height: 70px;
}

.design-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.design-tags span {
    color: #B9B4FF;
    background: rgba(99,91,255,.13);
    padding: 7px 11px;
    border-radius: 7px;
    font-size: 10px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .design-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .design-projects {
        padding: 75px 6%;
    }

    .design-heading h2 {
        font-size: 30px;
    }

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

    .design-image {
        height: 260px;
    }
}

/* =====================================
   CORELDRAW DESIGN BUTTON
===================================== */

.coreldraw-badge {
    color: #00D4FF;
}

.design-view-btn {
    width: 100%;
    margin-top: 22px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: rgba(99, 91, 255, .12);
    border: 1px solid rgba(129, 122, 255, .4);
    border-radius: 10px;

    color: #B9B4FF;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
    transition: .3s ease;
}

.design-view-btn:hover {
    background: linear-gradient(135deg, #817AFF, #635BFF);
    border-color: #817AFF;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 91, 255, .2);
}

/* =====================================
   FULL DESIGN PREVIEW MODAL
===================================== */

.design-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

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

    padding: 25px;
    background: rgba(3, 5, 12, .94);
    backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}

.design-preview-modal.active {
    opacity: 1;
    visibility: visible;
}

.design-preview-content {
    width: min(100%, 1050px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;

    background: #111827;
    border: 1px solid rgba(129, 122, 255, .3);
    border-radius: 18px;
    overflow: hidden;

    transform: scale(.94) translateY(20px);
    transition: .3s ease;
}

.design-preview-modal.active .design-preview-content {
    transform: scale(1) translateY(0);
}

.design-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.design-preview-header span {
    color: #00D4FF;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.design-preview-header h3 {
    color: #F8FAFC;
    font-size: 18px;
    margin-top: 5px;
}

.design-preview-header button {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;

    background: #202B40;
    color: white;
    font-size: 17px;
    cursor: pointer;
    transition: .3s;
}

.design-preview-header button:hover {
    background: #635BFF;
    transform: rotate(90deg);
}

.design-preview-image {
    min-height: 150px;
    flex: 1;
    padding: 20px;

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

    overflow: auto;
}

.design-preview-image img {
    display: block;
    max-width: 100%;
    max-height: 65vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.design-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 16px 25px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.design-preview-footer span {
    color: #94A3B8;
    font-size: 11px;
}

.design-preview-footer span i {
    color: #817AFF;
    margin-right: 5px;
}

.design-preview-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 15px;
    border-radius: 8px;

    background: #635BFF;
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.design-preview-footer a:hover {
    background: #817AFF;
}

/* MOBILE */

@media (max-width: 600px) {
    .design-preview-modal {
        padding: 10px;
    }

    .design-preview-content {
        max-height: 94vh;
    }

    .design-preview-header {
        padding: 15px;
    }

    .design-preview-image {
        padding: 10px;
    }

    .design-preview-image img {
        max-height: 65vh;
    }

    .design-preview-footer {
        padding: 12px;
        flex-wrap: wrap;
    }
}
/* CorelDRAW Skill */
.skill-coreldraw .skill-icon-wrap {
    color: #39A935;
}

.skill-coreldraw:hover .skill-icon-wrap {
    color: #50D84B;
    transform: scale(1.1);
}