* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.hamburger {
  display: none; /* Hidden on desktop */
}
body {
    background-color: #121222;
    color: #fff;
}

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

section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #9046FF;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(18, 18, 34, 0.95);
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.logo span {
    color: #9046FF;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #9046FF;
}

.theme-toggle {
    width: 50px;
    height: 25px;
    background-color: #2D2D41;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
}

.theme-toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #9046FF;
    border-radius: 50%;
    top: 2.5px;
    right: 3px;
    transition: transform 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 0;
    min-height: 100vh;
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 62px;
    margin-bottom: 10px;
}

.hero-content h1 span {
    color: #5a5a7a;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-primary {
    background-color: #9046FF;
    color: #fff;
    border: none;
    
}

.btn-secondary {
    background-color: transparent;
    color: #9046FF;
    border: 2px solid #9046FF;
}

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

.hero-image {
    max-width: 47%;
     border-radius: 3;
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* About Section */
.about {
    background-color: #1A1A2E;
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ccc;
}

/* Skills Section */
.skills {
    padding: 100px 0;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background-color: #1A1A2E;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.skill-category:hover {
    transform: translateY(-10px);
}

.skill-category h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #9046FF;
    position: relative;
    padding-bottom: 10px;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #9046FF;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.skill-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-icon {
    width: 25px;
    height: 25px;
    background-color: rgba(144, 70, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9046FF;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: #2D2D41;
    border-radius: 10px;
    margin-top: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: #9046FF;
    border-radius: 10px;
}

/* Projects Section */
.projects {
    background-color: #1A1A2E;
    padding: 100px 0;
}

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

.project-card {
    background-color: #121222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.project-image {
    width: 100%;
    height: 200px;
    background-color: #2D2D41;
    position: relative;
    overflow: hidden;
}

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

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

.project-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.project-tag {
    background-color: #9046FF;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.project-content p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-links a {
    color: #9046FF;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.project-links a:hover {
    color: #fff;
}

/* Certifications Section */
.certifications {
    padding: 100px 0;
}

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

.certification-card {
    background-color: #1A1A2E;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-left: 4px solid #9046FF;
}

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

.certification-logo {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.certification-logo img {
    max-width: 80%;
    max-height: 80%;
}

.certification-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.certification-card p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 15px;
}

.certification-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #9046FF;
    font-size: 14px;
}

/* Blogs Section */
.blogs {
    background-color: #1A1A2E;
    padding: 100px 0;
}

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

.blog-card {
    background-color: #121222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.blog-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 14px;
    color: #9046FF;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.blog-card:hover .blog-content h3 {
    color: #9046FF;
}

.blog-content p {
    color: #aaa;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-tag {
    background-color: rgba(144, 70, 255, 0.1);
    color: #9046FF;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #aaa;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(144, 70, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9046FF;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-text p {
    color: #aaa;
    margin-bottom: 0;
}

.contact-form {
    flex: 1;
    background-color: #1A1A2E;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: #121222;
    border: 1px solid #2D2D41;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #9046FF;
}

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

/* Footer */
footer {
    background-color: #1A1A2E;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.footer-logo span {
    color: #9046FF;
}

.footer-text {
    color: #aaa;
    margin-bottom: 30px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #9046FF;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(144, 70, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9046FF;
    transition: background-color 0.3s, color 0.3s;
}

.footer-social a:hover {
    background-color: #9046FF;
    color: #fff;
}

.copyright {
    color: #666;
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid #2D2D41;
}

.copyright a {
    color: #9046FF;
    text-decoration: none;
}

/* Animation styles */
.theme-toggle.active::after {
    transform: translateX(-25px);
}

body.light-mode {
    background-color: #f0f0f5;
    color: #121222;
}

body.light-mode .nav-links a {
    color: #121222;
}

body.light-mode .social-icons a {
    background-color: #121222;
}

body.light-mode .social-icons a i {
    color: #f0f0f5 !important;
}

/* Hero section animations */
.hero-content.animate-ready {
    opacity: 0;
    transform: translateY(30px);
}

.hero-content.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-image.animate-ready {
    opacity: 0;
    transform: translateX(30px);
}

.hero-image.animate {
    animation: fadeInRight 0.8s ease forwards;
}

.social-icons a {
    opacity: 0;
    transform: translateY(20px);
}

.social-icons a.animate {
    animation: popIn 0.5s ease forwards;
}

.cta-buttons .btn {
    opacity: 0;
    transform: translateY(20px);
}

.cta-buttons .btn.animate {
    animation: fadeInUp 0.5s ease forwards;
}

/* Navigation active link */
.nav-links a.active {
    color: #9046FF;
    font-weight: 600;
}

/* Section animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

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

/* Parallax effect */
.parallax {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    70% {
        opacity: 1;
        transform: scale(1.1) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Loading animation (spinner) */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #121222;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(144, 70, 255, 0.3);
    border-radius: 50%;
    border-top-color: #9046FF;
    animation: spin 1s ease-in-out infinite;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        max-width: 80%;
        height:auto;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .projects-grid, .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    .logo{
        font-size: 16px;
}
    container {
      width: 100%;
      padding: 0 15px;
         .hamburger {
    display: block; /* Visible on mobile */
  }
    }
    
    .nav-menu { width: 20px;
  height: 20px;
      flex-direction: column;
    }
  }

.footer{background-color: black;
color: white;
text-align: center;
width: 100%;
height: 50px;}

/* Certifications Section Styling */
.certifications-section {
    background-color: #121212;
    padding: 3rem 0;
    color: white;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;

  }
  
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    position: relative;
    display: inline-block;
  }
  
  .section-header h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, #9f43f8, #43b0f8);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
    margin-bottom: 5px;
  }
  
  .section-header p {
    color: #aaa;
    font-size: 1.1rem;
  }
  
  .certifications-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    height:400px;
  }
  
  .certification-card {
    background: rgba(30, 30, 40, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);

  }
  
  .certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  }
  
  .certification-logo {
    height: 150px;
    width:100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: rgba(20, 20, 30, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .certification-logo img {
    max-height: 100%;
    max-width: 90%;
    
  }
  
  .certification-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  .certification-content h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .certification-issuer {
    color: #9f43f8;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .certification-date {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .certification-description {
    color: #ddd;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
  }
  
  
  /* Media Queries for Responsive Design */
  @media screen and (max-width: 768px) {
    .certifications-container {
      grid-template-columns: 1fr;
      height:1100px;
    }
    
    .section-header h2 {
      font-size: 2rem;
    }
    
    .certification-card {
      max-width: 100%;
    }
  }