 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #0f172a;
            color: #e2e8f0;
            line-height: 1.6;
            padding-top: 80px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Header Styles */
        header {
            background-color: #1e293b;
            color: white;
            padding: 1rem 10%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
        }

        .logo {
            font-family: 'Barriecito', cursive;
            font-size: 1.8rem;
            font-weight: 700;
            color: #60a5fa;
            text-decoration: none;
            transition: all 0.3s;
        }

        .logo:hover {
            color: #3b82f6;
            transform: scale(1.05);
        }

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

        .nav-links a {
            color: #cbd5e1;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: all 0.3s;
            padding: 0.5rem 0;
            position: relative;
        }

        .nav-links a:hover {
            color: #60a5fa;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #60a5fa;
            transition: width 0.3s;
        }

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

        .nav-links a.active {
            color: #60a5fa;
            font-weight: 600;
        }

        .nav-links a.active::after {
            width: 100%;
            height: 3px;
        }

        .main a {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: linear-gradient(135deg, #dc2626, #b91c1c);
            text-decoration: none;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            transition: all 0.3s;
            font-weight: 600;
        }

        .main span{
            color: white;
        }
        .main a:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
        }

        #menu {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: white;
        }

        /* Section Common Styles */
        section {
            padding: 0.5rem 3rem;
            max-width: 1200px;
            margin: 0 auto;
        }

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

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #3b82f6, #60a5fa);
            border-radius: 2px;
        }

        /* Footer Styles */
        footer {
            background: #0f172a;
            color: #cbd5e1;
            padding: 4rem 2rem 2rem;
            margin-top: auto;
            border-top: 1px solid #334155;
        }

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

        .footer-logo h3 {
            font-family: 'Barriecito', cursive;
            font-size: 2rem;
            color: #60a5fa;
            margin-bottom: 1rem;
        }

        .footer-logo p {
            color: #94a3b8;
            line-height: 1.6;
        }

        

        .newsletter {
            margin-top: 1.5rem;
        }

        .newsletter p {
            color: #94a3b8;
            margin-bottom: 1rem;
        }

        .newsletter-form {
            display: flex;
            gap: 0.5rem;
        }

        .newsletter-form input {
            flex: 1;
            padding: 0.8rem;
            background: #1e293b;
            border: 1px solid #334155;
            border-radius: 8px;
            color: #f8fafc;
            font-size: 1rem;
        }

        .newsletter-form input:focus {
            outline: none;
            border-color: #60a5fa;
        }

        .newsletter-form button {
            background: linear-gradient(135deg, #3b82f6, #60a5fa);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .newsletter-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
        }

        .footer-bottom {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid #334155;
            text-align: center;
            color: #94a3b8;
        }

        .footer-bottom p {
            margin-bottom: 0.5rem;
        }

      
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: #60a5fa;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s;
            opacity: 0;
            visibility: hidden;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
        }

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

        .back-to-top:hover {
            background: #3b82f6;
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
        }

        /* Home Section */
        #home {
            min-height: 100vh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 3rem;
            background: linear-gradient(135deg, #1e293b, #0f172a);
        }

        .home-content {
            flex: 1;
        }

        .home-content h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: #f8fafc;
        }

        .home-content h3 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: #cbd5e1;
        }

        .home-content h3 span {
            color: #60a5fa;
        }

        .home-content p {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            color: #94a3b8;
            max-width: 600px;
        }

        .home-image {
            flex: 1;
            text-align: center;
        }

        .home-image img {
            max-width: 200%;
            animation: float 3s ease-in-out infinite;
        }

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

        .social-icons {
            display: flex;
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .social-icons a {
            color: #cbd5e1;
            font-size: 1.5rem;
            transition: all 0.3s;
        }

        .social-icons a:hover {
            color: #60a5fa;
            transform: translateY(-3px);
        }

        /* About Section */
        #about {
            background: linear-gradient(135deg, #1e293b, #0f172a);
        }

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

        .about-info  h3 {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            color: #60a5fa;
        }
        .about-edu h3{
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            color: #60a5fa;

        }
        .about-edu h1 i{
            border-radius: 50%;
            height: 60px;
            width: 60px;
            margin-top: 2rem;
            font-size: 3rem;
            background-color: #3b82f6;
            color: aliceblue;
            align-items: center;
            text-align: center;
            justify-content: center;
            margin-bottom: 1rem;

        }

        .timeline {
            margin-top: 2rem;
        }

        .timeline-item {
            margin-bottom: 2rem;
            padding-left: 2rem;
            border-left: 2px solid #3b82f6;
        }

        .timeline-item h4 {
            color: #f8fafc;
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .timeline-item .date {
            color: #60a5fa;
            font-weight: 600;
            display: block;
        }

        .timeline-item p {
            color: #94a3b8;
        }

        .timeline-item a{
            text-decoration: none;
            color: #60a5fa;
            cursor: pointer;
        }
        .tech-icons-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
        background-color: #cbd5e1;
        }

.tech-icons-container img {
  transition: all 0.3s ease;
  object-fit: contain;
  filter: grayscale(20%);
}

.tech-icons-container img:hover {
  transform: translateY(-5px);
  filter: grayscale(0%);
}

/* Responsive design */
@media (max-width: 1200px) {
  .tech-icons-container {
    gap: 1.25rem;
    padding: 1.25rem;
  }
  
  .tech-icons-container img {
    height: 45px;
    width: 45px;
  }
}

@media (max-width: 992px) {
  .tech-icons-container {
    gap: 1rem;
    padding: 1rem;
  }
  
  .tech-icons-container img {
    height: 42px;
    width: 42px;
  }
}

@media (max-width: 768px) {
  .tech-icons-container {
    gap: 0.75rem;
    padding: 0.75rem;
  }
  
  .tech-icons-container img {
    height: 38px;
    width: 38px;
  }
}

@media (max-width: 576px) {
  .tech-icons-container {
    gap: 0.5rem;
    padding: 0.5rem;
  }
  
  .tech-icons-container img {
    height: 35px;
    width: 35px;
  }
}

@media (max-width: 400px) {
  .tech-icons-container {
    gap: 0.4rem;
    padding: 0.4rem;
  }
  
  .tech-icons-container img {
    height: 32px;
    width: 32px;
  }
}

/* Optional: Add subtle animation on load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-icons-container img {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

/* Stagger the animation for each icon */
.tech-icons-container img:nth-child(1) { animation-delay: 0.1s; }
.tech-icons-container img:nth-child(2) { animation-delay: 0.2s; }
.tech-icons-container img:nth-child(3) { animation-delay: 0.3s; }
.tech-icons-container img:nth-child(4) { animation-delay: 0.4s; }
.tech-icons-container img:nth-child(5) { animation-delay: 0.5s; }
.tech-icons-container img:nth-child(6) { animation-delay: 0.6s; }
.tech-icons-container img:nth-child(7) { animation-delay: 0.7s; }
.tech-icons-container img:nth-child(8) { animation-delay: 0.8s; }
.tech-icons-container img:nth-child(9) { animation-delay: 0.9s; }
.tech-icons-container img:nth-child(10) { animation-delay: 1s; }
       

/* Tech Stack Section */
        #tech-stack {
            background: linear-gradient(135deg, #0f172a, #1e293b);
        }

        .skills-container {
            display: grid;
            grid-template-columns: 2fr 2fr 2fr;
            gap: 2rem;
        }

        .skill-category {
            background: rgba(30, 41, 59, 0.5);
            padding: 2rem;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(96, 165, 250, 0.1);
        }

        .skill-category h3 {
            color: #60a5fa;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

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

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

        .skill-bar {
            height: 10px;
            background: #334155;
            border-radius: 5px;
            overflow: hidden;
        }

        .skill-progress {
            height: 100%;
            background: linear-gradient(90deg, #3b82f6, #60a5fa);
            border-radius: 5px;
            transition: width 1.5s ease-in-out;
        }

        /* Projects Section */
        #projects {
            background: linear-gradient(135deg, #1e293b, #0f172a);
        }

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

        .project-card {
            background: rgba(30, 41, 59, 0.5);
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s;
            border: 1px solid rgba(96, 165, 250, 0.1);
        }

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

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

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

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

        .project-info {
            padding: 1.5rem;
        }

        .project-info h3 {
            color: #f8fafc;
            margin-bottom: 0.5rem;
        }

        .project-info p {
            color: #94a3b8;
            margin-bottom: 1rem;
        }

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

        .project-tech span {
            background: rgba(59, 130, 246, 0.1);
            color: #60a5fa;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        /* Resume Section */
        #resume {
            background: linear-gradient(135deg, #0f172a, #1e293b);
            text-align: center;
        }

        .resume-container {
            max-width: 800px;
            margin: 0 auto;
        }

        

        .resume-container button a {
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            background: linear-gradient(135deg, #3b82f6, #60a5fa);
            color: white;
            text-decoration: none;
            padding: 1rem 2rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s;
        }

        .resume-container button a:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
        }

        /* Blog Section */
        #blog {
            background: linear-gradient(135deg, #1e293b, #0f172a);
        }

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

        .blog-card {
            background: rgba(30, 41, 59, 0.5);
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s;
            border: 1px solid rgba(96, 165, 250, 0.1);
        }

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

        .blog-content {
            padding: 1.5rem;
        }

        .blog-content h3 {
            color: #f8fafc;
            margin-bottom: 1rem;
        }

        .blog-content p {
            color: #94a3b8;
            margin-bottom: 1rem;
        }

        .blog-date {
            color: #60a5fa;
            font-size: 0.9rem;
        }

        /* Contact Section */
        #contact {
            background: linear-gradient(135deg, #0f172a, #1e293b);
        }

        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }

        .contact-info {
            background: rgba(30, 41, 59, 0.5);
            padding: 2rem;
            border-radius: 15px;
            border: 1px solid rgba(96, 165, 250, 0.1);
        }

        .contact-info h3 {
            color: #60a5fa;
            margin-bottom: 1.5rem;
        }

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

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

        .contact-item i {
            color: #60a5fa;
            font-size: 1.2rem;
            width: 30px;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 1rem;
            margin-bottom: 1rem;
            background: rgba(30, 41, 59, 0.8);
            border: 1px solid #334155;
            border-radius: 8px;
            color: #f8fafc;
            font-size: 1rem;
        }

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

        .contact-form button {
            background: linear-gradient(135deg, #3b82f6, #60a5fa);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
        }

        .contact-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .nav-links {
                gap: 1rem;
            }
            
            .home-content h1 {
                font-size: 2.8rem;
            }
            
            .about-content {
                grid-template-columns: 1fr;
            }
            
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            header {
                padding: 1rem;
                flex-wrap: wrap;
            }
            
            #menu {
                display: block;
                order: 1;
            }
            
            .logo {
                order: 0;
                flex: 1;
            }
            
            .main {
                order: 2;
            }
            
            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: rgba(30, 41, 59, 0.95);
                backdrop-filter: blur(10px);
                flex-direction: column;
                padding: 1rem;
                gap: 0.5rem;
                display: none;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            }
            
            .nav-links.active {
                display: flex;
            }
            
            #home {
                flex-direction: column;
                text-align: center;
            }
            
            .social-icons {
                justify-content: center;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .footer-container {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .footer-links h4::after,
            .footer-contact h4::after,
            .footer-social h4::after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .footer-social-links {
                justify-content: center;
            }
            
            .newsletter-form {
                flex-direction: column;
            }
            
            .newsletter-form button {
                padding: 0.8rem;
            }
            
            .back-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
            }
            .projects-grid, .skills-container,
            .blog-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 576px) {
            .main a span {
                display: none;
            }
            
            .home-content h1 {
                font-size: 2.2rem;
            }
            
            .home-content h3 {
                font-size: 1.5rem;
            }
            
            section {
                padding: 3rem 1rem;
            }
            
            .projects-grid, .skills-container,
            .blog-grid {
                grid-template-columns: 1fr;
            }
            
            .footer {
                padding: 3rem 1rem 1.5rem;
            }
            
            .footer-links-bottom {
                flex-direction: column;
                gap: 1rem;
            }
        }