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

h1, h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
}

.note {
  font-family: 'Gochi Hand', cursive;
}

body {
    color: #243a41;
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}
html, body {
  overflow-x: hidden;
}

.menu-box,
.menu-button {
  max-width: 100vw;
  box-sizing: border-box;
}

.navbar,
.glass-nav-wrapper,
.nav-link,
.menu-button,
.menu-box,
.mobile-nav-links a {
  font-family: 'Bricolage Grotesque', sans-serif;
}

/* NAVBAR */

.glass-nav-wrapper {
  background: rgba(255, 255, 255, 0.1); /* transparent white */
  border-radius: 50px;
  padding: 6px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: inline-block;
}

.nav-link {
  color: #ffffff !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #00ffe7 !important;
  transform: scale(1.05);
}

.navbar {
  transition: opacity 0.4s ease;
  z-index: 9999;
}



/* HERO SECTION */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding-top: 0px;
    margin-top: 0px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.hero-text {
    flex: 1;
    color: #ffffff;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: #ffffff;
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 24px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 2px solid #000;
    color: #000;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #000;
    color: #fff;
}

.btn-primary {
    background-color: #000;
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
}

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

/* MEDIA QUERY: HERO SECTION */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 20px 40px 20px;
    }

    .hero-container {
        flex-direction: column;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text h2 {
        font-size: 25px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 20px;
    }

    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* GLOBAL IMAGE */
img {
    max-width: 100%;
    height: auto;
}

/* PROFILE IMAGE */
.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

/* SECTION HEADINGS */
h2 {
    margin-bottom: 20px;
    font-weight: 600;
}

/* PROJECT CARD */
.project-card {
    background: #e8eefa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    margin-bottom: 25px;
    border: 1px solid #dee2e6;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

/* SOCIAL ICONS */
.icon-wrapper {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 8px;
}

.icon-box {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: url(#squircleClip);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  color: white;
  font-size: 28px;
  text-decoration: none;
}

.icon-box:hover {
  transform: scale(1.1) translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Specific platform gradients */
.github {
  background: linear-gradient(to bottom right, #333333, #111111);
  border: 1px solid rgba(128, 128, 128, 0.5);
}

.linkedin {
  background: linear-gradient(to bottom right, #0077b5, #005582);
  border: 1px solid rgba(0, 119, 181, 0.5);
}

.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border: 1px solid rgba(253, 89, 73, 0.5);
}
.instagram i {
  font-size: 32px; /* or any size you want */
}


/* SECTIONS BACKGROUND */
#home {
  background: linear-gradient(to bottom, #243a41, #2c4c59, #37616e);
  color: #ffffff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  min-height: 100vh; /* Make sure it covers full viewport height */
  padding: 20px; /* Add padding so content doesn't touch edges */
  padding-top: 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


#about, #resume, #contact {
    background: #ffffff;
    padding: 60px 20px 30px 20px;
}
#projects {
    background: #ffffff;
    padding: 60px 0;
}

/* ABOUT SECTION */
#about .row {
    display: flex;
    align-items: center;
}

/* SKILLS */
.skills-logos img {
    width: 50px;
    height: 50px;
    margin: 10px;
}

.skills-section {
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.skills-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.logo-icon {
  width: 60px;
  height: 60px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  animation: floatUpDown 3s ease-in-out infinite;
}

.logo-icon.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating animation with random delays */
.logo-icon:nth-child(1) { animation-delay: 0s; }
.logo-icon:nth-child(2) { animation-delay: 0.4s; }
.logo-icon:nth-child(3) { animation-delay: 0.8s; }
.logo-icon:nth-child(4) { animation-delay: 1.2s; }
.logo-icon:nth-child(5) { animation-delay: 0.2s; }
.logo-icon:nth-child(6) { animation-delay: 0.6s; }
.logo-icon:nth-child(7) { animation-delay: 1s; }
.logo-icon:nth-child(8) { animation-delay: 1.4s; }

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



/* RESUME */
.resume-left {
    padding-left: 200px !important;
}

/* CONTACT */
.custom-line {
    border: none;
    border-top: 2px solid #333;
    width: 80%;
    margin: 30px auto;
}


/* RESPONSIVE TEXT + BUTTONS */
@media (max-width: 768px) {
    body{
        overflow-x: hidden;
    }
    h1, h2 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }

    .btn {
        padding: 8px 16px;
    }

    .resume-left {
        padding-left: 20px !important;
    }
}

/* PROJECT SLIDER & CARD RESPONSIVENESS */
@media (max-width: 768px) {
    .splide__slide {
        min-width: 80vw !important;
    }

    .project-frame {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .splide__slide {
        min-width: 90vw !important;
    }

    .project-card {
        padding: 10px;
    }

    .project-frame {
        height: 200px;
    }

    .project-card h4 {
        font-size: 1rem;
    }

    .project-card p {
        font-size: 0.85rem;
    }
}

.certificate-card {
    padding: 15px;
    text-align: center;
    background: #e8eefa;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin: 0 10px;
  }
  
  .certificate-card img {
    max-height: 500px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
  }
  
  .certificate-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }
  
  /* Carousel adjustments */
  .splide__pagination {
    bottom: -20px;
  }
  
  .splide__arrows {
    margin-top: 1rem;
  }

