/* Custom CSS for Portfolio Website */

/* Root Variables - Modern Dark Theme */
:root {
    --primary-color: #6366f1;
    --primary-light: #8b5cf6;
    --primary-dark: #4f46e5;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --dark-light: #1e293b;
    --dark-medium: #334155;
    --accent-color: #f97316;
    --purple-color: #8b5cf6;
    --font-family: 'Inter', sans-serif;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Global Styles */
body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--light-color);
    background: var(--dark-color);
    overflow-x: hidden;
}

/* Smooth scrolling with better performance */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 4rem;
    font-weight: 800;
    font-size: 2.8rem;
    color: var(--light-color);
    text-align: center;
    letter-spacing: -0.02em;
    /* text-shadow: 0 2px 4px rgba(0,0,0,0.5); */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    /* background: var(--gradient-primary); */
    border-radius: 3px;
    /* box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3); */
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--light-color);
    opacity: 0.9;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Modern Navigation Styles */
.professional-nav {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
    transition: all 0.3s ease;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.professional-nav.scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

.professional-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--light-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.3rem;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.professional-brand:hover .brand-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.professional-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: transparent;
    position: relative;
    width: 30px;
    height: 30px;
}

.toggler-icon {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--light-color);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.professional-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.professional-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
    opacity: 0;
}

.professional-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.professional-nav-links {
    gap: 0.5rem;
}

.professional-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem !important;
    color: var(--light-color) !important;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0 0.25rem;
}

.professional-link i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.professional-link:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.professional-link:hover i {
    transform: scale(1.1);
    color: var(--primary-light);
}

.professional-link.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light) !important;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.professional-cta-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    color: white;
}

.professional-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: var(--gradient-secondary);
}

/* Modern Hero Section */
.hero-section {
    background: var(--gradient-dark);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(249, 115, 22, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 600;
    animation: fadeInUp 1s ease-out;
    color: var(--primary-light);
}

.hero-badge i {
    margin-right: 0.75rem;
    color: var(--primary-light);
    font-size: 1.1rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-content .lead {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 600;
    color: var(--light-color);
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-buttons .btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    color: white;
    font-weight: 600;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
    background: var(--gradient-secondary);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(99, 102, 241, 0.5);
    backdrop-filter: blur(10px);
    color: var(--light-color);
    background: rgba(99, 102, 241, 0.1);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    color: var(--light-color);
}

.hero-image {
    text-align: center;
    animation: fadeInRight 1s ease-out 1s both;
}

.profile-card {
    position: relative;
    display: inline-block;
}

.profile-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.profile-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.profile-img {
    max-width: 350px;
    max-height: 350px;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.profile-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.profile-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: -10%;
    animation-delay: 1.5s;
}

.element-3 {
    bottom: 20%;
    left: -5%;
    animation-delay: 3s;
}

.element-4 {
    top: 40%;
    right: -5%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* About Section */
section:not(.hero-section) {
    background: var(--dark-light);
    padding: 5rem 0;
}

section:nth-child(even):not(.hero-section) {
    background: var(--dark-color);
}

.about-feature {
    padding: 2.5rem 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.about-feature:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.about-feature i {
    transition: transform 0.3s ease;
    color: var(--primary-light);
}

.about-feature:hover i {
    transform: scale(1.1);
}

.about-feature h4 {
    color: var(--light-color);
    font-weight: 600;
    margin: 1rem 0;
}

.about-feature p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Skills Section */
.skill-card {
    background: rgba(30, 41, 59, 0.8);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(100, 116, 139, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.skill-card i {
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.skill-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.skill-card h4 {
    color: var(--light-color);
    font-weight: 700;
    margin: 1rem 0;
    font-size: 1.3rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.skill-card p {
    color: var(--light-color);
    opacity: 0.9;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Projects Section */
.project-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(100, 116, 139, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-15px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
    background: rgba(30, 41, 59, 0.8);
}

.project-content h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light-color);
    font-size: 1.3rem;
}

.project-content p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Experience Timeline */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2.5rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 4px solid var(--dark-light);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.3);
}

.timeline-content {
    background: rgba(30, 41, 59, 0.85);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(100, 116, 139, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.timeline-content:hover::before {
    transform: scaleX(1);
}

.timeline-content:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.timeline-content h4 {
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--light-color);
    font-size: 1.4rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.timeline-content h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-light);
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.timeline-content p {
    color: var(--light-color);
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.timeline-content .text-muted {
    color: var(--accent-color) !important;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Contact Form */
.contact-form {
    background: rgba(30, 41, 59, 0.6);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.form-control {
    background: rgba(15, 23, 42, 0.5);
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    color: var(--light-color);
    font-size: 1rem;
}

.form-control::placeholder {
    color: var(--secondary-color);
}

.form-control:focus {
    border-color: var(--primary-light);
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    color: var(--light-color);
}

.form-label {
    font-weight: 600;
    color: var(--light-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* Social Links */
.social-links {
    margin-top: 3rem;
}

.social-link {
    color: var(--secondary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 50%;
    border: 1px solid rgba(100, 116, 139, 0.3);
    margin: 0 0.75rem;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    color: var(--light-color);
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-light);
}

/* Modern Footer */
.professional-footer {
    background: var(--gradient-dark);
    color: var(--light-color);
    margin-top: 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
}

.professional-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-content {
    padding: 4rem 0 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.6rem;
    margin-right: 1rem;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.footer-brand-text {
    font-size: 1.9rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(30, 41, 59, 0.6);
    color: var(--secondary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.footer-social .social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    color: white;
    border-color: var(--primary-light);
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 10px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 12px;
}

.footer-contact {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.contact-item i {
    width: 20px;
    margin-right: 0.75rem;
    color: var(--primary-light);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-copyright {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.footer-tech {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 500;
}

.footer-tech i {
    margin: 0 0.25rem;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Professional Navigation Mobile */
    .professional-nav {
        padding: 0.75rem 0;
    }
    
    .professional-brand {
        font-size: 1.3rem;
    }
    
    .brand-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 0.5rem;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .professional-nav-links {
        margin-top: 1rem;
        gap: 0.25rem;
    }
    
    .professional-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem;
    }
    
    .professional-link i {
        font-size: 0.8rem;
        margin-right: 0.4rem;
    }
    
    .navbar-actions {
        margin-top: 1rem;
        text-align: center;
    }
    
    .professional-cta-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Professional Footer Mobile */
    .footer-content {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-brand-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 0.75rem;
    }
    
    .footer-brand-text {
        font-size: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-social .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-bottom {
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .footer-tech {
        margin-top: 1rem;
    }
    
    /* Enhanced Hero Mobile */
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1rem;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .profile-image-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .skill-card,
    .project-card {
        margin-bottom: 2rem;
    }
    
    .floating-element {
        display: none;
    }
}

/* Utility Classes */
.text-purple {
    color: var(--purple-color) !important;
}

.bg-purple {
    background-color: var(--purple-color) !important;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.scroll-to-top:hover {
    background: var(--dark-color);
    transform: translateY(-3px);
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: var(--danger-color);
}

.form-control.is-valid {
    border-color: var(--success-color);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--danger-color);
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--success-color);
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        page-break-after: avoid;
    }
}
