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

    :root {
        --primary-color: #ffffff;
        --secondary-color: #3498db;
        --accent-color: #e74c3c;
        --text-color: #ffffff;
        --light-bg: #1a1a1a;
        --white: #2c2c2c;
        --gray: #888888;
        --container-width-lg: 1200px;
        --container-width-md: 960px;
        --container-width-sm: 720px;
        --container-padding: 2rem;
    }

    body {
        font-family: 'Poppins', sans-serif;
        line-height: 1.6;
        color: var(--text-color);
        background-color: #1a1a1a;
        font-size: 16px;
        scroll-behavior: smooth;
        transition: background-color 0.3s ease, color 0.3s ease;
        cursor: none; /* Hide the default cursor */
    }

    /* Navigation */
    nav {
        position: fixed;
        width: 100%;
        background-color: #2c2c2c;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

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

    .logo a {
        font-size: 1.8rem;
        font-weight: 600;
        text-decoration: none;
        color: var(--primary-color);
        letter-spacing: 1px;
    }

   .logo a:hover{
         color: var(--secondary color);
   }

    .nav-links {
        display: flex;
        list-style: none;
    }

    .nav-links li {
        margin-left: 2.5rem;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 500;
        transition: color 0.3s;
        font-size: 1rem;
    }

    .nav-links a:hover {
        color: var(--secondary-color);
    }

    /* Hero Section */
    #home {
        height: 100vh;
        background-color: #1a1a1a;
        position: relative;
        padding-top: 80px; /* Add padding to account for fixed navbar */
    }

    .hero {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem;
        position: relative;
        z-index: 1;
    }

    .hero-content {
        text-align: left;
        max-width: 800px;
        position: relative;
        z-index: 2;
    }

    .main-title {
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: fadeInUp 1s ease;
        font-size: 3.5rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1.5rem;
        color: var(--gray);
        margin-bottom: 2rem;
    }

    .text-slider {
        color: var(--secondary-color);
        font-weight: 600;
    }

    .code-block {
        /* background: rgba(255, 255, 255, 0.9); */
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 2rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        margin: 2rem 0;
        animation: float 3s ease-in-out infinite;
    }

    .code-block pre {
        margin: 0;
        font-family: 'Fira Code', monospace;
        font-size: 1rem;
    }

    .code-block .variable { color: var(--secondary-color); }
    .code-block .string { color: var(--accent-color); }

    .hero-buttons {
        display: flex;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        border-radius: 5px;
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .cta-button.primary {
        background-color: var(--secondary-color);
        color: var(--white);
    }

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

    .cta-button:hover {
        transform: translateY(-2px);
    }

    /* About Section Styles */
    #about {
        padding: 100px 2rem;
        background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    }

    #about h2 {
        text-align: center;
        margin-bottom: 3rem;
        color: var(--primary-color);
        font-size: 2.5rem;
        font-weight: 600;
        position: relative;
    }

    #about h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--secondary-color);
    }

    .about-content {
        max-width: 1200px;
        margin: 0 auto;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    /* Profile Card Styles */
    .profile-card {
        background: var(--white);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .profile-header {
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image {
        width: 150px;
        height: 150px;
        margin: 0 auto 1.5rem;
        border-radius: 50%;
        border: 4px solid var(--secondary-color);
        padding: 4px;
        background: rgba(52, 152, 219, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .profile-image::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            45deg,
            transparent,
            rgba(52, 152, 219, 0.3),
            transparent
        );
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }

    .profile-image:hover::before {
        transform: translateX(100%);
    }

    .profile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        transition: all 0.5s ease;
    }

    .profile-image:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
        border-color: var(--accent-color);
    }

    .profile-image:hover img {
        transform: scale(1.1) rotate(5deg);
    }

    .profile-image::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 1px solid rgba(52, 152, 219, 0.3);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .profile-image:hover::after {
        opacity: 1;
    }

    .profile-header h3 {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .profile-title {
        margin-bottom: 1rem;
    }

    .profile-social {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .profile-social a {
        color: var(--text-color);
        font-size: 1.4rem;
        transition: all 0.3s ease;
    }

    .profile-social a:hover {
        color: var(--secondary-color);
        transform: translateY(-3px);
    }

    .profile-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .stat-number {
        display: block;
        font-size: 1.8rem;
        font-weight: 600;
        color: var(--secondary-color);
    }

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

    /* About Text Content */
    .about-text-content {
        padding: 2rem;
        background: var(--white);
        border-radius: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

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

    .section-title .subtitle {
        color: var(--secondary-color);
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        display: block;
        margin-bottom: 0.5rem;
    }

    .section-title h3 {
        font-size: 2rem;
        color: var(--text-color);
        line-height: 1.3;
    }

    .about-text-content p {
        color: var(--text-color);
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    /* Tech Stack Section */
    .tech-stack-section {
        margin-top: 2rem;
    }

    .tech-stack-section h4 {
        color: var(--text-color);
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .tech-icons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1.5rem;
    }

    .tech-icon {
        text-align: center;
        transition: transform 0.3s ease;
    }

    .tech-icon:hover {
        transform: translateY(-5px);
    }

    .tech-icon i {
        font-size: 2rem;
        color: var(--secondary-color);
        margin-bottom: 0.5rem;
    }

    .tech-icon span {
        display: block;
        font-size: 0.9rem;
        color: var(--text-color);
    }

    /* Interests and Goals Grid */
    .interests-goals-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }

    .interests-section,
    .goals-section {
        background: var(--white);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .interests-section h3,
    .goals-section h3 {
        color: var(--text-color);
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .interests-section h3 i,
    .goals-section h3 i {
        color: var(--secondary-color);
    }

    .interests-list,
    .goals-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        list-style: none;
    }

    .interests-list li,
    .goals-list li {
        background: rgba(52, 152, 219, 0.1);
        padding: 1rem;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 0.8rem;
        transition: all 0.3s ease;
    }

    .interests-list li:hover,
    .goals-list li:hover {
        transform: translateY(-5px);
        background: var(--secondary-color);
        color: var(--white);
    }

    .interests-list i,
    .goals-list i {
        color: var(--secondary-color);
        font-size: 1.2rem;
        transition: color 0.3s ease;
    }

    .interests-list li:hover i,
    .goals-list li:hover i {
        color: var(--white);
    }

    /* Responsive Adjustments */
    @media (max-width: 1024px) {
        .about-grid {
            grid-template-columns: 1fr;
        }

        .profile-card {
            max-width: 400px;
            margin: 0 auto;
        }

        .interests-goals-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 768px) {
        .tech-icons {
            grid-template-columns: repeat(3, 1fr);
        }

        .interests-list,
        .goals-list {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        .profile-stats {
            grid-template-columns: 1fr;
        }

        .tech-icons {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* Education Section Styles */
    #education {
        padding: 100px 2rem;
        background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    }

    #education h2 {
        text-align: center;
        margin-bottom: 4rem;
        color: var(--primary-color);
        font-size: 2.5rem;
        font-weight: 600;
        position: relative;
    }

    #education h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--secondary-color);
    }

    .education-content {
        max-width: 900px;
        margin: 0 auto;
        position: relative;
    }

    .education-timeline {
        position: relative;
        padding: 2rem 0;
    }

    .education-timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 100%;
        background: var(--secondary-color);
        opacity: 0.3;
    }

    .timeline-item {
        display: flex;
        justify-content: center;
        padding: 2rem 0;
        width: 100%;
        position: relative;
    }

    .timeline-dot {
        width: 20px;
        height: 20px;
        background: var(--secondary-color);
        border-radius: 50%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        transition: all 0.3s ease;
        box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
    }

    .timeline-content {
        width: 45%;
        padding: 2rem;
        background: var(--white);
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        position: relative;
        transition: all 0.3s ease;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: auto;
        transform: translateX(-3rem);
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: auto;
        transform: translateX(3rem);
    }

    .timeline-content h3 {
        color: var(--text-color);
        font-size: 1.4rem;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: 0.5rem;
    }

    .timeline-content h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background: var(--secondary-color);
    }

    .institution {
        color: var(--secondary-color);
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .duration {
        color: var(--gray);
        font-size: 0.9rem;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .duration::before {
        content: '\f017';
        font-family: 'Font Awesome 5 Free';
        color: var(--secondary-color);
    }

    .education-details {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .education-details li {
        color: var(--text-color);
        margin-bottom: 0.8rem;
        padding-left: 1.5rem;
        position: relative;
        font-size: 0.95rem;
    }

    .education-details li::before {
        content: '\f058';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: var(--secondary-color);
        position: absolute;
        left: 0;
        top: 2px;
    }

    /* Hover Effects */
    .timeline-item:hover .timeline-dot {
        transform: translateX(-50%) scale(1.3);
        box-shadow: 0 0 0 6px rgba(52, 152, 219, 0.3);
    }

    .timeline-item:hover .timeline-content {
        transform: translateX(0);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .education-timeline::before {
            left: 30px;
        }

        .timeline-dot {
            left: 30px;
        }

        .timeline-content {
            width: calc(100% - 60px);
            margin-left: 60px !important;
        }

        .timeline-item:nth-child(odd) .timeline-content,
        .timeline-item:nth-child(even) .timeline-content {
            transform: none;
        }
    }

    @media (max-width: 480px) {
        .timeline-content {
            padding: 1.5rem;
        }

        .timeline-content h3 {
            font-size: 1.2rem;
        }

        .education-details li {
            font-size: 0.9rem;
        }
    }

    /* Skills Section Styles */
    #skills {
        padding: 100px 2rem;
        background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    }

    #skills h2 {
        text-align: center;
        margin-bottom: 3rem;
        color: var(--primary-color);
        font-size: 2.5rem;
        font-weight: 600;
        position: relative;
    }

    /* Add an underline effect similar to other sections */
    #skills h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--secondary-color);
    }

    .skills-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        gap: 2rem;
    }

    .skills-category {
        background: var(--white);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
    }

    .skills-category:hover {
        transform: translateY(-5px);
    }

    .category-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid rgba(52, 152, 219, 0.1);
    }

    .category-header i {
        font-size: 2rem;
        color: var(--secondary-color);
    }

    .category-header h3 {
        color: var(--text-color);
        font-size: 1.5rem;
        font-weight: 600;
    }

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

    .skill-card {
        background: rgba(52, 152, 219, 0.1);
        padding: 1.5rem;
        border-radius: 15px;
        text-align: center;
        transition: all 0.3s ease;
    }

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

    .skill-card i {
        font-size: 2.5rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
        transition: all 0.3s ease;
    }

    .skill-card:hover i {
        color: var(--white);
        transform: scale(1.1);
    }

    .skill-card h4 {
        color: var(--text-color);
        font-size: 1.1rem;
        margin-bottom: 1rem;
        transition: color 0.3s ease;
    }

    .skill-card:hover h4 {
        color: var(--white);
    }

    .skill-level {
        background: rgba(255, 255, 255, 0.1);
        height: 6px;
        border-radius: 3px;
        overflow: hidden;
    }

    .progress {
        height: 100%;
        background: var(--secondary-color);
        border-radius: 3px;
        transition: width 1s ease;
        position: relative;
    }

    .skill-card:hover .progress {
        background: var(--white);
    }

    /* Animation for progress bars */
    @keyframes slideIn {
        from {
            width: 0;
        }
    }

    .progress {
        animation: slideIn 1.5s ease-out forwards;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .skills-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 480px) {
        .skills-grid {
            grid-template-columns: 1fr;
        }
        
        .category-header {
            flex-direction: column;
            text-align: center;
            gap: 0.5rem;
        }
    }

    /* Contact Section */
    #contact {
        background-color: #1a1a1a;
        color: #ffffff;
        padding: 5rem 2rem;
    }

    #contact h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        color: #ffffff;
    }

    #contact .highlight {
        color: #3498db;
    }

    .contact-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding: 0 1rem;
    }

    .contact-info {
        padding-right: 2rem;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        color: #ffffff;
    }

    .contact-desc {
        color: #a0a0a0;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }

    .contact-details {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        background-color: rgba(52, 152, 219, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-icon i {
        color: #3498db;
        font-size: 1.2rem;
    }

    .contact-text h4 {
        color: #ffffff;
        margin-bottom: 0.2rem;
    }

    .contact-text p {
        color: #a0a0a0;
    }

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

    .social-icon {
        width: 40px;
        height: 40px;
        background-color: rgba(52, 152, 219, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #3498db;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .social-icon:hover {
        background-color: var(--secondary-color);
        color: #ffffff;
        transform: translateY(-3px);
    }

    .contact-form {
        background-color: rgba(255, 255, 255, 0.05);
        padding: 2rem;
        border-radius: 10px;
    }

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

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: #ffffff;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem;
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        color: #ffffff;
        font-family: inherit;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

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

    /* Contact Form Button Styles */
    .send-message-btn {
        background-color: var(--secondary-color);
        color: var(--white);
        padding: 1rem 2rem;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        width: 100%;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .send-message-btn i {
        transition: transform 0.3s ease;
    }

    .send-message-btn:hover {
        background-color: #2980b9;
        transform: translateY(-2px);
    }

    .send-message-btn:hover i {
        transform: translateX(3px);
    }

    /* Button States */
    .send-message-btn:disabled {
        cursor: not-allowed;
        opacity: 0.8;
    }

    .send-message-btn.success {
        background-color: #28a745;
    }

    .send-message-btn.error {
        background-color: #dc3545;
    }

    /* Loading Animation */
    .send-message-btn .fa-spinner {
        animation: spin 1s linear infinite;
    }

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

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .send-message-btn {
            padding: 0.8rem 1.5rem;
            font-size: 0.9rem;
        }
    }

    /* Responsive Design */
    @media (max-width: 1200px) {
        html {
            font-size: 15px;
        }
    }

    @media (max-width: 768px) {
        html {
            font-size: 14px;
        }
    }

    /* Responsive Container */
    .container {
        width: 100%;
        max-width: var(--container-width-lg);
        margin: 0 auto;
        padding: 0 var(--container-padding);
    }

    /* Responsive Navigation */
    @media (max-width: 768px) {
        nav {
            height: 60px;
            position: fixed;
            width: 100%;
            background: rgba(44, 44, 44, 0.95);
            backdrop-filter: blur(10px);
        }

        .nav-content {
            padding: 0 1rem;
        }

        .nav-links {
            position: fixed;
            top: 60px;
            left: -100%;
            width: 100%;
            height: calc(100vh - 60px);
            background: var(--white);
            padding: 2rem;
            flex-direction: column;
            align-items: center;
            transition: 0.3s ease;
        }

        .nav-links.active {
            left: 0;
        }

        .logo a {
            font-size: 1.5rem;
        }
    }

    /* Hero Section Responsive */
    @media (max-width: 1200px) {
        .hero-content {
            padding: 0 2rem;
        }

        .main-title {
            font-size: 3rem;
        }
    }

    @media (max-width: 768px) {
        #home {
            padding-top: 80px;
            min-height: 100vh;
        }

        .hero-content {
            text-align: center;
            padding: 2rem 1rem;
        }

        .main-title {
            font-size: 2.2rem;
        }

        .subtitle {
            font-size: 1.2rem;
        }

        .code-block {
            font-size: 0.9rem;
            max-width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .hero-buttons {
            flex-direction: column;
            gap: 1rem;
            width: 100%;
            max-width: 300px;
            margin: 2rem auto 0;
        }

        .cta-button {
            width: 100%;
            text-align: center;
            justify-content: center;
        }
    }

    /* About Section Responsive */
    @media (max-width: 768px) {
        #about {
            padding: 4rem 1rem;
        }

        .about-content {
            padding: 1.5rem;
        }

        .about-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
            padding: 0 1rem;
        }

        .profile-card {
            max-width: 300px;
            margin: 0 auto;
        }

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

    /* Skills Section Responsive */
    @media (max-width: 1200px) {
        .skills-content {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 992px) {
        .skills-content {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 576px) {
        .skills-content {
            grid-template-columns: 1fr;
        }

        .skill-card {
            padding: 1.5rem;
        }
    }

    /* Tablet Optimization */
    @media (min-width: 769px) and (max-width: 1024px) {
        .container {
            max-width: var(--container-width-md);
        }

        .hero {
            padding: 0 2rem;
        }

        .about-content,
        .timeline-content,
        .skill-card,
        .contact-item,
        #contact-form {
            padding: 2rem;
        }
    }

    /* Mobile Landscape Optimization */
    @media (max-height: 600px) and (orientation: landscape) {
        #home {
            height: auto;
            min-height: 100vh;
        }

        .nav-links {
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
        }
    }

    /* High-DPI Screens */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        .code-block,
        .skill-card,
        .timeline-content,
        .contact-item,
        #contact-form {
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }
    }

    /* Print Optimization */
    @media print {
        nav,
        .hero-buttons,
        .social-links,
        #contact-form {
            display: none;
        }

        body {
            color: black;
            background: white;
        }

        section {
            page-break-inside: avoid;
        }

        .main-title,
        h2,
        h3 {
            color: black !important;
        }
    }

    /* Reduced Motion */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
    }

    /* Ensure minimum touch target size */
    @media (pointer: coarse) {
        .nav-links a,
        .cta-button,
        .social-link,
        button,
        input[type="submit"] {
            min-height: 44px;
            min-width: 44px;
            padding: 12px;
        }
    }

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

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

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

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

    .animate {
        opacity: 0;
    }

    .animate.fade-in-up {
        animation: fadeInUp 0.6s ease forwards;
    }

    .animate.slide-in-left {
        animation: slideInLeft 0.6s ease forwards;
    }

    .animate.scale-in {
        animation: scaleIn 0.6s ease forwards;
    }

    /* Footer */
    footer {
        background-color: #2c2c2c;
        color: white;
        text-align: center;
        padding: 2rem;
    }

    /* Particles Background */
    .particles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    /* Scroll Progress Bar */
    .scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
        z-index: 1002;
        transition: width 0.1s ease;
    }

    /* Back to Top Button */
    .back-to-top {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        background: var(--secondary-color);
        color: var(--white);
        width: 45px;
        height: 45px;
        border-radius: 50%;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

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

    .back-to-top:hover {
        transform: translateY(-5px);
        background: var(--accent-color);
    }

    /* Add responsive styles for new features */
    @media (max-width: 768px) {
        .back-to-top {
            bottom: 1rem;
            right: 1rem;
        }
    }

    /* Achievements Section */
    .achievements-section {
        margin: 3rem 0;
    }

    .achievements-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .achievement-card {
        background: rgba(52, 152, 219, 0.1);
        padding: 1.5rem;
        border-radius: 10px;
        text-align: center;
        transition: transform 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .achievement-card:hover {
        transform: translateY(-5px);
    }

    .achievement-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.1), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }

    .achievement-card:hover::before {
        transform: translateX(100%);
    }

    .achievement-card i {
        font-size: 2rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
    }

    .achievement-card h4 {
        color: var(--text-color);
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .achievement-card p {
        color: var(--gray);
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .achievement-date {
        display: inline-block;
        background: var(--secondary-color);
        color: var(--white);
        padding: 0.2rem 0.8rem;
        border-radius: 15px;
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }

    /* Update existing interests and goals sections */
    .interests-list,
    .goals-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.2rem;
    }

    .interests-list li,
    .goals-list li {
        background: rgba(52, 152, 219, 0.1);
        padding: 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .interests-list li:hover,
    .goals-list li:hover {
        transform: translateX(10px);
        background: var(--secondary-color);
        color: var(--white);
    }

    .interests-list li:hover i,
    .goals-list li:hover i {
        color: var(--white);
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .achievements-grid {
            grid-template-columns: 1fr;
        }

        .achievement-card {
            padding: 1.2rem;
        }

        .interests-list,
        .goals-list {
            grid-template-columns: 1fr;
        }
    }

    /* Custom Cursor Styles */
    .custom-cursor {
        width: 20px;
        height: 20px;
        border: 2px solid var(--secondary-color);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transition: transform 0.2s ease;
        transform: translate(-50%, -50%);
    }

    .cursor-dot {
        width: 4px;
        height: 4px;
        background-color: var(--secondary-color);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transition: opacity 0.2s ease;
        transform: translate(-50%, -50%);
    }

    /* Cursor hover effects */
    a:hover ~ .custom-cursor,
    button:hover ~ .custom-cursor,
    .skill-card:hover ~ .custom-cursor,
    .achievement-card:hover ~ .custom-cursor {
        transform: translate(-50%, -50%) scale(1.5);
        background-color: rgba(52, 152, 219, 0.1);
        border-color: var(--accent-color);
    }

    /* Hide custom cursor on mobile/touch devices */
    @media (hover: none) and (pointer: coarse) {
        .custom-cursor,
        .cursor-dot {
            display: none;
        }
        
        body {
            cursor: auto;
        }
    }

    /* Projects Section */
    #projects {
        padding: 100px 2rem;
        background-color: #1a1a1a;
        position: relative;
    }

    #projects::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, rgba(52, 152, 219, 0.05), transparent);
        pointer-events: none;
    }

    #projects h2 {
        text-align: center;
        margin-bottom: 3rem;
        color: var(--primary-color);
        font-size: 2.5rem;
        font-weight: 600;
        position: relative;
    }

    #projects h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--secondary-color);
    }

    .projects-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
        padding: 0 1rem;
    }

    .project-card {
        background: var(--white);
        border-radius: 15px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        position: relative;
    }

    .project-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.03), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }

    .project-card:hover::before {
        transform: translateX(100%);
    }

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

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

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

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

    .project-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(52, 152, 219, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: all 0.3s ease;
    }

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

    .project-links {
        display: flex;
        gap: 1rem;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.3s ease 0.1s;
    }

    .project-card:hover .project-links {
        transform: translateY(0);
        opacity: 1;
    }

    .project-link {
        background: var(--white);
        color: var(--secondary-color);
        padding: 0.8rem 1.2rem;
        border-radius: 5px;
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .project-link:hover {
        background: var(--secondary-color);
        color: var(--white);
        transform: translateY(-2px);
    }

    .project-info {
        padding: 1.5rem;
    }

    .project-info h3 {
        color: var(--text-color);
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        position: relative;
        padding-bottom: 0.5rem;
    }

    .project-info h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 2px;
        background: var(--secondary-color);
    }

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

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

    .project-tech span {
        background: rgba(52, 152, 219, 0.1);
        color: var(--secondary-color);
        padding: 0.3rem 0.8rem;
        border-radius: 15px;
        font-size: 0.8rem;
        transition: all 0.3s ease;
    }

    .project-tech span:hover {
        background: var(--secondary-color);
        color: var(--white);
        transform: translateY(-2px);
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .projects-container {
            grid-template-columns: 1fr;
            padding: 0;
        }

        .project-card {
            max-width: 400px;
            margin: 0 auto;
        }

        .project-image {
            height: 200px;
        }

        .project-links {
            flex-direction: column;
            align-items: center;
        }
    }

    @media (max-width: 480px) {
        #projects {
            padding: 80px 1rem;
        }

        .project-card {
            max-width: 100%;
        }

        .project-image {
            height: 180px;
        }
    }

    /* Mobile Responsive Styles */
    @media (max-width: 768px) {
        /* Navigation */
        .nav-content {
            padding: 0.8rem;
        }
        
        .logo a {
            font-size: 1.5rem;
        }
        
        .nav-links {
            display: none;
            position: fixed;
            top: 60px;
            left: 0;
            width: 100%;
            background: var(--white);
            padding: 1rem;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }
        
        .nav-links.active {
            display: flex;
        }
        
        .nav-links li {
            margin: 0;
        }

        /* Hero Section */
        .hero {
            padding: 1rem;
            text-align: center;
        }

        .main-title {
            font-size: 2.5rem;
        }

        .subtitle {
            font-size: 1.2rem;
        }

        .code-block {
            padding: 1rem;
            font-size: 0.9rem;
        }

        .hero-buttons {
            flex-direction: column;
            gap: 1rem;
        }

        /* About Section */
        .about-grid {
            grid-template-columns: 1fr;
        }

        .profile-card {
            margin-bottom: 2rem;
        }

        /* Skills Section */
        .skills-container {
            padding: 1rem;
        }

        .skills-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .skill-card {
            padding: 1rem;
        }

        /* Projects Section */
        .projects-container {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .project-card {
            margin: 0 auto;
        }

        .project-links {
            flex-direction: column;
            gap: 0.8rem;
        }
    }

    /* Extra Small Devices */
    @media (max-width: 480px) {
        section {
            padding: 60px 1rem;
        }

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

        .subtitle {
            font-size: 1.1rem;
        }

        .profile-image {
            width: 120px;
            height: 120px;
        }

        .tech-icons {
            grid-template-columns: repeat(2, 1fr);
        }

        .project-tech span {
            font-size: 0.8rem;
            padding: 0.3rem 0.6rem;
        }
    }

    /* Touch Device Optimizations */
    @media (hover: none) {
        .skill-card,
        .project-card,
        .cta-button {
            transition: none;
        }

        .skill-card:active,
        .project-card:active,
        .cta-button:active {
            transform: scale(0.98);
        }
    }

    /* Enhanced Mobile Optimizations */
    @media (max-width: 768px) {
        /* Navigation */
        nav {
            height: 60px;
            position: fixed;
            width: 100%;
            background: rgba(44, 44, 44, 0.95);
            backdrop-filter: blur(10px);
        }

        .nav-content {
            padding: 0 1rem;
        }

        .nav-links {
            position: fixed;
            top: 60px;
            left: -100%;
            width: 100%;
            height: calc(100vh - 60px);
            background: var(--white);
            padding: 2rem;
            flex-direction: column;
            align-items: center;
            transition: 0.3s ease;
        }

        .nav-links.active {
            left: 0;
        }

        /* Hero Section */
        .hero {
            padding: 1rem;
            height: auto;
            min-height: 100vh;
            padding-top: 80px;
        }

        .hero-content {
            text-align: center;
        }

        .main-title {
            font-size: 2.2rem;
        }

        .code-block {
            font-size: 0.9rem;
            max-width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        /* About Section */
        .about-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
            padding: 0 1rem;
        }

        .profile-card {
            max-width: 300px;
            margin: 0 auto;
        }

        .tech-stack-section {
            overflow-x: auto;
            padding-bottom: 1rem;
        }

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

        /* Skills Section */
        .skills-container {
            padding: 1rem;
        }

        .skills-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .skill-card {
            padding: 1.2rem;
        }

        /* Projects Section */
        .projects-container {
            padding: 1rem;
        }

        .project-card {
            width: 100%;
        }

        .project-image {
            height: 200px;
        }

        .project-links {
            flex-direction: column;
            gap: 0.8rem;
        }

        /* Education Section */
        .education-timeline::before {
            left: 30px;
        }

        .timeline-dot {
            left: 30px;
        }

        .timeline-content {
            width: calc(100% - 60px);
            margin-left: 60px !important;
        }

        /* Contact Section */
        .contact-container {
            grid-template-columns: 1fr;
            padding: 1rem;
        }

        .contact-form,
        .contact-info {
            padding: 1.5rem;
        }

        .contact-details {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        /* Form Elements */
        input, 
        textarea {
            font-size: 16px !important; /* Prevents zoom on iOS */
        }

        .form-group {
            margin-bottom: 1.2rem;
        }
    }

    /* Landscape Mode */
    @media (max-height: 500px) and (orientation: landscape) {
        .hero {
            min-height: auto;
            padding: 80px 1rem;
        }

        .nav-links {
            height: auto;
            max-height: 80vh;
            overflow-y: auto;
        }
    }

    /* Mobile Menu Button */
    .menu-btn {
        display: none;
        background: none;
        border: none;
        color: var(--primary-color);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        transition: all 0.3s ease;
        z-index: 1001;
    }

    .menu-btn:hover {
        color: var(--secondary-color);
    }

    @media (max-width: 768px) {
        .menu-btn {
            display: block;
        }

        .nav-links {
            position: fixed;
            top: 60px;
            left: -100%;
            width: 100%;
            height: calc(100vh - 60px);
            background: var(--white);
            padding: 2rem;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            transition: 0.3s ease;
            opacity: 0;
            visibility: hidden;
        }

        .nav-links.active {
            left: 0;
            opacity: 1;
            visibility: visible;
        }

        .nav-links li {
            margin: 0;
            width: 100%;
            text-align: center;
        }

        .nav-links a {
            display: block;
            padding: 1rem;
            width: 100%;
            font-size: 1.1rem;
        }
    }
