/* ============================================= */
/* 1. GLOBAL & LAYOUT FIXES                      */
/* ============================================= */
/* poppins-regular */
/* poppins-regular */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Poppins-Regular.woff2') format('woff2');
}

/* poppins-600 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Poppins-SemiBold.woff2') format('woff2');
}

/* poppins-700 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Poppins-Bold.woff2') format('woff2');
}

* {
  box-sizing: border-box; /* Sabse important line responsive ke liye */
}

html,
body {
  overflow-x: visible !important;
  width: 100%;
}



body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif !important;
  /* overflow-x: hidden; */
  width: 100%;
  text-size-adjust: 100%;
}




.main-header {
  background-color: #e0f7fa; /* Fallback */
  background-image: radial-gradient(at 0% 0%, #b2ebf2 0px, transparent 50%),
    radial-gradient(at 100% 0%, #80deea 0px, transparent 50%),
    radial-gradient(at 100% 100%, #4dd0e1 0px, transparent 50%),
    radial-gradient(at 0% 100%, #b2dfdb 0px, transparent 50%),
    radial-gradient(at 50% 50%, #e0f2f1 0px, transparent 50%);

  background-size: 100% 100%;
  padding: 20px 0;
  border-bottom: 2px solid #008080;
  min-height: 130px;
  contain: layout;
}

/* Container to keep logo and text side-by-side */
.header-container {
  display: flex;
  align-items: center;
  justify-content: center; /* Center pure group ko karne ke liye */
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px; /* Logo aur Text ke beech ki doori */
}

.header-logo {
  height: 79px !important; 
  width: 88px !important;
  /* Taaki mobile par screen se bahar na jaye */
  object-fit: contain;
  display: inline-block;
  aspect-ratio: 1 / 1; 
}

.header-text {
  text-align: left; /* Text ko left align rakhega logo ke side mein */
}

  .brand-name {
    min-height: 44px;
    margin: 0;
    font-size: 40px;
    color: #000080; /* Navy Blue */
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.1;
    display: block; /* Div hai toh block rahega */
  }

.main-header p {
  margin: 2px 0 0 0;
  font-size: 16px;
  color: #000080;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

/* Mobile Responsive Header */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row; /* Mobile par bhi side-by-side rakhega */
    padding: 0 10px;
    gap: 10px;
  }
  .main-header {
    min-height: 90px;
  }
  .header-logo {
    height: 50px; /* Mobile par logo thoda chota */
    width: 50px;
    aspect-ratio: 1/1;
  }
  .brand-name{
    font-size: 24px;
  }
  .main-header p {
    font-size: 12px;
  }
}

/* ============================================= */
/* 2. NAVBAR & OVERLAY SCROLLBAR                 */
/* ============================================= */
/* --- NAVBAR MAIN STYLING --- */
/* 1. Desktop (1200px se upar): Sab kuch Center mein rahega bina scroll ke */
/* --- COMMON SCROLLBAR STYLING (Sabhi Sizes ke liye) --- */
.navbar {
  background-color: #008080; /* Teal Color */
  display: flex;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  height: 48px;
  align-items: stretch;
  -webkit-overflow-scrolling: touch;
  overflow: visible;
}

.navbar-scroll {
  display: flex;
  overflow-x: auto; /* ✅ scroll yaha */
  white-space: nowrap;
}

/* Scrollbar Style for Navbar */
.navbar::-webkit-scrollbar {
  height: 4px; /* Scrollbar ki motai */
  display: block;
}
.navbar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
.navbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5); /* Mobile par bhi dikhega */
  border-radius: 10px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 20px;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.2s ease-in-out;
}

.navbar a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
.navbar a.active {
  background-color: #ffd700;
  color: black !important;
}

/* Responsive Navbar Logic */
@media (min-width: 1201px) {
  .navbar {
    justify-content: center;
    overflow: hidden;
  }
  .navbar::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 1200px) {
  .navbar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-left: 10px;
  }
}
@media (max-width: 767px) {
  .navbar {
    height: 45px;
  }
  .navbar a {
    font-size: 13px;
    padding: 0 15px;
  }
}

/* --- MAIN FOOTER STYLING --- */
.main-site-footer {
  /* Header Wala Background Color & Gradient */
  background-color: #e0f7fa;
  background-image: radial-gradient(at 0% 100%, #b2ebf2 0px, transparent 50%),
    radial-gradient(at 100% 100%, #80deea 0px, transparent 50%),
    radial-gradient(at 50% 50%, #e0f2f1 0px, transparent 50%);
  padding: 50px 0 20px 0;
  color: #333;
  border-top: 1px solid #d1d1d1;
  margin-top: 50px;
  font-family: sans-serif;
}

.footer-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.footer-logo-box {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
  min-height: 70px;
}

.f-logo {
  height: 60px;
  width: 60px;
  object-fit: contain;
  display: block;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.f-brand-name {
  margin: 0;
  font-size: 20px;
  color: #000080; /* Navy Blue */
  line-height: 1;
  font-weight: 900;
}

.f-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  font-weight: 700;
}

.f-social-title {
  font-weight: bold;
  margin: 20px 0 10px 0;
}

.f-social-icons {
  display: flex;
  gap: 15px;
}

.f-social-icons a svg {
  width: 25px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.f-social-icons a:hover svg {
  transform: scale(1.2); /* Icon thoda bada ho jayega */
  filter: brightness(1.2); /* Rang thoda chamakdar ho jayega */
}

.f-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 700;
}

.f-links {
  list-style: none;
  padding: 0;
  font-size: 14px;
  line-height: 2.2;
  font-weight: 600;
}

.f-links a {
  text-decoration: none;
  color: #444;
  transition: 0.2s;
}

.f-links a:hover {
  color: #27ae60 !important;
  padding-left: 5px;
}

.f-contact-info {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

/* Footer Bottom Section */
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 40px;
  padding: 20px 20px 0 20px;
  text-align: center;
  font-size: 14px;
  color: #555;
}

.footer-bottom p {
  font-size: 15px;
}

.developer-tag {
  margin-top: 15px;
  border: 1px dashed #27ae60;
  display: inline-block;
  padding: 1px 5px;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.developer-tag a {
  color: orangered;
  text-decoration: none;
  font-weight: bold;
}

.f-note {
  font-size: 11px;
  font-weight: 600;
  color: #777;
  margin-top: 15px;
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.f-note a {
  color: #27ae60;
  text-decoration: underline;
  font-size: 15px;
  font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-grid-container {
    padding: 0 25px;
    text-align: center;
  }
  .footer-logo-box {
    justify-content: center;
  }
  .f-social-icons {
    justify-content: center;
  }
}


/* ============================================= */
/* ADS MANAGEMENT CSS (Hidden by Default)        */
/* ============================================= */

/* 1. Common Hidden Class - Sabhi ads ko hide rakhega */
.hidden-ad-box {
    display: none !important;
}

/* 2. Search Bottom Ad Spot (Universal) */
.search-bottom-ad {
    width: 100%;
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
}

.ad-wrapper {
    min-height: 90px;
    background: #fdfdfd;
    border: 1px dashed #008080; /* Teal dash for your theme */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-label {
    font-size: 10px;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3. Grid Ad Spot (Order Logic) */
.ad-box-grid {
    border: 1px dashed #008080 !important;
    background: #f9f9f9;
}

/* Desktop: Ad niche rahegi full width */
@media (min-width: 1025px) {
    .ad-box-grid {
        order: 4; 
        flex: 1 1 100% !important;
        margin-top: 10px;
    }
}

/* Mobile: Ad kood kar sabse upar (Top) */
@media (max-width: 768px) {
    .main-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    .ad-box-grid {
        order: -1 !important; /* Top placement */
        margin-bottom: 20px !important;
    }
}


