/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-primary: #07090e;
    --bg-secondary: #0f131c;
    --bg-tertiary: #171d2b;
    --accent: #66fcf1;
    --accent-dark: #45b3ac;
    --accent-glow: rgba(102, 252, 241, 0.15);
    --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-purple: linear-gradient(135deg, #66fcf1 0%, #a17fe0 100%);
    --text-primary: #ffffff;
    --text-secondary: #c5c6c7;
    --text-muted: #8e9ba8;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(102, 252, 241, 0.25);
    --glass-bg: rgba(15, 19, 28, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Box Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(102, 252, 241, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight-text {
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--accent);
    opacity: 0.3;
    z-index: -1;
}

.accent-text {
    color: var(--accent);
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background-color: var(--accent);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Glassmorphism Surface */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.glass:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(7, 9, 14, 0.95);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo .dot {
    color: var(--accent);
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    color: var(--text-primary);
    font-size: 24px;
}

/* ==========================================================================
   HERO SECTION (CENTERED CINEMATIC)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
}

/* Animated gradient circles in background */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: 15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 252, 241, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: 15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(161, 127, 224, 0.06) 0%, transparent 70%);
    filter: blur(55px);
    z-index: -1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 650px;
    line-height: 1.6;
}

.typewriter-container {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
    min-height: 32px;
}

.typewriter-text {
    color: var(--accent);
}

.cursor {
    color: var(--accent);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    aspect-ratio: 4 / 5;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.05);
}

.glow-effect {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-subheading {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.about-text strong {
    color: var(--accent);
    font-weight: 600;
}

.experience-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.stat-card {
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
    font-family: var(--font-heading);
    line-height: 1.1;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ==========================================================================
   PORTFOLIO GALLERY
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    transition: var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(102, 252, 241, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-thumb-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.portfolio-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    opacity: 0.85;
}

.portfolio-hover {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 14, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    backdrop-filter: blur(4px);
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: scale(0.8);
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.play-btn i {
    fill: var(--bg-primary);
    margin-left: 2px;
}

.portfolio-item:hover .portfolio-thumb {
    transform: scale(1.05);
    opacity: 0.6;
}

.portfolio-item:hover .portfolio-hover {
    opacity: 1;
}

.portfolio-item:hover .play-btn {
    transform: scale(1);
}

.portfolio-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.project-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-meta i {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   CERTIFICATES SHOWCASE (LOADED FROM STORAGE)
   ========================================================================== */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.cert-card {
    padding: 30px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.cert-badge-icon {
    width: 50px;
    height: 50px;
    background: rgba(102, 252, 241, 0.08);
    border: 1px solid rgba(102, 252, 241, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.cert-badge-icon i {
    width: 24px;
    height: 24px;
}

.cert-content {
    flex-grow: 1;
}

.cert-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cert-sub {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--accent);
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

.cert-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.cert-attachment-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    background: #0f131c;
}

.cert-img-preview {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.cert-attachment-preview:hover .cert-img-preview {
    transform: scale(1.02);
}

.attachment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    opacity: 0;
    transition: var(--transition-normal);
}

.cert-attachment-preview:hover .attachment-overlay {
    opacity: 1;
}

/* ==========================================================================
   SKILLS & PROGRESS
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.skill-card {
    padding: 30px;
    border-radius: 12px;
}

.skill-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.skill-icon-box i {
    width: 22px;
    height: 22px;
}

.cyan-icon {
    color: var(--accent);
}

.skill-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.skill-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 68px;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    position: absolute;
    left: 0;
    top: 0;
}

.progress-val {
    position: absolute;
    right: 0;
    bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-heading);
}

/* ==========================================================================
   WORK PROCESS TIMELINE
   ========================================================================== */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(102, 252, 241, 0.05) 100%);
}

.process-step {
    position: relative;
    margin-bottom: 40px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-num {
    position: absolute;
    left: -38px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 8px;
    font-weight: 700;
    color: var(--accent);
    z-index: 2;
    box-shadow: 0 0 8px var(--accent);
}

.step-content {
    padding: 24px 30px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   CONTACT SECTION (SOCIAL DASHBOARD GRID)
   ========================================================================== */
.contact-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.social-dashboard-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 45px 24px;
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-dashboard-card:hover {
    transform: translateY(-8px);
}

.dashboard-icon {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.dashboard-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    transition: var(--transition-normal);
}

/* Specific SVG paths without fill for outlines */
.dashboard-icon.instagram-brand svg {
    fill: none;
}

/* Brand Colors Styling (Accurate Logos) */
.phone-brand {
    color: #25d366; /* Phone Green */
    background: rgba(37, 211, 102, 0.05);
    border-color: rgba(37, 211, 102, 0.15);
}
.social-dashboard-card:hover .phone-brand {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.45);
    border-color: #25d366;
}

.email-brand {
    color: #ea4335; /* Google Red */
    background: rgba(234, 67, 53, 0.05);
    border-color: rgba(234, 67, 53, 0.15);
}
.social-dashboard-card:hover .email-brand {
    background: #ea4335;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(234, 67, 53, 0.45);
    border-color: #ea4335;
}

.telegram-brand {
    color: #0088cc; /* Telegram Blue */
    background: rgba(0, 136, 204, 0.05);
    border-color: rgba(0, 136, 204, 0.15);
}
.social-dashboard-card:hover .telegram-brand {
    background: #0088cc;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(0, 136, 204, 0.45);
    border-color: #0088cc;
}

.instagram-brand {
    color: #e1306c; /* Instagram Magenta */
    background: rgba(225, 48, 108, 0.05);
    border-color: rgba(225, 48, 108, 0.15);
}
.social-dashboard-card:hover .instagram-brand {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(225, 48, 108, 0.45);
    border-color: transparent;
}

.social-dashboard-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.dashboard-handle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    word-break: break-all;
    max-width: 100%;
}

.dashboard-cta {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: var(--transition-normal);
}

.dashboard-cta i {
    width: 14px;
    height: 14px;
    transition: var(--transition-normal);
}

.social-dashboard-card:hover .dashboard-cta {
    color: #ffffff;
}

.social-dashboard-card:hover .dashboard-cta i {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #040609;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.footer-brand-svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: var(--transition-normal);
}

.footer-socials a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(102, 252, 241, 0.05);
    transform: translateY(-2px);
}

/* ==========================================================================
   MODAL LIGHTBOXES (VIDEO & DOCUMENTS)
   ========================================================================== */
/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 9, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    backdrop-filter: blur(8px);
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #ffffff;
    font-size: 32px;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.modal-close i {
    width: 32px;
    height: 32px;
}

.modal-content {
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Fallback panel when YouTube blocks embedding */
.video-embed-blocked {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 32px;
    background: var(--bg-secondary);
    text-align: center;
    color: var(--text-secondary);
}

.video-embed-blocked svg {
    width: 64px;
    height: 64px;
    color: var(--accent);
    opacity: 0.7;
}

.video-embed-blocked h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.video-embed-blocked p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 360px;
    margin: 0;
    line-height: 1.6;
}

.yt-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 14px;
    background: #ff0000;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-normal);
    margin-top: 8px;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.35);
}

.yt-watch-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 0, 0, 0.5);
}

.modal-content.fallback-mode {
    aspect-ratio: unset;
    min-height: 380px;
    position: relative;
}

/* Document/Certificate Modal */
.doc-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 9, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    backdrop-filter: blur(8px);
}

.doc-modal.active {
    opacity: 1;
    pointer-events: all;
}

.doc-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #ffffff;
    font-size: 32px;
}

.doc-modal-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.doc-modal-close i {
    width: 32px;
    height: 32px;
}

.doc-modal-content {
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--accent);
}

.doc-viewer-container {
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-container {
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-container {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .contact-social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    /* Toggle Mobile Navigation */
    .nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        z-index: 999;
        transition: var(--transition-normal);
        padding: 40px 24px;
        border-top: 1px solid var(--border-color);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .experience-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-card {
        flex-direction: column;
        gap: 16px;
    }

    .contact-social-grid {
        grid-template-columns: 1fr;
    }
}
.adobe-tools{
    display:flex;
    align-items:center;
    gap:6px;
}

.adobe-icon{
    width:24px;
    height:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    font-size:11px;
    font-weight:700;
    font-family:Arial, sans-serif;
}

.premiere{
    background:#2a003f;
    color:#9999ff;
    border:1px solid #9999ff;
}

.aftereffects{
    background:#1a0033;
    color:#cf96ff;
    border:1px solid #cf96ff;
}
.adobe-tools{
    display:flex;
    align-items:center;
    gap:6px;
}

.software-logo{
    width:24px;
    height:24px;
    object-fit:contain;
}

.adobe-icon{
    width:24px;
    height:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    font-size:11px;
    font-weight:700;
    font-family:Arial,sans-serif;
}

.premiere{
    background:#2a003f;
    color:#9999ff;
    border:1px solid #9999ff;
}

.aftereffects{
    background:#1a0033;
    color:#cf96ff;
    border:1px solid #cf96ff;
}