/* ===================================
   Global Styles & Variables
   =================================== */
:root {
    /* Modern Color Palette */
    --primary-color: #2563eb;     /* Vibrant Blue */
    --primary-light: #3b82f6;     /* Lighter Blue */
    --primary-dark: #1d4ed8;      /* Darker Blue */
    --secondary-color: #10b981;   /* Emerald Green */
    --accent-color: #f43f5e;      /* Rose Red */
    --accent-light: #fb7185;      /* Lighter Rose */
    --text-color: #1e293b;        /* Slate 800 */
    --text-light: #64748b;        /* Slate 500 */
    --background-start: #f8fafc;  /* Slate 50 */
    --background-end: #f1f5f9;    /* Slate 100 */
    --background-alt: #ffffff;    /* White */
    --border-color: #e2e8f0;      /* Slate 200 */
    --success-color: #10b981;     /* Emerald 500 */
    --warning-color: #f59e0b;     /* Amber 500 */
    --error-color: #ef4444;       /* Red 500 */
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-accent: 0 0 15px rgba(255, 107, 107, 0.5);
    --glow-effect: 0 0 15px rgba(255, 107, 107, 0.6);
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-end);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--background-start), var(--background-end));
    background-attachment: fixed;
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body.loaded {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.wave-bg {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%232a5c8a' fill-opacity='0.3' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1000px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.section-title:hover::after {
    width: 120px;
    background: var(--accent-color);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.8rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-brand a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand a:hover {
    color: var(--primary-dark);
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover::after {
    width: 70%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 70%;
    background: var(--primary-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    background: none;
    border: none;
    padding: 0;
    outline: none;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--background-start);
    color: var(--text-color);
    z-index: 1;
    padding-top: 80px; /* Account for fixed navbar */
    border-bottom: 1px solid var(--border-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29-22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.6;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-content {
    width: 100%;
    max-width: 100%;
    text-align: left;
    padding: 2rem 0;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    color: var(--text-color);
    line-height: 1.1;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    margin: 0 0 1.5rem 0;
    color: var(--text-light);
    max-width: 700px;
    line-height: 1.5;
}

.hero-tagline {
    font-size: 1.25rem;
    font-style: italic;
    margin: 2rem 0 2.5rem 0;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    padding: 1rem 1.5rem;
    font-weight: 400;
    background: var(--background-alt);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 3rem 0 0 0;
}

.hero-buttons .btn {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
}

.hero-buttons .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.hero-buttons .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--primary-color);
    transform: translateY(-5px) translateX(-50%);
}

.scroll-indicator .mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.scroll-indicator:hover .mouse {
    border-color: var(--primary-color);
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero .container {
        text-align: center;
        padding: 3rem 1.5rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    transform: translateY(0);
    will-change: transform, box-shadow;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(42, 92, 138, 0.15);
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===================================
   About Section
   =================================== */
.about {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

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

.image-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--accent-color), #4AB39F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    transform-style: preserve-3d;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, var(--accent-color), #4AB39F);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(20px);
    animation: pulse 2s ease-in-out infinite;
}

.image-placeholder:hover {
    transform: scale(1.1) rotateY(180deg);
    animation: none;
}

.image-placeholder i {
    font-size: 120px;
    color: white;
    opacity: 0.9;
}

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

.about-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    width: 24px;
}

.info-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(88, 196, 177, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-color);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    color: white;
    transform: translateY(-8px) rotate(360deg) scale(1.15);
    box-shadow: var(--shadow-teal);
}

/* ===================================
   Skills Section
   =================================== */
.skills {
    background: transparent;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(88, 196, 177, 0.2);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(88, 196, 177, 0.08), rgba(179, 199, 230, 0.08));
    border-radius: var(--border-radius);
    opacity: 0;
    transition: var(--transition);
    transform: translateZ(-1px);
}

.skill-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: var(--shadow-teal);
    border-color: var(--accent-color);
}

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

.skill-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-color), #4AB39F);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
    transform-style: preserve-3d;
    position: relative;
}

.skill-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--accent-color), #4AB39F);
    border-radius: 16px;
    opacity: 0.3;
    filter: blur(10px);
    transform: translateZ(-10px);
    transition: var(--transition);
}

.skill-card:hover .skill-icon {
    transform: scale(1.2) rotate(360deg) translateZ(20px);
    animation: pulse3d 0.6s ease-in-out;
}

.skill-card:hover .skill-icon::after {
    opacity: 0.6;
    filter: blur(20px);
}

@keyframes pulse3d {
    0%, 100% { transform: scale(1.2) rotate(360deg) translateZ(20px); }
    50% { transform: scale(1.3) rotate(360deg) translateZ(30px); }
}

.skill-icon i {
    font-size: 2rem;
    color: white;
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.skill-card ul {
    list-style: none;
}

.skill-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.skill-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

/* ===================================
   Experience Section
   =================================== */
.experience {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

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

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

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 60px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 8px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
    z-index: 1;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(88, 196, 177, 0.2);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 196, 177, 0.1), transparent);
    transition: left 0.6s;
}

.timeline-content:hover {
    box-shadow: var(--shadow-teal);
    transform: translateX(12px) scale(1.02);
    border-color: var(--accent-color);
}

.timeline-content:hover::before {
    left: 100%;
}

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

.timeline-header h3 {
    font-size: 1.4rem;
    color: var(--text-color);
}

.timeline-date {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.timeline-role {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 16px;
}

.timeline-achievements {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(88, 196, 177, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.achievement-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 196, 177, 0.2), transparent);
    transition: left 0.5s;
}

.timeline-content:hover .achievement-badge::before {
    left: 100%;
}

.achievement-badge:hover {
    transform: scale(1.1);
    background: var(--accent-color);
    color: white;
}

.achievement-badge i {
    font-size: 1.1rem;
}

.timeline-highlights {
    list-style: none;
}

.timeline-highlights li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.timeline-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* ===================================
   Education Section
   =================================== */
.education {
    background: transparent;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.education-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(88, 196, 177, 0.2);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(88, 196, 177, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
}

.education-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: var(--shadow-teal);
}

.education-card:hover::before {
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.education-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #4AB39F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
    transform-style: preserve-3d;
    position: relative;
}

.education-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(135deg, var(--accent-color), #4AB39F);
    border-radius: 50%;
    opacity: 0;
    filter: blur(15px);
    transition: var(--transition);
}

.education-card:hover .education-icon {
    transform: scale(1.2) translateZ(30px);
    animation: spin3d 1s ease-in-out;
}

.education-card:hover .education-icon::before {
    opacity: 0.6;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes spin3d {
    0% { transform: scale(1.2) translateZ(30px) rotateY(0deg); }
    100% { transform: scale(1.2) translateZ(30px) rotateY(360deg); }
}

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

.education-icon i {
    font-size: 2.2rem;
    color: white;
}

.education-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.education-institution {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.education-year {
    color: var(--accent-color);
    font-weight: 500;
}

.certifications {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.certifications-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

.certifications-grid {
    display: grid;
    gap: 24px;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(88, 196, 177, 0.2);
    position: relative;
    overflow: hidden;
}

.certification-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-color), #4AB39F);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.certification-item:hover {
    box-shadow: var(--shadow-teal);
    transform: translateX(12px) scale(1.02);
    border-color: var(--accent-color);
}

.certification-item:hover::before {
    transform: scaleY(1);
}

.certification-item i {
    transition: var(--transition);
}

.certification-item:hover i {
    transform: rotate(360deg) scale(1.2);
    color: var(--accent-color);
}

.certification-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.certification-item h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 4px;
}

.certification-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(179, 199, 230, 0.15);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(88, 196, 177, 0.1);
}

.contact-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 4px;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    word-break: break-word;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(88, 196, 177, 0.2);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-color);
    color: white;
    padding: 40px 0;
}

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

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-4px);
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #4AB39F);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Additional 3D & Interactive Styles
   =================================== */
.hero-title, .hero-subtitle {
    text-shadow: 0 4px 8px rgba(107, 159, 232, 0.2);
    transform-style: preserve-3d;
}

.nav-link {
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    transform: translateY(-2px) scale(1.05);
}

.contact-item {
    transform-style: preserve-3d;
}

.contact-item:hover {
    transform: translateX(8px) rotateY(5deg);
}

.form-group input:focus,
.form-group textarea:focus {
    transform: scale(1.02) translateZ(10px);
}

.back-to-top {
    transform-style: preserve-3d;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1) rotate(360deg);
}

/* Glow effect for interactive elements */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--accent-glow),
                    0 0 10px var(--accent-glow);
    }
    50% {
        box-shadow: 0 0 20px var(--accent-glow),
                    0 0 30px var(--accent-glow);
    }
}

.skill-card:hover,
.education-card:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Gradient text effect */
.hero-subtitle {
    background: linear-gradient(135deg, var(--accent-color), #4AB39F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Perspective container for 3D effects */
.skills-grid,
.education-grid,
.experience-timeline {
    perspective: 1500px;
}

/* Loading animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skill-card::after,
.education-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.skill-card:hover::after,
.education-card:hover::after {
    opacity: 1;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        padding: 0.8rem 0;
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-info {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

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

    .experience-timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-dot {
        left: 1px;
    }

    .timeline-header {
        flex-direction: column;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .image-placeholder {
        width: 220px;
        height: 220px;
    }

    .image-placeholder i {
        font-size: 90px;
    }
}

/* ===================================
   Scroll Animations
   =================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}
