@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Nunito&family=Raleway:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');

a{
	text-decoration: none;
}
.top {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Safety for very small screens */
    background: rgba(180, 205, 255, 0.65);
    padding: 0 10px; /* Small side padding */
    box-sizing: border-box;
    padding-bottom: -30px;
    border-top-right-radius: var(--radius-md);
    border-top: 1.5px solid var(--prime-border);
    border-top-left-radius: var(--radius-md);
    border-left: 1.5px solid var(--prime-border);
    border-right: 1.5px solid var(--prime-border);
    border-bottom-right-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
}

.tag {
    display: flex; /* Hidden for now – remove this line to show it later */
    order: 3;
    flex: 0 1 90%; /* Will grow in desktop */
    text-align: center;
    margin: 0 auto;
    justify-content: center;
   margin-top: -20px;

}

.tag h1 {
    margin: 0;
    padding: 10px;
    font-size: 1.2rem; /* Adjust as needed */
    /*background: white;*/
    line-height: 1.1;
}
.seo-tagline {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.logo {
    order: 1;
    flex: 0 1 40%; /* ~40% on mobile */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0 10px 20px;
  }

.logo a {
    display: flex;
    align-items: center;
    position: relative;
   font-family: "Dancing Script", cursive;
   font-weight: 700;
}

.logo img {
    width: clamp(60px, 10vw, 100px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.logo sup {
    position: absolute;
    top: -5px;
    right: -20px;
    font-size: 1rem;
  
}

.search-wrap {
    order: 2;
    flex: 0 1 60%; /* ~60% on mobile */
    max-width: 350px;
    padding-right: 30px; /* Space for future menu icon */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /*background: blue;*/
    position: relative;
    border:1px solid red;
}

.search-bar {
    position: relative;
    width: 100%;
    max-width: 100%; /* Full width within container */
}

.search-bar input {
    width: 100%;
    padding: 10px 30px 10px 16px; /* Room for icon */
    border: 1px solid #d0d0d0;
    border-radius: 20px; /* Modern rounded look – change to 0 if you want square */
    font-size: 13px;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border .2s, box-shadow .2s;
}
.search-bar button {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: transparent;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
}
.search-bar input:focus {
    border-color: #4d8bff;
    box-shadow: 0 0 0 1px rgba(77,139,255,.15);
}
.search-bar button:hover {
    color: #333;
}
@media screen and (max-width: 480px) {
  .top {
      padding: 0 2px; /* Small side padding */
  }
  .logo {
      order: 1;
      flex: 0 1 30%; /* ~40% on mobile */
      padding: 10px 0 10px 5px;
    }
    .tag h1 {
        font-size: .9rem; /* Adjust as needed */
        line-height: 1.1;
    }
    .logo img {
        width: clamp(40px, 10vw, 55px);
        aspect-ratio: 1 / 1;
      }
    .logo sup {
        top: -5px;
        right: -24px;
        font-size: .8rem;
    }
    .search-wrap {
        padding-right: 20px; /* Space for future menu icon */
        max-width: 150px;
      }
    .search-bar input {
        
        padding: 10px 30px 10px 10px; /* Room for icon */
        
        border-radius: 15px; /* Modern rounded look – change to 0 if you want square */
        font-size: 12px;
        caret:
        
    }
    .search-bar button {
        position: absolute;
        top: 2px;
        right: 0;
        width: 30px;
        height: 100%;
        background: transparent;
        border: none;
        color: #666;
        font-size: 15px;
        cursor: pointer;
    }

  }
@media (min-width: 720px) {
  .top {
    
     border-bottom-right-radius:0;
     border-bottom-left-radius:0;
  }
    .tag {
        display: flex; /* Hidden for now – remove this line to show it later */
        order: 3;
        flex: 0 1 80%; /* Will grow in desktop */
        text-align: center;
        margin: -40px auto 5px 20px;
    }
}
/* Desktop: ≥1200px */
@media (min-width: 1200px) {
    
    .top {
        flex-wrap: nowrap;
       border-bottom-right-radius:0;
       border-bottom-left-radius:0;
      
    }

    .tag {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        margin-top: 0px;
    }

    .logo {
        order: 1;
        flex: 0 0 auto; /* Fixed space */
        padding-left: 20px;
    }

    .logo img {
        width: clamp(80px, 8vw, 120px);
    }

    .search-wrap {
        order: 3;
        flex: 0 0 auto;
        padding-right: 1px; /* Less needed on desktop if menu elsewhere */
    }

    .search-bar {
        width: 300px; /* Fixed comfortable width – best practice for search */
        max-width: 320px;
        caret-color: var(--accent);
    }
}

.menu {
  width: 30px;
  height: 30px;
  position: absolute;
  cursor: pointer;
  display: flex;
  align-items:center;
  
      right: -20px;
      /*top: 50%;*/
      /*transform: translateY(-50%);*/
      font-size: 25px;
      border: 1px solid red;
      /*margin-left: 10px;*/
     z-index: 100; 
}
.menu i {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu.open i {
  transform: rotate(90deg);
  opacity: 0;
}
@media screen and (max-width: 480px) {
  .menu {
    width: 20px;
    height: 20px;
       /*position: absolute;*/
        right: -1px;
        
        transform: translateY(-55%);
        font-size: 15px;
  }
  }

@media (min-width: 720px) {
    /*.menu { display: none; }*/
    /* Or move to full nav */
}
.nv-all {
  background: var(--prime-yellow);
  border-bottom: 2px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
   position: absolute;
  display: block !important;          /* always in DOM for transition */
    transform: scaleY(0);
    transform-origin: top;
    overflow: hidden;
    opacity: 0;
       transition:
        opacity 1.18s ease-in-out,
        transform .38s ease-out;
    pointer-events: none;
    left: 0;
      width: 100%;
      z-index: 999;
}
.nv-all.active{
  transform: scaleY(1);
  opacity: 1;
    pointer-events: auto;
     position: relative; 
}
.navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .25rem;
        padding: .15rem;
   }
    .nav-l {
        display: flex;
        flex-direction: column;
        gap: .15rem;
        padding: .15rem .5rem;
        margin: 0;
        list-style: none;
        width: 100%;
        text-align: center;
        padding: 0;
    }
    .nav-l li:first-child {
     border-top-right-radius:var(--radius-md);
     border-top-left-radius:var(--radius-md);
    }
    .nav-l li:last-child {
     border-bottom-right-radius:var(--radius-md);
     border-bottom-left-radius:var(--radius-md);
    }
    .nav-l .nav-link{
      background: rgba(180, 205, 255, 0.85);
      backdrop-filter: blur(6px);
      
    }
    .nav-l .nav-link a {
        display: block;
        padding: .20rem 5rem;
        font-size: 1rem;
        font-weight: 600;
        text-transform: capitalize;
        color:var(--accent-color);
      }
    
    .nav-r {
        display: flex;
        flex-direction: column;
        gap: .4rem;
        justify-content: center;
        align-items: center;
    }
    .share {
      display: flex;
      flex-direction: row;
      justify-content: center;
    }
    .nav-r .social-link {
        display: flex;
        align-items: center;     /* perfect vertical centering */
        justify-content: center;
        background: rgba(180, 205, 255, 0.85);
        backdrop-filter: blur(6px);
        border-radius: 5px;
        margin: 2px;
        padding: .45rem .8rem;   /* equal padding around icon+text */
        gap: .35rem;             /* spacing between icon and text */
    }
    
    .nav-r .social-link a {
        line-height: 1;          /* removes text vertical misalignment */
        padding: 0;              /* avoid height difference */
        font-size: .95rem;
        display: flex;
        align-items: center;
    }

    .nav-r .social-link i {
        font-size: 1.25rem;
        display: flex;           /* ensures icon’s SVG aligns properly */
        align-items: center;
        margin-top: 2px;
        margin-left: 1px;         /* ✨ perfect optical centering (FA icons sit high) */
       
    }
    .nav-r .social-link:first-child i {
        color: #1877F2;
    }
    .nav-r .social-link:nth-child(2) i {
        color: #000000;
    }

    .nav-r .social-link:nth-child(3) i {
        color: #FF0000;
    }
    @media (min-width: 720px) {
      .nv-all {
        opacity: 1;
        display: block;
        /*max-height:50px;*/
        pointer-events: auto;
        background: var(--prime);
        transform: scaleY(1);
        border-bottom-right-radius: var(--radius-md);
        border-right: 1.5px solid var(--prime-border);
        border-left: 1.5px solid var(--prime-border);
        border-bottom-left-radius: var(--radius-md);
        border-bottom: 1.5px solid var(--prime-border);
        position: relative;
      }  
        .navbar {
            /* clamp system for 720px and up */
            --nav-font: clamp(0.85rem, 0.6vw + 0.4rem, 1rem);
            --nav-pad-y: clamp(0.25rem, 0.35vw, 0.35rem);
            --nav-pad-x: clamp(0.35rem, 0.7vw, 0.65rem);
            --nav-gap: clamp(5px, 0.9vw, 10px);
            --nav-height: clamp(30px, 2.6vw, 36px);

            /* layout */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .navbar .nav-l {
          display: flex;
          justify-content: center;
            flex-direction: row;
            gap: var(--nav-gap);
        }
        .nav-l li{
          border-radius: 6px;
        }
        .nav-l .nav-link a {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: var(--nav-height);
            padding: var(--nav-pad-y) var(--nav-pad-x);
            font-size: var(--nav-font);
            line-height: 1;
            font-weight: 500;
        }
        .navbar .nav-r {
           display: flex;
            justify-content: center;
            flex-direction: row;         
        }
        .share {
          display: flex;
          flex-direction: row;
         }
        

        .nav-r .social-link a {
            font-size: var(--nav-font);
        }

        .nav-r .social-link i {
            font-size: clamp(0.9rem, 0.7vw, 1.05rem);
        }

        /* Large screen refinements – these override the clamps only when >=1200px */
        @media (min-width: 1200px) {
          .navbar {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center; /* keeps nav-l and nav-r aligned vertically */
          }
          .navbar .nav-l{
            display: flex;              /* make sure it's flex */
              flex-direction: row;
              justify-content: flex-start;
              /*background: red;*/
              width: 450px;
              padding-left: 40px;
              margin-bottom: 4px;
          }
          .nav-l .nav-link{
            /*border-radius: 6px;*/
            background: rgba(180, 205, 255, 0.35);
            
          }
          .nav-l .nav-link:hover{
            box-shadow: 0 2px 6px rgba(10,0,255,0.15);
          }
           .nav-l .nav-link a {
            transition:
              background 0.3s ease,
               transform 0.2s ease,
                color 0.3s ease;
                box-shadow 0.3s ease;
             }

           .nav-l .nav-link a:hover {
             background: rgba(200, 205, 255, 0.15);
             color: var(--primary-text);
             
             }
            .navbar .nav-r{
           display: flex;              /* ensure flex is active */
             flex-direction: row;
             justify-content: flex-end;  /* push share/login to the right */
             align-items: center;
             padding-right: 20px;
           }
           .nav-r .share {
            display: flex;              /* ensure flex is active */
              flex-direction: row;
              justify-content: flex-start;
              align-items: center;
             }

           /* Hover effect for social links */
           .nav-r .social-link {
            display: flex;              /* optional: keeps icon + text inline */
             flex-direction: row;
             align-items: center;
             gap: 6px;           
             transition: background 0.3s ease, transform 0.2s ease;
             }

           .nav-r .login{
            padding-right: 20px;
           }
           .nav-r .social-link:hover {
             background: rgba(180, 205, 255, 0.35);
             transform: scale(1.05); /* gentle zoom */
             box-shadow: 0 2px 6px rgba(0,0,0,0.15);
           }
           /* Hover effect for icons */
           .nav-r .social-link i {
             transition: color 0.3s ease, transform 0.2s ease;
           }
           .nav-r .social-link:hover i {
             transform: rotate(-5deg); /* playful tilt */
           }
           /* Hover effect for login button */
           .nav-r .login:hover {
             background: rgba(180, 205, 255, 0.35);
             box-shadow: 0 2px 6px rgba(0,0,0,0.15);
           } 
    }

    