:root{
      --primary:#006400; 
      --accent:#1e90ff; 
      --bg:#f5f5f5; 
      --fg:#222; 
      --card:#fff; 
      --tg: #ffffff;
      --nav-bg: #ffffff9c;
      --dur-fast:.18s; 
      --dur-med:.4s; 
      --ease: cubic-bezier(.4,0,.2,1);
      --sub: #ffffff;
      --heroleft: #27af1a;
      --acc:#175fa7;
      --label: black;
      --image: url('logo1.png');

    }
    :root[data-accent="green"]{
      --accent:#1abc9c
    }

    :root[data-accent="sunset"]{
      --accent:#ff6b6b
    }

    [data-theme="dark"]{
      --bg:#111;
      --fg:#eee;
      --card:#1e1e1e; 
      --primary:#c264f8 ; 
      --tg: #929292;
      --nav-bg: #6b6b6b9c;
      --accent:#c667fd;
      --sub: #c264f8;
      --heroleft: #175ca0;
      --acc:#c667fd;
      --label: #c667fd;
      --image: url('logo_purple_leaf.png');
    }
    
    *{
      box-sizing: border-box;
    }
     
    html{
      scroll-behavior:smooth
    } 

    body{
      margin:0;
      font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto; 
      background:var(--bg); color:var(--fg); 
      line-height:1.5;
      transition:background var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
    }

    /* Progress bar */
    #progress-container{
      position:fixed;
      top:0;
      left:0;
      width:100%;
      height:4px;
      background:rgba(0,0,0,.08);
      z-index:1200}

    #progress-bar{
      height:100%;
      width:0;
      background:var(--accent);
      transition:width .12s linear
    }

    /* NAV */
    .navbar-container{
      position: fixed;
      top:0;
      z-index:1100;
      background:var(--nav-bg);
      backdrop-filter:blur(6px); 
      height: 50px; 
      width: 100%;
      align-items: center;
      display: flex;
    }

    .navbar{
      width: 100%;
      display: flex;
      justify-content:space-between;
      position: inline;
      align-items: center;
    }

    .nav-links{
      display:inline-flex;
      gap:1rem;
      align-items:center;
      margin-right: -40px;
    }
    
    .nav-links a{
      color:var(--fg);
      text-decoration:none;
      padding:.25rem .35rem;
      border-radius:6px;
      font-weight:500; 
      position: relative;
      transition:background var(--dur-med) var(--ease),color var(--dur-med) var(--ease);
      margin-right: 30px;
    }
    .nav-links a.active{
      color: var(--accent)
    }


    .nav-toggle{
      display:none;
      background:none;
      border:none;
      font-size:1.4rem;
      cursor:pointer
    }

    .navbar .logo{
      width: 80px;
      height: 80px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      top: 5px;
      margin-left: 10px;
      background-image: var(--image);
    }

    /* Container/Sections */
    .container{
      max-width:1200px;
      margin:0 auto;
      padding:0 1.5rem
    }

    .section{
      padding:4.5rem 0
    }
    h2{
      text-align:center;
      margin-bottom:.6rem;
      font-size:2rem
    }

    h2::after{
      content:'';
      display:block;
      width:96px;
      height:4px;
      background:var(--accent);
      margin:0.5rem auto;
      border-radius:2px
    }
    
    /* Hero */
    .hero{position:relative;
      overflow:hidden;
      background-image:linear-gradient(135deg, var(--heroleft), var(--accent));
      background-size:cover;
      background-position:center;
      color:#fff;
      width:100%;
      display: flex;
    }

    .btn-primary{
      font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto;
       font-size:1rem; border:none; 
       padding:0.75rem 1.25rem; 
       border-radius:8px; background:#FFF; 
       color:#000000; cursor:pointer;
       margin-left: 30px;
      }

    .hero .hero-content{
      display:flex;
      gap: 2rem;
      align-items:center;
      justify-content: space-between;
      padding:5rem 0;
      height: 400px;
      width: 90%;
    }

    .hero .hero-text h1{
      font-size:2.6rem;
      margin:0 0 1.4rem;
      margin-left: 30px;
    }

    .hero .hero-text p{
      margin:0 0 1rem;
      font-size:1.05rem
    }
 
    .hero .hero-image img{
      width:180px;
      height:180px;
      border-radius:50%;
      object-fit:cover;
      border:4px solid rgba(255,255,255,.9);
      box-shadow:0 8px 28px rgba(0,0,0,.25);
      animation:float 6s ease-in-out infinite; 
      position: relative;
      margin-right: 20px;
    }


    .typewriter {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto;
  font-weight: 700;
  font-size: 20px; /* adjust size */
  white-space: nowrap;
  color: var(--acc);
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.0em;
  background: currentColor;
  margin-left: 2px;
  animation: blink 0.7s steps(1) infinite;
  vertical-align: bottom;
  position: relative;
  bottom: 5px;
  color: var(--acc);
}
  


@keyframes blink {
  50% { opacity: 0; }
}

    
    @keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)}}

    /* Buttons */
    .btn-primary{display:inline-block;
      padding:.7rem 1.3rem;
      border-radius:8px;
      border:none;
      background:var(--card);
      color: var(--fg);
      font-weight:600;
      text-decoration:none;
      cursor:pointer;
      transition:transform var(--dur-med) var(--ease),background var(--dur-med)
    }
    .btn-primary:hover{
      transform:translateY(-3px);
      background:var(--accent);
      color:#fff
    }

    /* Services grid */
    .services-grid{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
      gap:1.25rem
    }
    .card{background:var(--card);padding:1.6rem;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,.06);text-align:center}
    .card h3{margin:.2rem 0 .6rem;color:var(--primary)} .card p{margin:0;color:var(--fg)}



.hero-content { position: relative; z-index: 2; }

    /* Portfolio */
    .filter-controls{text-align:center;margin-bottom:1rem}
    .filter-controls button{margin:.25rem;padding:.45rem .8rem;border-radius:.6rem;border:2px solid var(--accent);background:transparent;cursor:pointer}
    .filter-controls button.active{background:var(--accent);color:#fff}
    .portfolio-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
    .portfolio-item{position:relative;border-radius:10px;overflow:hidden;cursor:pointer}
    .portfolio-item img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s var(--ease)}
    .portfolio-item:hover img{transform:scale(1.04)}
    .overlay{position:absolute;left:0;right:0;bottom:0;padding:.8rem;background:linear-gradient(180deg,transparent,rgba(0,0,0,.6));color:#fff;text-align:center;transform:translateY(100%);transition:transform .28s var(--ease)}
    .portfolio-item:hover .overlay{transform:translateY(0)}
    .filter-controls button{color: var(--fg);}
    /* Stats */
    .stats-grid{display:flex;gap:2.5rem;justify-content:center;flex-wrap:wrap}
    .stat {text-align:center}
    .counter{font-size:2.4rem;color:var(--accent);font-weight:700}

  /* Contact Section */
  .contact-section {
    max-width: 600px;
    margin: 50px auto;

    text-align: center;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

  .contact-section h2 {
    font-size: 28px;
    color: var(--fg);
    margin-bottom: 20px;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 90%;
    position: relative;
    left: 20px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    color: var(--fg);
    background-color: var(--tg);
    
  }
  input::placeholder,
  textarea::placeholder {
    color: var(--fg);
    opacity: 1;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: var(--accent);
  }

  .contact-form textarea {
    min-height: 120px;
    resize: vertical;
  }

  .contact-form button {
    background: var(--accent);
    color: #fff;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    width: 90%;
    position: relative;
    left: 20px;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;

  }

  .contact-form button:hover {
    background: rgb(100, 6, 100);
  }

  .footer{
    text-align: center;
    padding: 1rem 0;
    background: var(--nav-bg);
    color: var(--fg);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0,0,0,.1);
    margin-top: 2rem;
  }
  .footer .social-links{
    margin-top: .5rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
;
  }
  .footer .social-links a{
    color: var(--fg);
    font-size: 40px;
    transition: color .25s;
  }
  .footer .social-links a:hover{
    color: var(--accent);
  }
    /* Lightbox */
    #lightbox{position:fixed;inset:0;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;padding:1.5rem;visibility:hidden;opacity:0;transition:opacity .18s,visibility .18s;z-index:1300}
    #lightbox.visible{visibility:visible;opacity:1}
    #lightbox img{max-width:92%;max-height:86%;border-radius:8px}
    #lb-close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:2rem;color:#fff;cursor:pointer}

    /* Progress/fade-in/back-to-top helpers */
    .fade-in{
      opacity:0;
      transform:translateY(28px) scale(.98);
      transition:opacity .6s var(--ease),transform .6s var(--ease)
    }
    .fade-in.in-view{
      opacity:1;transform:none
    }

    #back-to-top p{
      font-size: 24px;
      font-weight: 100;
      font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto;
      margin-top: 5px;
      
    }


    #back-to-top{
      position:fixed;
      right:1.25rem;
      bottom:1.25rem;
      background:var(--accent);
      color:#fff;
      border:none;
      border-radius:50%;
      width:44px;
      height:44px;
      display: inline;
      place-items:center;
      font-size:1.1rem;
      cursor:pointer;
      box-shadow:0 8px 20px rgba(0,0,0,.15);
      opacity:0;
      visibility:hidden;
      transition:opacity .25s;
    }
    #back-to-top.visible{
      opacity:1;
      visibility:
      visible
    }
#music-cloud{
  position: fixed;
  right: 2rem;
  bottom: 6.2rem;
  width: 120px;
  height: 68px;
  border-radius: 42px;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 30px rgba(30,144,255,0.18), inset 0 -6px 18px rgba(255,255,255,0.02);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,144,255,0.12);
  z-index:1400;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  right: 110rem;
  bottom: 1rem;
}
#music-cloud:hover { transform: translateY(-6px); box-shadow: 0 14px 50px rgba(30,144,255,0.22); }
#mc-play {
  width:46px;height:46px;border-radius:50%;border:none;background-image:linear-gradient(135deg, var(--accent), var(--heroleft));
  color:#fff;font-weight:700;font-size:18px;display:grid;place-items:center;cursor:pointer;
  box-shadow: 0 6px 20px rgba(30,144,255,0.25);
}
#mc-wave { position:absolute; left:8px; right:8px; bottom:8px; height:8px; opacity:.7; background:
  linear-gradient(90deg, rgba(255,255,255,0.06), transparent); border-radius:6px; }

    /* Responsive */
    @media (max-width:870px){
        
        
        .hero{
          height: 700px;
        }
        .hero-image img{
          width: 140px;
          height: 140px;
          position: inline;
        }
            

        .hero-content{
            flex-direction:column;
            text-align:center;

        }
        header .hamburger-menu {
        cursor: pointer;
        flex-direction: column;
        position: absolute;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        top: 10px;
        margin-left: auto;
        }

        header .menu-active {
        display: flex;
        }
         
        .nav-toggle{
            display:block
        }
        
        .nav-links{
            gap:.4rem;
            display: none;

        } 

            .fade-in{
      opacity:0;
      transform:translateY(28px) scale(.98);
      transition:opacity .6s var(--ease),transform .6s var(--ease)
    }
    .fade-in.in-view{
      opacity:1;transform:none
    }

    #back-to-top p{
      font-size: 24px;
      font-weight: 100;
      font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto;
      margin-top: 5px;
      
    }


    #back-to-top{
      position:fixed;
      right:1.25rem;
      bottom:1.25rem;
      background:var(--accent);
      color:#fff;
      border:none;
      border-radius:50%;
      width:44px;
      height:44px;
      z-index: 11;
    }
    #back-to-top.visible{
      opacity:1;
      visibility:visible
    }
    
    #back-to-top svg, #back-to-top path{
      font-size: 24px;
      font-weight: 100;
      font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto;
      position: relative;
      right: 7.12px;
    }
    .spacer{
      height: 1575px;
      width: 200px;
      background-color: transparent;
      margin-right: -20px;
      z-index: 1110;
    }
    
    }






#sideMenu .label {
  height: 15px;
  width: 30px;
  background-color: #ffffff;
  border-radius: 30px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  right: 3px;
  z-index: 1110;
  border: 1px solid var(--label);
  transition: background-color 0.4s;
}

#sideMenu #checkbox1 {
  display: none;
}
#sideMenu .label::before {
  content: "";
  position: absolute;
  height: 11px;
  width: 11px;
  border-radius: 50%;
  background-color: var(--label);
  left: 1.2px;
  transition: all 0.4s ease;
  margin-top: -0.015px;
}

/* When checked, move knob to right side */
#sideMenu #checkbox1:checked ~ .label::before {
  left: 16px; /* moves circle to the right end */
  background-color: var(--label);

}




    @media (max-width:520px){
        .hero-text h1{
            font-size:1.6rem
        } 
        .hero-image img{
            width:140px;height:140px
        } 
        .container{
            padding:0 1rem
        } }




  .side-menu {
    position: absolute ;
    top: 0;
    left: 0;
    height: 77px;
    width: 200px;
    background-color: var(--accent); /* Darker background */
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out;
    z-index: 1111;
    padding: 30px 20px;
    font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto;/* Sleek font */
    color: var(--fg);
    font-weight: 100;
}

#sideMenu.active {
    transform: translateX(0);
}

/* Side Menu List Styling */
#sideMenu ul {
    list-style: none;
    padding: 10px 10px;
    background-color: var(--bg); /* Slightly lighter background */
    height: 900px;
    width: 200px;
    margin-top: 20px;
    margin-left: -20px;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);

}

#sideMenu ul li {
    margin: 5px 0px 5px;
    border-bottom: 1px solid #ffffff; /* Darker divider */
    padding-bottom: 10px;
    transition: background-color 0.3s ease-in-out; /* Smooth background transition */

}

#sideMenu ul li:last-child {
    border-bottom: none;
}

#sideMenu ul li a {
    text-decoration: none;
    font-size: 18px;
    color: var(--fg); /* Soft white text */
    display: flex;
    align-items: center;
    padding: 10px 0;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    left: 25px;
}

.side-menu .logo{
      width: 80px;
      height: 120px;
          background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
      top: 5px;
      margin-top: -50px;
      margin-bottom: -50px;
      margin-left: 10px;
    
}

#sideMenu ul li #list:hover {
    color: var(--accent); /* Warm color on hover */
    transform: translateX(10px);
}

#sideMenu ul li a i {
    margin-right: 10px;
    font-size: 15px; /* Icon size */
    transition: transform 0.3s ease; /* Smooth icon effect */
}

#sideMenu ul li a:hover i {
    transform: translateX(5px); /* Subtle icon movement */
}
.hamburger-menu {
    display: block;
    cursor: pointer;
    z-index: 1112;
    position: inline; /* Changed to absolute */
    top: 20px; /* Adjust the top positioning */
    right: 20px; /* Move the hamburger to the right */
    width: 30px;
    height: 20px;
}

.hamburger-menu span {
    display: block;
    background-color: rgb(0, 0, 0);
    height: 3px;
    width: 100%;
    margin: 4px auto;
    border-radius: 5px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
@media (min-width: 870px) {
    .hamburger-menu {
        display: none;
    }
    .spacer {
      display: none;
    }
    


     
  .nav-links 
  .label {
  height: 25px;
  width: 50px;
  background-color: #ffffff;
  border-radius: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  position: relative;
  right: 3px;
  z-index: 111;
}

.nav-links
#checkbox {
  display: none;
}

.nav-links
#checkbox:checked ~ 
.label::before {
  left: 28px;
  background-color: var(--accent);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  margin-top: 0.99px;
}


.nav-links
.label::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background-color: #000000;
  left: 4px;
  transition: 0.4s;
  margin-top: 0.99px;
}



}
/* From Uiverse.io by Yaya12085 */ 




