/* =========================
   INPUT ERROR STYLE
========================= */
.input-box input.error {
    border: 2px solid red !important;
    background: #fff5f5;
}

/* =========================
   AUTH OVERLAY FIX (BLUR + LAYER)
========================= */
.auth-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
}

/* =========================
   TOAST CONTAINER (TOP LAYER FIX)
========================= */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;

    z-index: 9999999; /* ALWAYS TOP */
    display: flex;
    flex-direction: column;
    gap: 10px;

    pointer-events: none; /* IMPORTANT: don't block UI */
}

/* =========================
   BASE TOAST STYLE
========================= */
.toast {
    min-width: 280px;
    max-width: 320px;

    padding: 14px 16px;
    border-radius: 12px;

    color: #fff;
    font-size: 14px;
    font-weight: 500;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

    transform: translateX(120%);
    opacity: 0;

    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;

    pointer-events: auto; /* allow close button click */
}

/* =========================
   SHOW ANIMATION
========================= */
.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* =========================
   EXIT SMOOTH ANIMATION
========================= */
.toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

/* =========================
   TOAST COLORS
========================= */
.toast.success {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.toast.error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* =========================
   CLOSE BUTTON
========================= */
.toast .close {
    margin-left: 12px;
    cursor: pointer;
    font-weight: bold;
    opacity: 0.8;
    transition: 0.2s;
}

.toast .close:hover {
    opacity: 1;
}






























/* OVERLAY (SOFT WHITE STYLE) */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.35); /* light overlay */
    backdrop-filter: blur(4px); /* reduced blur */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.auth-overlay.active {
    display: flex;
}

.auth-form h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px; /* 🔥 yahi gap fix karega */
    color: #0f172a;
}

/* BOX (SMALL + WHITE PREMIUM) */
.auth-box {
    width: 720px;   /* smaller */
    height: 430px;  /* smaller */
    display: flex;
    border-radius: 16px;
    overflow: hidden;

    background: #ffffff; /* pure white */
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);

    animation: pop 0.3s ease;
}

/* ANIMATION (SOFT) */
@keyframes pop {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* LEFT SIDE (LIGHT GRADIENT) */
.auth-left {
    width: 40%;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    color: #0f172a;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-left h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.auth-left p {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.auth-left ul {
    list-style: none;
}

.auth-left li {
    margin: 8px 0;
    font-size: 13px;
    color: #334155;
}

/* RIGHT SIDE (WHITE CLEAN FORM) */
.auth-right {
    width: 60%;
    padding: 35px;
    background: #ffffff;
    color: #0f172a;
    position: relative;
}

/* CLOSE */
.auth-close {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 22px;
    cursor: pointer;
    color: #64748b;
}

/* TABS */
.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.tab-btn.active {
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

/* INPUT */
.input-box {
    position: relative;
    margin-bottom: 12px;
}

.input-box input {
    width: 100%;
    padding: 12px 40px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    outline: none;
    transition: 0.2s;
}

.input-box input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}

.input-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* BUTTON */
.auth-btn {
    width: 100%;
    padding: 12px;
    background: #0ea5e9;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.auth-btn:hover {
    background: #0284c7;
    transform: translateY(-1px);
}

/* HIDDEN */
.hidden {
    display: none;
}

.nav-center a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s ease;
}

.nav-center a:hover {
  color: #0094D9;
}

.nav-center a.active {
  color: #0094D9;
  position: relative;
}

.nav-center a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;

  width: 100%;
  height: 2px;

  background: #0094D9;
}











/* TOP RED STRIP */

.strip-links {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.strip-links span {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.top-strip {
  background: #33A6E0;
  padding: 12px 0;
}

.strip-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.strip-links a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* GLOBAL SITE CONTAINER */
.site-container{
  width:92%;
  max-width:1400px;
  margin:auto;
}

/* HEADER */

.skills-header{
  background: #f3f3f3;
  padding: 34px 0;
  border-bottom: 1px solid #e5e7eb;
}

.skills-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
  gap:20px;
}

.header-left{
  display:flex;
  align-items:center;
  gap:15px;
}

.contact-info p{
  margin:0;
  line-height:1.4;
}

.call-icon{
  width: 45px;
  height: 45px;
  border: 2px solid #0094D9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-icon i{
  color: #0094D9;
  font-size: 20px;
}

/* CENTER FIX */
.center-logo-main{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.center-logo-main h1{
  font-size: 30px;
  color: #0094D9;
  font-weight: 800;
  line-height: 1;
}

.center-logo-main h1 span{
  color: #111827;
}

.center-logo-main h2{
  letter-spacing: 8px;
  font-size: 15px;
  margin-top: 5px;
}

/* RIGHT */

.header-right-icons{
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-icon{
  position: relative;
  font-size: 22px;
  color: #111827;
  text-decoration: none;
}

.cart-icon span{
  position: absolute;
  top: -12px;
  right: -12px;

  width: 22px;
  height: 22px;

  background: #0094D9;
  color: white;

  border-radius: 50%;

  font-size: 11px;
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* NAVBAR */
.main-navbar {
  background: white;
  height: 45px;
  border-bottom: 1px solid #e5e7eb;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 50px;
}

.nav-center a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  font-size: 14px;
}

/* SECTION TITLE */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

.section-title p {
  color: #64748b;
}























/* DROPDOWN BASE */
.dropdown{
  position: relative;
  display: inline-block;
}

/* BUTTON */
.dropbtn{
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* MENU BOX */
.dropdown-menu{
  
  position: absolute;
  top: 100%;
  left: 0;

  width: 240px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);

  padding: 3px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: 0.2s ease;
  z-index: 999;

  overflow: hidden;   /* 🔥 FIX: prevents sharp hover corners */
}

/* SHOW */
.dropdown:hover .dropdown-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ITEMS */
.dropdown-menu a{
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 7px 12px;
  font-size: 13px;
  color: #1e293b;
  text-decoration: none;
  transition: 0.15s ease;

  position: relative;
}

/* ICON */
.dropdown-menu a i{
  width: 17px;
  font-size: 14px;
  text-align: center;
}

/* SEPARATOR */
.dropdown-menu a:not(:last-child)::after{
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 0;
  height: 1px;
  background: #e2e8f0;
  opacity: 0.25;
}

/* HOVER */
.dropdown-menu a:hover{
  background: #f1f5f9;
  color: #2563eb;
}

/* ICON HOVER */
.dropdown-menu a:hover i{
  color: #2563eb;
}

/* RIGHT ARROW */
.right{
  margin-left: auto;
  font-size: 11px;
  opacity: 0.6;
}


























.strip-wrapper{
    justify-content: center;
}

/* =======================
   BASE (DESKTOP FIRST)
======================= */

.site-header,
.main-navbar {
    display: block;
}


.mobile-header {
    display: none;
}


/* Auth icon base style */
.authIcon{
    font-size: 22px;
    position: relative;
    top: 1px;
    cursor: pointer;
}

/* =======================
   MOBILE VIEW (GLOBAL)
======================= */
@media (max-width: 768px){

    /* ❌ Hide desktop header completely */
    .site-header,
    .main-navbar{
        display:none !important;
        visibility:hidden;
        height:0;
        overflow:hidden;
    }

    /* ✅ Show mobile header properly */
    .mobile-header{
        display:block !important;
        background:#fff;
        border-bottom:1px solid #eee;
        font-family:Arial;
        position:relative;   /* FIXED (no absolute) */
        width:100%;
        height:auto;
    }

    /* TOP BAR */
    .mobile-top{
        display:flex;
        justify-content:space-between;
        align-items:center;
        height:60px;
        padding:0 15px;
    }

    /* MENU BUTTON */
    .mobile-menu-btn{
        font-size:26px;
        cursor:pointer;
        color:#111;
    }

    /* RIGHT ICONS */
    .mobile-right{
        display:flex;
        gap:15px;
        align-items:center;
    }

    /* ICON BOX */
    .header-icon{
        width:38px;
        height:38px;
        display:flex;
        justify-content:center;
        align-items:center;
        background:#f5f5f5;
        border-radius:8px;
        position:relative;
        text-decoration:none;
        color:#111;
    }

    /* CART BADGE */
    .header-icon span{
        position:absolute;
        top:-6px;
        right:-10px;
        background:red;
        color:#fff;
        font-size:10px;
        width:16px;
        height:16px;
        border-radius:50%;
        display:flex;
        justify-content:center;
        align-items:center;
    }

    /* AUTH ICON (MOBILE STYLE) */
    .authIcon{
        font-size:23px;
        transform:translateY(-2px);
        background:#f2f2f2;
        padding:8px;
        border-radius:10px;
        cursor:pointer;
    }

    /* =======================
       MOBILE NAV
    ======================= */
    .mobile-nav{
        display:none;
        flex-direction:column;
        background:#fff;
        border-top:1px solid #eee;
    }

    .mobile-nav.active{
        display:flex;
    }

    .mobile-nav a{
        display:block;
        width:100%;
        padding:14px 18px;
        border-bottom:1px solid #eee;
        text-decoration:none;
        color:#111;
        font-weight:600;
        background:#fff;
    }

    /* =======================
       DROPDOWN
    ======================= */
    .mobile-dropdown{
        display:flex;
        flex-direction:column;
    }

.mobile-dropdown .dropbtn{
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    background: #fff;
    user-select: none;
    font-weight: 600;
}

.mobile-dropdown .dropbtn span{
    flex: 1;
}

.mobile-dropdown .dropbtn i{
    margin-left: auto;
}

    /* SUBMENU ANIMATION */
    .mobile-submenu{
        max-height:0;
        overflow:hidden;
        display:block;
        background:#fff;
        transition:max-height 0.35s ease;
    }

    .mobile-dropdown.active .mobile-submenu{
        max-height:700px;
    }

    /* SUBMENU LINKS */
    .mobile-submenu a{
        display:block;
        width:100%;
        padding:12px 20px 12px 32px;
        border-bottom:1px solid #f5f5f5;
        font-weight:500;
        color:#111;
        background:#fff;
        position:relative;
    }

    .mobile-submenu a::before{
        content:"•";
        position:absolute;
        left:14px;
        color:#111;
        font-size:14px;
    }
    
    .mobile-submenu a:last-child{
        border-bottom:none;
    }
}

@media (max-width: 768px){
    .strip-wrapper{
        justify-content: center;
        text-align: center;
    }
}