@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Agu+Display&family=Dosis:wght@200..800&display=swap');
*{margin: 0;padding: 0;box-sizing: border-box;font-family: "Dosis", serif;}
html, body{height: 100%;width: 100%;scroll-behavior: smooth;}

 /* LOGO  */
#myLogo #logo {width: 59px;}
/* Toggle Button  */
#myToggle label {display: inline-block;width: 70px;height: 28px;position: relative;background-color: var(--toggle-bg, #fff);border-radius: 19px;box-shadow: inset 0px 5px 15px rgba(0, 0, 0, 0.1);cursor: pointer;transition: background-color 0.4s ease;}
#myToggle  label:after {content: "";width: 25px;height: 25px;position: absolute;background-color: var(--toggle-handle, #007a69);border-radius: 25px;top: 2px;left: 3px;box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);}
#myToggle  input {width: 0;height: 0;visibility: hidden;}
#myToggle  input:checked + label {--toggle-bg: #2a2a2a;--toggle-handle: #fff;}
.dark-mode {background-color: #121212;color: #ffffff ;}
.dark-mode h1,.dark-mode h3 {color: inherit !important;}
#myToggle  label:active::after {width: 40px;}
#myToggle  input:checked + label:after{left: 68px;background-color: #ff5733;transform: translateX(-100%);}
/* pre loader*/
#preLoader{display: flex;justify-content: center;align-items: center;height: 100vh;background-color: #121212;}
#preLoader h1{font-size: 72px;overflow-y: hidden;}
#preLoader span{display: inline-block;}
/* HOME PAGE  */
h1{color: #2a2a2a;}
span{color: #007a69;}
p{color: #353935;}
.h1{font-size: 45px;padding: 10px 0;}
.wrapper{width: 80%;margin: 0 auto;min-height: 100vh;}

/* navigation bar  */
header{display: flex;align-items: center;justify-content: space-between;padding: 16px 0;}
nav{position: sticky;}
nav a{text-decoration: none;margin: 0 32px;font-size: 20px;color: rgb(0, 122, 105);font-weight: 600;position: relative;}
#cursor{position:fixed;width: 20px;height: 20px;border-radius: 50%;background-color: #2a2a2a;transition: transform 0.3s ease, left 0.1s ease, top 0.1s ease;transform: translate(-50%, -50%);mix-blend-mode: difference;pointer-events: none;}
nav a:hover ~ #cursor{transform: scale(3.7);}
nav a:hover{color: #fff;}
.nav-heading{display: none;}

/* mobile menu  */
.ham {padding: 30px;position: fixed;z-index: 2;display: none;}



/* blinking effect  */
.cursor-text{font-size: 24px;font-weight: bold;color: rgb(223, 19, 19);animation: blink 0.5s step-end infinite;}
@keyframes blink
{
    50% {opacity: 0;}
}
/* intro  */
.intro{display: flex;align-items: center;justify-content: center;width: 100%;height: calc(100vh - 120px);}
.intro-text{width: 50%;font-size: 24px;}
.intro-img{width: 50%;}
.intro-img > div{width: 380px;height: 400px;margin: 0 auto;position: relative;border: 2px solid #007a69;z-index: -1;}
.intro-img > div > img{width: 100%;margin: 30px 0 0 30px;box-shadow: rgba(0, 122, 105, 0.35) 0px 5px 15px;}
/* portfolio page  */
.portfolio-showcase{width: 100%;display: flex;justify-content: space-around;align-items: center;padding-bottom:45px;margin-top: 58px;}
.case{width: 40%;position: relative;display: inline-block;text-align: center;}
.case:hover img{opacity: 0.7;}
.case:hover h1{color: #ff5733;}
.case img{width: 100%;object-fit: cover;height: 350px;border-radius: 15px;}
.case h1:hover{color: #ff5733; transition: all ease 0.6;}
.portfolio-link{text-decoration: none;}

/* ----Graphic work----- */
#graphicDesign-work{width: 100%;display: flex;;justify-content: space-between;}
.gd-box{width: 40%;padding-top:22px ;text-align: center;}
.gd-box h1{font-size: 48px;}
.gd-box p{font-size: 24px;text-align: justify;}
.gd-box img{width: 100%;}
.layout {columns: 300px;column-gap: 1em;padding: 2em 1em;}
.layout .graphic-item {break-inside: avoid;margin-bottom: 1em;padding: 0.5em;border-radius: 8px;box-shadow: 0 0 10px rgba(0,0,0,0.05); /* subtle shadow */}
.layout .graphic-item img {width: 100%;margin-bottom: 0;border-radius: 6px;object-fit: cover; display: block;}

/* --------UI/UX work ---------- */
.ui-text{text-align: center;}
.ui-text h1{font-size: 48px;padding-top:22px ;}
.ui-text p{font-size: 24px;text-align: justify ;}
.ui-layout{margin: 0 auto;padding-top: 15px;}
.ui-box video{ width:80%; display: block; margin: 0 auto;}
.three{font-size:28px;font-weight:500;letter-spacing:0;line-height:1.5em;padding-bottom:15px;position:relative}
.three:before{content:"";position:absolute;left:0;bottom:0;height:5px;width:55px;background-color:#111}
.three:after{content:"";position:absolute;left:0;bottom:2px;height:1px;width:95%;max-width:255px;background-color:#333}
.button-link{appearance:none;background-color:#e5e5e5;border-width:0;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:Clarkson,Helvetica,sans-serif;font-size:14px;font-weight:500;letter-spacing:0;line-height:1em;margin:0;opacity:1;outline:0;padding:1.5em 2.2em;position:relative;text-align:center;text-decoration:none;text-rendering:geometricprecision;text-transform:uppercase;transition:opacity 300ms cubic-bezier(.694,0,.335,1),background-color 100ms cubic-bezier(.694,0,.335,1),color 100ms cubic-bezier(.694,0,.335,1);user-select:none;-webkit-user-select:none;touch-action:manipulation;vertical-align:baseline;white-space:nowrap}
.button-link:before{animation:opacityFallbackOut .5s step-end forwards;backface-visibility:hidden;background-color:#0f1c2e;color:white!important;clip-path:polygon(-1% 0,0 0,-25% 100%,-1% 100%);content:"";height:100%;left:0;position:absolute;top:0;transform:translateZ(0);transition:clip-path 0.8s cubic-bezier(.165,.84,.44,1),-webkit-clip-path .5s cubic-bezier(.165,.84,.44,1);width:100%}
.button-link:hover:before{animation:opacityFallbackIn 0s step-start forwards;clip-path:polygon(0 0,101% 0,101% 101%,0 101%)}
.button-link span{z-index:1;position:relative}
.button-link:hover span{color:#fff}
.projectImg{display: flex;justify-content: space-evenly;padding-top: 25px;}
.eight h3{text-align: center;margin: 8px 0 18px 0;font-size: 28px;}
.view{width: 35%;}
.view img{width: 100%;}


/* -----contact page---- */
#h3{font-size: 35px; padding-top: 2%;}
.contact-layout{display: flex;}
.contact-text{width: 50%;}
.wave{width:50%;}
.wave img{width: 80%;}
#contactForm {padding: 20px;width: 100%;}
#contactForm h2 {margin-bottom: 15px;font-size: 24px;text-align: center;}
.form-group {margin-bottom: 15px;}
.form-group label {display: block;margin-bottom: 5px;font-weight: bold;}
.form-group input,.form-group textarea {width: 100%;padding: 10px;border: 1px solid #ccc;border-radius: 4px;font-size: 16px;}
.form-group input:focus,.form-group textarea:focus {border-color: #007bff;outline: none;}
.error {color: red;font-size: 14px;margin-top: 5px;}
.contact-submitBtn{background-color: #007a69;color: #fff;border: none;padding: 10px 15px;border-radius: 4px;font-size: 16px;cursor: pointer;width: 28%;}
.contact-submitBtn:hover {background-color: #ff5733;}

/* ----------footer----------- */
           
.footer {background-color: #000000;padding: 40px 0px;text-align: center;box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.05);margin-top: 56px;position:relative;height: 420px; clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 100%);}
.footer-container{ position: relative;height: calc(100vh + 380px);top: -100vh;width: 80%;margin: 0 auto;}
.sticky-footer {position: sticky;top: calc(100vh - 430px);height: 460px;border-radius: 30px 30px 0 0;box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5);overflow: hidden;display: flex;flex-direction: column;justify-content: center;align-items: center;text-align: center;}
.footer-logo {margin-bottom: 20px;}
.logo-icon {margin-right: 10px;}
.logo-text {font-size: 20px;font-weight: 600;color: #fffdfd;}
.footer-links {list-style: none;padding: 0;display: flex;justify-content: center;flex-wrap: wrap;gap: 60px;margin: 0 0 30px;font-size: 18px;}
.footer-links a {color: #ffffff;text-decoration: none;font-weight: 500;transition: color 0.3s;}
.footer-links a:hover {color: #ff5733;}
.social-section p {margin-bottom: 10px;font-weight: 500;color:#ff5733;}
.social-icons{display: flex;justify-content: center;align-items: center;gap: 24px;padding-top: 14px;}
.social-icons div {width: 50px;height: 50px;display: flex;justify-content: center;align-items: center;border-radius: 50%;transition: transform 0.3s ease; /* smooth animation */}
.fab{color: white;}
.insta{background-color: #E1306C;}
.fb{background-color: #1877F2;}
.twit{background-color: #1DA1F2;}
.in{background-color: #657786;}
.social-icons div:hover{transform: translateY(-8px);box-shadow: 0 8px 15px rgba(204, 204, 204, 0.2);}
.social-icons a {font-size: 22px;}
.footer-copy {margin-top: 30px;color: #aaa;font-size: 14px;}
.resume-download {position: absolute;right: 0;top: 26%;}
.btn-download { background-color: #007a69;color: rgb(255, 255, 255);padding: 8px 14px;font-weight: bold;border-radius: 8px;text-decoration: none;border: 2px solid #000;transition: all 0.3s ease;}
.btn-download:hover {background-color: #ff5733;color: #fff;}
.fa-download {padding-right: 12px;}

/* -----------about page------------- */
.about-title{text-align: center;height: 100vh;display: flex;justify-content: center; align-items: center;flex-direction: column;}
.about-title h1{font-size: 96px;font-family: "Agu Display", serif;font-optical-sizing: auto;font-weight: 400;font-style: normal;font-variation-settings:"MORF" 0;}
.about-title p{font-size: 22px;}
.skills-heading{text-align: center;font-size: 52px;}
.skills-heading::after{content: "";width: 110px;height: 4px;background: #ff5733;display: block;margin: 10px auto 0;border-radius: 2px;}
.skills-wrapper {height: 100vh;overflow: hidden;display: flex;align-items: center;position: relative;}
.skills-card {display: flex;gap: 2rem;padding: 2rem;width: max-content;}
.skills-card .card {flex: 0 0 300px;height: 368px;gap: 12px;background: white;border-radius: 20px;box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);display: flex;align-items: center;justify-content: center;font-size: 1.5rem;flex-direction: column;}
.skills-card .card img{width: 60px; height: 60px;}
.skills-card .card ul li{font-size: 16px ;color: #4f4f4f !important;}
.skills-card .card h1{color: #3a3a3a !important;}
.passion-approach {padding: 80px 20px;}
.section-title {text-align: center;font-size: 40px;margin-bottom: 60px;position: relative;}
.section-title::after {content: "";width: 110px;height: 4px;background: #ff5733;display: block;margin: 10px auto 0;border-radius: 2px;}
.card-container {display: flex;flex-direction: column;gap: 30px;align-items: center;}
.glass-card {background: rgba(255, 255, 255, 0.75);backdrop-filter: blur(10px);border-radius: 20px;box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);padding: 40px;max-width: 500px;width: 90%;text-align: center;transition: transform 0.3s ease, box-shadow 0.3s ease;}
.glass-card:hover {transform: translateY(-14px);box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);}
.icon-circle {width: 60px;height: 60px;margin: 0 auto 20px;background: #007bff;color: white;border-radius: 50%;display: flex;align-items: center;justify-content: center;font-size: 28px;}
.glass-card h3 {font-size: 24px;color: #333;margin-bottom: 15px;}
.glass-card p {color: #555;line-height: 1.7;font-size: 16px;}
.about-skills-mobileView-wrapper{display: none;}
.about-mobileView-card{height: 318px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);width: 100%;  background: linear-gradient(135deg, #ffffff 0%, #f9f9fb 100%);text-align: center;border-radius: 12px; background: linear-gradient(135deg, #e0f7fa, #80deea);}
.about-mobileView-card ul{list-style-type: none;padding: 0;margin: 0;}
.about-mobileView-card ul li{font-size: 19.5px;color: #444;margin-bottom: 8px;}
.one h1 { color: #222 !important;text-align: center;text-transform: uppercase;padding-bottom: 5px;font-family: 'Montserrat', sans-serif;font-size: 20px;font-weight: 600;letter-spacing: 1px;padding-top: 18.5px;}
.one h1:after {width: 100px;height: 1px;display: block;content: "";position: relative;margin-top: 25px;left: 50%;margin-left: -50px;  background-color: #00796b;}
/* slider  */
 .slider-wrapper{width: 100%;overflow: hidden;margin: 50px auto;  max-width: 1400px;position: relative;}
 .slider-track{display: flex;will-change: transform;}
 .slide{flex: 0 0 auto;
            margin: 0 15px;overflow: hidden;transition: transform 0.4s ease;cursor: pointer;
            position: relative;
            height: 354px;
            width: 300px;}
.slide:hover {transform: translateY(-15px) scale(1.03);}
 .slide img{width: 100%;display: block;object-fit: cover; height: 100%;}

/* Media Query  */
@media screen and (max-width: 767px)
{
   #cursor {display: none;}
  /* Navigation bar  */
  #myLogo #logo {width: 70px;}
  header {display: flex;flex-wrap: wrap;justify-content:space-between;align-items: center;position: relative;}
  #myLogo {order: 2;width: 100%;display: flex;justify-content: center;margin: 10px 0;}
  .ham {order: 1;position: absolute;left: 0px;top: 50%;transform: translateY(-50%);}
  #myToggle {order: 3;position: absolute;right: 0px;top: 50%;transform: translateY(-50%);}
  .ham{display: block;}
  .button {width: 50px;height: 50px;border-radius: 50%;background-color: #007a69;cursor: pointer;display: flex;align-items: center;justify-content: center;position: relative;}
  .burger{width:100%;&::after,&::before{content:"";display:block;height:1px;width:40%;margin:auto;background-color:#fff;position:relative;transition:transform 0.3s}&::after{top:-5px}&::before{top:5px}}
  .burger.active{&::after{transform:rotate(45deg);top:-1px}&::before{transform:rotate(-45deg);top:0}}
  .nav{position:fixed;top:0;left:-100%;width:58%;height:100vh;background-color:#292929;display:flex;align-items:center;justify-content:center;transition:left 0.9s cubic-bezier(.76,0,.24,1);z-index:1; flex-direction: column;gap: 28px;}
  .nav.active{left:0}
  nav a{font-size:34px;opacity:0;transform:translateX(80px);animation:slideIn 0.8s forwards;color: white;}
  @keyframes slideIn{to{opacity:1;transform:translateX(0)}}

  /* home page  */
  .intro{flex-direction: column;height: auto;padding-top: 40px;gap: 30px;text-align: center;}
  .intro-text, .intro-img {width: 100%;}
  .intro-text {font-size: 18px;}
  .intro-img > div {width: 280px;height: 300px;margin: 0 auto;}
  .intro-img > div > img {margin: 20px 0 0 20px;}

  /* footer  */
  .footer-links{margin-top: 12px;}
  /* about  */
  .about-title h1{font-size: 85px;}
  /* portfolio  */
  .portfolio-showcase{flex-direction: column;}
  .case{width: 77%; margin-top: 16px;}
  /* contact  */
  #h3{font-size: 28px;}
  /* graphic page  */
  #graphicDesign-work{flex-direction: column;}
  .gd-box{width: 100%;}
  .gd-box-2{display: none;}
  .gd-box h1::after{content: "";width: 140px;height: 4px;background: #ff5733;display: block;margin: 10px  0;border-radius: 2px;}
  .ui-text h1::after{content: "";width: 140px;height: 4px;background: #ff5733;display: block;margin: 10px  0;border-radius: 2px;}
}
@media screen and (max-width: 575px)
{
  /* cursor  */
   #cursor {display: none;}

  /* navigation  */
  .nav{width: 100%;}
  /* home page */
   .intro-text {font-size: 22px;}
   .intro-text p {text-align: justify;}
   /* footer  */
   #myLogo #logo {width: 73px;}
   #foot{display: flex;flex-direction: row-reverse;justify-content: space-between ;align-items: center;width: 100%;}
  .footer {height: auto;padding: 30px 22px;clip-path: none;align-items: start;}
  .footer-container {position: relative;height: auto;top: unset;width: 90%;margin: 0 auto;}
  .sticky-footer {height: auto;padding: 25px 15px;border-radius: 0px;box-shadow: none;}
  .footer-links {flex-direction: column;gap: 18px;font-size: 21px;margin-bottom: 20px;}
  .footer-logo {flex-direction: column;margin-bottom: 15px;}
  .resume-download {position: relative;}
  .btn-download {padding: 10px 18px;font-size: 16.5px;display: inline-block;}
  .footer-copy {margin-top: 20px;font-size: 13px;color: #aaa;}
  /* about  */
  .about-title{display: block;}
  .about-title h1{margin-top: 5%;}
  .about-title p{margin-top: 10%;}
  .skills-wrapper{display: none;}
  .about-skills-mobileView-wrapper{display: flex;flex-direction: column;justify-content: center;align-items: center;margin-top: 10%; }
  .about-mobileView-card{margin-top: 60px;}
  .glass-card{box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;}
  .glass-card:hover{box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;}
  .glass-card h3{font-size: 28px;}
  .glass-card p{font-size: 18px;}
 
  /* ui  */
  .ui-box video{width: 100%;}
  .projectImg{display: flex;flex-direction: column;justify-content: center;align-items: center;}
  .projectImg .view, img{width: 100%;}
  .view h3{margin: 5% 0; font-size: 22px;text-align: center;}
  .eight h3{text-align:center;text-transform:uppercase;font-size:26px; letter-spacing:1px;display: grid;grid-template-columns: 1fr auto 1fr;grid-template-rows: 16px 0;grid-gap: 22px;}
  .eight h3:after,.eight h3:before {content: " ";display: block; border-bottom: 2px solid #ccc;background-color:#f8f8f8;}
  /* contact  */
  .wave{display: none;}
  .contact-text{width: 100%;}}
  @media screen and (max-width: 400px){
    .intro-text {font-size: 25px;}
    .intro-text p{margin-top: 8px;font-size: 22px;}
    .about-title p{margin-top: 1%;}
    .about-mobileView-card, .glass-card{width: 100%;}
    .button{background-color: white;}
    .burger::before, .burger::after{background-color: black;height: 2px;}
  
  }