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

body{
  background:#000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Intro Screen */
#android-intro {
  position:fixed;
  inset:0;
  background:#000;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:14px;
  z-index:9999;
}

/* Logo */
.android-logo{
  width:100px;
  opacity:0;
  animation: logoFade 0.1s ease forwards;
}

@keyframes logoFade{
  from{ opacity:0; transform:scale(0.9); }
  to{ opacity:1; transform:scale(1); }
}

/* Typing Text */
#android-text{
  font-size:1.15rem;
  letter-spacing:2px;
  color:#e5e7eb;
}
body{
    font-family: Arial, sans-serif;
    }

.navbar {
  background-color: #000;
  color: white;

  height: 64px;                /* FIXED height */
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 15px;             /* ONLY left-right */
  position: sticky;            /* ONLY ONE */
  top: 0;
  z-index: 1000;

  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.home-a{
    text-decoration: none;
    color: inherit;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 55px;
  margin-right: 8px;
  margin-bottom: 0;
}
.logo-text {
    font-size: 30px;
    font-weight: bold;
}
.input-style {
  padding: 1px;
  margin-left: 1rem;
  width: 13rem;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #555;
  outline: none;
}
.input-style:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.search button {
    padding: 5px 5px;
    cursor: pointer;
    background: #ddd;
    border: none;
    border-radius: 4px;
    
}
.search{margin: 0px;
padding: 0px;
}
.search-box button:hover{
    background-color: blue;
    color:white;
}
/* Nav Links */
.nav-links {
    display: flex;
    gap: 20px;
}
.nav-item {
    text-align: center;
    cursor: pointer;
    font-size: 12px;
}
.nav-item:hover {
    background-color: white;
    color: blue;
}
.nav-item i {
    font-size: 18px;
    display: block;
}
.right-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 3px;
}
.profile-icon {
    font-size: 40px;
    padding: 0px;
    margin-left: 5px;
}
.profile:hover{
    background-color: #FFFFFF42;
    color: blue;
    padding: 1px;
}
.profile-page{
    display: inline-block;
    text-decoration: none;
    color: inherit;
}
.menu-toggle {
    display: none; /* Desktop par chhupa rahega */
    font-size: 22px;
    cursor: pointer;
    
}


  /** Main Page start **/
    .main-page{
        width: 100%;
        height: 160rem;
        background-color: #FDFDFFD1
    }
    .main-tool{
        text-align: center;
        font-size: 30px;
        background: linear-gradient(135deg, #2563eb, #06b6d4);
  border-radius: 0 0 50% 50% /  0 50% 30%;
    }
    
    /*Calculator*/
    
    
    .allcal{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 5rem;
        
        
    }
   .cal-img-name{
        width: 90%;
        height: 35rem;
        margin-top: 1rem;
        margin-left: 3rem;
        box-shadow:
        
    0 0 12px rgba(0,240,255,0.6),
    0 0 25px rgba(123,92,255,0.6);
        filter: url(#turbulen-displace);
        border: 2px solid var(--electric-border-color);
    }
    
   .cal-img{
        width: 40%;
        display: inline-block;
        position: relative;
        top: 3rem;
        left: 30%;
    }
    #cal{
          background: rgb(255,255,255,.50);
          border-radius: 5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
        padding: 7px;
        margin-right: 1.5rem;
    }
    .calculator{
        text-decoration: none;
        width: 20rem;
        height: 5rem;
        
        color: whitesmoke;
        font-size: 2.5rem;
        font-weight: 450;
        background-color: red;
        font-weight: 600;;
        border: 2px solid black;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 3rem;
        position: absolute;
        background: linear-gradient(135deg, #001DFFD1, #705DBFD9);
        box-shadow: 0 12px 26px rgba(10,0,0,0.18);
  transition: transform .15s ease, box-shadow .15s ease;
        
    }
     .calculator:active{
        transform: scale(0.97);
  box-shadow: 0 6px 14px rgba(01,02,0,0.125);
    }
    
      .cal-img-name{
        width: 90%;
        height: 35rem;
        margin-top: 1rem;
        margin-left: 3rem;
        box-shadow:
        
    0 0 12px rgba(0,240,255,0.6),
    0 0 25px rgba(123,92,255,0.6);
        filter: url(#turbulen-displace);
        border: 2px solid var(--electric-border-color);
    }
    
    /* Downloader*/
    
    
    
    .dow-img{
        width: 40%;
        display: inline-block;
        position: relative;
        top: 3rem;
        left: 30%;
    }
.dow-img-name{
        width: 90%;
        height: 35rem;
        margin-top: 2rem;
        margin-left: 3rem;
        box-shadow:
        
    0 0 12px rgba(0,240,255,0.6),
    0 0 25px rgba(123,92,255,0.6);
        filter: url(#turbulen-displace);
        border: 2px solid var(--electric-border-color);
    }
     #dow{
          background: rgb(255,255,255,.50);
          border-radius: 5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
        padding: 7px;
        margin-right: 1.5rem;
    }
    .downloader:active{
        transform: scale(0.97);
  box-shadow: 0 6px 14px rgba(01,02,0,0.125);
    }
    .dow-img{
        width: 40%;
        display: inline-block;
        position: relative;
        top: 3rem;
        left: 30%;
    }
     .alldow{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 5rem;
        
        
    }
    .downloader{
        text-decoration: none ;
        width: 22rem;
        height: 5rem;
        
        color: whitesmoke;
        font-size: 2.5rem;
        font-weight: 450;
        background-color: red;
        font-weight: 520;;
        border: 2px solid black;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 3rem;
        position: absolute;
        background: linear-gradient(135deg, #FF0000D1, #9F1010D9);
        box-shadow: 0 12px 26px rgba(10,0,0,0.18);
  transition: transform .15s ease, box-shadow .15s ease;
        
    }
    
        /* ImageToPdf*/
    .pdf-img{
        width: 40%;
        display: inline-block;
        position: relative;
        top: 3rem;
        left: 30%;
    }
.pdf-img-name{
        width: 90%;
        height: 38rem;
        margin-top: 2rem;
        margin-left: 3rem;
        box-shadow:
        
    0 0 12px rgba(0,240,255,0.6),
    0 0 25px rgba(123,92,255,0.6);
        filter: url(#turbulen-displace);
        border: 2px solid var(--electric-border-color);
    }
     #pdf{
          background: rgb(255,255,255,.50);
          border-radius: 5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
        padding: 7px;
        margin-right: 1.5rem;
    }
    .imagetopdf:active{
        transform: scale(0.97);
  box-shadow: 0 6px 14px rgba(01,02,0,0.125);
    }
    .pdf-img{
        width: 40%;
        display: inline-block;
        position: relative;
        top: 3rem;
        left: 30%;
    }
     .allpdf{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 5rem;
        
        
    }
    .imagetopdf{
        text-decoration: none;
        width: 22rem;
        height: 5rem;
        
        color: whitesmoke;
        font-size: 2.5rem;
        font-weight: 450;
        background-color: red;
        font-weight: 520;;
        border: 2px solid black;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 3rem;
        position: absolute;
        background: linear-gradient(135deg, #22AD2CD1, #10FF03C9);
        box-shadow: 0 12px 26px rgba(10,0,0,0.18);
  transition: transform .15s ease, box-shadow .15s ease;
        
    }
    
/* ImageToText*/
   
    .text-img{
        width: 40%;
        display: inline-block;
        position: relative;
        top: 3rem;
        left: 30%;
    }
.text-img-name{
        width: 90%;
        height: 38rem;
        margin-top: 2rem;
        margin-left: 3rem;
        box-shadow:
        
    0 0 12px rgba(0,240,255,0.6),
    0 0 25px rgba(123,92,255,0.6);
        filter: url(#turbulen-displace);
        border: 2px solid var(--electric-border-color);
    }
     #text{
          background: rgb(255,255,255,.50);
          border-radius: 5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
        padding: 7px;
        margin-right: 1.5rem;
    }
    .imagetotext:active{
        transform: scale(0.97);
  box-shadow: 0 6px 14px rgba(01,02,0,0.125);
    }
    .text-img{
        width: 40%;
        display: inline-block;
        position: relative;
        top: 3rem;
        left: 30%;
    }
     .alltext{
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 5rem;
        
        
    }
    .imagetotext{
        text-decoration: none;
        width: 22rem;
        height: 5rem;
        
        color: whitesmoke;
        font-size: 2.5rem;
        font-weight: 450;
        background-color: red;
        font-weight: 520;;
        border: 2px solid black;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 3rem;
        position: absolute;
        background: linear-gradient(135deg, #000000, #5D5959BF);
        box-shadow: 0 12px 26px rgba(10,0,0,0.18);
  transition: transform .15s ease, box-shadow .15s ease;
        
    }
  
  /* ===== DESKTOP TOOL LAYOUT FIX ===== */
.allcal,
.alldow,
.allpdf,
.alltext {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  justify-self: center;
}

.cal-img,
.dow-img,
.pdf-img,
.text-img {
  width: 45%;
  position: static;
  display: flex;
  justify-content: center;
}

.cal-img-name,
.dow-img-name,
.pdf-img-name,
.text-img-name {
  width:  90%;
  height: auto;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}
.calculator,
.downloader,
.imagetopdf,
.imagetotext {
  position: relative;
  margin-top: 2rem;
}
.cal-img-name img,
.dow-img-name img,
.pdf-img-name img,
.text-img-name img {
  width: 14rem;
  max-width: 100%;
}


/* footer */

  .site-footer{
  background:#020617;
  border-top:1px solid rgba(255,255,255,0.1);
  margin-top:4rem;
  color:#cbd5f5;
  font-family:system-ui, sans-serif;
}

.footer-container{
  max-width:1100px;
  margin:auto;
  padding:3rem 1.5rem;
  display:flex;
  gap:3rem;
  justify-content:space-between;
  flex-wrap:wrap;
}

/* Brand */
.footer-brand{
  max-width:320px;
}

.footer-logo{
  height:42px;
  margin-bottom:0.8rem;
}

.footer-brand p{
  font-size:0.95rem;
  color:#94a3b8;
}

/* Links */
.footer-links h4{
  font-size:1.1rem;
  margin-bottom:0.8rem;
  color:#e5e7eb;
}

.footer-links a{
  display:block;
  text-decoration:none;
  color:#93c5fd;
  font-size:0.95rem;
  margin-bottom:0.5rem;
  transition:color 0.3s;
}

.footer-links a:hover{
  color:#38bdf8;
}

/* Bottom bar */
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);
  padding:1.2rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:0.5rem;
  background:#020617;
  font-size:0.9rem;
}

.managed-by{
  color:#60a5fa;
  font-weight:600;
}

/* Mobile */
@media(max-width:600px){
  .footer-container{
    flex-direction:column;
    gap:2rem;
  }

  .footer-bottom{
    flex-direction:column;
    text-align:center;
  }
}



/* MOBILE RESPONSIVE LOGIC */
@media (max-width: 568px) {
    .logo-text {
        display: none;  }
    .input-style{
        margin-left: 1rem;
  width: 8rem;
    }
    .nav-links {
        display: none; /* Links ko menu ke andar daalenge */
        flex-direction: column;
        position: absolute;
        top: 55px;
        right: 0;
        background: #00000094;
        width: 90px;
        padding: 20px;
        text-align: left;
        gap: 20px;
    }
    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
    .search-box{
     max-width: 180px;
    }
    .main{ display: inline-block;
    }
    .main-page{
        width: 100%;
        height: 103rem;
        background-color: #FDFDFFD1
    }
    .right-icons:hover{
        background-color:rgba(213, 213, 213, 0.8) ;
        color: blue;
    }
    .profile-icon {
    font-size: 28px;
    padding: 0px;
    margin-left: 5px;
    }
    .profile:hover{
        background-color: rgba(213, 213, 213, 0.8);
        border-radius: 5px;
        color: blue;
        font-size: 28px;
        padding-right: 2px;
    }
  .main-tool{
        text-align: center;
        font-size: 20px;
        background: linear-gradient(135deg, #2563eb, #06b6d4);
  border-radius: 0 0 50% 50% /  0 50% 30%;
    }
    /* TOOL SECTION CENTER */
  .allcal,
  .alldow,
  .allpdf,
  .alltext {
    flex-direction: column;
    align-items: center;
    margin-top: 2.5rem;
    width: 15rem;
  }

  /* IMAGE CENTER */
  .cal-img,
  .dow-img,
  .pdf-img,
  .text-img {
    width: 100%;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
  }

  /* IMAGE CARD */
  .cal-img-name,
  .dow-img-name,
  .pdf-img-name,
  .text-img-name {
    width: 92%;
    height: auto;
    margin-left: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* ICON IMAGE */
  .cal-img-name img,
  .dow-img-name img,
  .pdf-img-name img,
  .text-img-name img {
    width: 10rem;
    margin-bottom: 1.2rem;
  }

  /* BUTTON – IMAGE KE NICHE */
  .calculator,
  .downloader,
  .imagetopdf,
  .imagetotext {
    position: static;   /* 🔥 yahi main fix hai */
    width: 85%;
    height: 3.8rem;
    font-size: 1.3rem;
    margin-top: 1rem;
    border-radius: 12px;
  }
   
}
/* ===== TABLET RESPONSIVE ===== */
@media (min-width: 569px) and (max-width: 992px){

  .logo-text{
    font-size: 24px;
  }

  .input-style{
    width: 10rem;
  }

  .nav-links{
    display: flex;
    gap: 14px;
  }

  .nav-item{
    font-size: 11px;
  }

  .profile-icon{
    font-size: 32px;
  }

  /* tool sections thoda compact */
  .allcal,
  .alldow,
  .allpdf,
  .alltext{
    margin-top: 3rem;
  }

  .calculator,
  .downloader,
  .imagetopdf,
  .imagetotext{
    width: 18rem;
    font-size: 2rem;
  }
}
