* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: url("./src/background.png") no-repeat center/cover;
    padding: 50px 5%;
    overflow-y: auto;
}

.container {
    position: relative;
    padding-bottom: 50px; 
    min-height: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    backdrop-filter: blur(30px);
    transform:scale(0);
    animation: zoom-in 1s ease forwards;
}

@keyframes zoom-in{
    100%{
        transform: scale(1);
    }
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.animated {
    transform: translateY(30px);
    opacity: 0;
    animation: slide-in 1s ease forwards;
    animation-delay: 1s;
}

@keyframes slide-in{
    100%{
        transform: translateY(30px);
        opacity: 1;
    }
}

.logo {
    font-size: 30px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.navbar a {
    font-size: 18px;
    color:azure;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    border-bottom: 2px solid transparent;
    transition: .5s;
}

.navbar a:hover {
    border-color: white;
}

.navbar a.active {
    border-color: white;
}

.home {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 80px 5% 0;
    color: white;
    animation-delay: 1.5s;
}

.home-detail h1{
    font-size: 32px;
    line-height: 1;
}

.home-detail h2{
    font-size: 24px;
}

.home-detail p{
    margin-bottom: 10px;
    line-height: 1.4;
}

.home-detail .download-social{
    display: flex;
    align-items: center;
}

.home-detail h3 {
    margin-top: 30px;     /* gives space from the previous job's content */
    margin-bottom: 5px;   /* brings the job title closer to the description */
    font-size: 20px;
    font-weight: bold;
    color: white;
  }

.home-detail ul {
    margin-bottom: 20px;
    padding-left: 20px;
  }
.btn {
    display: inline-block;
    padding: 10px 30px;
    background: white;
    border: 2px solid white;
    border-radius: 39px;
    box-shadow: 0 0 9px #fff;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.5s;
}

.btn:hover {
    background: transparent;
    box-shadow: none;
    color: white;
}

.home-detail .social-icons{
    margin-left: 20px;
}

.download-social .social-icons a {
    display: inline-flex;
    padding: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    margin: 0 8px;
    transition: 0.5s;
}

.download-social .social-icons a:hover {
    background: #fff;
    box-shadow:  0 0 9px #fff;
    color: #333;
}
.resume-download-section {
    position: absolute;
    top: 90px;
    right: 5%;
  }
  
  .download-box {
    padding: 10px 20px;
  }
  
.home-img .img-box {
    position: relative;
    width: 28vw;
    height: 28vw;
    border: 2px solid #fff;
    box-shadow: 0 0 20px #fff;
    overflow: hidden;
    animation: float 5s ease-in-out infinite, morph 10s ease-in-out infinite; /* Combine floating and morphing */
}

/* Ripple effect with morphing */
.home-img .img-box::before {
    content: "";
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
    filter: blur(30px);
    animation: ripple 6s infinite ease-in-out, morph 8s infinite ease-in-out;
}

/* Image Styling */
.home-img .img-box img {
    position: absolute;
    top: -48px;
    display: block;
    width: 100%;
    object-fit: cover;
}


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

/* Ripple Animation */
@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* Morphing Circle Shape */
@keyframes morph {
    0%, 100% {
        border-radius: 50%;
    }
    20% {
        border-radius: 40% 60% 55% 45%;
    }
    40% {
        border-radius: 65% 35% 50% 50%;
    }
    60% {
        border-radius: 45% 55% 60% 40%;
    }
    80% {
        border-radius: 70% 30% 40% 60%;
    }
}

.doing-section {
    padding: 60px 5% 30px; /* Bottom padding reduced */
    color: white;
    text-align: center;
}
.doing-section h1 {
    font-size: 32px;
    line-height: 1;
}
.skills-section {
    padding: 30px 5% 60px; /* Top padding reduced */
    color: white;
    text-align: center;
}
.skills-detail h1{
    font-size: 32px;
    line-height: 1;
}
.projects-section {
    padding: 60px 5%;
    color: white;
    text-align: center; /* or left, depending on preference */
  }

.blog-posts-section {
    padding: 130px 5% 60px; /* Add more top padding */
    color: white;
    text-align: center;
  }
  
  .projects-section h1 , .blog-posts-section h1{
    font-size: 32px;
    margin-bottom: 30px;
  }
  
  .projects-detail h1{
    font-size: 32px;
    line-height: 1;
}

.doing-section h2, .skills-section h2, .projects-section h2, .blog-posts-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.doing-section p, .skills-section p, .projects-section p, .blog-posts-section p {
    margin: 10px 0 16px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 30px;
    margin-top: 20px;
    justify-content: center;
}

@media (max-width: 768px) {
    .cards {
      grid-template-columns: 1fr;
    }
  }

.card {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
    text-align: left;
    text-decoration: none;
    color: inherit; /* This ensures text color follows your theme instead of browser default (blue) */
}

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

.card i {
    font-size: 32px;
    margin-bottom: 15px;
    display: inline-block;
}
.card img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
  }
.card h3, .card p, .card .card-date {
    color: white;
    text-decoration: none;
}

.card:hover h3 {
    text-decoration: underline;
}

.skills-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.skills-icons a {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-icons a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255,255,255,0.4);
}

.skills-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-section {
    padding: 120px 5% 60px;
    color: white;
    text-align: center;
  }
  
  .contact-section h1 {
    font-size: 36px;
    margin-bottom: 30px;
  }
  
  .map-container {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  }
  
  .input-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1rem;
  }
  
  .input-row input {
    flex: 1;
  }
  
  .contact-form .btn {
    padding: 1rem 2rem;
    border: none;
    background-color: #ffffff;
    color: #000;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .contact-form .btn:hover {
    background-color: #f0f0f0;
  }
  