/* ==============================
   :root - Color Variables
   ============================== */
:root {
    /* Logo Colors */
    --primary-color:  #acabbd;
    --secondary-color: #3c2c9b;
    --accent-color: #ff9a00; 
    --second-accent: #f37309;

    /* Site Background & Text */
    --dark-bg: #0f0f1a;
    --darker-bg: #0e0e1aef;
    --text-light: #ffffff;
    --text-dark: #212529;
}


html, body {
  overflow-x: hidden;
  width: 100%;
}

.play-regular {
  font-family: 'Play', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.play-bold {
  font-family: 'Play', sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Apply it to the whole site */
body {
  font-family: 'Play', sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ==============================
   Hero Section
   ============================== */
.navbar-toggler {
  border: none; /* remove border */
  background-color: transparent; /* transparent background */
}

.navbar-toggler-icon {
  background-image: url('/images/menu4.svg'); /* use custom icon */
  width: 50px;
  height: 50px;
}



.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at top, #111644, var(--dark-bg));
    z-index: 1;
    overflow: hidden;
}

#projects {
    position: relative; /* so pseudo-element is relative to this */
    background: var(--dark-bg); /* keep the dark background */
    z-index: 1;
}

#projects::before {
    content: '';
    position: absolute;
    top: 57%;  /* center vertically */
    left: 50%; /* center horizontally */
    width: 1500px;   /* adjust size as needed */
    height: 1500px;
    transform: translate(-50%, -50%);
    border-radius: 30%;
    background: radial-gradient(circle, rgba(17, 22, 68, 0.842) 0%, rgba(60,44,155,0) 90%);
    filter: blur(120px);
    pointer-events: none;
    z-index: -1; /* below content but above background */
}

@media (max-width: 768px) {
    #projects::before {
        width: 2500px;       /* slightly smaller to fit mobile screens */
        height: 2500px;      /* taller to cover 6 cards vertically */
        top: 50%;            /* center vertically */
        left: 50%;           /* center horizontally */
        transform: translate(-50%, -50%);
        border-radius: 30%;
        background: radial-gradient(
            circle,
            rgba(17, 22, 68, 0.658) 0%,   /* very subtle center glow */
            rgba(60, 44, 155, 0) 90%     /* fade out to transparent edges */
        );
        filter: blur(100px);              /* slightly softer blur */
        pointer-events: none;
        z-index: 0;
    }
}





.hero > .container {
    position: relative;
    z-index: 2; /* content above background/grid */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(60, 44, 155, 0.3);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.badge-icon {
    color: #f37309;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.text-gradient {
    z-index: 5;
    background: linear-gradient(90deg, #ffffff, #4c3da085, #ffffff, #46379b9a);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}


.text-light-color {
    color: var(--text-light);
}

.text-primary-color,
.text-gray {
    color: var(--primary-color);
}

.text-gradient2 {
    background: linear-gradient(90deg, #ffffff, #3c2c9b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#logo3d {
    width: 250px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(255, 115, 9, 0.4));
    position: relative;
}

#logo3d:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 6px rgba(240, 239, 239, 0.425));
}


h1,
h2 {
  transition: transform 0.3s ease, filter 0.3s ease;
  z-index: 10000;
}

h1:hover,
h2:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.322));
}


/* 3D Spin Image */
.spin-img {
    animation: spin 70s linear infinite;
    transition: animation-duration 0.3s ease;
}

.spin-img:hover {
    animation-duration: 2s;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Hero Grid / Laser Effect */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(60, 44, 155, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(94, 94, 95, 0.055) 1px, transparent 1px);
    background-size: 4rem 4rem;
    z-index: 1;
    overflow: hidden;
}

/* ==============================
   Particles
   ============================== */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    filter: blur(4px);
    animation: pulse 2s infinite ease-in-out, drift 10s infinite alternate;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

/* Individual particle settings */
.particle:nth-child(1)  { background: var(--primary-color); width: 6px; height: 6px; animation-delay: 0s, 0s; }
.particle:nth-child(2)  { background: var(--accent-color); width: 16px; height: 10px; animation-delay: 0.5s, 1s; }
.particle:nth-child(3)  { background: var(--second-accent); width: 6px; height: 5px; animation-delay: 1s, 2s; }
.particle:nth-child(4)  { background: var(--secondary-color); width: 12px; height: 12px; animation-delay: 0.2s, 1.5s; }
.particle:nth-child(5)  { background: var(--accent-color); width: 8px; height: 8px; animation-delay: 0.7s, 0.3s; }
.particle:nth-child(6)  { background: var(--primary-color); width: 6px; height: 6px; animation-delay: 0.3s, 1s; }
.particle:nth-child(7)  { background: var(--second-accent); width: 8px; height: 7px; animation-delay: 0.9s, 2s; }
.particle:nth-child(8)  { background: var(--secondary-color); width: 9px; height: 9px; animation-delay: 1.2s, 0.5s; }
.particle:nth-child(9)  { background: var(--secondary-color); width: 11px; height: 5px; animation-delay: 0.4s, 1.8s; }
.particle:nth-child(10) { background: var(--primary-color); width: 8px; height: 8px; animation-delay: 0.6s, 1.3s; }
.particle:nth-child(11) { background: var(--accent-color); width: 7px; height: 7px; animation-delay: 0.8s, 1.6s; }
.particle:nth-child(12) { background: var(--secondary-color); width: 10px; height: 6px; animation-delay: 0.3s, 1.1s; }
.particle:nth-child(13) { background: var(--primary-color); width: 9px; height: 9px; animation-delay: 1s, 2.2s; }
.particle:nth-child(14) { background: var(--second-accent); width: 8px; height: 8px; animation-delay: 0.5s, 0.9s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 1; }
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    20% { transform: translate(20px, -15px); }
    40% { transform: translate(-15px, 20px); }
    60% { transform: translate(25px, 10px); }
    80% { transform: translate(-20px, -20px); }
    100% { transform: translate(0, 15px); }
}

/* ==============================
   Scroll Icon
/* ============================== */
/* Mouse-style scroll icon */
.scroll-icon {
  width: 32px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  z-index: 10;
  background: rgba(255, 255, 255, 0.03); /* subtle fill for glassy look */
  backdrop-filter: blur(2px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1) inset;
}

/* Hide + slide down */
.scroll-icon.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
}

/* Scroll wheel */
.scroll-icon::before {
  content: '';
  width: 4px;
  height: 10px;
  background: linear-gradient(180deg, orange, gold);
  border-radius: 4px;
  position: relative;
  top: 8px;
  animation: wheel-move 1.8s infinite;
  box-shadow: 0 0 6px rgba(255, 165, 0, 0.6);
}

@keyframes wheel-move {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.4;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ==============================
   Navbar
   ============================== */
.navbar {
    z-index: 155;
}
/* Desktop Navbar Glass Effect */
@media (min-width: 992px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 1rem 2rem;
    background-color: rgba(15, 15, 26, 0.4); /* dark semi-transparent */
    backdrop-filter: blur(5px);            /* frosted glass */
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
  }



  /* Nav link colors */
  .navbar .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .navbar .nav-link:hover {
    color: var(--accent-color) !important;
  }

  .text-secondary-accent {
    color: var(--second-accent);
  }

  /* Optional: Add subtle shadow */
  .navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(223, 30, 30, 0.05);
  }

  
}

.hero .navbar .nav-link {
    color: #fff !important;
}

.hero .navbar .nav-link:hover {
    color: var(--accent-color) !important;
}




/* Fix overlapping hero on mobile */
@media (max-width: 768px) {
    .hero {
        padding-top: 0px;
        min-height: 40vh !important; /* reduced from 50vh */
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        background-color: rgba(15, 15, 26, 0.377); /* dark semi-transparent */
        backdrop-filter: blur(10px);            /* frosted glass */
        border-bottom: 1px solid rgba(255,255,255,0.05);
        transition: all 0.3s ease;
    }
    
    #logo3d {
        margin-top: 60px; /* reduced from 90px */
        max-width: 400px; /* optional: smaller for tighter hero */
    }

    .column-mobile {
        display: none;
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, transparent 0%, transparent 90%, #0f0f1a 100%);
        z-index: 3;
        pointer-events: none;
    }

    .scroll-icon {
        bottom: 3rem; /* moved up since hero is shorter */
    }
}


/* Hero responsive adjustments */
@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 60vh;
        overflow: visible;
        
    }
    .scroll-icon {
        display: none !important;
    }
     
}

@media (max-width: 991px) {
    .hero .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: center;
    }
    .hero .col-12 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ==============================
   Project Cards
   ============================== */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(255, 154, 0, 0.15);
}

.project-img {
    width: 100%;
     height: 230px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-content {
    padding: 1.2rem 1.5rem;
    text-align: start;
}

.project-content small.project-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    color: var(--second-accent);
    font-weight: 500;
}

/* ==============================
   Client Experience Section
   ============================== */
#client-experience {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

#client-experience::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    /* Softer radial gradient with subtle blue glow */
    background: radial-gradient(
        ellipse 50% 50% at center,
        rgba(8, 13, 51, 0.6) 0%,          /* softer top dark */
        rgba(17, 22, 68, 0.15) 50%,     /* very subtle middle blue glow */
        var(--dark-bg) 100%                /* bottom dark */
    );

    background-repeat: no-repeat;
}


  


@keyframes waveFlow {
  0% { background-position: 0 0; }
  100% { background-position: 0 200%; }
}







@media (max-width: 768px) {
    #client-experience::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;

        background: radial-gradient(
            ellipse 50% 50% at center,
            #111644 0%,          /* central glow */
            rgba(17, 22, 68, 0.171) 95%,  /* subtle fade out */
            rgba(15, 15, 26, 0.411) 70%,    /* near edges dark */
            #0f0f1a 100%        /* edges fully dark */
        );

        background-repeat: no-repeat;
        background-size: cover;
        filter: blur(60px);      /* softens the glow */
    }
}







/* ==============================
   Buttons
   ============================== */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: none;
    font-weight: 400;
    padding: 0.75rem 2rem;
    border-radius: 3.5rem;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 3.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    background: var(--darker-bg);
    transition: all 0.4s ease;
    
}

/* ==============================
   Rest of sections (experience, contact, inner-circle, etc.)
   ============================== */
/* ... rest of your CSS remains unchanged, grouped similarly */


.section-contact {
  background: #0f0f1a;
  color: #fff;
  position: relative;
}

.section-contact .section-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at center 40%,
    rgba(40, 34, 70, 0.75) 0%,
    rgba(26, 20, 45, 0.65) 30%,
    rgba(15, 15, 26, 0.85) 70%,
    #0f0f1a 100%
  );
  z-index: -1;
  pointer-events: none;
}



/* Icons background gradient */
.icon-gradient {
  background: linear-gradient(135deg, #654ea3, #eaafc8);
  box-shadow: 0 0 10px rgba(101, 78, 163, 0.3);
}

/* Inputs */
.contact-form .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #8b5cf6;
  box-shadow: none;
}

/* Button styling */
.btn-hero {
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  border: none;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 117, 252, 0.4);
}

.section-contact h2 {
    font-size: 2.5rem;
}

.section-contact p {
    color: var(--primary-color);
}

.contact-form .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.contact-form .form-control:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--secondary-color);
    box-shadow: none;
    color: #fff;
}

.contact-form button {
    font-weight: 600;
}

.icon-gradient {
  background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
  box-shadow: 0 0 2px var(--primary-color);
  width: 41px;
  height: 45px;
  min-width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-gradient:hover {
  transform: scale(1.1);
  box-shadow: 0 0 4px var(--second-accent);
}

.social-icon {
  font-size: 1.5rem;
  color: var(--text-light);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.form-control::placeholder {
    color: var(--primary-color);
}


