/* ==========================================
   FIZA GULFAM PORTFOLIO - DESIGN SYSTEM
   ========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0d0015;
    --bg-secondary: #1a0025;
    --bg-tertiary: #250035;
    --accent-primary: #c026d3;
    --accent-secondary: #a855f7;
    --accent-light: #d946ef;
    --accent-glow: rgba(192, 38, 211, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --card-bg: rgba(20, 0, 30, 0.6);
    --card-border: rgba(192, 38, 211, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.05);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #c026d3 0%, #a855f7 100%);
    --gradient-bg: linear-gradient(180deg, #0d0015 0%, #1a0025 50%, #0d0015 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(192, 38, 211, 0.3) 0%, transparent 70%);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --border-radius: 20px;
    --border-radius-sm: 12px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

html {
    overflow-x: hidden;
}

/* Background Effects */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    z-index: -2;
}

.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-30px) translateX(20px);
    }

    50% {
        transform: translateY(-10px) translateX(-15px);
    }

    75% {
        transform: translateY(-40px) translateX(10px);
    }
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(13, 0, 21, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(145deg, #6b21a8 0%, #7c3aed 30%, #a855f7 60%, #c026d3 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow:
        0 4px 15px rgba(168, 85, 247, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
    overflow: visible;
}

/* Brain icon - top left */
.logo-icon-box::before {
    content: '\f5dc';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
    color: #e879f9;
    position: absolute;
    top: 4px;
    left: 4px;
    text-shadow: 0 0 8px rgba(232, 121, 249, 0.6);
}

/* Code brackets {/} - center */
.logo-icon-box::after {
    content: '{/}';
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 800;
    color: white;
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
}

/* Cursor icon container */
.logo-cursor {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 12px;
    color: white;
    transform: rotate(-15deg);
}

.logo:hover .logo-icon-box {
    transform: scale(1.08);
    box-shadow:
        0 6px 25px rgba(168, 85, 247, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.logo-text span {
    color: var(--accent-light);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.nav-contact-btn {
    background: var(--gradient-primary);
    color: var(--text-primary) !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.nav-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.nav-contact-btn::after {
    display: none !important;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 5px 25px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    border-color: transparent;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.hero-badge .sparkle {
    color: var(--accent-light);
}

.hero-greeting {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.hero-greeting span {
    color: var(--accent-light);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--accent-glow);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

.hero-image-frame {
    position: relative;
    width: 400px;
    height: 450px;
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--accent-primary);
    border-radius: 30px;
    transform: rotate(5deg);
}

.hero-image-frame::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: var(--gradient-glow);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.6;
    animation: floatUpDown 4s ease-in-out infinite;
}

.floating-circle.small {
    width: 15px;
    height: 15px;
}

.floating-circle.medium {
    width: 25px;
    height: 25px;
    animation-delay: 0.5s;
}

.floating-circle.large {
    width: 40px;
    height: 40px;
    animation-delay: 1s;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   SCROLL INDICATOR
   ========================================== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator-circle {
    width: 40px;
    height: 60px;
    border: 2px solid var(--accent-primary);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-indicator-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* ==========================================
   SECTION STYLES
   ========================================== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-primary);
    box-shadow: 0 0 60px var(--accent-glow);
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-glow);
    border-radius: 50%;
    z-index: -1;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-quote {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    padding: 20px 25px;
    border-radius: var(--border-radius-sm);
    margin: 30px 0;
}

.about-quote-icon {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-quote p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
}

/* Skills */
.skills-section {
    margin-top: 40px;
}

.skills-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    transition: var(--transition-normal);
}

.skill-item:hover {
    border-color: var(--accent-primary);
    background: rgba(192, 38, 211, 0.1);
}

.skill-item i {
    color: var(--accent-light);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(192, 38, 211, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--accent-light);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--text-primary);
    transform: rotate(10deg) scale(1.1);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-info h2 .sparkle {
    color: var(--accent-light);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 20px;
}

.contact-item-text h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.contact-item-text p {
    font-size: 16px;
    color: var(--text-primary);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-normal);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Legal Pages Styles */
.legal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--card-border);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 15px;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.legal-section strong {
    color: var(--text-primary);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

/* ==========================================
   FOOTER - Professional Multi-Column Design
   ========================================== */
.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(10, 0, 15, 0.98) 100%);
    padding: 80px 0 30px;
    border-top: 1px solid var(--card-border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
}

.footer-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a::before {
    content: '→';
    color: var(--accent-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-fast);
}

.footer-links li a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-links li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-contact-item i {
    width: 35px;
    height: 35px;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 14px;
    flex-shrink: 0;
}

.footer-contact-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-contact-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.footer-contact-item a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--accent-light);
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

/* ==========================================
   PAGE HEADERS (for inner pages)
   ========================================== */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: var(--gradient-glow);
    z-index: -1;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

/* ==========================================
   EXPERIENCE SECTION
   ========================================== */
.experience-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 35px;
    margin-bottom: 25px;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.experience-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.experience-company {
    color: var(--accent-light);
    font-size: 16px;
}

.experience-date {
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.experience-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

.experience-list {
    list-style: none;
    margin-top: 15px;
}

.experience-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.experience-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-light);
}

/* ==========================================
   EDUCATION SECTION
   ========================================== */
.education-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 35px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.education-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.education-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.education-content h4 {
    color: var(--accent-light);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.education-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-description {
        margin: 0 auto 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .hero-image-frame {
        width: 300px;
        height: 350px;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        display: flex;
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: var(--transition-normal);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-image-frame {
        width: 250px;
        height: 300px;
    }

    .section-title {
        font-size: 32px;
    }

    .about-image-wrapper {
        width: 250px;
        height: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 36px;
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .footer-brand p {
        max-width: 100%;
        margin: 0 auto 20px;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column {
        padding: 0 15px;
    }

    .footer-column h4 {
        margin-bottom: 20px;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        align-items: center;
    }

    .footer-links li a {
        justify-content: center;
    }

    .footer-links li a::before {
        display: none;
    }

    .footer-contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-contact-item div {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-top: 25px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-bottom-links li a {
        font-size: 12px;
    }

    /* Logo Responsive */
    .logo-icon-box {
        width: 38px;
        height: 38px;
    }

    .logo-icon-box::before {
        font-size: 14px;
        top: 3px;
        left: 3px;
    }

    .logo-icon-box::after {
        font-size: 11px;
    }

    .logo-cursor {
        font-size: 10px;
    }

    .logo-text {
        font-size: 16px;
    }

    /* Resume Page Responsive */
    .resume-container {
        flex-direction: column;
    }

    .resume-sidebar {
        width: 100%;
        position: relative;
    }

    .resume-main {
        width: 100%;
    }

    /* Skills Grid */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline */
    .timeline-item {
        padding-left: 20px;
    }

    .timeline-item::before {
        left: 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Hero Section */
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-image-frame {
        width: 200px;
        height: 250px;
    }

    /* Section Headers */
    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Page Headers */
    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 14px;
    }

    /* Cards */
    .service-card {
        padding: 25px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    /* Contact Info */
    .contact-info-card {
        padding: 20px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 25px;
    }

    .footer-logo-img,
    .logo-img {
        height: 35px;
    }

    .logo-text {
        font-size: 14px;
    }

    .logo-icon-box {
        width: 34px;
        height: 34px;
    }

    .logo-icon-box::before {
        font-size: 12px;
        top: 2px;
        left: 2px;
    }

    .logo-icon-box::after {
        font-size: 10px;
    }

    .logo-cursor {
        font-size: 9px;
        bottom: 1px;
        right: 1px;
    }

    /* Navigation */
    .navbar {
        padding: 15px 0;
    }

    .nav-links {
        width: 80%;
        padding: 30px;
    }

    /* About Image */
    .about-image-wrapper {
        width: 200px;
        height: 200px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 28px;
    }

    /* Resume Download Button */
    .resume-download {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .logo {
        gap: 8px;
    }

    .logo-text {
        font-size: 13px;
    }

    .logo-icon-box {
        width: 30px;
        height: 30px;
    }

    .logo-icon-box::before {
        font-size: 10px;
    }

    .logo-icon-box::after {
        font-size: 9px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   ANIMATIONS ON SCROLL
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}