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

:root {
    --netflix-red: #e50914;
    --netflix-dark: #141414;
    --netflix-black: #000000;
    --netflix-gray: #808080;
    --netflix-light-gray: #b3b3b3;
    --netflix-white: #ffffff;
}

/* Light Theme Variables */
:root[data-theme="light"] {
    --netflix-red: #e50914;
    --netflix-dark: #2a2a2a;
    --netflix-black: #1a1a1a;
    --netflix-gray: #999999;
    --netflix-light-gray: #cccccc;
    --netflix-white: #ffffff;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --card-bg: #2a2a2a;
    --card-border: #404040;
    --overlay-bg: rgba(26, 26, 26, 0.95);
}

/* Dark Theme Variables (Default) */
:root[data-theme="dark"],
:root:not([data-theme]) {
    --netflix-red: #e50914;
    --netflix-dark: #141414;
    --netflix-black: #000000;
    --netflix-gray: #808080;
    --netflix-light-gray: #b3b3b3;
    --netflix-white: #ffffff;
    --bg-primary: #000000;
    --bg-secondary: #141414;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --card-bg: #141414;
    --card-border: #333333;
    --overlay-bg: rgba(0, 0, 0, 0.9);
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Netflix Navigation */
.netflix-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, var(--overlay-bg) 10%, transparent);
    z-index: 1000;
    padding: 20px 50px;
    transition: background 0.3s;
}

.netflix-nav.scrolled {
    background-color: var(--bg-secondary);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.netflix-logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.logo-red {
    color: var(--netflix-red);
}

.netflix-nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-item:hover {
    color: var(--netflix-light-gray);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.theme-icon {
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

.sun-icon {
    opacity: 0;
    transform: rotate(0deg);
}

.moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(180deg);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(180deg);
}

.toggle-view-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.toggle-view-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--netflix-white);
    transition: all 0.3s;
}

/* Hero Banner (Netflix-style) */
.hero-banner {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #e50914 100%);
    display: flex;
    align-items: center;
    padding: 0 50px;
    margin-top: 80px;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 25%,
        rgba(229, 9, 20, 0.1) 50%,
        rgba(118, 75, 162, 0.1) 75%,
        rgba(102, 126, 234, 0.1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

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

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-image-container {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 500px;
    z-index: 2;
    animation: fadeInRight 1s ease-out;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.image-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.3) 0%, transparent 70%);
    border-radius: 30px;
    z-index: -1;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    margin-left: 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--netflix-light-gray);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--netflix-light-gray);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-play, .btn-info {
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-play {
    background-color: var(--netflix-white);
    color: var(--netflix-black);
}

.btn-play:hover {
    background-color: rgba(255,255,255,0.75);
}

.btn-info {
    background-color: rgba(109, 109, 110, 0.7);
    color: var(--netflix-white);
    border: 2px solid white;
}

.btn-info:hover {
    background-color: rgba(109, 109, 110, 0.9);
}

/* Netflix Row Style */
.netflix-row {
    padding: 40px 50px;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.row-header {
    margin-bottom: 20px;
}

.row-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-left: 10px;
    transition: color 0.3s ease;
}

.row-container {
    position: relative;
    overflow: visible;
    padding: 0 40px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--netflix-white);
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0.9;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}

.scroll-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

.row-content {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-padding: 0 40px;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
}

.row-content::-webkit-scrollbar {
    display: none;
}

/* Netflix Card Style */
.netflix-card {
    flex: 0 0 300px;
    height: 450px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 40px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.5, 0, 0.1, 1), z-index 0.3s, box-shadow 0.4s;
    transform-origin: center left;
    animation: cardFloat 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    user-select: none;
    -webkit-user-select: none;
}

.netflix-card[data-card-id] {
    cursor: pointer;
}

.netflix-card:nth-child(1) {
    animation-delay: 0s;
}

.netflix-card:nth-child(2) {
    animation-delay: 1s;
}

.netflix-card:nth-child(3) {
    animation-delay: 2s;
}

.netflix-card:nth-child(4) {
    animation-delay: 3s;
}

.netflix-card:hover {
    transform: scale(1.2) translateY(-10px);
    z-index: 10;
    box-shadow: 0 20px 60px rgba(229, 9, 20, 0.4);
    animation-play-state: paused;
}

.netflix-card:not(:first-child) {
    margin-left: -10px;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.card-image {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: all 0.3s;
    overflow: hidden;
}

/* Image Container - Rectangle with margins */
.image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    /* margin: 0; */
    overflow: hidden;
    border-radius: 8px;
    z-index: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-background-image {
    width: 100%;
    height: 100%;
    object-position: center;
    background-size: contain;
    position: relative;
    transition: transform 0.4s ease, filter 0.4s ease;
    display: block;
}

.about-card .card-background-image,
.education-card .card-background-image,
.skills-card .card-background-image,
.certifications-card .card-background-image,
.experience-card .card-background-image {
    width: 100%;
    height: 100%;
    object-position: center center;
}

.certifications-card .company-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.2) 0%, rgba(229, 9, 20, 0.1) 100%);
}

.certifications-card .company-logo-placeholder h4 {
    color: var(--netflix-white);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.netflix-card:hover .card-background-image {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.netflix-card:hover .image-container {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Gradient backgrounds for different cards */
.about-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradientFlow 6s ease infinite;
}

.education-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientFlow 7s ease infinite;
}

.skills-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
}

.experience-image-1 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 50%, #fa709a 100%);
    background-size: 200% 200%;
    animation: gradientFlow 7s ease infinite;
}

.experience-image-2 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 50%, #30cfd0 100%);
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
}

.experience-image-3 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #a8edea 100%);
    background-size: 200% 200%;
    animation: gradientFlow 6s ease infinite;
}

.experience-image-4 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradientFlow 7s ease infinite;
}

.experience-image-5 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
}

.experience-image-6 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
    background-size: 200% 200%;
    animation: gradientFlow 6s ease infinite;
}

.experience-image-7 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 50%, #43e97b 100%);
    background-size: 200% 200%;
    animation: gradientFlow 7s ease infinite;
}

/* Company Logo Placeholder */
.company-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.company-logo-placeholder h4 {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.project-image-1 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #ff9a9e 100%);
    background-size: 200% 200%;
    animation: gradientFlow 7s ease infinite;
}

.project-image-2 {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ffecd2 100%);
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
}

.project-image-3 {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 50%, #a1c4fd 100%);
    background-size: 200% 200%;
    animation: gradientFlow 6s ease infinite;
}

.project-image-netflix {
    background: linear-gradient(135deg, #e50914 0%, #b20710 50%, #e50914 100%);
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite, pulseGlow 3s ease infinite;
}

.contact-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradientFlow 7s ease infinite;
}

.contact-email {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
}

.contact-phone {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
}

.contact-linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 50%, #0077b5 100%);
}

.contact-message {
    background: linear-gradient(135deg, #e50914 0%, #b20710 50%, #e50914 100%);
    background-size: 200% 200%;
    animation: gradientFlow 6s ease infinite, pulseGlow 3s ease infinite;
}

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

/* Netflix Preview Box - Always Visible */
.netflix-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 50%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    padding: 25px 20px 20px;
    z-index: 3;
    transform: translateY(0);
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    opacity: 1;
    visibility: visible;
}

.preview-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--netflix-white);
}

.preview-content p {
    font-size: 0.85rem;
    color: var(--netflix-light-gray);
    margin-bottom: 12px;
    line-height: 1.4;
}

.preview-btn {
    padding: 8px 20px;
    background: var(--netflix-white);
    color: var(--netflix-black);
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.preview-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.4) 70%, transparent 100%);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.5, 0, 0.1, 1), background 0.3s;
    height: 100%;
    display: flex;
    align-items: flex-end;
    backdrop-filter: blur(2px);
    z-index: 4;
}

[data-theme="light"] .card-overlay {
    background: linear-gradient(to top, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0.8) 40%, rgba(26,26,26,0.4) 70%, transparent 100%);
}

.netflix-card:hover .card-overlay {
    transform: translateY(0);
}

.netflix-card:hover .card-image {
    filter: brightness(0.7);
    transform: scale(1.1);
}

.netflix-card:hover .netflix-preview {
    opacity: 0;
    visibility: hidden;
}

.about-card .netflix-preview,
.education-card .netflix-preview,
.skills-card .netflix-preview,
.experience-card .netflix-preview {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Card Pattern Overlay */
.card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.5;
    animation: patternMove 10s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes patternMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(10px, -10px) scale(1.1);
        opacity: 0.6;
    }
}

.netflix-card:hover .card-pattern {
    animation-duration: 5s;
    opacity: 0.8;
}

/* Card Shine Effect */
.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
    z-index: 2;
    animation: shineSweep 4s ease-in-out infinite;
}

.netflix-card:hover .card-shine {
    animation: shine 0.6s ease-in-out;
}

@keyframes shineSweep {
    0%, 100% {
        opacity: 0;
        left: -50%;
    }
    50% {
        opacity: 0.3;
        left: 150%;
    }
}

@keyframes shine {
    0% {
        opacity: 0;
        left: -50%;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        left: 150%;
    }
}

.card-info {
    width: 100%;
}

.card-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--netflix-white);
}

.card-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--netflix-light-gray);
    margin-bottom: 8px;
}

.card-info .company {
    color: var(--netflix-red);
    font-weight: 600;
}

.card-info .duration {
    color: var(--netflix-gray);
    font-size: 0.85rem;
}

.card-info .tech {
    color: var(--netflix-light-gray);
    font-size: 0.85rem;
    font-style: italic;
}

.card-list {
    list-style: none;
    margin-top: 10px;
}

.card-list li {
    font-size: 0.85rem;
    color: var(--netflix-light-gray);
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
}

.card-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--netflix-red);
}

.card-badges {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 10px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 3px;
    font-size: 0.75rem;
    color: var(--netflix-white);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Card Expand Button */
.card-expand-btn {
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--netflix-white);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.card-expand-btn:hover {
    background: var(--netflix-red);
    border-color: var(--netflix-red);
    transform: translateX(5px);
}

/* Contact Icon Styles */
.contact-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s ease;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: iconGlow 3s ease-in-out infinite;
}

.contact-icon {
    width: 80%;
    height: 80%;
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    animation: iconFloat 4s ease-in-out infinite, iconPulse 3s ease-in-out infinite;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    animation: iconFloat 2s ease-in-out infinite, iconPulse 1.5s ease-in-out infinite;
    transform: scale(1.15);
    color: rgba(255, 255, 255, 1);
    filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.5));
}

.contact-card:hover .contact-icon-wrapper {
    transform: translate(-50%, -50%) scale(1.2);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    animation: iconGlow 1.5s ease-in-out infinite;
}

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

@keyframes iconPulse {
    0%, 100% {
        opacity: 0.9;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.4));
    }
}

@keyframes iconGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    }
}

.contact-link {
    color: var(--netflix-white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    display: block;
    margin-top: 8px;
}

.contact-link:hover {
    color: var(--netflix-red);
}

.contact-row {
    justify-content: center;
}

.contact-card {
    flex: 0 0 250px;
    height: 300px;
}

/* Featured Project */
.featured-project {
    border: 2px solid var(--netflix-red);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    position: relative;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.8);
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid var(--card-border);
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--netflix-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--netflix-red);
    border-color: var(--netflix-red);
    transform: rotate(90deg);
}

.modal-content {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--netflix-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    font-size: 1.2rem;
    color: var(--netflix-light-gray);
}

.modal-body {
    color: var(--netflix-light-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.modal-body h3 {
    color: var(--netflix-white);
    font-size: 1.5rem;
    margin: 20px 0 10px 0;
}

.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.modal-body ul li {
    padding: 10px 0 10px 25px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--netflix-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.modal-body p {
    margin: 15px 0;
}

.modal-body .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.modal-body .tech-tag {
    padding: 6px 15px;
    background: rgba(229, 9, 20, 0.2);
    border: 1px solid var(--netflix-red);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--netflix-white);
}

/* Footer */
.netflix-footer {
    background-color: var(--netflix-black);
    padding: 40px 50px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content p {
    color: var(--netflix-gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeInLeft 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay {
    animation: fadeInLeft 1s ease-out 0.6s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInLeft 1s ease-out 0.9s both;
}

.animate-card {
    animation: scaleIn 0.6s ease-out both;
}

.animate-card:nth-child(1) { animation-delay: 0.1s; }
.animate-card:nth-child(2) { animation-delay: 0.2s; }
.animate-card:nth-child(3) { animation-delay: 0.3s; }
.animate-card:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced Button Animations */
.btn-play, .btn-info {
    position: relative;
    overflow: hidden;
}

.btn-play::before, .btn-info::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-play:hover::before, .btn-info:hover::before {
    width: 300px;
    height: 300px;
}

.btn-play span, .btn-info span {
    position: relative;
    z-index: 1;
}

/* Row Title Animation */
.row-title {
    position: relative;
    display: inline-block;
}

.row-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--netflix-red);
    transition: width 0.5s ease;
}

.row-title:hover::after {
    width: 100%;
}

/* Enhanced Card Hover Effects */
.netflix-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
    padding: 2px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(229, 9, 20, 0.3) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(229, 9, 20, 0.3) 75%,
        rgba(255, 255, 255, 0.1) 100%);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    animation: borderGlow 3s ease infinite;
    pointer-events: none;
}

.netflix-card:hover::after {
    opacity: 1;
    animation: borderGlow 1s ease infinite;
}

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

/* Animated particles on cards */
.netflix-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particleMove 20s linear infinite;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.netflix-card:hover::before {
    opacity: 0.6;
    animation-duration: 10s;
}

@keyframes particleMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .scroll-btn {
        display: none;
    }

    .row-container {
        padding: 0 10px;
    }

    .netflix-nav {
        padding: 15px 20px;
    }

    .netflix-logo {
        font-size: 1.3rem;
    }

    .netflix-nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--netflix-dark);
        width: 100%;
        padding: 20px;
        transition: left 0.3s;
        gap: 15px;
    }

    .netflix-nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-banner {
        height: 60vh;
        min-height: 400px;
        padding: 0 20px;
        flex-direction: column;
        justify-content: center;
    }

    .hero-image-container {
        position: relative;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(0);
        width: 250px;
        height: 320px;
        margin-bottom: 30px;
        top: auto;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
        max-width: 100%;
        margin-top: 20px;
    }

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

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

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

    .netflix-row {
        padding: 30px 20px;
    }

    .netflix-card {
        flex: 0 0 250px;
        height: 380px;
    }

    .contact-card {
        flex: 0 0 200px;
        height: 250px;
    }
}

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn-play, .btn-info {
        width: 100%;
        justify-content: center;
    }

    .netflix-card {
        flex: 0 0 200px;
        height: 320px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Education Modal Styles */
.education-modal {
    max-width: 900px;
}

.education-back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s;
    font-weight: 500;
}

.education-back-btn:hover {
    background: var(--netflix-red);
    border-color: var(--netflix-red);
    transform: translateX(-5px);
}

.education-section.resume-style {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.education-entry {
    padding: 0;
}

.university-name {
    color: var(--netflix-white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.degree-line {
    color: var(--netflix-light-gray);
    font-size: 1rem;
    margin-bottom: 6px;
    line-height: 1.6;
}

.degree-line strong {
    color: var(--netflix-white);
    font-weight: 600;
}

.degree-line.secondary {
    margin-top: 12px;
}

.duration-line {
    color: var(--netflix-light-gray);
    font-size: 1rem;
    margin-bottom: 6px;
    line-height: 1.6;
}

.gpa-line {
    color: var(--netflix-light-gray);
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.gpa-line strong {
    color: var(--netflix-white);
    font-weight: 600;
}

.specialization-line {
    color: var(--netflix-light-gray);
    font-size: 1rem;
    margin-bottom: 6px;
    line-height: 1.6;
}

.specialization-line strong {
    color: var(--netflix-white);
    font-weight: 600;
}

.stream-line {
    color: var(--netflix-light-gray);
    font-size: 1rem;
    margin-bottom: 6px;
    line-height: 1.6;
    font-style: italic;
}

.coursework-section {
    margin-top: 12px;
}

.coursework-title {
    color: var(--netflix-white);
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.coursework-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 0;
}

.coursework-bullets li {
    color: var(--netflix-light-gray);
    font-size: 0.95rem;
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.6;
}

.coursework-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--netflix-red);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Certifications Badges in Skills Modal */
.certifications-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.certification-badge {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(229, 9, 20, 0.2);
    border: 2px solid var(--netflix-red);
    border-radius: 50px;
    color: var(--netflix-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.certification-badge:hover {
    background: var(--netflix-red);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

@media (max-width: 768px) {
    .coursework-list {
        grid-template-columns: 1fr;
    }
    
    .education-back-btn {
        top: 10px;
        left: 10px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .education-header h3 {
        font-size: 1.3rem;
    }
    
    .certifications-badges {
        gap: 10px;
    }
    
    .certification-badge {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

