/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --accent-color: #ff006e;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #38b000;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --dark-color: #f8f9fa;
    --light-color: #1a1a2e;
    --gray-color: #adb5bd;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(58, 134, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-youtube {
    background-color: #ff0000;
    color: white;
}

.btn-youtube:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background-color: rgba(26, 26, 46, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

[data-theme="dark"] .nav-link {
    color: var(--light-color);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.theme-toggle {
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

[data-theme="dark"] .theme-toggle {
    color: var(--light-color);
}

.theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(30deg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

[data-theme="dark"] .bar {
    background-color: var(--light-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.typewriter-container {
    height: 60px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.typewriter {
    font-size: 2rem;
    font-weight: 500;
    color: var(--secondary-color);
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    margin: 0;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

[data-theme="dark"] .social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
}

.social-links a:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

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

.profile-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    animation: float 3s ease-in-out infinite;
}

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

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--gray-color);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.about-skills h3 {
    margin-bottom: 1.5rem;
}

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

.skill-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background-color: rgba(58, 134, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.skill-icon:hover {
    transform: translateY(-5px);
    background-color: rgba(58, 134, 255, 0.2);
}

.skill-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

[data-theme="dark"] .skills {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-bar {
    height: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

[data-theme="dark"] .skill-bar {
    background-color: rgba(255, 255, 255, 0.1);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background-color: var(--light-color);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

[data-theme="dark"] .project-card {
    background-color: rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

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

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

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

[data-theme="dark"] .project-content h3 {
    color: var(--light-color);
}

.project-content p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

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

.project-tech span {
    padding: 4px 10px;
    background-color: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--secondary-color);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

[data-theme="dark"] .services {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .service-card {
    background-color: rgba(255, 255, 255, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    width: 100%;
}

.service-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Certifications Section */
.certifications {
    padding: 100px 0;
    background-color: var(--light-color);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.certification-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

[data-theme="dark"] .certification-card {
    background-color: rgba(255, 255, 255, 0.05);
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.cert-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.certification-card h3 {
    margin-bottom: 0.5rem;
}

.certification-card p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.cert-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.achievements h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

[data-theme="dark"] .achievement-item {
    background-color: rgba(255, 255, 255, 0.05);
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.achievement-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.achievement-item h4 {
    margin-bottom: 0.5rem;
}

.achievement-item p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* YouTube Section */
.youtube {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

[data-theme="dark"] .youtube {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.youtube-channel {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 2rem;
}

[data-theme="dark"] .youtube-channel {
    background-color: rgba(255, 255, 255, 0.05);
}

.channel-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.channel-details h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.channel-details p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.videos-grid h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.video-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

[data-theme="dark"] .video-card {
    background-color: rgba(255, 255, 255, 0.05);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

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

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

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-size: 1.2rem;
    transition: var(--transition);
}

.video-card:hover .play-icon {
    background-color: #ff0000;
    color: white;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.video-link:hover {
    color: var(--secondary-color);
}

.shorts-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.shorts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.short-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

[data-theme="dark"] .short-card {
    background-color: rgba(255, 255, 255, 0.05);
}

.short-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.short-thumbnail {
    position: relative;
    height: 320px;
    overflow: hidden;
}

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

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

.short-link {
    display: block;
    padding: 1rem;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.short-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.contact-item h4 {
    margin-bottom: 0.3rem;
}

.contact-item a, .contact-item p {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

[data-theme="dark"] .contact-form {
    background-color: rgba(255, 255, 255, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    background-color: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--dark-color);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--gray-color);
    transition: var(--transition);
    pointer-events: none;
    background-color: white;
    padding: 0 5px;
}

[data-theme="dark"] .form-group label {
    background-color: rgba(26, 26, 46, 0.9);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--primary-color);
}

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

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-connect h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .modal-content {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content > p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: white;
        width: 80%;
        height: calc(100vh - 70px);
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        z-index: 999;
    }
    
    [data-theme="dark"] .nav-menu {
        background-color: var(--dark-color);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .typewriter {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-list {
        grid-template-columns: 1fr;
    }
    
    .videos-container {
        grid-template-columns: 1fr;
    }
    
    .shorts-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .youtube-channel {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .project-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .shorts-container {
        grid-template-columns: 1fr;
    }
}






/* Experience Section */
.experience {
    padding: 100px 0;
    background-color: var(--light-color);
}

[data-theme="dark"] .experience {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

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

.experience-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--primary-color);
}

[data-theme="dark"] .experience-card {
    background-color: rgba(255, 255, 255, 0.05);
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.exp-header {
    margin-bottom: 1.5rem;
}

.exp-title h3 {
    margin-bottom: 0.8rem;
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

[data-theme="dark"] .exp-title h3 {
    color: var(--light-color);
}

.exp-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.duration {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
}

.role {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.exp-content {
    margin-bottom: 1rem;
}

.exp-description {
    color: var(--gray-color);
    line-height: 1.6;
    padding-left: 1.2rem;
}

.exp-description li {
    margin-bottom: 0.8rem;
    position: relative;
}

.exp-description li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* Responsive Design for Experience Section */
@media (max-width: 1024px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .exp-title h3 {
        font-size: 1.2rem;
    }
    
    .role {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .experience-card {
        padding: 1.5rem;
    }
    
    .exp-title h3 {
        font-size: 1.1rem;
    }
    
    .exp-description {
        padding-left: 1rem;
    }
    
    .exp-description li::before {
        left: -0.8rem;
    }
}









/* Modern 3D AI Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 400px;
    height: 650px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    display: none;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(30px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-theme="dark"] .chatbot-container {
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-container.active {
    display: flex;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.chatbot-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://i.pinimg.com/originals/aa/29/c3/aa29c30acb037c359bff34f60f6fb0df.gif');
    background-size: cover;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.chatbot-avatar {
    position: relative;
    z-index: 2;
}

.hologram-effect {
    width: 60px;
    height: 60px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.robot-3d {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00b4db, #0083b0);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 20px rgba(0, 180, 219, 0.4),
        inset 0 4px 10px rgba(255, 255, 255, 0.2);
    animation: rotate 8s linear infinite;
}

.robot-face {
    position: relative;
    width: 70%;
    height: 70%;
}

.eye {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 30%;
    animation: blink 4s infinite;
}

.eye.left-eye {
    left: 25%;
}

.eye.right-eye {
    right: 25%;
}

.mouth {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background: white;
    border-radius: 2px;
    animation: talk 2s infinite;
}

.glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: conic-gradient(from 0deg, #00b4db, #0083b0, #00b4db);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
    filter: blur(10px);
    opacity: 0.7;
}

.chatbot-info {
    flex: 1;
    z-index: 2;
}

.chatbot-info h3 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: rgba(248, 249, 250, 0.5);
}

[data-theme="dark"] .chatbot-messages {
    background: rgba(26, 26, 46, 0.5);
}

.message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    animation: messageSlide 0.3s ease-out;
}

.bot-message {
    flex-direction: row;
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    flex-shrink: 0;
}

.mini-robot {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mini-robot .robot-face {
    width: 60%;
    height: 60%;
}

.mini-robot .eye {
    width: 4px;
    height: 4px;
    top: 25%;
}

.mini-robot .eye.left-eye {
    left: 20%;
}

.mini-robot .eye.right-eye {
    right: 20%;
}

.message-content {
    flex: 1;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

[data-theme="dark"] .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.bot-message .message-content {
    border-top-left-radius: 5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.user-message .message-content {
    border-top-right-radius: 5px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--dark-color);
}

[data-theme="dark"] .user-message .message-content {
    background: rgba(59, 130, 246, 0.2);
    color: white;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    display: block;
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.quick-btn {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 0.75rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quick-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.chatbot-input-container {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .chatbot-input-container {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#chatbot-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    font-size: 0.9rem;
    background: rgba(248, 249, 250, 0.8);
    transition: all 0.3s ease;
}

[data-theme="dark"] #chatbot-input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

#chatbot-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.send-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.chatbot-footer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-color);
    opacity: 0.7;
}

/* Chatbot Toggle Button */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 
        0 15px 40px rgba(102, 126, 234, 0.6),
        0 0 0 4px rgba(255, 255, 255, 0.2);
}

.hologram-circle {
    width: 50px;
    height: 50px;
    position: relative;
}

.robot-3d.small {
    width: 100%;
    height: 100%;
    animation: rotate 6s linear infinite;
}

.robot-3d.small .eye {
    width: 6px;
    height: 6px;
    top: 35%;
}

.pulse-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #667eea;
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #4ade80;
    border-radius: 50%;
    animation: ping 1.5s ease-in-out infinite both;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes blink {
    0%, 45%, 55%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.1); }
}

@keyframes talk {
    0%, 100% { width: 20px; }
    50% { width: 25px; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes messageSlide {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 1rem 1.25rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .chatbot-container {
        width: 90vw;
        height: 70vh;
        right: 5vw;
        bottom: 80px;
    }
    
    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }
}