html,body{
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body.active{
  overflow-y: hidden;
}
#splash-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: black;
}

#brand-name span {
  display: inline-block;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}
#brand span{
  font-size: 100px;
  margin-right: 20px;
  font-weight: bold;
  font-family: sans-serif;
  background: linear-gradient(45deg, #4158D0, #C850C0, #FFCC70, blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 768px) {
  #brand span{
    font-size: 60px;
}
}
@media (max-width: 460px) {
  #brand span{
    font-size: 40px;
}
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Staggering the reveal */
#brand-name span:nth-child(1) { animation-delay: 0.2s; }
#brand-name span:nth-child(2) { animation-delay: 0.4s; }
#brand-name span:nth-child(3) { animation-delay: 0.6s; }
#brand-name span:nth-child(4) { animation-delay: 0.8s; }
#brand-name span:nth-child(5) { animation-delay: 1s; }
#brand-name span:nth-child(6) { animation-delay: 1.2s; }
#brand-name span:nth-child(7) { animation-delay: 1.4s; }
/* Add more as needed based on your name length */
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

#splash-screen.hidden {
  animation: fadeOut 0.5s ease-out forwards;
}





:root {
  /* Colors inspired by your screenshot */
  --bg-base: rgb(41, 130, 136);      /* Near black-purple base */
  --vibrant-purple: white; 
  --deep-indigo: #421d99;
  --bright-highlight: black;
}

.gradient-bg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  background-color: var(--bg-base);
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: -1;
}

.gradients-container {
  /* High blur creates the 'mesh' look */
  filter: blur(60px); 
  width: 100%;
  height: 100%;
}

.g1, .g2, .g3 {
  position: absolute;
  /* Making them 150% ensures they cover the screen even when swinging */
  width: 150%; 
  height: 150%;
  top: -25%;
  left: -25%;
  opacity: 1; /* Keep opacity high for "depth" */
}

/* The Main Purple Swell */
.g1 {
  background: radial-gradient(circle at center, var(--vibrant-purple) 0%, transparent 50%) no-repeat;
  mix-blend-mode: screen; 
  animation: moveInCircle 20s ease infinite;
}

/* The Deep Indigo Shadow */
.g2 {
  background: radial-gradient(circle at center, var(--deep-indigo) 0%, transparent 50%) no-repeat;
  mix-blend-mode: overlay;
  animation: moveVertical 30s ease infinite;
}

/* The Bright "Liquid" Highlight */
.g3 {
  background: radial-gradient(circle at center, var(--bright-highlight) 0%, transparent 30%) no-repeat;
  mix-blend-mode: overlay;
  opacity: 0.6;
  animation: moveInCircle 25s reverse infinite;
}

/* Keyframes for deeper, more noticeable movement */
@keyframes moveInCircle {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20%, -10%) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes moveVertical {
  0% { transform: translateY(-15%); }
  50% { transform: translateY(15%) translateX(10%); }
  100% { transform: translateY(-15%); }
}


/*NAVBAR*/

 .navbar-box {
  max-width: 900px;
  padding: 12px 25px;
  border-radius: 40px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* MOBILE WIDTH */
@media (max-width: 768px) {
  .navbar-box {
    width: 95% !important;
  }
}

/* RESUME BUTTON */
.resume-btn {
  background: black;
  color: white;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

/* DROPDOWN */
.dropdown-menu-custom {
  position: absolute;
  top: 45px;
  left: 0;
  background: #222;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  min-width: 180px;
  z-index: 1000;
}

.dropdown-menu-custom a {
  color: white;
  padding: 10px;
  text-decoration: none;
}

.dropdown-menu-custom a:hover {
  background: #333;
}

.dropdown-menu-custom.active {
  display: flex;
}

/* HAMBURGER */
.hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: white;
  transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* SIDE MENU */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 30%;
  height: 100%;
  background: #2b2b2b;
  color: white;
  padding: 20px;
  transition: 0.4s ease;
  z-index: 1050;
}



/* FULL SCREEN ON MOBILE */
@media (max-width: 1000px) {
  .side-menu {
    width: 100%;
  }
}

.side-menu.active {
  right: 0;
}

 h5{
  font-size: 25px;
}
@media (max-width: 768px) {
  h5 {
    font-size: 20px;
  }
}
@media (max-width: 473px) {
  h5 {
    font-size: 17px;
  }
}

/* LINKS */
.side-menu a {
  color: white;
  text-decoration: none;
}

.side-menu li {
  margin: 20px 0 10px 0;
  font-size: 20px;
}
@media (max-width: 768px) {
  .side-menu li {
    margin: 10px 0;
    font-size: 15px;
  }
}
@media (max-width: 470px) {
  .side-menu li {
    font-size: 13px;
  }
}

.close-btn {
  font-size: 50px;
  cursor: pointer;
}

.contact {
  
  font-size: 15px;
}


/*introduction*/
.container{
  margin-top: 150px;
}
.main-name {
    color: #00d4ff;
    font-weight: 900;
    letter-spacing: -2px;
    font-size: 9.5rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    animation: textPulse 3s ease-in-out infinite alternate;
}

@keyframes textPulse {
    from {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.2);
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.4);
        transform: scale(1.02);
    }
}
.hello{
  font-size: 2.7rem;
}
.dev{
  font-size: 2.3rem;
}
/* Glowing Button Styling */
.btn-glow a{
    background: transparent;
    color: #fff;
    border: 2px solid #00d4ff;
    padding: 14px 45px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.btn-glow a:hover {
    background: #00d4ff;
    color: #000;
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.9);
    transform: translateY(-5px);
}
#hireBtn{
  border: none;
}
a{
  text-decoration: none;
}

/* Mobile Responsiveness tweaks */
@media (max-width: 768px) {
    .main-name {
        font-size: 3.5rem; 
    }
    .hello {
        font-size: 1.5rem;
    }
    .dev{
      font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-name {
        font-size: 2.8rem;
    }
    .hello{
      font-size: 1.2rem;
    }
    .dev{
      font-size: 0.8rem;
    }
}

/*About*/
.about-section {
  color: #fff;
}

/* TITLE */
.about-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #c084fc;
  animation: fadeDown 1s ease-in-out;
}

.about-subtitle {
  opacity: 0.8;
}

.about-subtitle span {
  color: #ff4ecd;
}

/* TEXT */
.about-text {
  animation: fadeLeft 1.2s ease;
}

.about-text p {
  line-height: 1.7;
}

/* IMAGE */
.about-image {
  animation: fadeRight 1.2s ease;
}

.about-image img {
  max-width: 320px;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
  transition: 0.4s;
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255,255,255,0.4);
}

/* STATS */
.stat-box {
  padding: 15px 0;
  border-radius: 15px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: 0.3s;
  width: 100%;
}

.stat-box:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255,255,255,0.2);
}

.stat-box h4 {
  color: #00ffcc;
  font-size: 1.8rem;
}

/* ANIMATIONS */
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

.cim{
  display: flex;
  flex-wrap: wrap;
}
/* RESPONSIVENESS */
@media (max-width: 992px) {
  .about-title {
    font-size: 2.3rem;
  }

  .about-image img {
    max-width: 260px;
  }
}

@media (max-width: 768px) {
  .about-text {
    text-align: center;
  }

  .stat-box {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .about-title {
    font-size: 2rem;
  }

  .about-image img {
    max-width: 220px;
  }
}

/* Container - clips the overflowing logos */
.logo-slider {
  width: 100%;
  height: 50px;
  margin: auto;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

/* The moving track */
.logo-track {
  display: flex;
  width: calc(250px * 15); /* Width of 1 logo * total number of logos (including duplicates) */
  animation: scroll1 20s linear infinite;
}
.logo-track1 {
  display: flex;
  width: calc(250px * 15); /* Width of 1 logo * total number of logos (including duplicates) */
  animation: scroll2 20s linear infinite;
}

/* Individual slides */
.slide {
  width: 250px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px 5px 15px;
}

.slide .logo {
  width: 25%;
  max-width: 80px;
  /* Grayscale effect to match your screenshot */
  
  opacity: 1;
  transition: 0.3s;
}

.slide .logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* The Animation Logic */
@keyframes scroll1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 6)); /* Move by exactly half the number of logos */
  }
}

@keyframes scroll2 {
  100% {
    transform: translateX(0);
  }
  0% {
    transform: translateX(calc(-250px * 6)); /* Move by exactly half the number of logos */
  }
}

/* Optional: Fading effect on the edges */
.logo-slider::before,
.logo-slider::after {
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.logo-slider::before {
  left: 0;
}

.logo-slider::after {
  right: 0;
}
.logo-slider1::before,
.logo-slider1::after {
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.logo-slider1::before {
  right: 0;
}

.logo-slider1::after {
  left: 0;
}


/*styling projects card packs*/
/* Ensure all cards are the same height */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-top: 4px solid #0d6efd; /* Adds a nice accent line */
}

/* Hover effect for interactivity */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Typography polish */
.card-title {
    color: #333;
    font-size: 1.2rem;
}

.card-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Button styling */
.btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
}

/*Style for contact us*/
/* Custom Styling */
.contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Social Icon Styling */
.social-icon {
    width: 45px;
    height: 45px;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-icon:hover {
    background-color: #0d6efd;
    color: #fff;
    transform: translateY(-5px);
}

/* Form focus effect */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-info {
        text-align: center;
    }
    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
    .contact-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

/*Footer style*/
.minimal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05); 
  width: 100%;
}

.copyright-text {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand-name {
  font-size: 1.4rem;
  color: #212529; 
}


.minimal-footer {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text { color: rgba(255, 255, 255, 0.6); }
