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

html {
    font-size: clamp(14px, 2.5vw, 16px);
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background: #000000;
    color: white;
    overflow-x: hidden;
    transition: all 0.3s ease;
    position: relative;
    line-height: 1.6;
    min-width: 280px;
}

/* No custom cursor - using default browser cursor */

/* Show default cursor on all pages */
@media (min-width: 769px) {
    *, *::before, *::after {
        cursor: auto !important;
    }
    
    /* Ensure proper cursor for interactive elements */
    a, button, input, textarea, select, [onclick], [role="button"],
    .close, .gallery-thumb, .demo-btn, .source-btn,
    .service-card, .contact-item, .testimonial-circle,
    .stat-item, .skill-item, .nav-menu a, .social-links a, .hero-buttons a {
        cursor: pointer !important;
    }
}

/* Default cursor behavior */
@media (min-width: 769px) {
    .cursor-dot {
        display: none !important;
    }
}

/* Hide custom cursor on mobile/tablet */
@media (max-width: 768px) {
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }
    
    * {
        cursor: auto !important;
    }
}

/* Dark mode default styles */
.container {
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    width: 100%;
}

.section-title {
    font-size: clamp(2rem, 6vw, 3rem);
    text-align: center;
    margin-bottom: clamp(2rem, 8vw, 4rem);
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 4vw, 2rem);
    border-radius: 15px;
}

.section-title:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 153, 204, 0.15));
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: #00ffff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 212, 255, 0.4), 0 0 30px rgba(0, 255, 255, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.7);
    text-shadow: 0 0 25px rgba(0, 255, 255, 0.8);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.section-title:hover::after {
    width: 120px;
    height: 4px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

/* About Section Dark Mode - Force Desktop Layout */
.about-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
    text-align: left !important;
}

.about-text {
    order: 1 !important;
}

.about-image {
    order: 2 !important;
    margin-bottom: 0 !important;
}

.about-text h3 {
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.info-item {
    padding: 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    transition: all 0.3s;
    color: #ccc;
    text-decoration: none;
    display: block;
}

.info-item:hover {
    background: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3), 0 0 15px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.7);
}

.team-btn {
    text-decoration: none;
    cursor: pointer;
    display: block;
}

.team-btn span {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: block;
}

.team-btn:hover span {
    color: #00d4ff;
}

.details-btn {
    text-decoration: none;
    cursor: pointer;
    display: block;
}

.details-btn span {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: block;
}

.details-btn:hover span {
    color: #00d4ff;
}

/* Details Page Styles */
.details-page {
    padding: 8rem 5% 4rem;
    min-height: 100vh;
    position: relative;
}

/* Animated Background */
.details-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.05));
    border-radius: 50%;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.6;
    }
}

.page-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 255, 255, 0.4);
    }
}

.page-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    margin: 1rem auto;
    border-radius: 2px;
    position: relative;
}

.section-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

.details-section {
    margin-bottom: 5rem;
}

.education-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #00d4ff, #0099cc);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.education-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.education-item:nth-child(even) .education-card {
    margin-left: auto;
    margin-right: 2rem;
}

.education-item:nth-child(odd) .education-card {
    margin-right: auto;
    margin-left: 2rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    border: 4px solid #000;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    z-index: 2;
    animation: pulse 2s infinite;
}

.education-card {
    width: 45%;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 204, 0.08));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.education-card:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 153, 204, 0.2));
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.4), 0 0 30px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

.education-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.education-card:hover .education-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
}

.education-badge {
    display: inline-block;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievements {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.achievement-tag {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.education-content h3 {
    color: #00d4ff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.institution {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.year {
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.description {
    color: #aaa;
    line-height: 1.6;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.cert-item {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(0, 153, 204, 0.06));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.cert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.cert-item:hover::before {
    left: 100%;
}

.cert-item:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 153, 204, 0.15));
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.4), 0 0 30px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cert-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.cert-item:hover .cert-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
}

.cert-badge {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.cert-skills {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.skill-tag {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.cert-content h3 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.issuer {
    color: #ccc;
    margin-bottom: 0.3rem;
}

.additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.info-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(0, 153, 204, 0.06));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 153, 204, 0.15));
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.4), 0 0 30px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
}

.info-content h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-content p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.info-detail {
    color: #00d4ff;
    font-size: 0.9rem;
    font-style: italic;
}

.language-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.lang-name {
    color: #ccc;
    font-weight: 500;
}

.lang-level {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    color: #ccc;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.achievement-list li i {
    color: #00d4ff;
    width: 16px;
}

.interests-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.interest-tag {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 212, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.interest-tag:hover {
    background: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Contact CTA Section */
.details-cta {
    margin-top: 6rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 204, 0.08));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.details-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: ctaShine 4s ease-in-out infinite;
}

@keyframes ctaShine {
    0%, 100% {
        transform: rotate(45deg) translate(-50%, -50%);
    }
    50% {
        transform: rotate(45deg) translate(50%, 50%);
    }
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #00d4ff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-btn.primary {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    border: 2px solid transparent;
}

.cta-btn.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.cta-btn.secondary:hover {
    background: #00ffff;
    color: #000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

/* Light mode styles for details page */
body.light-mode .education-item,
body.light-mode .cert-item,
body.light-mode .info-card {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

body.light-mode .education-item:hover,
body.light-mode .cert-item:hover,
body.light-mode .info-card:hover {
    background: rgba(0, 123, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

body.light-mode .education-icon,
body.light-mode .cert-icon {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

body.light-mode .education-content h3,
body.light-mode .cert-content h3,
body.light-mode .info-card h3,
body.light-mode .year {
    color: #007bff;
}

body.light-mode .institution,
body.light-mode .issuer,
body.light-mode .description,
body.light-mode .info-card p {
    color: #666;
}

/* Mobile responsive for details page */
@media (max-width: 768px) {
    /* Make back button visible on mobile */
    .nav-buttons {
        display: flex !important;
    }
    
    .back-btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
        white-space: nowrap !important;
    }
    
    .navbar {
        padding: 0.8rem 3% !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .timeline-line {
        left: 2rem;
    }
    
    .education-item:nth-child(even) .education-card,
    .education-item:nth-child(odd) .education-card {
        width: calc(100% - 4rem);
        margin-left: 4rem;
        margin-right: 0;
    }
    
    .timeline-dot {
        left: 2rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-info {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .floating-shape {
        display: none;
    }
}

.info-item strong {
    color: #00d4ff;
    display: block;
    margin-bottom: 0.5rem;
}

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

.about-image img {
    width: 420px;
    height: 420px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center top;
    border: none;
    transition: all 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

body.light-mode {
    background: #ffffff;
    color: #333;
}

body.light-mode .navbar {
    background: rgba(248, 249, 250, 0.9);
}

body.light-mode .logo:hover {
    filter: brightness(0.8);
}

body.light-mode .nav-menu a {
    color: #333;
}

body.light-mode .nav-menu a::before {
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.2), transparent);
}

body.light-mode .nav-menu a:hover {
    color: #0056ff;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.25), rgba(0, 86, 179, 0.15));
    border-color: rgba(0, 123, 255, 0.7);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4), 0 0 20px rgba(0, 86, 255, 0.3);
    text-shadow: 0 0 15px rgba(0, 86, 255, 0.8);
}



body.light-mode .name {
    background: linear-gradient(45deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .greeting {
    color: #007bff;
}

body.light-mode .title,
body.light-mode .description {
    color: #666;
}

body.light-mode .typing-text {
    color: #007bff;
    border-right-color: #007bff;
}

body.light-mode .social-links a {
    background: rgba(0, 123, 255, 0.1);
    border-color: #007bff;
    color: #007bff;
}

body.light-mode .social-links a:hover {
    background: #0056ff;
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 86, 255, 0.5), 0 0 20px rgba(0, 86, 255, 0.3);
    border-color: #0056ff;
}

body.light-mode .btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

body.light-mode .btn-secondary {
    color: #007bff;
    border-color: #007bff;
}

body.light-mode .btn-secondary:hover {
    background: #0056ff;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 86, 255, 0.5), 0 0 20px rgba(0, 86, 255, 0.3);
    border-color: #0056ff;
    transform: translateY(-5px) scale(1.05);
}ry:hover {
    background: #0056ff;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 86, 255, 0.5), 0 0 20px rgba(0, 86, 255, 0.3);
    border-color: #0056ff;
    transform: translateY(-5px) scale(1.05);
}

body.light-mode .stat-item {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

body.light-mode .stat-item:hover {
    background: rgba(0, 123, 255, 0.2);
}

body.light-mode .stat-item h3 {
    color: #007bff;
}

body.light-mode .stat-item p {
    color: #666;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 5vw, 5%);
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    min-height: 60px;
    transition: all 0.3s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    width: clamp(60px, 12vw, 80px);
    height: clamp(45px, 9vw, 60px);
    object-fit: contain;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(0.5rem, 2vw, 1rem);
    flex-wrap: wrap;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    padding: clamp(0.6rem, 2vw, 0.8rem) clamp(0.8rem, 2.5vw, 1.2rem);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    background: transparent;
    border: 2px solid transparent;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}



.hire-btn {
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hire-btn:hover {
    transform: translateY(-2px);
}

.hero {
    min-height: 100vh;
    padding: clamp(6rem, 15vh, 8rem) clamp(1rem, 5vw, 5%) clamp(1rem, 5vh, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(0, 153, 204, 0.1) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.6; transform: scale(1.1) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2rem, 8vw, 4rem);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.greeting {
    color: #00d4ff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.5s forwards;
}

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

.name {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: clamp(1px, 0.5vw, 2px);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    opacity: 0;
    animation: slideInUp 1s ease-out 0.8s forwards, textGlow 3s ease-in-out 2s infinite;
    line-height: 1.1;
}

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

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
    50% { text-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 255, 255, 0.4); }
}

.title {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideInRight 1s ease-out 1.1s forwards;
}

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

.typing-text {
    color: #00d4ff;
    border-right: 2px solid #00d4ff;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: #00d4ff; }
    51%, 100% { border-color: transparent; }
}

.description {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.4s forwards;
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid #00d4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: socialSlideIn 0.6s ease-out forwards;
}

.social-links a:nth-child(1) { animation-delay: 0.2s; }
.social-links a:nth-child(2) { animation-delay: 0.4s; }
.social-links a:nth-child(3) { animation-delay: 0.6s; }
.social-links a:nth-child(4) { animation-delay: 0.8s; }

@keyframes socialSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-links a:hover {
    background: #00ffff;
    color: #0f1419;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: bounceIn 1s ease-out 1.8s forwards;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.3s;
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

.btn-secondary:hover {
    background: #00ffff;
    color: #0f1419;
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 350px;
    height: 350px;
    opacity: 0;
    animation: zoomIn 1s ease-out 1.2s forwards;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.image-container:hover {
    transform: scale(1.05);
}

.image-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center -30px;
    transition: all 0.3s ease;
    border: 5px solid transparent;
    background: linear-gradient(45deg, #00d4ff, #0099cc, #ff6b9d, #c44569) border-box;
    background-clip: padding-box;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), inset 0 0 0 5px rgba(0, 212, 255, 0.2);
}

.image-container:hover img {
    filter: brightness(1.1) contrast(1.1);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.6), inset 0 0 0 5px rgba(0, 212, 255, 0.4);
    transform: scale(1.05);
}

body.light-mode .image-container img {
    background: linear-gradient(45deg, #007bff, #0056b3, #28a745, #20c997) border-box;
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.4), inset 0 0 0 5px rgba(0, 123, 255, 0.2);
}

body.light-mode .image-container:hover img {
    box-shadow: 0 0 50px rgba(0, 123, 255, 0.6), inset 0 0 0 5px rgba(0, 123, 255, 0.4);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(1.5rem, 5vw, 3rem);
    margin-top: clamp(4rem, 12vh, 8rem);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    opacity: 0;
    animation: slideInBottom 1s ease-out 2.2s forwards;
}

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

.stat-item {
    position: relative;
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 2rem) clamp(1.8rem, 4.5vw, 2.5rem);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 204, 0.08));
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(15px);
    animation: floatBox 4s ease-in-out infinite, glowBox 3s ease-in-out infinite;
    min-height: clamp(120px, 20vw, 160px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.stat-item:nth-child(1) { animation-delay: 0s; }
.stat-item:nth-child(2) { animation-delay: 0.5s; }
.stat-item:nth-child(3) { animation-delay: 1s; }
.stat-item:nth-child(4) { animation-delay: 1.5s; }

@keyframes floatBox {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0, 212, 255, 0.2);
    }
}

@keyframes glowBox {
    0%, 100% {
        background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 204, 0.08));
        border-color: rgba(0, 212, 255, 0.3);
    }
    50% {
        background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 153, 204, 0.15));
        border-color: rgba(0, 212, 255, 0.5);
    }
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00d4ff, #0099cc, #ff6b9d, #c44569);
    border-radius: 25px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.stat-item:hover {
    transform: translateY(-20px) scale(1.08);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.4), rgba(0, 153, 204, 0.25));
    box-shadow: 0 25px 70px rgba(0, 212, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.4), 0 0 0 2px rgba(0, 212, 255, 0.8);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}



.stat-item:hover .stat-icon {
    transform: translateX(-50%) rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
}

.stat-item h3 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: #00d4ff;
    margin: clamp(0.5rem, 2vw, 1rem) 0 clamp(0.4rem, 1.5vw, 0.8rem);
    position: relative;
    z-index: 2;
    animation: glowText 3s ease-in-out infinite, scaleText 4s ease-in-out infinite;
    line-height: 1;
}

@keyframes glowText {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
        color: #00d4ff;
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.4);
        color: #00ffff;
    }
}

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

.stat-item:hover h3 {
    transform: scale(1.1);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.stat-item p {
    color: #ccc;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    animation: fadeText 5s ease-in-out infinite;
    text-align: center;
    margin: 0;
}

@keyframes fadeText {
    0%, 100% {
        opacity: 0.8;
        color: #ccc;
    }
    50% {
        opacity: 1;
        color: #fff;
    }
}

.stat-item:hover p {
    color: #fff;
}



/* Light mode styles for stats */
body.light-mode .stat-item {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 86, 179, 0.08));
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.1);
}

body.light-mode .stat-item::before {
    background: linear-gradient(135deg, #007bff, #0056b3, #28a745, #20c997);
}

body.light-mode .stat-item::after {
    background: linear-gradient(45deg, transparent, rgba(0, 123, 255, 0.1), transparent);
}

body.light-mode .stat-item:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.4), rgba(0, 86, 179, 0.25));
    box-shadow: 0 25px 70px rgba(0, 123, 255, 0.5), 0 0 30px rgba(0, 86, 255, 0.4), 0 0 0 2px rgba(0, 123, 255, 0.8);
    transform: translateY(-20px) scale(1.08);
}



body.light-mode .stat-item h3 {
    color: #007bff;
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

body.light-mode .stat-item:hover h3 {
    text-shadow: 0 0 30px rgba(0, 123, 255, 0.8);
}

body.light-mode .stat-item p {
    color: #666;
}

body.light-mode .stat-item:hover p {
    color: #333;
}

/* About Section */
.about {
    padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 5vw, 5%) clamp(2rem, 8vh, 4rem);
    background: rgba(0, 0, 0, 0.1);
}

/* Light mode styles for About section */
body.light-mode .about {
    background: #ffffff;
}

body.light-mode .section-title {
    background: linear-gradient(45deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .section-title:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.25), rgba(0, 86, 179, 0.15));
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: #0056ff;
    box-shadow: 0 20px 45px rgba(0, 123, 255, 0.4), 0 0 30px rgba(0, 86, 255, 0.3);
    border-color: rgba(0, 123, 255, 0.7);
    text-shadow: 0 0 25px rgba(0, 86, 255, 0.8);
}

body.light-mode .section-title::after {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

body.light-mode .section-title:hover::after {
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
}

body.light-mode .about-text h3 {
    color: #007bff;
}

body.light-mode .about-text p {
    color: #666;
}

body.light-mode .info-item {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

body.light-mode .info-item:hover {
    background: rgba(0, 123, 255, 0.3);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3), 0 0 15px rgba(0, 86, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.7);
}

body.light-mode .info-item strong {
    color: #007bff;
}

body.light-mode .about-image img {
    border: none;
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex !important;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        z-index: 999;
        gap: 1rem;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    /* About section mobile responsive - only for mobile */
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    .about-text {
        order: 2 !important;
    }
    
    .about-image {
        order: 1 !important;
        margin-bottom: 2rem !important;
    }
    
    .about-image img {
        width: 280px !important;
        height: 280px !important;
        margin: 0 auto !important;
    }
    
    .about-info {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    .info-item {
        padding: 1rem !important;
        text-align: center !important;
    }
}


@media (max-width: 320px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 1rem;
    }
    
    .stats {
        gap: 1rem;
        margin-top: 3rem;
    }
    
    .service-card,
    .timeline-content,
    .contact-item {
        padding: 1rem;
    }
    
    .footer {
        padding: 1.5rem 1rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    /* About section extra small screens */
    .about-image img {
        width: 250px !important;
        height: 250px !important;
    }
    
    .about-text h3 {
        font-size: 1.5rem !important;
    }
    
    .about-text p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    .info-item {
        padding: 0.8rem !important;
    }
    
    .info-item strong {
        font-size: 0.9rem !important;
    }
    
    .info-item span {
        font-size: 0.8rem !important;
    }
}
    

    
    /* Footer extra small screens */
    .footer {
        padding: 2rem 2% 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 0.85rem;
    }
    
    .footer-social a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 5% auto;
        padding: 1rem;
    }
    
    .project-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .demo-btn, .source-btn {
        width: 100%;
        justify-content: center;
    }


/* Skills Section */
.skills {
    padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 5vw, 5%) clamp(2rem, 8vh, 4rem);
    background: rgba(0, 0, 0, 0.2);
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2rem, 8vw, 4rem);
    align-items: start;
}

.technical-skills h3,
.professional-skills h3 {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    color: #00d4ff;
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    border-bottom: 2px solid #00d4ff;
    padding-bottom: clamp(0.3rem, 1vw, 0.5rem);
}

.skill-item {
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
    color: #ccc;
    font-weight: 500;
    font-size: clamp(0.8rem, 2vw, 1rem);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-bar {
    height: clamp(6px, 1.5vw, 8px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 4px;
    animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
    0% {
        box-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
    }
}

/* Force progress bars to show immediately */
.skill-progress[data-width="95"] {
    width: 95% !important;
}

.skill-progress[data-width="90"] {
    width: 90% !important;
}

.skill-progress[data-width="85"] {
    width: 85% !important;
}

.skill-progress[data-width="75"] {
    width: 75% !important;
}

.circular-skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
}

.circular-skill {
    text-align: center;
}

.circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: conic-gradient(#00d4ff 0deg, #00d4ff 0deg, rgba(255, 255, 255, 0.1) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease-in-out;
}

/* Force circular progress to show immediately */
.circle[data-percent="90"] {
    background: conic-gradient(#00d4ff 324deg, rgba(255, 255, 255, 0.1) 324deg) !important;
}

.circle[data-percent="85"] {
    background: conic-gradient(#00d4ff 306deg, rgba(255, 255, 255, 0.1) 306deg) !important;
}

.circle[data-percent="95"] {
    background: conic-gradient(#00d4ff 342deg, rgba(255, 255, 255, 0.1) 342deg) !important;
}

.circle[data-percent="80"] {
    background: conic-gradient(#00d4ff 288deg, rgba(255, 255, 255, 0.1) 288deg) !important;
}

.circle .inner {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #0f1419;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #00d4ff;
}

.circular-skill p {
    color: #ccc;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    margin: 0;
}

/* Light mode styles for Skills */
body.light-mode .skills {
    background: #ffffff;
}

body.light-mode .technical-skills h3,
body.light-mode .professional-skills h3 {
    color: #007bff !important;
    border-bottom-color: #007bff !important;
}

body.light-mode .skill-info {
    color: #666;
}

body.light-mode .skill-bar {
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode .skill-progress {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5) !important;
}

body.light-mode .circle {
    background: conic-gradient(#007bff 0deg, #007bff 0deg, rgba(0, 0, 0, 0.1) 0deg);
}

body.light-mode .circle .inner {
    background: #f8f9fa;
    color: #007bff;
}

body.light-mode .circular-skill p {
    color: #666 !important;
}

/* Skills responsive */
@media (max-width: 768px) {
    .skills-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .circular-skills {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .circle {
        width: 100px;
        height: 100px;
    }
    
    .circle .inner {
        width: 75px;
        height: 75px;
        font-size: 1rem;
    }
}
/* Services Section */
.services {
    padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 5vw, 5%) clamp(2rem, 8vh, 4rem);
    background: rgba(0, 0, 0, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1.5rem, 5vw, 2.5rem);
    margin-top: clamp(2rem, 8vh, 4rem);
}

.service-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 1.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    backdrop-filter: blur(10px);
    min-height: 320px;
}

/* Projects page cards - same size as service cards */
.projects-grid .service-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 1.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    backdrop-filter: blur(10px);
    min-height: 320px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-20px) scale(1.05);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 153, 204, 0.2));
    border-color: #00ffff;
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 255, 255, 0.3);
}

.service-icon {
    width: clamp(70px, 15vw, 100px);
    height: clamp(70px, 15vw, 100px);
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(1.5rem, 4vw, 2rem);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    aspect-ratio: 1;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.7), 0 0 30px rgba(0, 255, 255, 0.5);
}

.service-card h3 {
    color: #00d4ff;
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    font-weight: 600;
    line-height: 1.2;
}

.service-card p {
    color: #ccc;
    line-height: 1.8;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

/* Light mode styles for Services */
body.light-mode .services {
    background: #ffffff;
}

body.light-mode .service-card {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.05));
    border-color: rgba(0, 123, 255, 0.2);
}

body.light-mode .service-card::before {
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
}

body.light-mode .service-card:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.3), rgba(0, 86, 179, 0.2));
    border-color: #0056ff;
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.4), 0 0 25px rgba(0, 86, 255, 0.3);
    transform: translateY(-20px) scale(1.05);
}

body.light-mode .service-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

body.light-mode .service-card:hover .service-icon {
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.7), 0 0 30px rgba(0, 86, 255, 0.5);
    transform: rotateY(360deg) scale(1.1);
}

body.light-mode .service-card h3 {
    color: #007bff;
}

body.light-mode .service-card p {
    color: #666;
}

/* Services responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 6rem 3% 3rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}
/* Portfolio Timeline Section */
.portfolio {
    padding: 8rem 5% 4rem;
    background: rgba(0, 0, 0, 0.2);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, #00d4ff, #0099cc);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.timeline.hide-line::after {
    display: none;
}

.timeline-item {
    padding: 2rem 3rem;
    position: relative;
    background-color: inherit;
    width: 50%;
    animation: slideIn 0.8s ease-out;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    top: 2.5rem;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 1);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
        transform: scale(1);
    }
}

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

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 153, 204, 0.2));
    border-color: #00ffff;
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 255, 255, 0.3);
}

.timeline-date {
    color: #00d4ff;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.timeline-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.timeline-content li::before {
    content: '•';
    color: #00d4ff;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

.timeline-image {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-image:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.5);
}

.timeline-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(1) contrast(1) saturate(1);
}

.timeline-image:hover img {
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
    transform: scale(1.05);
}

.timeline-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease-out;
    pointer-events: none;
    z-index: 1;
}

.timeline-image:hover::before {
    width: 300px;
    height: 300px;
    animation: rippleWave 0.8s ease-out;
}

@keyframes rippleWave {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    50% {
        width: 200px;
        height: 200px;
        opacity: 0.7;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}



.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 212, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.timeline-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 2rem;
    animation: pulse 1.5s infinite;
}

/* Default browser cursor only */

/* Default cursor for all elements */
body {
    cursor: auto;
}

a, button, input, textarea, select, [onclick], [role="button"] {
    cursor: pointer;
}

/* All Projects Button Hover Effect */
.all-projects-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
    background: linear-gradient(45deg, #0099cc, #00d4ff);
}

.all-projects-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.modal-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.modal-header img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.project-info h2 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.project-info span {
    color: #ccc;
    font-size: 1.1rem;
}

.modal-body h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    border-bottom: 2px solid #00d4ff;
    padding-bottom: 0.5rem;
}

.modal-body p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 2rem;
}

#projectTechnologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-tag {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

#projectFeatures li {
    color: #ccc;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

#projectFeatures li::before {
    content: '✓';
    color: #00d4ff;
    position: absolute;
    left: 0;
}

body.light-mode .image-overlay {
    background: rgba(0, 123, 255, 0.8);
}

body.light-mode .timeline-image:hover {
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
    border-color: rgba(0, 123, 255, 0.5);
}

body.light-mode .timeline-image::before {
    background: radial-gradient(circle, rgba(0, 123, 255, 0.3) 0%, rgba(0, 123, 255, 0.1) 50%, transparent 70%);
}



body.light-mode .project-info h2,
body.light-mode .modal-body h3 {
    color: #007bff;
    border-bottom-color: #007bff;
}

body.light-mode .project-info span,
body.light-mode .modal-body p,
body.light-mode #projectFeatures li {
    color: #666;
}

body.light-mode .tech-tag {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

body.light-mode #projectFeatures li::before {
    color: #007bff;
}

body.light-mode .timeline-image:hover {
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
    border-color: rgba(0, 123, 255, 0.5);
}

/* Light mode styles */
body.light-mode .timeline::after {
    background: linear-gradient(180deg, #007bff, #0056b3);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

body.light-mode .timeline-item::after {
    background: linear-gradient(45deg, #007bff, #0056b3);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
}

body.light-mode .timeline-content {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.05));
    border-color: rgba(0, 123, 255, 0.3);
}

body.light-mode .timeline-content:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.3), rgba(0, 86, 179, 0.2));
    border-color: #0056ff;
    box-shadow: 0 20px 45px rgba(0, 123, 255, 0.4), 0 0 25px rgba(0, 86, 255, 0.3);
    transform: translateY(-10px) scale(1.02);
}

body.light-mode .timeline-date {
    color: #007bff;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

body.light-mode .timeline-content h3 {
    color: #333;
}

body.light-mode .timeline-content li {
    color: #666;
}

body.light-mode .timeline-content li::before {
    color: #007bff;
}

/* Light mode text visibility fixes */
body.light-mode {
    color: #333 !important;
}

body.light-mode h1, 
body.light-mode h2, 
body.light-mode h3, 
body.light-mode h4, 
body.light-mode h5, 
body.light-mode h6 {
    color: #333 !important;
}

body.light-mode p {
    color: #666 !important;
}

body.light-mode .hero-text p {
    color: #666 !important;
}

body.light-mode .description {
    color: #555 !important;
}

body.light-mode .about-text p {
    color: #666 !important;
}

body.light-mode .skill-info {
    color: #333 !important;
}

body.light-mode .service-card p {
    color: #666 !important;
}

body.light-mode .contact-details p {
    color: #666 !important;
}

body.light-mode .footer-section p {
    color: #666 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::after {
        left: 2rem;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 4rem;
        padding-right: 1rem;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item::after {
        left: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
}

/* Contact Section */
.contact {
    padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 5vw, 5%) clamp(2rem, 8vh, 4rem);
    background: rgba(0, 0, 0, 0.1);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(2rem, 8vw, 4rem);
    margin-top: clamp(2rem, 6vh, 3rem);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 2rem);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 1.5rem);
    padding: clamp(1rem, 3vw, 1.5rem);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.contact-item:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.contact-icon {
    width: clamp(50px, 10vw, 60px);
    height: clamp(50px, 10vw, 60px);
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
    aspect-ratio: 1;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.contact-details h3 {
    color: #00d4ff;
    margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.contact-details p {
    color: #ccc;
    font-size: clamp(0.9rem, 2vw, 1rem);
    word-break: break-all;
}

.contact-form {
    background: rgba(0, 212, 255, 0.05);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.form-group {
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    font-family: inherit;
    min-height: 44px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.contact-form .btn-primary {
    width: 100%;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.3rem, 1vw, 0.5rem);
    transition: all 0.3s ease;
    min-height: 50px;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

/* Light mode styles */
body.light-mode .portfolio {
    background: #ffffff;
}

body.light-mode .contact {
    background: #ffffff;
}

body.light-mode .portfolio-overlay {
    background: rgba(0, 123, 255, 0.9);
}

body.light-mode .contact-item {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

body.light-mode .contact-item:hover {
    background: rgba(0, 123, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.2);
}

body.light-mode .contact-icon {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

body.light-mode .contact-item:hover .contact-icon {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

body.light-mode .contact-details h3 {
    color: #007bff;
}

body.light-mode .contact-details p {
    color: #666;
}

body.light-mode .contact-form {
    background: rgba(0, 123, 255, 0.05);
    border-color: rgba(0, 123, 255, 0.2);
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 123, 255, 0.3);
    color: #333;
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
    color: #666;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
/* Portfolio Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: scroll;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    position: relative;
    margin: 2% auto;
    padding: 2rem;
    width: 80%;
    max-width: 800px;
    background: rgba(15, 20, 25, 0.95);
    border-radius: 15px;
    border: 1px solid #00d4ff;
    text-align: center;
    max-height: none;
    overflow: visible;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #00d4ff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: white;
}

#modalImage {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.modal-info h3 {
    color: #00d4ff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-info p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Light mode modal */
body.light-mode .modal-content {
    background: rgba(248, 249, 250, 0.95);
    border-color: #007bff;
}

body.light-mode .close {
    color: #007bff;
}

body.light-mode .modal-info h3 {
    color: #007bff;
}

body.light-mode .modal-info p {
    color: #666;
}

/* Modal responsive */
@media (max-width: 768px) {
    .modal {
        padding: 0;
        overflow-y: auto;
    }
    
    .modal-content {
        width: 95%;
        max-width: none;
        margin: 2% auto;
        padding: 1rem;
        max-height: 95vh;
        overflow-y: auto;
        position: relative;
    }
    
    .modal-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-header img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    .project-info {
        text-align: center;
    }
    
    .project-info h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-body h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .modal-body p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    #projectTechnologies {
        gap: 0.3rem;
        margin-bottom: 1.5rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    .project-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .demo-btn, .source-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .close {
        font-size: 1.8rem;
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        color: white;
    }
}
/* Modal Gallery */
.modal-gallery {
    margin: 1.5rem 0;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    border-color: #00d4ff;
    transform: scale(1.05);
}

/* Light mode gallery */
body.light-mode .gallery-thumb:hover {
    border-color: #007bff;
}

/* Gallery responsive */
@media (max-width: 768px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
    }
    
    .gallery-thumb {
        height: 60px;
    }
}
/* Falling Dots Animation */
.falling-dots-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.falling-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    opacity: 0.7;
    animation: fall 25s linear infinite;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

@keyframes fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Light mode dots */
body.light-mode .falling-dot {
    background: #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}



/* Floating Icons in Home Section */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    color: rgba(0, 212, 255, 0.5);
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.floating-icon:nth-child(3) {
    top: 30%;
    left: 85%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.floating-icon:nth-child(4) {
    top: 70%;
    left: 15%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.floating-icon:nth-child(5) {
    top: 15%;
    left: 70%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.floating-icon:nth-child(6) {
    top: 80%;
    left: 60%;
    animation-delay: 5s;
    animation-duration: 7s;
}

.floating-icon:nth-child(7) {
    top: 40%;
    left: 5%;
    animation-delay: 1.5s;
    animation-duration: 9s;
}

.floating-icon:nth-child(8) {
    top: 50%;
    left: 90%;
    animation-delay: 2.5s;
    animation-duration: 6s;
}

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

/* Animated Text Effect */
.animated-text {
    position: relative;
    overflow: hidden;
}

.animated-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
    animation: textShine 3s ease-in-out 2s infinite;
}

@keyframes textShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

body.light-mode .animated-text::after {
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.4), transparent);
}

body.light-mode .floating-icon {
    color: rgba(0, 123, 255, 0.5);
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 5% 4rem;
    background: rgba(0, 0, 0, 0.1);
}

.testimonials-slider {
    position: relative;
    max-width: 300px;
    margin: 3rem auto 2rem;
    height: 300px;
}

.testimonial-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: rotateY(90deg);
    transition: all 0.8s ease;
}

.testimonial-circle.active {
    opacity: 1;
    transform: rotateY(0deg);
}

.client-image {
    margin-top: 1rem;
}

.client-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    }
    to {
        box-shadow: 0 0 50px rgba(0, 212, 255, 0.8);
    }
}

.testimonial-text {
    margin-bottom: 1rem;
}

.testimonial-text p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-text h4 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.testimonial-text span {
    font-size: 0.8rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #00d4ff;
    transform: scale(1.2);
}

.quote-icon {
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: #ccc;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.client-details h4 {
    color: #00d4ff;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.client-details span {
    color: #aaa;
    font-size: 0.9rem;
}

body.light-mode .testimonials {
    background: #ffffff;
}

body.light-mode .client-image img {
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.5);
    animation: glowLight 2s ease-in-out infinite alternate;
}

@keyframes glowLight {
    from {
        box-shadow: 0 0 30px rgba(0, 123, 255, 0.5);
    }
    to {
        box-shadow: 0 0 50px rgba(0, 123, 255, 0.8);
    }
}

body.light-mode .dot {
    background: rgba(0, 123, 255, 0.3);
}

body.light-mode .dot.active {
    background: #007bff;
}

body.light-mode .quote-icon {
    color: #007bff;
}

body.light-mode .testimonial-content p {
    color: #666;
}

body.light-mode .client-avatar {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

body.light-mode .client-details h4 {
    color: #007bff;
}

body.light-mode .client-details span {
    color: #666;
}

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

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    background: rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    width: 45px;
    height: 45px;
    justify-content: center;
    align-items: center;
    border: 2px solid #00d4ff;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #00d4ff;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex !important;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        z-index: 999;
        gap: 1rem;
    }
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #00d4ff;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Show mobile toggle on mobile devices */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-buttons {
        display: none;
    }
}

/* Active navigation */
.nav-link.active {
    color: #00d4ff !important;
}

/* Button links */
.btn-primary, .btn-secondary {
    text-decoration: none;
    display: inline-block;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: clamp(2rem, 8vh, 4rem) clamp(1rem, 5vw, 5%) clamp(1rem, 4vh, 2rem);
    border-top: 1px solid rgba(0, 212, 255, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

/* Mobile responsive footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 3% 2rem !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 2rem !important;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .footer-section h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .footer-section p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    .footer-section ul li {
        margin-bottom: 0.8rem !important;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem !important;
    }
    
    .footer-section p i {
        font-size: 1rem !important;
        margin-right: 0.5rem !important;
        width: 20px !important;
        display: inline-block !important;
    }
    
    .footer-social {
        justify-content: center !important;
        gap: 1.5rem !important;
        margin-top: 1.5rem !important;
    }
    
    .footer-social a {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    
    .footer-bottom {
        padding-top: 2rem !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 2% 1.5rem !important;
    }
    
    .footer-section h3 {
        font-size: 1.2rem !important;
    }
    
    .footer-section h4 {
        font-size: 1rem !important;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 0.85rem !important;
    }
    
    .footer-section p i {
        font-size: 0.9rem !important;
        margin-right: 0.5rem !important;
        width: 20px !important;
        display: inline-block !important;
    }
    
    .footer-social a {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
    
    .footer-bottom {
        font-size: 0.8rem !important;
    }
}

.footer-section h3 {
    color: #00d4ff;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: clamp(0.8rem, 2vw, 1rem);
}

.footer-section h4 {
    color: #00d4ff;
    margin-bottom: clamp(0.8rem, 2vw, 1rem);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
    font-size: clamp(0.8rem, 2vw, 1rem);
    word-break: break-word;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.footer-section ul li a:hover {
    color: #00d4ff;
}

.footer-social {
    display: flex;
    gap: clamp(0.8rem, 2vw, 1rem);
    margin-top: clamp(0.8rem, 2vw, 1rem);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-social a {
    width: clamp(35px, 8vw, 40px);
    height: clamp(35px, 8vw, 40px);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid #00d4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: clamp(0.9rem, 2vw, 1rem);
    aspect-ratio: 1;
}

.footer-social a:hover {
    background: #00d4ff;
    color: #0f1419;
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(1.5rem, 4vw, 2rem);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    color: #ccc;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

/* Light mode footer */
body.light-mode .footer {
    background: #ffffff;
    border-top-color: rgba(0, 123, 255, 0.3);
}

body.light-mode .footer-section h3,
body.light-mode .footer-section h4 {
    color: #007bff;
}

body.light-mode .footer-section p,
body.light-mode .footer-section ul li a {
    color: #666;
}

body.light-mode .footer-section ul li a:hover {
    color: #007bff;
}

body.light-mode .footer-social a {
    background: rgba(0, 123, 255, 0.1);
    border-color: #007bff;
    color: #007bff;
}

body.light-mode .footer-social a:hover {
    background: #007bff;
    color: white;
}

body.light-mode .footer-bottom {
    border-top-color: rgba(0, 123, 255, 0.2);
    color: #666;
}

body.light-mode .mobile-menu-toggle span {
    background: #007bff;
}

body.light-mode .nav-link.active {
    color: #007bff !important;
}

/* Ensure mobile toggle is visible in light mode */
body.light-mode .mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    body.light-mode .mobile-menu-toggle {
        display: flex !important;
    }
}

/* Simple mobile menu */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 3%;
        position: relative;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }

    
    /* Mobile-friendly touch targets */
    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .btn-primary, .btn-secondary {
        min-height: 50px;
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    /* Footer mobile responsive */
    .footer {
        padding: 3rem 3% 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .footer-section ul li {
        margin-bottom: 0.8rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-social a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .footer-bottom {
        padding-top: 2rem;
        font-size: 0.9rem;
    }
}

/* Video Project Cards */
.video-project-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 153, 204, 0.15));
    border-color: #00ffff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 255, 255, 0.3);
}

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

.video-container {
    position: relative;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 212, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 10;
}



/* Light mode video cards */
body.light-mode .video-project-card {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.05));
    border-color: rgba(0, 123, 255, 0.3);
}

body.light-mode .video-project-card::before {
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
}

body.light-mode .video-project-card:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.25), rgba(0, 86, 179, 0.15));
    border-color: #0056ff;
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.4), 0 0 25px rgba(0, 86, 255, 0.3);
    transform: translateY(-20px) scale(1.05);
}

body.light-mode .video-project-card:hover .video-container {
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

body.light-mode .video-project-card:hover .play-button {
    background: rgba(0, 123, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

body.light-mode .video-project-card h4 {
    color: #007bff;
}

body.light-mode .video-project-card:hover h4 {
    color: #0056ff;
    text-shadow: 0 0 10px rgba(0, 86, 255, 0.5);
}

body.light-mode .video-project-card p {
    color: #666;
}

body.light-mode .video-project-card:hover p {
    color: #333;
}

body.light-mode .video-projects-section h3 {
    color: #007bff;
}

/* Video Modal Styles */
#videoProjectModal .modal-content {
    max-width: 900px;
    width: 90%;
}

.video-frame {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.video-projects-section ~ * .timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, #00d4ff, #0099cc);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

#portfolio-main .timeline::after {
    display: none;
}

/* Responsive video cards */
@media (max-width: 1200px) {
    .video-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .video-projects-section {
        padding-top: 2rem !important;
        margin-top: 3rem !important;
    }
    
    .video-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-project-card {
        padding: 1.5rem 1rem;
        min-height: auto;
    }
    
    .video-project-card .video-container {
        height: 180px !important;
    }
    
    .video-project-card h4 {
        font-size: 1.2rem;
    }
    
    .video-project-card p {
        font-size: 0.85rem;
    }
    
    .video-frame {
        height: 250px !important;
    }
    
    #videoProjectModal .modal-content {
        width: 95%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .video-project-card {
        padding: 1rem 0.8rem;
    }
    
    .video-project-card .video-container {
        height: 160px !important;
    }
    
    .video-project-card h4 {
        font-size: 1.1rem;
    }
    
    .video-project-card p {
        font-size: 0.8rem;
    }
}

/* Modal Button Styles */
.demo-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
}

.source-btn:hover {
    background: #00ffff !important;
    color: #0f1419 !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

/* Light mode video modal */
body.light-mode #videoProjectModal .modal-content {
    background: rgba(248, 249, 250, 0.95);
    border-color: #007bff;
}

body.light-mode #videoProjectModal .close {
    color: #007bff;
}

body.light-mode #videoProjectModal h2,
body.light-mode #videoProjectModal h3 {
    color: #007bff !important;
}

body.light-mode #videoProjectModal p,
body.light-mode #videoProjectModal li {
    color: #666 !important;
}

body.light-mode .demo-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

body.light-mode .demo-btn:hover {
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.5), 0 0 20px rgba(0, 86, 255, 0.3);
}

body.light-mode .source-btn {
    color: #007bff;
    border-color: #007bff;
}

body.light-mode .source-btn:hover {
    background: #0056ff !important;
    color: white !important;
    border-color: #0056ff;
    box-shadow: 0 15px 35px rgba(0, 86, 255, 0.5), 0 0 20px rgba(0, 86, 255, 0.3);
}

/* Our Partners Section */
.partners {
    padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 5vw, 5%) clamp(2rem, 8vh, 4rem);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(0, 153, 204, 0.01));
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.partners-subtitle {
    text-align: center;
    color: #aaa;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    font-weight: 400;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.partner-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    cursor: pointer;
}

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

.partner-card:hover::before {
    left: 100%;
}

.partner-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 25px 60px rgba(0, 212, 255, 0.2), 0 0 40px rgba(0, 255, 255, 0.1);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.partner-logo.orange {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.partner-card:hover .partner-logo {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.5);
}

.partner-card:hover .partner-logo.orange {
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.partner-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
}

.partner-content h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.partner-content p {
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.partner-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}

.partner-card:hover .partner-image {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.partner-card:hover .partner-image img {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.05);
}

.partner-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-btn.orange {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.partner-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.5);
}

.partner-btn.orange:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

/* Light mode styles for partners */
body.light-mode .partners {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.03), rgba(0, 86, 179, 0.01));
}

body.light-mode .partners::before {
    background: radial-gradient(circle at 30% 70%, rgba(0, 123, 255, 0.05) 0%, transparent 50%);
}

body.light-mode .partners-subtitle {
    color: #666;
}

body.light-mode .partner-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .partner-card::before {
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
}

body.light-mode .partner-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-color: rgba(0, 123, 255, 0.4);
    box-shadow: 0 25px 60px rgba(0, 123, 255, 0.2), 0 0 40px rgba(0, 86, 255, 0.1);
}

body.light-mode .partner-content h3 {
    color: #333;
}

body.light-mode .partner-content p {
    color: #666;
}

/* Partners responsive */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .partner-card {
        padding: 2rem 1.5rem;
    }
    
    .partner-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .partner-logo img {
        width: 50px;
        height: 50px;
    }
    
    .partner-content h3 {
        font-size: 1.5rem;
    }
    
    .partner-content p {
        font-size: 1rem;
    }
    
    .partner-image {
        height: 180px;
    }
    
    .partner-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .partner-card {
        padding: 1.5rem 1rem;
    }
    
    .partner-logo {
        width: 60px;
        height: 60px;
    }
    
    .partner-logo img {
        width: 40px;
        height: 40px;
    }
    
    .partner-content h3 {
        font-size: 1.3rem;
    }
    
    .partner-image {
        height: 160px;
    }
}

/* Team Section */
.team {
    padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 5vw, 5%) clamp(2rem, 8vh, 4rem);
    background: rgba(0, 0, 0, 0.2);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 6vw, 4rem);
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-15px) scale(1.03);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 153, 204, 0.15));
    border-color: #00ffff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 255, 255, 0.3);
}

.member-image {
    width: 220px;
    height: 220px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00d4ff;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
    border-color: #00ffff;
}

.member-info h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    color: #00d4ff;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}





/* Light mode styles for team */
body.light-mode .team {
    background: #ffffff;
}

body.light-mode .team-member {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.05));
    border-color: rgba(0, 123, 255, 0.3);
}

body.light-mode .team-member::before {
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
}

body.light-mode .team-member:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.25), rgba(0, 86, 179, 0.15));
    border-color: #0056ff;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.4), 0 0 25px rgba(0, 86, 255, 0.3);
}

body.light-mode .member-image img {
    border-color: #007bff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

body.light-mode .team-member:hover .member-image img {
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.6);
    border-color: #0056ff;
}

body.light-mode .member-info h3 {
    color: #333;
}

body.light-mode .member-role {
    color: #007bff;
}

body.light-mode .member-desc {
    color: #666;
}





/* Team responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
    
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    .member-info h3 {
        font-size: 1.2rem;
    }
    
    .member-role {
        font-size: 0.9rem;
    }
    
    .member-desc {
        font-size: 0.85rem;
    }
    

}

@media (max-width: 480px) {
    .team-member {
        padding: 1rem;
    }
    
    .member-image {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    

}
/* Team Details Page */
.team-details-page {
    padding: 8rem 5% 4rem;
    min-height: 100vh;
    background: #000000;
}

.page-title {
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 4rem;
    font-size: 1rem;
}

.team-members-list {
    max-width: 1200px;
    margin: 0 auto;
}

.team-detail-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    padding: 2rem 0;
}

.team-detail-item.reverse {
    flex-direction: row-reverse;
}

.member-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.member-shape {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape-1 {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
}

.shape-2 {
    background: linear-gradient(135deg, #0099cc, #00d4ff);
    border-radius: 50%;
}

.shape-3 {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
}

.shape-4 {
    background: linear-gradient(135deg, #0099cc, #00d4ff);
    border-radius: 50%;
}

.member-shape img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid white;
}

.member-details {
    flex: 1;
    padding: 2rem;
}

.member-details h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.member-position {
    color: #00d4ff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.member-description {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}



/* Light mode styles */
body.light-mode .team-details-page {
    background: #ffffff;
}

body.light-mode .page-title {
    color: #333;
}

body.light-mode .page-subtitle {
    color: #666;
}

body.light-mode .member-details h2 {
    color: #333;
}

body.light-mode .member-position {
    color: #007bff;
}

body.light-mode .member-description {
    color: #666;
}

body.light-mode .shape-1,
body.light-mode .shape-3 {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

body.light-mode .shape-2,
body.light-mode .shape-4 {
    background: linear-gradient(135deg, #0056b3, #007bff);
}

/* Responsive */
@media (max-width: 768px) {
    .team-detail-item,
    .team-detail-item.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .member-shape {
        width: 250px;
        height: 250px;
    }
    
    .member-shape img {
        width: 150px;
        height: 150px;
    }
    
    .member-details h2 {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}
/* Client Reviews Section */
.client-reviews {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.02));
    overflow: hidden;
}

.reviews-slider {
    position: relative;
    height: 800px;
    margin-top: 3rem;
    overflow: hidden;
}

.reviews-track {
    position: absolute;
    width: 100%;
    animation: slideUp 40s linear infinite;
}

.review-bubble {
    position: relative;
    margin: 3rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.review-bubble.left {
    /* Default left alignment */
}

.review-bubble.right {
    flex-direction: row-reverse;
}

.review-bubble .client-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid;
    flex-shrink: 0;
}

.review-bubble .client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-bubble .bubble-content {
    padding: 2rem;
    border-radius: 30px;
    position: relative;
    max-width: 500px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.review-bubble.left .bubble-content {
    border-radius: 30px 30px 30px 8px;
}

.review-bubble.right .bubble-content {
    border-radius: 30px 30px 8px 30px;
}

.review-bubble .stars {
    margin-bottom: 1rem;
}

.review-bubble .stars i {
    font-size: 1.1rem;
}

.review-bubble .bubble-content p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.review-bubble .bubble-content a {
    background: rgba(255,255,255,0.9);
    padding: 0.8rem 1.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

@keyframes slideUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.reviews-slider:hover .reviews-track {
    animation-play-state: paused;
}

/* Light mode styles for client reviews */
body.light-mode .client-reviews {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 86, 179, 0.02));
}

/* Responsive design for client reviews */
@media (max-width: 768px) {
    .review-bubble {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }
    
    .review-bubble .bubble-content {
        max-width: 300px !important;
        border-radius: 20px !important;
    }
    
    .reviews-slider {
        height: 600px;
    }
    
    .review-bubble .client-avatar {
        width: 60px;
        height: 60px;
        border: 3px solid;
    }
    
    .review-bubble .bubble-content {
        padding: 1.5rem;
    }
    
    .review-bubble .bubble-content p {
        font-size: 1rem;
    }
    
    .review-bubble .bubble-content a {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}
/* Additional CSS for inline styles cleanup */

/* Mobile menu toggle touch action */
.mobile-menu-toggle {
    touch-action: manipulation;
}

/* Hero content alignment */
.hero-content {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text .name {
    font-size: clamp(3.5rem, 10vw, 6rem);
    margin-bottom: 1rem;
}

.hero-buttons {
    justify-content: center;
}

/* Video projects section */
.video-projects-section {
    margin-top: 2rem;
    padding: 2rem 0;
}

.video-projects-section h3 {
    text-align: center;
    color: #00d4ff;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.video-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-project-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    display: block;
    backdrop-filter: blur(10px);
    min-height: 320px;
}

.video-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s;
}

.video-project-card:hover::before {
    left: 100%;
}

.video-project-card:hover {
    transform: translateY(-20px) scale(1.05);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 153, 204, 0.2));
    border-color: #00ffff;
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.4), 0 0 25px rgba(0, 255, 255, 0.3);
}

.video-project-card .video-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.video-project-card:hover .video-container {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.video-project-card .video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.video-project-card:hover .video-container img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.video-project-card .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-project-card:hover .play-button {
    background: rgba(0, 212, 255, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.video-project-card .play-button i {
    color: white;
    font-size: 1.5rem;
    margin-left: 3px;
}

.video-project-card h4 {
    color: #00d4ff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.video-project-card:hover h4 {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.video-project-card p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.video-project-card:hover p {
    color: #fff;
}

/* All projects button */
.all-projects-btn-container {
    text-align: right;
    margin-top: 2rem;
    padding-right: 2rem;
}

.all-projects-btn {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal styles */
.project-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-btn {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.source-btn {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Video modal styles */
.video-modal-content {
    max-width: 900px;
}

.video-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.video-modal-header h2 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.video-frame {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.video-modal-body h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.video-modal-body p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.video-modal-body #videoProjectTechnologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.video-modal-body #videoProjectFeatures {
    color: #ccc;
    line-height: 1.6;
}

/* Light mode video project cards */
body.light-mode .video-project-card {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.05));
    border-color: rgba(0, 123, 255, 0.3);
}

body.light-mode .video-project-card h4 {
    color: #007bff;
}

body.light-mode .video-project-card p {
    color: #666;
}

body.light-mode .video-projects-section h3 {
    color: #007bff;
}

body.light-mode .all-projects-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

body.light-mode .demo-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

body.light-mode .source-btn {
    color: #007bff;
    border-color: #007bff;
}

body.light-mode .video-modal-header h2,
body.light-mode .video-modal-body h3 {
    color: #007bff;
}

body.light-mode .video-modal-body p,
body.light-mode .video-modal-body #videoProjectFeatures {
    color: #666;
}