/* ---------------------------------------------
1. Clean Base & Reset
--------------------------------------------- 
*/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Common resets usually handled by Bootstrap, keeping only essential overrides */
ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none; 
}

img {
  width: 100%;
  height: auto;
  display: block;
}

/* Accessibility: Reduce motion if user requested */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------------------------------------------
2. Typography (Headings)
--------------------------------------------- 
*/
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #2a2a2a;
}

h1 { font-size: 48px; font-weight: 800; line-height: 1.2; letter-spacing: -1px; }
h2 { font-size: 36px; font-weight: 700; color: #03a4ed; line-height: 1.3; }
h3 { font-size: 28px; font-weight: 600; color: #fe3f40; }
h4 { font-size: 22px; font-weight: 600; }
h5 { font-size: 18px; font-weight: 500; color: #444; }
h6 { font-size: 16px; font-weight: 500; text-transform: uppercase; color: #666; }

p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

.small-text { font-size: 13px; color: #777; }
.highlight { color: #03a4ed; font-weight: 500; }

/* Selection Color */
::selection { background: #03a4ed; color: #fff; }
::-moz-selection { background: #03a4ed; color: #fff; }

/* ---------------------------------------------
3. Kidillus Global Theme & Background
--------------------------------------------- 
*/
body {
  /* Pattern Overlay + Gradient */
  background: #ffffff;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-blend-mode: soft-light;
  font-family: 'inter', sans-serif;
  color: #1e293b;
  overflow-x: hidden;
  margin: 0;
}

/* Floating Shapes Animation */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  animation: float 10s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none; /* Mouse clicks pass through */
}

.bg-shape.blue { background: #3b82f6; width: 250px; height: 250px; top: 10%; left: 5%; }
.bg-shape.teal { background: #06b6d4; width: 300px; height: 300px; top: 60%; right: 8%; animation-delay: 3s; }
.bg-shape.light { background: #93c5fd; width: 150px; height: 150px; top: 75%; left: 30%; animation-delay: 5s; }

@keyframes float {
  from { transform: translateY(0px); }
  to { transform: translateY(-40px); }
}

/* Layout Helpers */
main, section, .container {
  position: relative;
  z-index: 2;
  font-family: 'Inter', sans-serif;
}

.page-section { margin-top: 120px; }

/* Section Headings */
.section-heading h2 {
  font-size: 30px;
  text-transform: capitalize;
  color: #2a2a2a;
  font-weight: 700;
  position: relative;
  z-index: 2;
  line-height: 44px;
}
.section-heading h2 em { font-style: normal; color: #03a4ed; }
.section-heading h2 span { color: #fe3f40; }

/* Buttons */
.main-blue-button a, 
.main-red-button a, 
.main-white-button a {
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-transform: capitalize;
  padding: 12px 25px;
  border-radius: 23px;
  letter-spacing: 0.25px;
  transition: transform 0.3s ease;
}

.main-blue-button a { background-color: #03a4ed; }
.main-red-button a { background-color: #fe3f40; }
.main-white-button a { background-color: #fff; color: #fe3f40; }

.main-blue-button a:hover, 
.main-red-button a:hover,
.main-white-button a:hover {
    transform: translateY(-3px);
}

/* Mobile Fixes */
@media (max-width: 991px) {
  .mobile-top-fix { margin-top: 30px; margin-bottom: 0px; }
  .mobile-bottom-fix { margin-bottom: 30px; }
  .mobile-bottom-fix-big { margin-bottom: 60px; }
}

/* ---------------------------------------------
4. Preloader
--------------------------------------------- 
*/
.js-preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    z-index: 9999;
    transition: opacity 0.25s ease;
}

.js-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    position: relative;
    width: 142px;
    height: 40px;
    background: #fff;
}

.preloader-inner .dot {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 12px;
    left: 15px;
    background: #fe3f40;
    border-radius: 50%;
    transform: translateX(0);
    animation: dot 2.8s infinite;
}

.preloader-inner .dots {
    transform: translateX(0);
    margin-top: 12px;
    margin-left: 31px;
    animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 16px;
    background: #fe3f40;
    border-radius: 50%;
}

@keyframes dot {
    50% { transform: translateX(96px); }
}

@keyframes dots {
    50% { transform: translateX(-31px); }
}






/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

:root{ --primary: #2563eb; --primary-dark: #1e40af; --dark: #0f172a; --light: #f8fafc; --surface: #ffffff; --border: #e2e8f0; --font-main: 'Inter', system-ui, sans-serif; }
body { margin:0; font-family: var(--font-main); background: var(--light); color: var(--dark); }
.kp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; 

  font-family: 'Inter', 'Poppins', sans-serif; /* ✅ unified */
  color: #1e293b;
  margin: 0;
  overflow-x: hidden;
}


/* Common Resets */
ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #2a2a2a;
}

h1 { font-size: 48px; font-weight: 800; line-height: 1.2; letter-spacing: -1px; }
h2 { font-size: 36px; font-weight: 700; color: #03a4ed; line-height: 1.3; }
h3 { font-size: 28px; font-weight: 600; color: #fe3f40; }
h4 { font-size: 22px; font-weight: 600; }
h5 { font-size: 18px; font-weight: 500; color: #444; }
h6 { font-size: 16px; font-weight: 500; text-transform: uppercase; color: #666; }

p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

.small-text { font-size: 13px; color: #777; }
.highlight { color: #03a4ed; font-weight: 500; }

::selection { background: #03a4ed; color: #fff; }
::-moz-selection { background: #03a4ed; color: #fff; }









/* header */
.header-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    min-height: 80px;
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* PWA Installed Mode Fix */
html.pwa-installed header {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   3. NAVIGATION (MAIN NAV & MENU)
   ========================================================================== */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 30px;
}

/* Logo Styles */
.logo h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #03a4ed;
    cursor: pointer;
}

.logo h4 span {
    color: #fe3f40;
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    /* Alignment: Push to Right */
    position: static;
    transform: none;
    margin-left: auto;
    margin-right: 30px;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: #2a2a2a;
    transition: .3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #fe3f40;
}

/* ==========================================================================
   4. HERO & UTILITY CLASSES
   ========================================================================== */
.hero-title {
    font-weight: 700;
    line-height: 1.3;
    font-size: 42px;
}

.hero-subtitle h2 {
    color: white;
}

.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.stats-bar div {
    transition: transform .3s ease;
}

.stats-bar div:hover {
    transform: translateY(-6px);
}

.stats-bar div strong {
    font-weight: 700;
}

/* ==========================================================================
   5. BUTTONS (LOGIN & MAIN)
   ========================================================================== */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0369f9, #03a4ed);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(3, 164, 237, 0.25);
}

.btn-login:hover {
    background: linear-gradient(135deg, #0284c7, #0369f9);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(3, 164, 237, 0.35);
}

.main-button {
    background: linear-gradient(95deg, #03a4ed, #ff9bd7);
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 34px;
    border-radius: 50px;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0px 6px 14px rgba(3, 164, 237, 0.15);
    transition: 0.35s ease;
    animation: softPulse 2.8s infinite ease-in-out;
}

.main-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(3, 164, 237, 0.28);
    opacity: 0.95;
}

/* ==========================================================================
   6. PROFILE SECTION & USER PILL
   ========================================================================== */
.profile-section {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* Premium Profile Pill */
.user-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 5px 18px 5px 5px;
    border-radius: 50px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.user-pill:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.user-pill img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-pill span {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    letter-spacing: -0.2px;
}

/* Fixed Avatar Circle */
.profile-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   7. ICONS (INBOX & NOTIFICATIONS)
   ========================================================================== */
.inboxIcon,
.notifBellWrap {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 8px;
    transition: background-color 0.2s ease;
}

.inboxIcon:hover,
.notifBellWrap:hover {
    background-color: #f1f5f9;
}

.inboxIcon i,
.notifBellWrap i {
    font-size: 20px;
    color: #5f6368;
}

/* Red Counter Badge */
.topChatCount,
.notif-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ff4040;
    color: #ffffff;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* ==========================================================================
   8. DROPDOWNS (GENERAL, AVATAR, INBOX, NOTIF)
   ========================================================================== */
/* Profile/Avatar Dropdown */
#avatarMenu,
.avatarMenu {
    position: absolute;
    top: 60px !important;
    right: 0 !important;
    width: 200px !important;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 999999;
    padding: 8px 0;
    transform-origin: top right;
    animation: dropdownFade 0.2s ease-out;
    overflow: hidden;
}

/* Chat & Notification Dropdowns */
.chat-dropdown,
.notif-dropdown,
.dropdown,
#inboxDropdown {
    position: absolute;
    top: 50px;
    right: -5px !important;
    left: auto !important;
    width: 360px !important;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    display: none;
    z-index: 99999;
    overflow: hidden;
    transform-origin: top right !important;
    animation: dropdownFade 0.2s ease-out;
}

/* Common Dropdown Styles */
.show {
    display: flex !important;
}

.chat-dropdown.show,
.notif-dropdown.show,
#inboxDropdown.show {
    display: block !important;
}

/* Dropdown Menu Items */
#avatarMenu a,
.avatarMenu a {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400 !important;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

/* Fix for .avatarMenu class specifics */
.avatarMenu a {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1;
}

#avatarMenu a i {
    font-size: 16px;
    color: #9ca3af;
    width: 20px;
    text-align: center;
}

#avatarMenu a:hover,
.avatarMenu a:hover {
    background: #f9fafb;
    color: #03a4ed;
    padding-left: 24px;
}

#avatarMenu a:hover i {
    color: #03a4ed;
}

/* Dropdown Headers */
#avatarMenu div {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #9ca3af !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
}

.notif-header {
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
    font-weight: 700;
    color: #202124;
}

/* Logout Button Special Styling */
#avatarMenu a[href*="logout"] {
    margin-top: 5px;
    border-top: 1px solid #f3f4f6;
    color: #ef4444;
}

#avatarMenu a[href*="logout"] i {
    color: #ef4444;
}

#avatarMenu a[href*="logout"]:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* ==========================================================================
   9. NOTIFICATION LIST & CONTENT
   ========================================================================== */
.notif-list,
#webInboxList,
#webNotifList {
    max-height: 280px !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    background: #fff;
    padding: 0;
    scroll-behavior: smooth;
}

/* Scrollbar Styling */
.notif-list::-webkit-scrollbar,
#webInboxList::-webkit-scrollbar,
#webNotifList::-webkit-scrollbar {
    width: 6px;
}

.notif-list::-webkit-scrollbar-thumb,
#webInboxList::-webkit-scrollbar-thumb,
#webNotifList::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.notif-list::-webkit-scrollbar-track,
#webInboxList::-webkit-scrollbar-track,
#webNotifList::-webkit-scrollbar-track {
    background: transparent;
}

/* Notif Item */
.notif-item {
    padding: 15px 18px;
    border-bottom: 1px solid #f1f3f4;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notif-item:hover {
    background-color: #f8f9fa;
}

/* Unread Indicator */
.notif-item.unread::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 20px;
    width: 8px;
    height: 8px;
    background-color: #1a73e8;
    border-radius: 50%;
}

.notif-item.unread {
    background-color: #f8fbff;
    padding-left: 24px;
}

.notif-item.unread strong {
    color: #202124;
    font-weight: 700;
}

.notif-item strong {
    font-size: 14px;
    color: #3c4043;
    margin-bottom: 2px;
}

.notif-item p {
    font-size: 13px;
    color: #5f6368;
    margin: 0;
    line-height: 1.4;
}

.notif-item small {
    font-size: 11px;
    color: #9aa0a6;
    margin-top: 4px;
    display: block;
}

.notif-footer {
    padding: 12px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    font-weight: 600;
    color: #1a73e8;
    cursor: pointer;
}

.notif-footer:hover {
    background-color: #f8f9fa;
    text-decoration: underline;
}

.notif-empty {
    padding: 40px 20px;
    text-align: center;
    color: #5f6368;
    font-size: 14px;
}

/* ==========================================================================
   10. SUB-MENUS & DROPDOWNS (FIXED: Vertical List)
   ========================================================================== */
.has-sub {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.submenu-toggle {
    cursor: pointer;
    padding: 6px;
    font-size: 14px;
}

.sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
    border-radius: 10px;
    padding: 8px 0;
    z-index: 9999;
    /* ✅ Fix: Ensure vertical stacking */
    flex-direction: column; 
}

.sub-menu.show {
    display: block; /* Flex hata kar Block kar diya */
}

/* ✅ Fix: List items ek line me ek hi dikhenge */
.sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
}

.sub-menu a {
    display: block;
    padding: 10px 16px;
    color: #333;
    width: 100%; /* Full width clickable area */
    box-sizing: border-box; /* Padding ke sath width calculate karega */
}

.sub-menu a:hover {
    background: #f5f5f5;
    color: #03a4ed; /* Hover par blue color */
}

.submenu-toggle i {
    transition: transform 0.25s ease;
}

/* When Dropdown Open */
.has-sub.open .submenu-toggle i {
    transform: rotate(180deg);
}
/* ==========================================================================
   11. FLOATING OFFER & ANIMATIONS
   ========================================================================== */
#floatingOffer {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: transparent !important;
    padding: 0;
    width: auto;
    border: none;
    box-shadow: none;
    display: none;
    z-index: 999999;
    animation: floatIn .5s ease;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

.offer-character-floating {
    position: absolute;
    top: -120px;
    right: 50%;
    transform: translateX(50%);
    width: 140px;
    z-index: 1000000;
    pointer-events: none;
    animation: bounce 2.5s infinite ease-in-out;
}

.offerContentBox {
    background: #ffffff;
    padding: 18px;
    border-radius: 14px;
    width: 350px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    margin-top: 70px;
    position: relative;
    pointer-events: auto;
}

.offerContentBox .close-offer {
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #444;
}

.offer-timer {
    background: #ffecec;
    border-radius: 6px;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #d10000;
    text-align: center;
    margin-bottom: 10px;
}

#floatingOffer h4 {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

#floatingOffer p {
    font-size: 15px;
    margin: 0 0 10px;
    line-height: 1.4;
    color: #444;
}

#floatingOffer .btn-claim {
    background: #00ff8c;
    color: #000;
    width: 100%;
    padding: 10px;
    font-weight: 700;
    display: inline-block;
    border-radius: 8px;
    text-align: center;
    margin-top: 5px;
    transition: 0.2s;
    border: none;
}

#floatingOffer .btn-claim:hover {
    background: #00e57d;
    transform: translateY(-2px);
}

.offer-text {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin: 10px 0 12px 0;
    white-space: pre-line;
}

.offer-text br {
    margin-bottom: 6px;
    display: block;
}

.offer-text b,
.offer-text strong {
    font-weight: 700;
    color: #000;
}

.btn-claim {
    transition: 0.25s ease;
}

.btn-claim:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.12);
}

/* Keyframes */
@keyframes softPulse {
    0% { box-shadow: 0 0 6px rgba(3, 164, 237, 0.25); }
    50% { box-shadow: 0 0 18px rgba(3, 164, 237, 0.45); }
    100% { box-shadow: 0 0 6px rgba(3, 164, 237, 0.25); }
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: translateY(-6px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(50%) translateY(0); }
    50% { transform: translateX(50%) translateY(-12px); }
}

/* ==========================================================================
   12. 100% PROFESSIONAL MOBILE MENU (Seamless & Clean)
   ========================================================================== */

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #1e293b; /* Premium Dark Blue-Gray */
    padding: 5px;
    transition: transform 0.2s;
}
.menu-toggle:active {
    transform: scale(0.9);
}

/* ==========================================
   TABLET & MOBILE DEVICES (Max Width: 991px) 
   ========================================== */
@media (max-width: 991px) {
    
    /* 1. CONTAINER ALIGNMENT */
    .main-nav {
        position: relative; 
        justify-content: space-between;
        padding: 0 20px !important; /* Thoda sa breathing room */
    }

    /* 2. ORDERING (Hamburger Left - Logo Center - Profile Right) */
    .menu-toggle {
        display: block;
        order: 1;
        flex: 0 0 auto;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        margin: 0;
        display: flex;
        justify-content: center;
    }

    .profile-section {
        order: 3;
        flex: 0 0 auto;
        gap: 12px;
    }

    /* 3. MAIN MENU DRAWER (Seamless Design) */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px; 
        left: 0;
        width: 100%;
        background: #ffffff;
        
        /* 🔥 NEW: Soft, Apple-like Shadow */
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #f1f5f9;
        
        padding: 0;
        margin: 0;
        z-index: 99999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.show {
        display: block !important;
        animation: slideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    /* 4. MAIN LINKS (Clean & Tall) */
    .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #f8fafc; /* Very subtle line */
        display: block;
    }

    .nav-menu li a {
        padding: 16px 24px; /* Comfortable Touch Size */
        font-size: 16px;
        font-weight: 500;
        color: #334155;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        text-decoration: none;
    }

    .nav-menu li a:hover {
        background-color: #f8fafc;
        color: #03a4ed;
    }

    /* 5. SUB-MENU FIX (No More "Boxy" Look) */
    .has-sub {
        display: block;
        position: relative;
    }

    /* Arrow Styling */
    .submenu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 60px; /* Wider click area */
        height: 56px; /* Matches link height */
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        border-left: 1px solid transparent; 
        z-index: 5;
    }
    
    .has-sub.open .submenu-toggle {
        transform: rotate(180deg);
        color: #03a4ed;
    }

    /* 🔥 THE REAL FIX: Seamless Nested Menu */
    .sub-menu {
        position: relative;
        width: 100%;
        background: #f8fafc; /* Very light gray, blends perfectly */
        /* No shadows, no margins, looks like part of the list */
        padding: 0; 
        display: none;
        flex-direction: column;
        border-top: 1px solid #f1f5f9;
        box-shadow: inset 0 6px 6px -6px rgba(0,0,0,0.05); /* Slight inner shadow for depth */
    }
    
    .sub-menu.show {
        display: block;
    }

    .sub-menu li a {
        padding-left: 40px; /* Indent text */
        padding-top: 14px;
        padding-bottom: 14px;
        font-size: 15px;
        color: #64748b; /* Thoda light text hierarchy ke liye */
        background: transparent;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .sub-menu li a:hover {
        color: #03a4ed;
        background: #f1f5f9;
    }
}

/* ==========================================
   MOBILE SCREEN SPECIFICS (Max Width: 768px)
   ========================================== */
@media (max-width: 768px) {
    .header-area { height: 70px !important; }
    .nav-menu { top: 70px; max-height: calc(100vh - 70px); }
    .main-nav { padding: 0 15px !important; }
    
    /* Logo Size */
    .logo h4 { font-size: 20px; }

    /* Profile Adjustments */
    .profile-circle { width: 32px; height: 32px; }
    .user-pill { padding: 0; border: none; background: transparent; box-shadow: none; }
    .user-pill span { display: none; }
    .user-pill img { width: 32px; height: 32px; border: none; }

    /* Dropdown Fixes */
    .chat-dropdown, .notif-dropdown, #inboxDropdown {
        width: 90vw !important; /* Responsive width */
        max-width: 300px;
        right: -10px !important; /* Thoda adjust kiya */
        top: 60px;
    }

    /* Offer Popup */
    #floatingOffer { width: 92%; right: 4%; bottom: 15px; }
    .offerContentBox { width: 100% !important; }
    .offer-character-floating { top: -85px; width: 100px; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}



/* index */

/* =====================
DESKTOP (default)
===================== */
.main-banner {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 200px 0 60px;
}

/* Decorative backgrounds */
.main-banner::after,
.main-banner::before {
  content: '';
  position: absolute;
  top: 100px;
  width: 400px;
  height: 1000px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.1;
  pointer-events: none;
}

/* Content */
.main-banner .left-content {
  margin-right: 45px;
}

.main-banner .left-content h6 {
  text-transform: uppercase;
  font-size: 18px;
  color: #fe3f40;
  margin-bottom: 15px;
}

.main-banner .left-content h2 {
  font-size: 30px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.3;
}

.main-banner .left-content h2 em {
  color: #03a4ed;
  font-style: normal;
}

.main-banner .left-content h2 span {
  color: #fe3f40;
}

.main-banner .left-content p {
  margin: 20px 0;
}

/* Form (desktop inline style) */
.main-banner .left-content form {
  margin-top: 30px;
  width: 470px;
  height: 66px;
  position: relative;
}

.main-banner .left-content form input {
  width: 100%;
  height: 66px;
  background-color: #03a4ed;
  border-radius: 33px;
  border: none;
  outline: none;
  padding: 0 25px;
  color: #fff;
  font-size: 15px;
}

.main-banner .left-content form input::placeholder {
  color: #fff;
}

.main-banner .left-content form button {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 46px;
  padding: 0 25px;
  background: #fff;
  color: #fe3f40;
  border-radius: 23px;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

/* =====================
TABLET (768px–1200px)
===================== */
@media (min-width: 768px) and (max-width: 1200px) {
  .main-banner {
    padding: 150px 20px 50px;
    text-align: center;
  }
  .main-banner::before,
  .main-banner::after {
    width: 250px;
    height: 700px;
    top: 70px;
    opacity: 0.1;
  }
  .main-banner::after { left: -20px; }
  .main-banner::before { right: -20px; }
  .main-banner .left-content {
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
  }
  .main-banner .left-content h2 { font-size: 28px; }
  .main-banner .left-content p { font-size: 15px; }
  .main-banner .left-content form {
    width: 100%;
    max-width: 400px;
    margin: 25px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
  }
  .main-banner .left-content form input,
  .main-banner .left-content form button {
    width: 100%;
    position: static;
    height: 50px;
    border-radius: 30px;
    text-align: center;
  }
}

/* =====================
MOBILE (≤767px)
===================== */
@media (max-width: 767px) {
  .main-banner {
    padding: 150px 16px 40px;
    text-align: center;
  }
  .main-banner::before,
  .main-banner::after {
    width: 160px;
    height: 420px;
    top: 40px;
    opacity: 0.06;
  }
  .main-banner::after { left: -40px; }
  .main-banner::before { right: -40px; }
  .main-banner .left-content {
    margin: 0 auto;
    max-width: 520px;
    text-align: center;
  }
  .main-banner .left-content h6 {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .main-banner .left-content h2 {
    font-size: 23px;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .main-banner .left-content p {
    font-size: 14px;
    line-height: 1.6;
    margin: 14px 0 20px;
  }
  .main-banner .left-content form {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
  }
  .main-banner .left-content form input {
    height: 48px;
    border-radius: 26px;
    font-size: 14px;
    text-align: center;
  }
  .main-banner .left-content form button {
    position: static;
    height: 46px;
    border-radius: 26px;
    font-size: 14px;
  }
  .main-banner .right-image {
    display: none !important;
  }
}

/* ===============================
FULL DETAILS SECTION — FINAL CSS
=============================== */
.full-details {
  width: 100%;          /* Pura screen cover karega */
  background: #ffffff;  /* ✅ White Background */
  padding: 80px 0;
  text-align: center;
  margin: 0;            /* Extra margin hataya */
}

/* 2. INNER CONTAINER (Text width control ke liye) */
.details-container {
  max-width: 900px;     /* Text sirf itne area me rahega */
  margin: 0 auto;       /* Text ko center karega */
  padding: 0 20px;      /* Mobile me text kinare se na chipke */
}
.full-details p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 18px;
}
.full-details p strong {
  color: #111;
  font-weight: 600;
}
.full-details .intro {
  font-size: 16px;
  font-weight: 500;
  color: #222;
  margin-bottom: 22px;
}
.full-details .seo {
  font-size: 14px;
  color: #777;
  margin-top: 20px;
}
@media (max-width: 767px) {
  .full-details {
    padding: 40px 16px;
    text-align: center;
  }
  .full-details p {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 16px;
  }
  .full-details .intro {
    font-size: 15px;
    line-height: 1.6;
  }
  .full-details .seo {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* =====================
Our portfolio
===================== */
.our-portfolio {
  padding: 100px 0;
  background: #f9f9f9;
}
.our-portfolio .item {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  position: relative;
  align-items: stretch; /* Merged fix */
}

/* MAIN CARD (ONLY BOX) */
.our-portfolio .hidden-content {
  width: 100%;
  max-width: 900px;
  background: linear-gradient(120deg, #00c6ff, #ff7ad9);
  padding: 48px 40px;
  border-radius: 24px;
  text-align: center;
  color: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
  
  /* Merged fix */
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TEXT */
.our-portfolio .hidden-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.our-portfolio .hidden-content p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255,255,255,0.95);
}

/* CTA BUTTON */
.our-portfolio .hidden-content a,
.our-portfolio .hidden-content button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  padding: 14px 32px;
  background: linear-gradient(120deg, #00c6ff, #ff7ad9);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(3,164,237,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Button hover */
@media (hover: hover) {
  .our-portfolio .hidden-content a:hover,
  .our-portfolio .hidden-content button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(255,110,199,0.45);
  }
  .our-portfolio .item:hover .hidden-content {
    transform: translateY(-18px) scale(1.03);
    box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  }
}

/* TABLET (≤992px) */
@media (max-width: 992px) {
  .our-portfolio { padding: 70px 0; }
  .our-portfolio .item { margin-bottom: 45px; }
  .our-portfolio .hidden-content {
    padding: 42px 32px;
    border-radius: 22px;
    min-height: 150px; /* Merged fix */
  }
  .our-portfolio .hidden-content h4 { font-size: 20px; }
  .our-portfolio .hidden-content p { font-size: 15px; }
}

/* MOBILE (≤767px) */
@media (max-width: 767px) {
  .our-portfolio { padding: 60px 0; }
  .our-portfolio .item { margin-bottom: 30px; }
  .our-portfolio .hidden-content {
    padding: 34px 22px;
    border-radius: 18px;
    min-height: 150px; /* Merged fix */
  }
  .our-portfolio .hidden-content h4 { font-size: 18px; }
  .our-portfolio .hidden-content p {
    font-size: 14px;
    line-height: 1.6;
  }
  .our-portfolio .hidden-content a,
  .our-portfolio .hidden-content button {
    width: 100%;
    padding: 14px 0;
    font-size: 14px;
  }
}
.our-portfolio .showed-content {
  display: none !important;
}

/* =====================
WHY CHOOSE / PROCESS (DESKTOP)
===================== */
#why-choose {
  margin-top: 100px;
}
.why-choose {
  padding: 110px 0 60px;
  background-image: url(../images/about-bg.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  text-align: center;
}
.why-choose h2 {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 15px;
}
.why-choose h2 span { color: #fff; }
.why-choose > p {
  font-size: 15px;
  line-height: 1.8;
  color: #fff;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* PROCESS STEPS */
.process-step {
  background: #fff;
  border-radius: 14px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  text-align: center;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 26px rgba(3,164,237,0.15);
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  line-height: 52px;
  margin: 0 auto 15px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.process-step:nth-child(1) .step-number { background: #ff4d4d; }
.process-step:nth-child(2) .step-number { background: #03a4ed; }
.process-step:nth-child(3) .step-number { background: #00c853; }
.process-step:nth-child(4) .step-number { background: #ff9100; }
.process-step:nth-child(5) .step-number { background: #9c27b0; }

.process-step strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #03a4ed, #fe3f40);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.process-step p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* VIDEO (DESKTOP) */
.video-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.process-video {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  object-fit: cover;
}

/* SERVICE LIST (DESKTOP) */
.why-choose .services .item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}
.why-choose .services .item .icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.why-choose .services .item h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.why-choose .services .item p {
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
}

@media (max-width: 992px) {
  .process-video { max-width: 700px; }
  .process-step { padding: 22px; }
}

/* MOBILE CLEAN VERSION */
@media (max-width: 767px) {
  .why-choose {
    background: #fff !important;
    padding: 40px 16px !important;
  }
  .why-choose h2 {
    font-size: 26px;
    font-weight: 700;
    color: #03a4ed;
    text-align: center;
  }
  .why-choose h2 span { color: #fe3f40; }
  .why-choose > p {
    color: #222;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: left;
  }
  /* Remove visuals */
  .why-choose img,
  .why-choose video,
  .why-choose .icon,
  .why-choose .left-image,
  .video-wrapper,
  .process-video,
  .process-step img {
    display: none !important;
  }
  /* Mobile Service Cards */
  .why-choose .services .item {
    background: linear-gradient(135deg, #1ecbff 0%, #6f8cff 45%, #ff8ad8 100%);
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    display: block;
  }
  .why-choose .services .item h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 8px;
  }
  .why-choose .services .item p {
    color: rgba(255,255,255,0.95);
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* HERO PROCESS (Alternative Design) */
.hero-process {
  background: linear-gradient(180deg,#00d4ff,#b38bff,#ff9bd7);
  padding:120px 0 110px;
  text-align:center;
}
.hero-sub {
  color:#ffffffcc;
  font-weight:600;
  font-size:18px;
}
.hero-title {
  font-size:38px;
  font-weight:800;
  line-height:1.25;
  max-width:950px;
  margin:15px auto 30px;
  color:white;
}
.hero-title span { text-decoration:underline; }
.process-heading {
  font-size:28px;
  color:#fff;
  font-weight:700;
  margin-top:10px;
}
.process-subtext {
  color:#fff;
  font-size:16px;
  max-width:950px;
  margin:10px auto 35px;
}
.process-grid {
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:25px;
  max-width:1400px;
  margin:auto;
}
.step-box {
  background:rgba(255,255,255,0.15);
  border-radius:14px;
  padding:20px;
  backdrop-filter:blur(4px);
  transition:0.3s;
}
.step-box:hover { transform:translateY(-6px); }
.step-box img {
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
}
.step-box h5 {
  color:white;
  margin-top:12px;
  font-weight:700;
  font-size:18px;
}
.step-box p {
  color:white;
  font-size:14px;
}
.trust-line {
  color:white;
  font-size:16px;
  margin-top:30px;
}
.cta-main {
  display:inline-block;
  background:white;
  padding:14px 30px;
  border-radius:8px;
  font-size:18px;
  font-weight:700;
  color:#03a4ed;
  text-decoration:none;
  margin-top:20px;
}
.login-line a {
  color:#fff;
  font-weight:600;
  margin-top:15px;
  display:block;
}
.scroll-down {
  margin-top:30px;
  font-size:20px;
  color:white;
  opacity:0.8;
}
@media(max-width:1024px){
  .process-grid { grid-template-columns:repeat(2, 1fr); }
}
@media(max-width:600px){
  .hero-title { font-size:28px; }
  .process-grid { grid-template-columns:repeat(2, 1fr); gap:15px; }
  .step-box img { height:160px; }
}

/* WHY SECTION (Box style) */
.why-section {
  padding: 80px 20px;
  background: #fff;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title span { color: #03a4ed; }
.section-sub {
  max-width: 650px;
  margin: auto;
  color: #555;
  font-size: 15px;
}
.why-image {
  width: 100%;
  border-radius: 16px;
  animation: float 4s ease-in-out infinite;
}
@media (max-width: 768px) {
  .why-image { display: none !important; }
}
.why-card {
  background: #f9f9f9;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid #f1f1f1;
  transition: 0.3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}
.why-card .icon img {
  width: 45px;
  margin-bottom: 12px;
}
.why-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.why-card p {
  font-size: 14px;
  color: #555;
  margin: 0;
}
.why-btn {
  display: inline-block;
  margin-top: 35px;
  padding: 14px 35px;
  background: linear-gradient(90deg,#03a4ed,#ff9bd7);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.25s ease;
}
.why-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@media(max-width:768px) {
  .section-title { font-size: 26px; }
  .why-card { text-align: center; }
}

/* CONTACT INFO BLOCK */
.contact-us-section {
  padding: 70px 20px;
  background: #f9f9f9;
  margin-bottom: 0px;
}
.contact-info-block {
  padding-right: 0px;
  margin-top: 0;
}
.kidillus-logo {
  max-width: 160px;
  margin-bottom: 10px;
}
.contact-info-block h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-info-block h2 span { color: #03a4ed; }
.contact-info-block .subtext {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 10px;
}
.contact-list .icon { font-size: 18px; }
.contact-list a {
  color: #111;
  font-weight: 600;
  text-decoration: none;
}
.contact-list a:hover { text-decoration: underline; }
.tag.fast-reply {
  background: #25D366;
  color: white;
  padding: 3px 8px;
  font-size: 10px;
  border-radius: 4px;
  margin-left: 6px;
}
.locations {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}
.contact-form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}
.contact-form-card textarea { height: 120px; }
.success-message {
  display: none;
  color: #1aa42b;
  margin-top: 10px;
  font-weight: 600;
}
@media(max-width:768px) {
  .contact-info-block { text-align: center; padding-right: 0; }
  .contact-list li { justify-content: center; }
}

/* ORDER PROCESS */
#order-process {
  padding: 70px 0;
  background: #f9f9f9;
}
.order-box {
  background: #fff;
  border-radius: 18px;
  padding: 35px 28px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
  transition: 0.25s ease;
  text-align: center;
}
.order-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.07);
}
.order-box .tag {
  display: inline-block;
  padding: 6px 16px;
  background: #f5f7fb;
  font-size: 14px;
  border-radius: 20px;
  color: #555;
  margin-bottom: 12px;
  font-weight: 600;
}
.order-box strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}
.order-box ul {
  text-align: left;
  margin: 20px auto;
  padding-left: 0;
  list-style: none;
  max-width: 420px;
  color: #444;
  font-size: 14px;
  line-height: 22px;
}
.order-box ul li { margin-bottom: 6px; }
.order-box ul li::before {
  content: "✔";
  margin-right: 6px;
  color: #03a4ed;
  font-weight: 600;
}
.cta-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  margin-top: 10px;
}
.cta-primary { background: #03a4ed; color: #fff; }
.cta-secondary { background: #fe3f40; color: #fff; }
@media(max-width:768px){
  #order-process { padding:50px 15px; }
  .order-box { margin-bottom:20px; }
}

/* =======================
   OUR PROCESS STYLES (Consolidated)
======================== */
.our-process {
  background: #fff;
  padding: 80px 0;
}
.our-process h2 {
  font-weight: 700;
  font-size: 36px;
  color: #000;
  margin-bottom: 10px;
}
.our-process .blue-text { color: #007bff; }
.our-process .red-text { color: #ff3b3b; }
.our-process h5 {
  color: #e91e63;
  font-weight: 600;
  margin-bottom: 40px;
  font-size: 18px;
}
.our-process .process-step { margin-bottom: 22px; }
.our-process .process-step .step-number { font-size: 18px; margin-right: 8px; }
.our-process .process-step strong {
  display: block;
  color: #222;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 5px;
}
.our-process .process-step p {
  color: #666;
  font-size: 15px;
  margin: 0;
}
@media (max-width: 1200px) {
  .our-process { padding: 70px 0; }
  .our-process h2 { font-size: 32px; }
  .our-process h5 { font-size: 17px; margin-bottom: 35px; }
}
@media (max-width: 992px) {
  .our-process { padding: 60px 0; text-align: center; }
  .our-process h2 { font-size: 28px; margin-bottom: 8px; }
  .our-process h5 { font-size: 16px; }
  .process-content { max-width: 600px; margin: 0 auto; text-align: center; }
}
@media (max-width: 768px) {
  .our-process { padding: 50px 0; }
  .our-process h2 { font-size: 24px; line-height: 1.4; }
  .our-process h5 { font-size: 15px; margin-bottom: 30px; }
  .process-content { text-align: left; padding: 0 20px; }
}
@media (max-width: 480px) {
  .our-process { padding: 40px 0; }
  .our-process h2 { font-size: 21px; text-align: center; }
  .our-process h5 { font-size: 14px; text-align: center; margin-bottom: 25px; }
  .process-content { padding: 0 15px; }
}

/* =================================
   FAQ Section (Consolidated & Cleaned)
================================= */
.faq-section {
  padding: 60px 20px;
  background: #ffffff;
  margin-bottom: 60px; 
  padding-bottom: 0px;
  position: relative;
  z-index: 1;
}
.faq-section .container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #222;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid #eee;
}
/* Last item spacing */
.faq-item:last-child { margin-bottom: 25px; }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: #ffffff;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: "▾";
  font-size: 16px;
  transition: transform 0.25s ease;
  opacity: 0.7;
}
.faq-item.active .faq-question::after { transform: rotate(-180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  background: #fcfcfc;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 10px 0 16px;
}
.faq-item.active .faq-answer {
  max-height: 300px; 
  padding: 0 18px 16px;
}
.faq-question:hover { background: #f5fbff; }
@media (max-width: 576px) {
  .faq-title { font-size: 22px; }
  .faq-question { font-size: 14px; }
}

/* =============================================
   CONTACT SECTION (Background Image Style)
============================================= */
.contact-us {
  padding: 160px 0px;
  background-image: url(../images/contact-bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.logo-wrapper {
  position: relative;
  left: 0;
  bottom: 0;
  transform: none;
  z-index: 1;
  margin-bottom: 20px;
  text-align: center;
}
.kidillus-logo {
  width: 150px;
  height: auto;
  display: block;
}
.contact-us .section-heading h2,
.contact-us .section-heading h2 em,
.contact-us .section-heading h2 span { color: #fff; }
.contact-us .section-heading p {
  color: #fff;
  margin-top: 30px;
}
.phone-info { margin-top: 40px; }
.phone-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.phone-info h4 span i {
  width: 46px;
  height: 46px;
  display: inline-block;
  text-align: center;
  line-height: 46px;
  background-color: #fff;
  border-radius: 50%;
  color: #ff3b2c;
  font-size: 22px;
  margin-left: 30px;
  margin-right: 15px;
}
.phone-info h4 span a {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
}
.contact-form-wrapper {
  position: relative;
  z-index: 5;
}
.contact-dec {
  position: absolute;
  bottom: 0;
  right: -166px;
  z-index: 3;
  pointer-events: none;
}
form#contact {
  margin-left: 30px;
  position: relative;
  background-color: #fff;
  padding: 60px 30px;
  border-radius: 20px;
}
form#contact input {
  width: 100%;
  height: 46px;
  border-radius: 33px;
  background-color: #d1f3ff;
  border: none;
  outline: none;
  padding: 0px 20px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 300;
  color: #2a2a2a;
}
form#contact input::placeholder { color: #2a2a2a; }
form#contact textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  max-height: 180px;
  min-height: 140px;
  height: 140px;
  border-radius: 20px;
  background-color: #d1f3ff;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 300;
  color: #2a2a2a;
  padding: 15px 20px;
  margin-bottom: 20px;
}
form#contact textarea::placeholder { color: #2a2a2a; }
form#contact button {
  display: inline-block;
  background-color: #03a4ed;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-transform: capitalize;
  padding: 12px 25px;
  border-radius: 23px;
  letter-spacing: 0.25px;
  border: none;
  outline: none;
  transition: all .3s;
}
form#contact button:hover { background-color: #fe3f40; }

/* CONTACT RESPONSIVE */
@media (max-width: 1400px) {
  .contact-us { padding: 150px 0; }
  form#contact { margin-left: 20px; padding: 50px 25px; }
  .contact-dec img { max-width: 380px; }
  .phone-info h4 { font-size: 18px; }
  .kidillus-logo { width: 130px; }
}
@media (max-width: 1200px) {
  .contact-us { background-position: center top; }
  .contact-dec img { max-width: 320px; right: -60px; }
  .contact-form-wrapper { margin-top: 40px; }
  .phone-info h4 span i { margin-left: 20px; }
  form#contact { padding: 45px 25px; }
}
@media (max-width: 992px) {
  .contact-us { padding: 100px 0; }
  .contact-dec { display: none; }
  .contact-form-wrapper { margin-top: 30px; }
  form#contact { margin: 0 auto; padding: 40px 25px; width: 100%; max-width: 600px; }
  .phone-info h4 { font-size: 17px; }
  .phone-info h4 span i { margin-left: 10px; margin-right: 10px; }
  .kidillus-logo { width: 120px; }
}
@media (max-width: 768px) {
  .contact-us { padding: 80px 0; text-align: center; }
  .logo-wrapper { text-align: center; margin-bottom: 25px; }
  .contact-us .section-heading h2 { font-size: 22px; line-height: 1.4; }
  .contact-us .section-heading p { font-size: 14px; margin-top: 20px; }
  .phone-info { margin-top: 25px; }
  .phone-info h4 { font-size: 15px; display: flex; flex-direction: column; align-items: center; }
  .phone-info h4 span i { margin: 10px 0; }
  form#contact { padding: 30px 20px; border-radius: 16px; }
  form#contact input, form#contact textarea { font-size: 14px; border-radius: 20px; }
  form#contact button { width: 100%; font-size: 14px; padding: 12px 0; }
}
@media (max-width: 480px) {
  .contact-us { padding: 70px 0; }
  .contact-us .section-heading h2 { font-size: 20px; }
  .contact-us .section-heading p { font-size: 13px; }
  .kidillus-logo { width: 100px; }
  form#contact { padding: 25px 15px; }
  form#contact input, form#contact textarea { font-size: 13px; }
  .phone-info h4 { font-size: 14px; }
}

/* =========================================
   📱 MASTER MOBILE FIX (Same Gap Everywhere)
   Add this at the very END of your CSS file
========================================= */

@media (max-width: 767px) {

  /* 1. Sabhi Sections ka Upar/Niche Gap SAME (60px) */
  .full-details,
  .our-portfolio,
  .why-choose,
  .hero-process,
  .our-process,
  .faq-section,
  .contact-us,
  #order-process {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  /* Exception: Banner ko upar se zyada jagah chahiye (Header ke liye) */
  .main-banner {
    padding-top: 110px !important;
    padding-bottom: 60px !important;
  }

  /* 2. Sabhi Sections ka Left/Right Gap SAME (20px) */
  .main-banner,
  .full-details,
  .why-choose,
  .faq-section,
  .contact-us,
  #order-process,
  .process-content,      /* For Our Process inner text */
  .hero-process,         /* For Hero Process */
  .our-portfolio .item   /* For Portfolio Cards */
  {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* 3. Special Fixes for specific overflow issues */
  .contact-us {
    background-size: cover !important; /* Background image fix */
  }
  
  .process-grid {
    gap: 20px !important; /* Grid gap consistency */
    padding: 0 10px; /* Thoda extra safety grid ke liye */
  }
}


/*footer*/

footer.footer {
  width: 100%;
  background: #ffffff;
  color: #444;
  padding: 60px 0 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
  margin-top: auto;
}

/* ===========================
   🧩 FOOTER GRID
=========================== */
footer .footer-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  align-items: start;
}

/* ===========================
   ✨ BRAND + INTRO
=========================== */
.footer-logo h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #03a4ed;
  text-transform: uppercase;
}
.footer-logo h4 span { color: #fe3f40; }

.footer-left p {
  font-size: 14px;
  color: #666;
  margin: 10px 0;
  line-height: 1.6;
}

/* ===========================
   📌 SOCIAL ICONS
=========================== */
.social-bar {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-bar a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f5f5;
  color: #444;
  font-size: 18px;
  transition: .3s;
}
.social-bar a:hover {
  transform: scale(1.1);
  background: #fe3f40;
  color: #fff;
}

/* Brand Colors */
.social-bar a[title="Instagram"] {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
  color:#fff;
}
.social-bar a[title="Fiverr"] { background:#1dbf73; color:#fff; }
.social-bar a[title="Behance"] { background:#1769ff; color:#fff; }
.social-bar a[title="LinkedIn"] { background:#0077b5; color:#fff; }
.social-bar a[title="YouTube"] { background:#ff0000; color:#fff; }

/* ===========================
   📁 FOOTER COLUMN
=========================== */
.footer-column h4 {
  font-size:15px;
  font-weight:600;
  margin-bottom:12px;
}
.footer-column h4::after {
  content:"";
  width:28px;
  height:2px;
  background:#fe3f40;
  display:block;
  margin-top:6px;
}

.footer-column ul {
  list-style:none;
  padding:0;
  margin:0;
}
.footer-column li { margin:6px 0; }

.footer-column a {
  color:#555;
  font-size:14px;
  text-decoration:none;
  transition:.3s;
}
.footer-column a:hover {
  color:#fe3f40;
  text-decoration:underline;
}

/* ===========================
   📞 CONTACT
=========================== */
.contact-footer p {
  font-size:14px;
  color:#555;
  margin:4px 0;
  display:flex;
  align-items:center;
  gap:8px;
}
.contact-footer i { color:#25D366; }

/* ===========================
   ✉ NEWSLETTER
=========================== */
.newsletter form { display:flex; flex-direction:column; gap:8px; }
.newsletter input {
  padding:10px 12px;
  border:1px solid #ccc;
  border-radius:6px;
  font-size:14px;
}
.newsletter button {
  padding:10px 12px;
  background:#fe3f40;
  border:none;
  color:#fff;
  border-radius:6px;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}
.newsletter button:hover { background:#03a4ed; }

/* ===========================
   🎨 COMMISSION BANNER
=========================== */
.commissions-banner {
  background:#fe3f40;
  color:#fff;
  text-align:center;
  font-size:14px;
  padding:20px;
}
.commissions-banner a {
  color:#fff;
  font-weight:700;
  text-decoration:underline;
}

/* ===========================
   🄿 FOOTER BOTTOM
=========================== */
.footer-bottom {
  background:#f7f7f7;
  text-align:center;
  font-size:13px;
  padding:20px;
  color:#555;
}
.footer-bottom a {
  color:#03a4ed;
  text-decoration:none;
}
.footer-bottom a:hover { color:#fe3f40; }

/* ===========================
   🔼 SCROLL TO TOP
=========================== */
/* ===========================
   🔼 SCROLL TO TOP (FINAL)
=========================== */
#scrollTopBtn{
  position: fixed !important;
  right: 18px;
  bottom: 18px;

  width: 46px;
  height: 46px;
  padding: 0;

  background: #ffffff;              /* ✅ white like sample */
  color: #111827;                   /* dark arrow */

  border: none;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  opacity: 0;
  pointer-events: none;

  z-index: 2147483647;               /* 🔑 ALWAYS ON TOP */
  transition: all .25s ease;
}

#scrollTopBtn i{
  font-size: 18px;
}

#scrollTopBtn:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

/* Mobile fine tune */
@media(max-width:768px){
  #scrollTopBtn{
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}


/* ===========================
   📱 RESPONSIVE
=========================== */
@media(max-width:992px){
  footer .footer-container { grid-template-columns:1fr 1fr; }
  .social-bar { justify-content:center; }
}

@media(max-width:768px){
  footer .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    text-align:left;
  }

  .footer-left, 
  .newsletter {
    grid-column: span 2; /* Yeh top aur bottom full width rahega */
    text-align: center;
  }
}



/* service */ 
/* --- GLOBAL IMPROVEMENTS --- */


/* --- HERO SECTION WITH WAVE --- */
.services-hero {
  position: relative;
  padding: 140px 20px 160px; /* Extra padding bottom for wave */
  background: linear-gradient(180deg,#00d4ff,#b38bff,#ff9bd7); /* More modern blue gradient */
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.services-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.services-hero p {
  font-size: 18px;
  max-width: 800px;
  margin: auto;
  opacity: 0.95;
  line-height: 1.6;
  font-weight: 400;
}

/* SVG Wave at Bottom */
.custom-shape-divider-bottom-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.custom-shape-divider-bottom-1 svg {
    position: relative;
    display: block;
    width: calc(138% + 1.3px);
    height: 100px;
}
.custom-shape-divider-bottom-1 .shape-fill {
    fill: #FFFFFF;
}

/* --- GRID LAYOUT --- */
.services-wrap {
  padding: 60px 20px 100px;
  background: #fff;
  position: relative;
  z-index: 2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: -80px auto 0; /* Cards overlap hero slightly for modern look */
  align-items: stretch;
}

/* --- PRO CARDS --- */
.service-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft premium shadow */
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Top Color Bar for each card */
.service-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: #eee;
}

/* Color Coding Classes */
.sb-ill::before { background: #FF9F43; } /* Orange */
.sb-cov::before { background: #54A0FF; } /* Blue */
.sb-fmt::before { background: #FF6B6B; } /* Red */
.sb-prt::before { background: #1DD1A1; } /* Green */
.sb-pub::before { background: #5f27cd; } /* Purple */

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-box img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 25px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-box:hover img {
  transform: scale(1.15); /* Icon Bounce Effect */
}

.service-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 15px;
}

.service-box p {
  font-size: 15px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Button Styling */
.service-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  background: #f3f4f6;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  margin-top: auto;
  align-self: center;
  transition: 0.3s;
}

.service-box a:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 5px 15px rgba(3, 164, 237, 0.3);
}

/* --- CTA SECTION --- */
.services-cta {
  padding: 100px 20px;
  text-align: center;
  background: #f9fafb;
  border-top: 1px solid #eee;
}

.services-cta h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111827;
}

.cta-btn-main {
  display: inline-block;
  padding: 16px 45px;
  border-radius: 50px;
  background: var(--primary);
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(3, 164, 237, 0.4);
  transition: 0.3s;
}
.cta-btn-main:hover {
  transform: translateY(-3px);
  background: var(--hover);
  box-shadow: 0 10px 25px rgba(254, 63, 64, 0.4);
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .services-grid { margin-top: -40px; }
    .custom-shape-divider-bottom-1 svg { height: 60px; }
    .services-hero { padding-bottom: 100px; }
}



/* illustration */


.card-thumbnails-box img,
.gallery-item img {
  user-select: none;
}
    /* Hero */
    .gallery-hero { padding: 140px 40px 40px; border-bottom: 1px solid #f3f4f6; display: flex; justify-content: space-between; align-items: center; }
    .hero-content h1 { font-size: 2rem; font-weight: 800; text-transform: uppercase; margin: 0; }
    .hero-content p { color: var(--text-secondary); margin-top: 5px; font-size: 1rem; }
    .back-btn { display: inline-block; padding: 8px 20px; background: #000; color: #fff; text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 0.8rem; transition: all 0.3s; }
    .back-btn:hover { opacity: 0.8; }

    /* Catalogue Grid */
    .collections-wrapper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 40px; width: 100%; box-sizing: border-box; }
    .collection-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; background: transparent !important; }
    .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; background: transparent !important; }
    .card-title { font-size: 1.1rem; font-weight: 700; text-transform: capitalize; margin: 0; color: #000; }
    .card-see-all { font-size: 0.8rem; font-weight: 600; padding: 5px 14px; border: 1px solid #e5e7eb; border-radius: 50px; color: #111; background: transparent; transition: all 0.2s; }
    .collection-card:hover .card-see-all { border-color: #000; background: #000; color: #fff; }
    
    /* Thumbnails */
    .card-thumbnails-box { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4px; aspect-ratio: 1 / 1; background: transparent !important; overflow: hidden; }
    .card-thumbnails-box > * {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
}
    .card-thumbnails-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
    .collection-card:hover .card-thumbnails-box img { transform: scale(1.05); }

    /* Internal Grid */
    .full-gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; padding: 40px; width: 100%; box-sizing: border-box; }
    .gallery-item { background: #f9f9f9; aspect-ratio: 1 / 1; overflow: hidden; cursor: zoom-in; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
    .gallery-item:hover img { transform: scale(1.1); }

    /* 🔥 UPDATED LIGHTBOX (Dark & Fitted) 🔥 */
    .image-modal { 
        position: fixed; inset: 0; 
        background: rgba(0, 0, 0, 0.95); /* Dark Background */
        z-index: 9999; display: none; align-items: center; justify-content: center; 
    }
    .image-modal.active { display: flex; }
    .modal-img { 
        width: auto; height: auto; 
        max-width: 95vw; max-height: 95vh; 
        object-fit: contain; 
        box-shadow: 0 0 50px rgba(0,0,0,0.5); /* Shadow sirf image pe */
    }
    .close-btn { position: fixed; top: 25px; right: 25px; font-size: 40px; cursor: pointer; color: #fff; line-height: 1; transition: 0.2s; }
    .close-btn:hover { transform: scale(1.1); color: #ccc; }
/* =========================
   📱 MOBILE (≤768px)
========================= */
@media (max-width: 768px) {

  /* Hero */
  .gallery-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 120px 16px 24px;
  }

  .hero-content h1 {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  /* Buttons */
  .back-btn {
    padding: 6px 14px;
    font-size: 0.7rem;
  }

  /* Category Grid */
  .collections-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 16px;
  }

  /* Thumbnail grid spacing */
  .card-thumbnails-box {
    gap: 6px;
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-see-all {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  /* Inner gallery */
  .full-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px 16px;
  }
}

/* =========================
   📱 SMALL MOBILE (≤480px)
========================= */
@media (max-width: 480px) {

  .gallery-hero {
    padding: 120px 14px 20px;
  }

  .hero-content h1 {
    font-size: 1.25rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .collections-wrapper {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .full-gallery-grid {
    grid-template-columns: 1fr;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-thumbnails-box {
    aspect-ratio: 1 / 1;
  }

  /* Lightbox close button */
  .close-btn {
    top: 16px;
    right: 16px;
    font-size: 32px;
  }
}


/* Formatting Page ke liye */
.formatting-page .gallery-item {
    aspect-ratio: 1 / 1.414; 
}

/* Book Cover Page ke liye */
.book-cover-page .gallery-item {
    aspect-ratio: 2 / 3;
}



/* price quote */ 

/* ===============================
   🌟 price-quote
   =============================== */


/* General Wrapper */
.gig-page-wrapper {
    padding: 120px 20px 60px;
    font-family: 'Inter', sans-serif;
    color: #333;
}
.gig-header { margin-bottom: 50px; }
.gig-header h1 { font-weight: 800; font-size: 2.8rem; margin-bottom: 10px; }
.gig-header p { color: #64748b; font-size: 1.1rem; }
.text-blue { color: #03a4ed; }
.text-green { color: #10b981; }

/* Grid System */
.gig-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Common Card Style */
.gig-card, .gig-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}

/* Step Badges */
.gig-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}
.step-badge {
    background: #e0f2fe;
    color: #03a4ed;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
}
.gig-card-header h3 { font-size: 1.25rem; font-weight: 700; margin: 0; color: #1e293b; }

/* --- VISUAL STYLE GRID (NEW) --- */
.style-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.style-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.style-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.style-card.active {
    border-color: #03a4ed;
    background: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(3, 164, 237, 0.2);
}

.style-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card-info h4 {
    font-size: 14px;
    margin: 0;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}
.price-tag {
    display: block;
    font-size: 14px;
    color: #03a4ed;
    font-weight: 700;
    margin-top: 5px;
}
.price-tag small { font-size: 11px; color: #64748b; font-weight: 400; }

/* Checkmark Icon */
.check-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #03a4ed;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transform: scale(0.5);
    transition: 0.2s;
}
.style-card.active .check-icon { opacity: 1; transform: scale(1); }

/* Quantity Controls */
.quantity-control {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.qty-btn {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: 0.2s;
}
.qty-btn:hover { background: #03a4ed; color: #fff; }
#quantityDisplay { font-size: 24px; font-weight: 700; width: 50px; text-align: center; }

.gig-slider {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}
.gig-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #03a4ed;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(3, 164, 237, 0.2);
}
.delivery-hint { text-align: center; margin-top: 15px; font-size: 14px; color: #64748b; }

/* Extras Grid */
.service-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.service-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
}
.service-item:hover { border-color: #cbd5e1; }
.service-item input:checked + .checkmark + .s-name { color: #03a4ed; font-weight: 700; }
.service-item input { margin-right: 12px; width: 18px; height: 18px; accent-color: #03a4ed; }
.s-name { font-size: 14px; font-weight: 600; flex: 1; }
.s-price { font-size: 14px; font-weight: 700; color: #64748b; }

/* --- STICKY SIDEBAR --- */
.gig-sidebar-wrapper {
    position: sticky;
    top: 100px;
}
.gig-sidebar { border: 2px solid #f1f5f9; padding: 0; overflow: hidden; }
.summary-header { background: #f8fafc; padding: 20px; border-bottom: 1px solid #e2e8f0; }
.summary-body { padding: 25px; }
.summary-list { list-style: none; padding: 0; margin: 0 0 20px 0; }
.summary-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #475569;
}
.li-price { font-weight: 600; color: #1e293b; }
.qty-badge { font-size: 11px; background: #eee; padding: 2px 6px; border-radius: 4px; margin-left: 5px; }
.summary-divider { height: 1px; background: #e2e8f0; margin: 15px 0; }
.price-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; color: #64748b; }
.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin-top: 10px;
}
.delivery-time {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 8px;
    border-radius: 6px;
}
.action-area { margin-top: 25px; min-height: 50px; }
#paypal-loader { text-align: center; font-size: 13px; color: #666; margin-bottom: 10px; }
.btn-checkout {
    width: 100%;
    background: #03a4ed;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}
.trust-badges { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; align-items: center; font-size: 12px; color: #94a3b8; }



    .custom-offer-box {
  margin-top:12px;
  padding:12px;
  background:#f7f8ff;
  border:1px dashed #cfd5ff;
  border-radius:12px;
  text-align:center;
  font-size:14px;
}

.custom-offer-link {
  display:inline-block;
  margin-top:6px;
  font-weight:600;
  color:#4a5cff;
  text-decoration:none;
}

.custom-offer-link:hover {
  text-decoration:underline;
}

    .view-samples-link{
  display:inline-block;
  margin-top:6px;
  font-size:13px;
  font-weight:600;
  color:#007bff;
  text-decoration:none;
}

.view-samples-link:hover{
  text-decoration:underline;
}

 .offer-box-live {
background: linear-gradient(135deg,#ff5f4d,#ff2f6d);
  color:#fff; /* 👈 main text white */
  padding:16px;
  border-radius:16px;
  margin-bottom:14px;
  box-shadow:0 10px 25px rgba(255,61,113,.25);
  font-family:Inter,sans-serif;
}

/* Title */
.offer-box-header {
  font-size:16px;
  font-weight:700;
  margin-bottom:6px;
  text-align:center;
  color:#fff; /* 👈 ensure white */
}

/* Message text */
.offer-box-text {
  font-size:14px;
  line-height:1.5;
  text-align:center;
  margin-bottom:8px;
  color:#fff; /* 👈 ensure white */
}

/* Timer bar */
.offer-box-live .offer-timer {
  background:rgba(255,255,255,.18);
  border-radius:8px;
  padding:6px;
  font-size:13px;
  font-weight:600;
  text-align:center;
  color:#fff; /* 👈 THIS IS MAIN FIX */
}

/* Countdown numbers */
.offer-box-live .offer-timer span,
#priceCountdown {
      font-size:18px; 
  color:#fff; /* 👈 force white countdown */
}


/* Responsive */
@media (max-width: 992px) {
    .gig-grid { grid-template-columns: 1fr; }
    .gig-sidebar-wrapper { position: static; }
}

@media (max-width: 768px) {
    .style-grid-container { grid-template-columns: repeat(2, 1fr); }
    .service-list-grid { grid-template-columns: 1fr; }
}


@media (max-width: 768px) {
  .page-wrapper,
  .gig-page-wrapper,
  .gig-options
  .gig-card
  .container {
    max-width: 100%;
    margin: auto;
    padding-left: 2px;
    padding-right: 2px;
  }
}
@media (max-width: 768px) {
  .gig-grid {
    display: flex;
    flex-direction: column;
  }

  .gig-sidebar-wrapper {
    order: -1;   /* 👈 Offer + Custom Offer goes TOP */
    margin-bottom: 20px;
  }
}

/* review */

    /* Container */
    .ios-wrapper {
        padding: 120px 20px 40px;
    }
    .page-wrapper,
    .gig-page-wrapper,
    .ios-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding-left: 4px;
        padding-right: 4px;
        width: 100%;
    }
    
    /* Hero Section */
    .ios-hero {
        text-align: center;
        margin-bottom: 50px;
    }
    .ios-hero h1 {
        font-size: 44px;
        font-weight: 700;
        letter-spacing: -0.5px;
        margin-bottom: 12px;
        color: #1D1D1F;
    }
    .ios-hero p {
        font-size: 19px;
        line-height: 1.5;
        color: #86868B; /* iOS Dark Grey */
        max-width: 650px;
        margin: 0 auto;
        font-weight: 400;
    }

    /* Google Section (App Store Style) */
    .google-card {
        background: #FFFFFF;
        border-radius: 20px;
        padding: 24px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.04);
        border: 1px solid rgba(0,0,0,0.04);
        margin-bottom: 40px;
    }
    .google-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .g-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;
        font-size: 16px;
    }
    .g-scroller {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none; /* Firefox */
    }
    .g-scroller::-webkit-scrollbar { display: none; } /* Chrome/Safari */
    
    .g-item {
        min-width: 280px;
        background: #F9F9F9;
        border-radius: 14px;
        padding: 18px;
        font-size: 14px;
    }

    /* Main Stats Bar */
    .stats-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-bottom: 40px;
        padding: 20px;
        background: white;
        border-radius: 100px; /* Pill shape */
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    .big-score { font-size: 32px; font-weight: 800; line-height: 1; }
    .total-count { font-size: 14px; color: #86868B; font-weight: 500; }

    /* Review Card (The Masterpiece) */
    .review-card-pro {
        background: #FFFFFF;
        border-radius: 24px;
        padding: 32px;
        margin-bottom: 24px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.04);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        border: 1px solid rgba(0,0,0,0.02);
        position: relative;
        overflow: hidden;
    }
    .review-card-pro:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 40px rgba(0,0,0,0.08);
    }

    /* Layout inside Card */
    .rc-header {
        display: flex;
        align-items: center;
        margin-bottom: 18px;
        gap: 16px;
    }
    
    /* AVATAR STYLING */
    .rc-avatar {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        flex-shrink: 0;
    }
    .rc-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .rc-meta { flex-grow: 1; }
    .rc-name {
        font-size: 18px;
        font-weight: 700;
        color: #1D1D1F;
        margin-bottom: 2px;
    }
    .rc-sub {
        font-size: 13px;
        color: #86868B;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .rc-stars {
        color: #FFB340; /* Gold */
        font-size: 14px;
        letter-spacing: 1px;
    }
    .rc-date {
        font-size: 13px;
        color: #B0B0B5;
        margin-left: auto; /* Push to right */
    }

    .rc-body {
        font-size: 16px;
        line-height: 1.6;
        color: #333;
        margin-bottom: 20px;
        font-weight: 400;
        font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, sans-serif;
    }

    /* Images Grid */
    .rc-gallery {
        display: flex;
        gap: 12px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    .rc-thumb {
        width: 90px;
        height: 90px;
        border-radius: 14px;
        object-fit: cover;
        cursor: pointer;
        border: 1px solid rgba(0,0,0,0.05);
        transition: opacity 0.2s;
    }
    
    .rc-thumb:hover { opacity: 0.85; }

    /* Admin Reply - iMessage Style */
    .admin-bubble {
        background: #F2F2F7;
        padding: 16px 20px;
        border-radius: 18px;
        border-top-left-radius: 4px; /* Speech bubble effect */
        margin-top: 10px;
        position: relative;
    }
    .admin-header {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 700;
        color: #86868B;
        margin-bottom: 6px;
        display: block;
    }
    .admin-text {
        font-size: 15px;
        color: #1D1D1F;
        line-height: 1.5;
    }

    /* Input Area */
    .reply-zone {
        margin-top: 15px;
        background: #fafafa;
        padding: 15px;
        border-radius: 16px;
        border: 1px dashed #ddd;
    }
    .reply-input {
        width: 100%;
        padding: 12px;
        border-radius: 10px;
        border: 1px solid #d1d1d6;
        font-size: 14px;
        outline: none;
        transition: border-color 0.2s;
    }
    .reply-input:focus { border-color: #0071E3; /* iOS Blue */ }
    
    .reply-btn {
        background: #0071E3; /* iOS Blue */
        color: white;
        border: none;
        padding: 8px 18px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        margin-top: 10px;
        cursor: pointer;
    }
    
    .gig-card:hover {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    .custom-offer-box {
        background: #f1f5f9; 
        border: 1px solid #e2e8f0;
        border-style: dashed;
    }
    .btn-checkout {
        transition: background 0.3s ease, transform 0.1s ease;
    }
    .btn-checkout:active {
        transform: scale(0.98);
    }
    
    /* Verified Badge */
    .verified-icon { color: #0071E3; font-size: 12px; }

    @media (max-width: 768px) {
        .gig-page-wrapper {
            padding: 80px 15px 40px; 
        }
    }
    /* Mobile Responsive */
    @media (max-width: 600px) {
        .ios-hero h1 { font-size: 32px; }
        .rc-header { flex-wrap: wrap; }
        .rc-date { width: 100%; margin-left: 0; margin-top: 5px; }
    }

    @media (max-width: 768px) {
        .page-wrapper,
        .gig-page-wrapper,
        .ios-wrapper {
            max-width: 100%;
            padding-left: 12px;
            padding-right: 12px;
        }
    }



/* book-print */

.kp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grad-text { background: linear-gradient(135deg, #2563eb, #ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; border: none; font-size: 15px; }
.btn--primary { background: var(--primary); color: white; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4); }
.btn--glass { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--dark); backdrop-filter: blur(10px); }
.btn--outline { background: transparent; border: 1px solid var(--border); color: var(--dark); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--full { width: 100%; }
.btn--sm { padding: 8px 16px; font-size: 14px; }

/* TABLE */
.kp-table { width: 100%; border-collapse: collapse; background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.kp-table th, .kp-table td { padding: 16px 24px; text-align: left; border-bottom: 1px solid #f1f5f9; font-size: 15px; }
.kp-table th { background: #f8fafc; font-weight: 700; color: #475569; text-transform: uppercase; font-size: 12px; letter-spacing: 0.5px; }
.specs-table-container { overflow-x: auto; margin-top: 30px; border-radius: 16px; border: 1px solid var(--border); }

/* SECTIONS */
.kp-hero { position: relative; padding: 140px 0 100px; overflow: hidden; }
.kp-glow-bg { position: absolute; top: -20%; left: -10%; width: 50%; height: 80%; background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(255,255,255,0) 70%); z-index: -1; pointer-events: none; }
.kp-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.kp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #eff6ff; color: var(--primary); border-radius: 99px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.kp-hero__title { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.1; margin: 0 0 24px; color: var(--dark); }
.kp-hero__sub { font-size: 1.125rem; line-height: 1.6; color: #64748b; margin-bottom: 32px; max-width: 500px; }
.kp-actions { display: flex; gap: 16px; align-items: center; }
.kp-trust-strip { margin-top: 40px; display: flex; gap: 24px; font-size: 14px; color: #64748b; font-weight: 500; }
.kp-trust-strip i { color: var(--primary); }

.kp-hero-visual { position: relative; display: flex; justify-content: center; }
.kp-glass-card { width: 320px; height: 400px; background: linear-gradient(145deg, rgba(255,255,255,0.6), rgba(255,255,255,0.3)); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.6); border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.kp-book-icon { font-size: 80px; color: var(--primary); margin: 20px 0; opacity: 0.8; }
.kp-caption { text-align: center; margin-top: 20px; font-style: italic; color: #475569; }
.kp-stat { position: absolute; background: white; padding: 10px 16px; border-radius: 12px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; top: 40px; left: -40px; }
.kp-stat-val { font-weight: 800; color: var(--dark); font-size: 18px; }
.kp-stat-label { font-size: 11px; color: #64748b; text-transform: uppercase; }

.kp-section { padding: 100px 0; }
.kp-section--alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kp-header-center { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.kp-header-center h2 { font-size: 2.5rem; font-weight: 800; margin: 0 0 12px; }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 24px; }
.bento-box { background: white; border: 1px solid var(--border); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.3s ease; }
.bento-box:hover { transform: translateY(-4px); border-color: var(--primary); }
.bento-large { grid-column: span 2; }
.bento-tall { grid-row: span 2; background: var(--dark); color: white; border: none; }
.bento-tall h3, .bento-tall ul { color: white; }
.bento-tall ul { padding-left: 20px; line-height: 2; opacity: 0.8; }
.bento-icon { width: 48px; height: 48px; background: #eff6ff; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 20px; margin-bottom: 20px; }
.bento-tall .bento-icon { background: rgba(255,255,255,0.1); color: white; }
.bento-box h3 { font-size: 1.25rem; margin: 0 0 8px; font-weight: 700; }
.bento-box p { font-size: 0.95rem; color: #64748b; margin: 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.p-card { background: white; border-radius: 24px; padding: 40px; border: 1px solid var(--border); position: relative; }
.p-card--featured { border: 2px solid var(--primary); background: #f8fbff; transform: scale(1.02); }
.p-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; font-size: 12px; padding: 4px 12px; border-radius: 99px; font-weight: 700; }
.p-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.p-header h4 { margin: 0; font-size: 1.2rem; font-weight: 600; }
.p-price { font-size: 24px; font-weight: 800; color: var(--dark); }
.p-price span { font-size: 14px; color: #64748b; font-weight: 400; }
.p-desc { color: #64748b; font-size: 14px; margin-bottom: 24px; }
.p-features { list-style: none; padding: 0; margin: 0 0 32px; font-size: 15px; color: var(--dark); }
.p-features li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; }

/* MODAL */
.pc-modal { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px); z-index: 2147483647; display: none; align-items: center; justify-content: center; }
.pc-box { width: 90%; max-width: 480px; background: #ffffff; border-radius: 24px; padding: 0; z-index: 2147483647 !important; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); overflow: hidden; animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideUp { from { transform: translateY(40px) scale(0.95); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.pc-head { padding: 20px 24px; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; background: #fafafa; }
.pc-head h3 { margin: 0; font-size: 16px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.pc-close { background: none; border: none; font-size: 24px; color: #94a3b8; cursor: pointer; }
.pc-grid { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc-field { display: flex; flex-direction: column; gap: 6px; }
.pc-field label { font-size: 12px; font-weight: 600; text-transform: uppercase; color: #64748b; letter-spacing: 0.5px; }
.pc-field select, .pc-field input { padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; outline: none; transition: 0.2s; background: white; width: 100%; font-family: var(--font-main); }
.pc-result-panel { background: #eff6ff; margin: 0 24px 24px; padding: 20px; border-radius: 16px; text-align: center; border: 1px solid #dbeafe; }
.pc-price-tag { font-size: 32px; font-weight: 800; color: var(--dark); letter-spacing: -1px; }
.pc-note { font-size: 11px; color: #64748b; margin: 4px 0 0; }
.pc-box .btn { margin: 0 24px 24px; width: calc(100% - 48px); }

.floating-dock { display: none; position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1000; width: 90%; max-width: 400px; }
.dock-content { background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(12px); padding: 10px 10px 10px 20px; border-radius: 99px; display: flex; align-items: center; justify-content: space-between; }
.dock-info span { display: block; color: white; font-weight: 600; font-size: 14px; }
.dock-info small { color: #94a3b8; font-size: 11px; }

@media (max-width: 900px) {
  .kp-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .kp-hero__title { font-size: 2.8rem; }
  .kp-hero-visual { display: none; } 
  .kp-actions { justify-content: center; }
  .floating-dock { display: block; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-tall { grid-column: auto; grid-row: auto; }
}


/* KPD calculator */ 
    :root { --brand: #1dbf73; --dark: #1f2937; --border: #e5e7eb; --bg: #f9fafb; }
    * { box-sizing: border-box; }
    
    /* Removed redundant Body margin/padding because Header handles it */
    .calc-container { 
        max-width: 1350px; 
        margin: 120px auto; /* Centered with margin */
        background: white; 
        padding: 40px; 
        border: 1px solid var(--border); 
        border-radius: 8px; 
        font-family: 'Inter', sans-serif;
    }

    /* Style section me ye add kar do */
.ad-slot {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    background: #fdfdfd;
    border: 1px dashed #ccc;
    border-radius: 8px;
}
.ad-label {
    display: block;
    font-size: 10px;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
}
    /* INTRO HEADER */
    .intro-box { text-align: center; margin-bottom: 35px; border-bottom: 1px solid var(--border); padding-bottom: 0px; }
    .intro-box h1 { margin: 0 0 10px; color: var(--dark); font-size: 28px; }
    .intro-box p { color: #6b7280; font-size: 16px; margin: 0 0 20px; }
    .features { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
    .badge { background: #ecfdf5; color: #065f46; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid #a7f3d0; }

    /* DISCLAIMER */
    .disclaimer { background: #fff3cd; border-left: 5px solid #f59e0b; padding: 15px; font-size: 13px; color: #856404; margin-bottom: 25px; border-radius: 4px; }

    /* FORM */
    .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .calc-container label { font-weight: 700; font-size: 13px; color: #4b5563; display: block; margin-bottom: 6px; }
    .calc-container select, .calc-container input { width: 100%; padding: 10px; background: var(--bg); border: 1px solid #d1d5db; border-radius: 6px; }
    .btn-primary { width: 100%; background: var(--brand); color: white; padding: 12px; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; margin-top: 20px; transition:0.2s; }
    .btn-primary:hover { opacity: 0.9; }
    .btn-disabled { background: #e5e7eb; color: #9ca3af; cursor: not-allowed; }

    /* CUSTOM INPUTS */
    #customSizeBox { display: <?= ($selTrim === 'custom') ? 'flex' : 'none' ?>; gap: 10px; margin-top: 10px; }
    .custom-field { flex: 1; }

    /* SPECS TABLE */
    .specs-table { width: 100%; border-collapse: collapse; margin: 30px 0; font-size: 14px; border: 1px solid var(--border); }
    .specs-table th { background: #f3f4f6; text-align: left; padding: 10px; border-bottom: 2px solid var(--border); }
    .specs-table td { padding: 8px 10px; border-bottom: 1px solid #eee; }

    /* CHECKBOXES */
    .final-confirmation { background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; padding: 20px; margin: 24px 0; }
    .final-confirmation h4 { margin: 0 0 15px; font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--dark); }
    .confirm-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; cursor: pointer; }
    .confirm-item input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--brand); cursor: pointer; }
    .confirm-item span { font-size: 15px; color: #1f2937; line-height: 1.5; }

    /* UTILS */
    .preview-img { width: 100%; border: 1px solid #ddd; margin-top: 15px; }
    .compare-section { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 20px; }
    .layer-box { position: relative; border: 1px solid #999; background: #eee; min-height: 200px; }
    .layer-box img { width: 100%; display: block; }
    .layer-top { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0.5; display: none; }
    /* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .calc-container {
        margin: 100px 0px 40px; /* Top margin kam kiya, sides me gap diya */
        padding: 20px;          /* Padding 40px se 20px kar di */
        width: auto;
    }

    .calc-grid {
        grid-template-columns: 1fr; /* 2 Columns ko 1 Column (Stack) kiya */
        gap: 15px;
    }

    .intro-box h1 {
        font-size: 22px; /* Heading size chhota kiya */
    }

    .features {
        gap: 8px;
    }

    .badge {
        font-size: 11px;
        padding: 4px 8px;
    }

    .specs-table {
        font-size: 12px; /* Table text thoda chhota */
    }

    .specs-table th, 
    .specs-table td {
        padding: 8px 4px; /* Table cell spacing kam ki */
    }
    
    /* Buttons grid (Jo neeche add kiya tha) */
    .calc-container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important; /* Download buttons ko bhi stack kiya */
    }
}


