


body,html{
   
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
    overflow-x: hidden;
}
.theme-btn {
  background: none;
  border: 1px solid rgb(255, 160, 45);
  color: rgb(170, 133, 220);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
}

.theme-btn:hover {
  background-color: rgba(255, 160, 45, 0.15);
}

/* ================================
   LIGHT MODE STYLES
================================ */
body.light {
background-color: white;

}

/* Text colors */
body.light .welcome-text,
body.light .menutext,
body.light .footer {
  color: #222;
}

body.light #head,
body.light .alt a,
body.light .navitem a,
body.light .menuh1,
body.light .type {
  color: #6b4bbd;
}

body.light .type2 {
  color: #ff8c2a;
}

/* Containers */
body.light .container {
  border: 1px solid #ccc;
  background-color: white;
}

/* Navbar border */
body.light #nav {
  border-bottom: 2px solid #ff8c2a;
}

/* Footer */
body.light .footer {
  background-color: rgba(0, 0, 0, 0.03);
}
body {
  transition: background-color 0.5s ease, color 0.5s ease;
}

body{
    background-color: rgb(40, 40, 40);
}


.navitem {
    overflow: hidden;
    float:left;
    padding-left: 12.5px; 
    padding-right: 12.5px; 
     -webkit-text-stroke: 1px solid whitesmoke;
     font-size: 20px;
}
.navitem a{
    text-decoration: none;
    color: rgb(170, 133, 220);
   
}
#navbar {
    float: right;
    display: inline;   
}
#head {
    float: left;
    color: rgb(170, 133, 220);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}
#logo {
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 20px;
    padding-bottom: 5px;
}
#nav{
    padding-bottom: 60px;
    border-bottom: 2px solid rgb(255, 160, 45);
    position: sticky;
    margin-bottom: 0;
}
.intro{
    width: 350px;
    height: 430px;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.258);
    border: 1px solid rgb(79, 79, 79);;
    float: right;
    margin: 15px;
    
}
  .type {
    color:rgb(170, 133, 220); 
    font-size: 36px;
    font-style:bold;
    white-space: nowrap;
    overflow: hidden;
    width: 0ch; /* starts hidden */
    margin-bottom: 20px;
    animation:
      typing 1.5s steps(48, end) forwards,
      caret 1.5s step-end infinite;
  }

  @keyframes typing {
    to { width: 40ch; } /* total characters of the text */
  }
  @keyframes caret {
    50% { border-color: transparent; }
  }
  .type2 {
    color: rgb(255, 160, 45); 
    font-size: 24px;
    font-style:bold;
    white-space: nowrap;
    overflow: hidden;
    width: 0ch; /* starts hidden */
    animation:
      typing 1.5s steps(46, end) forwards,
      caret 1.5s step-end infinite;
        animation-delay: 1.5s; /* starts after the first animation */
  }
  .welcome-text {
    font-size: 20px;
    color: rgb(255, 255, 255);
    line-height: 1.6;
    padding-bottom: 50px;
}

  .menuh1 {
    font-size: 36px;
    color: rgb(170, 133, 220);
    margin-bottom: 20px;
    text-align: center;
    
  }
  .container img{
    height: 320px;
    width: 320px;
    border-radius: 15px;
    margin: 10px;
    border-radius: 14px;

  /* Balanced saffron glow */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.65);
  
  transition: box-shadow 0.25s ease, transform 0.25s ease;
    float: left;
    margin-right: 20px;
    
    

  }
.container {
    width: 90vw;
    height: 340px;
    border: 1px solid rgb(255, 255, 255);;
    margin: auto;
    padding: 10px;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  margin-bottom: 20px;
    
    

  }
.alt{
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    transition: transform 0.25s ease, text-shadow 0.25s ease;
}
.alt a{
    text-decoration: none;
    color: rgb(170, 133, 220);
}
.menutext{
    font-size: 24px;
    color: rgb(255, 255, 255);
    text-align: center;
    line-height: 1.2;
    margin-top: 10px;

}
.menu-link{
    text-decoration: none;
    color: rgb(255, 160, 45);
    
}
.container img:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.65);   /* tight glow */
    transform: scale(1.05); /* slight zoom effect */
  }
  

.alt:hover {
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.125);
}   
.container:hover {   
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}
hr{
    border: none;
    height: 2px;
    background-color: rgb(255, 160, 45);
    margin: 40px 0;
}
.footer {
    text-align: center;
    padding: 20px 0;
    color: rgb(255, 255, 255);
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.08);
    border-top: 2px rgb(255, 160, 45); ;
}
.pyq{
    width: 350px;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.258);
    border: 1px solid rgb(255, 255, 255);;
    float: right;
    margin: 15px;
}
/* ======== THEME ICON ======== */
.theme-icon {
  width: 72px;
  height: 36px;
  border: 2px solid var(--accent, rgb(255,160,45));
  border-radius: 45px;
  background: none;
  cursor: pointer;
  font-size: 20px;
  
  
  
  transition: transform 0.35s ease, background-color 0.35s ease;
  color: var(--accent, rgb(255,160,45));
}

/* Icon appears via pseudo-element */
.theme-icon::before {
  content: "🌙";     /* Default = dark mode */
  display: block;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

/* ======== LIGHT MODE SYMBOL (SUN) ======== */
body.light .theme-icon::before {
  content: "☀️";
  transform: rotate(180deg);
}

/* Click effect */
.theme-icon:active {
  transform: scale(0.85);
}

/* ================================
   GLOBAL RESPONSIVENESS
================================ */
body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================================
   LARGE LAPTOPS / DESKTOPS ( >1200px )
================================ */
@media (min-width: 1200px) {
    .container {
        width: 70vw;
    }
    .menutext {
        font-size: 22px;
    }
}

/* ================================
   STANDARD LAPTOPS (992px–1200px)
================================ */
@media (max-width: 1200px) {
    #navbar ul li {
        padding-left: 15px;
    }
    .intro {
        width: 300px;
        height: auto;
    }
}

/* ================================
   TABLETS (768px–991px)
================================ */
@media (max-width: 991px) {

    #nav {
        text-align: center;
        padding-bottom: 20px;
    }

    #logo, #head, #navbar {
        float: none;
        display: block;
        margin: auto;
    }

    #navbar ul {
        padding: 0;
        margin-top: 10px;
    }

    .navitem {
        float: none;
        display: inline-block;
        padding: 10px 15px;
    }

    .intro {
        float: none;
        margin: 20px auto;
        display: block;
        width: 65%;          /* reduced slightly */
        max-height: 420px;   /* prevents tall takeover */
        object-fit: cover;
        height: auto;
    }

    .container {
        height: auto;
        text-align: center;
        
    }

    .container img {
        float: none;
        display: block;
        margin: auto;
        width: 220px;        /* reduced */
        height: auto;
    }
    

    .menutext {
        font-size: 20px;
        margin-top: 20px;
    }
}

/* ================================
   PHONES ( < 768px )
================================ */
@media (max-width: 768px) {

    #nav {
        padding-bottom: 10px;
    }

    #head {
        font-size: 26px;
    }

    .navitem {
        padding: 8px 10px;
        font-size: 16px;
    }

    /* Intro image – balanced, not dominating */
    .intro {
        width: 85%;
        max-width: 320px;
        max-height: 360px;
        object-fit: cover;
        margin: 15px auto;
        float: none;
        display: block;
    }

    .type,
    .type2 {
        font-size: 20px;
        white-space: normal;
        border-right: none;
        width: auto;
    }

    .welcome-text {
        font-size: 18px;
        padding: 10px;
    }

    .container {
        width: 95vw;
        height: auto;
        padding: 15px;
    }

    .container img {
        width: 180px;        /* reduced */
        height: auto;
        margin-bottom: 15px;
    }

    .alt {
        font-size: 26px;
        margin: 10px 0;
    }

    .menutext {
        font-size: 18px;
    }

    .menuh1 {
        font-size: 28px;
    }

    .footer {
        font-size: 16px;
    }
}

/* ================================
   VERY SMALL PHONES ( < 480px )
================================ */
@media (max-width: 480px) {

    #head {
        font-size: 22px;
    }

    .navitem {
        font-size: 14px;
        padding: 6px;
    }

    .intro {
        max-width: 260px;
        max-height: 320px;
    }

    .container img {
        width: 150px;
    }

    .alt {
        font-size: 22px;
    }

    .menutext {
        font-size: 16px;
    }
}

/* Smooth theme transitions */
body,
.container,
.welcome-text,
.menutext,
.footer,
.navitem a,
#head,
.menuh1,
.alt a,
.type,
.type2,
hr {
  transition: 
    background-color 0.5s ease,
    color 0.5s ease,
    border-color 0.5s ease;
}


#now a{
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  text-decoration: none;
}

/* animated underline ONLY for #now */
#now a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;

  background: repeating-linear-gradient(
    90deg,
    rgb(255,160,45) 0%,
    rgb(255,160,45) 25%,
    rgb(170,133,220) 50%,
    rgb(170,133,220) 75%,
    rgb(255,160,45) 100%
  );

  background-size: 200% 100%;
  animation: chase 1.2s linear infinite;
}

@keyframes chase{
  0%{
    background-position: 0% 0%;
  }
  100%{
    background-position: -200% 0%;
  }
}



.cta {
  
  font-weight: 600;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cta .qa {
  text-decoration: none;
  color: rgb(255, 160, 45);
  font-size: 20px;
  padding: 12px 22px;
  border: 2px solid rgb(255, 160, 45);
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.cta .qa:hover {
  background-color: rgb(255, 160, 45);
  color: white;
  transform: translateY(-2px);
}

/* ───────────────────────────── */
/* 1️⃣ Large laptops (≤1200px) */
@media (max-width: 1200px) {
  .cta .qa {
    font-size: 18px;
    padding: 11px 20px;
  }
}

/* 2️⃣ Tablets (≤992px) */
@media (max-width: 992px) {
  .cta {
    gap: 16px;
  }

  .cta .qa {
    font-size: 17px;
    padding: 10px 18px;
  }
}

/* 3️⃣ Large mobiles / small tablets (≤768px) */
@media (max-width: 768px) {
  .cta {
    gap: 14px;
  }

  .cta .qa {
    font-size: 16px;
    padding: 10px 16px;
    flex: 1 1 45%; /* 2 buttons per row */
    text-align: center;
  }
}

/* 4️⃣ Standard mobiles (≤576px) */
@media (max-width: 576px) {
  .cta {
    gap: 12px;
  }

  .cta .qa {
    flex: 1 1 100%; /* 1 button per row */
    font-size: 15px;
    padding: 12px;
  }
}

/* 5️⃣ Small mobiles (≤360px) */
@media (max-width: 360px) {
  .cta .qa {
    font-size: 14px;
    padding: 10px;
  }
}
/* ================================
   SMALL PHONES (≤320px)
================================ */
@media (max-width: 320px) {
  #head {
    font-size: 20px;
  }

  .navitem {
    font-size: 13px;
    padding: 4px;
  }

  .intro {
    max-width: 220px;
  }

  .type,
  .type2 {
    font-size: 18px;
  }

  .menutext {
    font-size: 15px;
  }

  .cta .qa {
    font-size: 14px;
  }
}
/* ================================
   MEDIUM PHONES (321px–480px)
================================ */
@media (min-width: 321px) and (max-width: 480px) {
  .intro {
    max-width: 260px;
  }

  .type {
    font-size: 22px;
  }

  .type2 {
    font-size: 18px;
  }

  .container img {
    width: 150px;
  }
  .container {
    width: 80vw;

  }
}
/* ================================
   LARGE PHONES (481px–768px)
================================ */
@media (min-width: 481px) and (max-width: 768px) {
  .intro {
    width: 80%;
    max-width: 320px;
  }

  .welcome-text {
    font-size: 18px;
  }

  .container {
    width: 80vw;

  }
}
/* ================================
   TABLETS (769px–1024px)
================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .intro {
    width: 60%;
  }

  .container img {
    width: 220px;
  }

  .menutext {
    font-size: 20px;
  }
  .container {
    width: 78vw;
  }
}
/* ================================
   SMALL LAPTOPS (1025px–1280px)
================================ */
@media (min-width: 1025px) and (max-width: 1280px) {
  .container {
    width: 75vw;
  }

  .menutext {
    font-size: 22px;
  }
  .container{
    width: 80vw;
  }
}
/* ================================
   LARGE LAPTOPS (1281px–1440px)
================================ */
@media (min-width: 1281px) and (max-width: 1440px) {
  .container {
    width: 70vw;
  }

  .type {
    font-size: 38px;
  }

  .type2 {
    font-size: 26px;
  }
}
/* ================================
   SMALL PCs (1441px–1600px)
================================ */
@media (min-width: 1441px) and (max-width: 1600px) {
  .container {
    width: 65vw;
  }

  .menutext {
    font-size: 24px;
    line-height: 1.4;
  }
}
/* ================================
   LARGE PCs & PROJECTORS (≥1601px)
================================ */
@media (min-width: 1601px) {
  body {
    font-size: 18px;
  }

  .container {
    width: 60vw;
  }

  .intro {
    width: 420px;
  }

  .type {
    font-size: 44px;
  }

  .type2 {
    font-size: 30px;
  }

  .footer {
    font-size: 22px;
  }
}
.qotd {
  height: auto;
}

.qotd .qa {
  cursor: pointer;
}
.alt{
  color: rgb(255, 160, 45);
}