/* ========================================
   Custom CSS Variables - Bold & Professional Theme
   Rich Black (#101820) + Vivid Yellow (#FEE715)
======================================== */

:root {
    --primary-color: #101820;     /* Rich Black */
    --accent-color: #FEE715;      /* Vivid Yellow */
    --neutral-color: #F8F9FA;     /* Light Gray */
    --dark-color: #2C3E50;        /* Dark Blue Gray */
    --text-light: #6C757D;        /* Muted text */
    --gradient-primary: linear-gradient(135deg, #101820 0%, #2C3E50 100%);
    --gradient-accent: linear-gradient(135deg, #FEE715 0%, #FFD700 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --border-radius: 0.75rem;
    --transition: all 0.3s ease;
}

/* ========================================
   Base Styles & Typography
======================================== */

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: #ffffff;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    color: var(--primary-color) !important;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light) !important;
    margin-bottom: 3rem;
}

/* ========================================
   Navigation Styles
======================================== */

.navbar {
    backdrop-filter: blur(10px);
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

#themeToggle {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

#themeToggle:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* ========================================
   Hero Section
======================================== */

.hero-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    color: white;
    padding-top: 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23FEE715" fill-opacity="0.1" points="0,1000 1000,0 1000,1000"/></svg>') no-repeat center center;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.profile-img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    border: 4px solid var(--accent-color);
    transition: var(--transition);
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px -12px rgba(254, 231, 21, 0.3);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--accent-color);
    text-decoration: none;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: bounce 2s infinite;
    transition: var(--transition);
}

.scroll-down:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* ========================================
   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);
    }
}

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

/* ========================================
   Button Styles
======================================== */

.btn-warning {
    background: var(--gradient-accent) !important;
    border: none !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--primary-color) !important;
    background: var(--primary-color) !important;
    color: var(--accent-color) !important;
}

.btn-outline-warning {
    border: 2px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    background: transparent !important;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-warning:hover {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ========================================
   Scroll to Top Button
======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-medium);
}

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

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* ========================================
   About Me Section Styles
======================================== */

#about {
    background-color: #ffffff;
    color: var(--primary-color);
}

#about .section-title {
    color: var(--primary-color);
}

#about .section-subtitle {
    color: var(--text-light);
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content h3 {
    color: var(--accent-color) !important;
}

.about-content p {
    color: var(--primary-color);
    line-height: 1.7;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 2px solid transparent;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light) !important;
    font-weight: 500;
}

.experience-highlight {
    background: var(--gradient-primary);
    color: white !important;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.experience-highlight h4,
.experience-highlight p {
    color: white !important;
}

.experience-highlight .text-warning {
    color: var(--accent-color) !important;
}

.experience-highlight .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.experience-highlight:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* ========================================
   Skills Section Styles
======================================== */

#skills {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

#skills .section-title {
    color: var(--primary-color);
}

#skills .section-subtitle {
    color: var(--text-light);
}

#skills h3, #skills h5 {
    color: var(--primary-color) !important;
}

.skills-category {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition);
}

.skills-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.skill-item {
    position: relative;
}

.skill-name {
    font-weight: 500;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
}

.skill-name i {
    color: inherit;
}

.skill-percentage {
    font-weight: 600;
    color: #FFC107 !important;
    font-size: 0.9rem;
    background: var(--primary-color);
    padding: 2px 8px;
    border-radius: 12px;
    color: white !important;
}

.skill-progress {
    height: 8px;
    background: #E9ECEF;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress .progress-bar {
    background: var(--gradient-accent);
    transition: width 1.5s ease-in-out;
    position: relative;
}

.skill-progress .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(45deg, 
        transparent 35%, 
        rgba(255,255,255,0.5) 35%, 
        rgba(255,255,255,0.5) 65%, 
        transparent 65%);
    background-size: 10px 10px;
    animation: shimmer 1s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -10px 0;
    }
    100% {
        background-position: 10px 0;
    }
}

.learning-focus {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 2px solid var(--accent-color);
}

.learning-focus h3 {
    color: var(--primary-color) !important;
}

.learning-focus .badge {
    background: var(--gradient-accent) !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.learning-focus .badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
    background: var(--primary-color) !important;
    color: var(--accent-color) !important;
}

/* ========================================
   Section Animations
======================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Dark Theme Support
======================================== */

.dark-theme #about {
    background-color: #1e2125;
    color: white;
}

.dark-theme #about .section-title,
.dark-theme #about .section-subtitle,
.dark-theme .about-content p {
    color: white !important;
}

.dark-theme #skills {
    background-color: #2c2f36;
    color: white;
}

.dark-theme #skills .section-title,
.dark-theme #skills .section-subtitle {
    color: white !important;
}

.dark-theme .stat-card {
    background: #343a40;
    color: white;
    border-color: var(--accent-color);
}

.dark-theme .stat-number,
.dark-theme .stat-label {
    color: white !important;
}

.dark-theme .skills-category {
    background: #343a40;
    color: white;
}

.dark-theme .skill-name {
    color: white !important;
}

.dark-theme .learning-focus {
    background: #343a40;
    color: white;
}

/* ========================================
   Projects Section Styles
======================================== */

#projects {
    background-color: #ffffff;
    color: var(--primary-color);
}

#projects .section-title {
    color: var(--primary-color);
}

#projects .section-subtitle {
    color: var(--text-light);
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 24, 32, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
    transform: translateY(20px);
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-link:hover {
    background: var(--primary-color);
    color: var(--accent-color);
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    background: var(--gradient-accent);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
}

.tech-badge:hover {
    background: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* ========================================
   Videos Section Styles
======================================== */

#videos {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

#videos .section-title {
    color: var(--primary-color);
}

#videos .section-subtitle {
    color: var(--text-light);
}

.video-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    border: 2px solid transparent;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #FF0000;
    transition: var(--transition);
    transform: scale(0.8);
}

.video-card:hover .play-button {
    transform: scale(1);
    background: white;
    box-shadow: var(--shadow-medium);
}

.video-content {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.video-description {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

.video-channel {
    color: #FF0000;
    font-weight: 500;
}

.video-date {
    color: var(--text-light);
}

/* ========================================
   Contact Section Styles
======================================== */

#contact {
    background-color: #ffffff;
    color: var(--primary-color);
}

#contact .section-title {
    color: var(--primary-color);
}

#contact .section-subtitle {
    color: var(--text-light);
}

.contact-form-wrapper {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    border: 2px solid var(--accent-color);
}

.contact-form .form-floating {
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 1rem;
    padding: 1rem 0.75rem;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(254, 231, 21, 0.25);
}

.contact-form .form-floating label {
    color: var(--text-light);
    font-weight: 500;
}

.contact-form .form-control:focus ~ label,
.contact-form .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
}

.message-textarea {
    resize: vertical;
    min-height: 120px !important;
}

#submitBtn {
    position: relative;
    min-width: 200px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#submitBtn.loading {
    color: transparent !important;
}

#submitBtn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1);
    background: var(--primary-color);
    color: var(--accent-color);
}

.contact-info-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ========================================
   Footer Styles
======================================== */

footer {
    background: var(--gradient-primary) !important;
    border-top: 3px solid var(--accent-color);
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

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

.footer-social-link:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ========================================
   Responsive Design
======================================== */

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .profile-img {
        max-width: 300px;
        margin-bottom: 2rem;
    }
    
    /* About Section Mobile */
    .stat-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .experience-highlight {
        margin-top: 2rem;
        padding: 1.5rem !important;
    }
    
    /* Skills Section Mobile */
    .skills-category {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .learning-focus {
        padding: 2rem 1.5rem;
    }
    
    .learning-focus .badge {
        font-size: 0.8rem !important;
        padding: 0.5rem 0.8rem !important;
    }
    
    /* Projects Section Mobile */
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .tech-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    /* Videos Section Mobile */
    .video-thumbnail {
        height: 180px;
    }
    
    .video-content {
        padding: 1.2rem;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Contact Section Mobile */
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Footer Mobile */
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 80px;
        min-height: 100vh;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-content .lead {
        font-size: 0.95rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Navigation Mobile Improvements */
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    /* Contact Form Mobile */
    .contact-form-wrapper {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
    }
    
    .contact-form .form-control {
        font-size: 1rem;
        padding: 0.9rem;
    }
    
    .contact-form .form-floating label {
        font-size: 0.9rem;
    }
    
    #submitBtn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Stats Cards Mobile */
    .stat-card {
        padding: 1.2rem 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Projects Mobile */
    .project-image {
        height: 180px;
    }
    
    .project-content {
        padding: 1.2rem;
    }
    
    .project-title {
        font-size: 1rem;
    }
    
    /* Videos Mobile */
    .video-thumbnail {
        height: 160px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    /* Better Touch Targets */
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .footer-social-link {
        width: 40px;
        height: 40px;
        margin: 0.2rem;
    }
    
    /* Scroll to Top Button */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1.1rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 375px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-wrapper {
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    .project-card,
    .video-card,
    .contact-info-card {
        margin-bottom: 1.5rem;
    }
    
    .learning-focus .badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.6rem !important;
    }
}