/* ============================================================
   Dwarkesh Digi Pvt Ltd — BizNext Style Template
   Color Palette: Deep Midnight Navy, Electric Blue & Neon Cyan
   Device-Friendly Responsive Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --biz-bg:          #080c16;
  --biz-bg-dark:     #050810;
  --biz-card-dark:   #0f172a;
  --biz-card-light:  #ffffff;
  --biz-blue:        #2563eb;
  --biz-electric:    #0066ff;
  --biz-cyan:        #00d2ff;
  --biz-border:      rgba(37, 99, 235, 0.20);
  --biz-border-hover:rgba(0, 210, 255, 0.45);
}

/* ---- Base & Reset ---- */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--biz-bg);
  color: #f1f5f9;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* ---- Custom Touch-Friendly Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #080c16; }
::-webkit-scrollbar-thumb { background: #2563eb; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #00d2ff; }

/* ============================================================
   BACKGROUND & AMBIENT GLOWS
   ============================================================ */

.site-bg {
  background: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 102, 255, 0.25) 0%, transparent 65%),
    radial-gradient(ellipse 60% 45% at 85% 40%, rgba(0, 210, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 15% 75%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    #080c16;
  background-attachment: scroll;
}

@media (min-width: 768px) {
  .site-bg {
    background-attachment: fixed;
  }
}

.ambient-glow-blue {
  background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0%, transparent 70%);
}

.ambient-glow-cyan {
  background: radial-gradient(circle, rgba(0, 210, 255, 0.20) 0%, transparent 70%);
}

/* Responsive grid background pattern */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
@media (min-width: 640px) {
  .bg-grid-pattern {
    background-size: 30px 30px;
  }
}

/* ============================================================
   NAVIGATION & TOUCH TARGETS
   ============================================================ */

.glass-nav {
  background: rgba(8, 12, 22, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Minimum tap target sizing for accessibility */
button, 
a, 
input, 
select, 
textarea {
  touch-action: manipulation;
}

/* ============================================================
   CLEAN & PROFESSIONAL BRAND LOGO BADGE
   ============================================================ */

.brand-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 0.85rem;
  padding: 5px 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25),
              0 0 15px rgba(0, 102, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3),
              0 0 20px rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.6);
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 640px) {
  .brand-logo-img {
    height: 48px;
  }
}

/* ============================================================
   GRADIENT TEXT
   ============================================================ */

.gradient-blue-text {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-cyan-text {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 60%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   TEMPLATE FEATURE CARDS (Responsive Grid & Hover)
   ============================================================ */

.hero-feature-card {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border-radius: 1.25rem;
  padding: 1.25rem 0.85rem;
  text-align: center;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

@media (min-width: 640px) {
  .hero-feature-card {
    padding: 1.5rem 1.25rem;
    min-height: 140px;
  }
}

.hero-feature-card:hover,
.hero-feature-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -10px rgba(0, 102, 255, 0.4);
}

.hero-feature-card.active-card {
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
  color: #ffffff;
  border: 1px solid rgba(0, 210, 255, 0.4);
  box-shadow: 0 20px 45px -10px rgba(0, 102, 255, 0.5),
              0 0 25px rgba(0, 210, 255, 0.3);
}

/* ============================================================
   BOTTOM STATS ACTION BAR (Device Friendly)
   ============================================================ */

.hero-stats-bar {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
  .hero-stats-bar {
    border-radius: 9999px;
    padding: 0.85rem 1.75rem;
  }
}

/* ============================================================
   PILL BUTTONS (Touch Optimized)
   ============================================================ */

.btn-pill-blue {
  background: linear-gradient(135deg, #0066ff 0%, #00d2ff 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 9999px;
  padding: 12px 24px;
  min-height: 44px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-pill-blue:hover,
.btn-pill-blue:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.7);
  color: #ffffff !important;
}

.btn-pill-green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 9999px;
  padding: 12px 24px;
  min-height: 44px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-pill-green:hover,
.btn-pill-green:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.7);
  color: #ffffff !important;
}

.btn-pill-outline {
  background: transparent;
  color: #f1f5f9;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  border-radius: 9999px;
  padding: 12px 24px;
  min-height: 44px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-pill-outline:hover,
.btn-pill-outline:focus-visible {
  border-color: #00d2ff;
  background: rgba(0, 210, 255, 0.1);
  color: #38bdf8;
  transform: translateY(-2px);
}

/* ============================================================
   GLASS CARDS & PANELS
   ============================================================ */

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.35s ease;
}

.glass-card:hover {
  border-color: rgba(0, 210, 255, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 35px -12px rgba(0, 102, 255, 0.30);
}

.glass-panel {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */

.service-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.50);
  box-shadow: 0 20px 40px -12px rgba(0, 102, 255, 0.35);
}

.service-card .card-img img {
  transition: transform 0.7s ease, opacity 0.5s ease;
}
.service-card:hover .card-img img {
  transform: scale(1.08);
  opacity: 0.50 !important;
}

/* ============================================================
   SECTION LABELS
   ============================================================ */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 210, 255, 0.35);
  background: rgba(0, 102, 255, 0.12);
  color: #38bdf8;
}

/* ============================================================
   ANIMATIONS & FLOATING WIDGET
   ============================================================ */

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
.animate-float { animation: floatSlow 6s ease-in-out infinite; }

#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
}

/* ============================================================
   OUR WORK & CLIENT PORTFOLIO SHOWCASE (MODERN LOGO TILES)
   ============================================================ */

.portfolio-logo-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.20);
  border-radius: 1.25rem;
  padding: 0.85rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  cursor: default;
  position: relative;
  user-select: none;
}

@media (min-width: 640px) {
  .portfolio-logo-card {
    border-radius: 1.5rem;
    padding: 1rem;
  }
}

.portfolio-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.45);
  box-shadow: 0 12px 28px -10px rgba(0, 102, 255, 0.22),
              0 0 15px rgba(0, 210, 255, 0.10);
}

.portfolio-logo-stage {
  background: #ffffff;
  border-radius: 0.95rem;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .portfolio-logo-stage {
    height: 140px;
    padding: 1.25rem;
    border-radius: 1.15rem;
  }
}

.portfolio-logo-stage img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.portfolio-logo-card:hover .portfolio-logo-stage img {
  transform: scale(1.08);
}

.portfolio-logo-stage.bg-vatika {
  background: #a15641;
}

.portfolio-logo-stage.bg-dark {
  background: #0f172a;
}

.work-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.20);
  border-radius: 1.5rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.45);
  box-shadow: 0 20px 45px -15px rgba(0, 102, 255, 0.25),
              0 0 25px rgba(0, 210, 255, 0.10);
}

.work-img-box {
  background: #ffffff;
  border-radius: 1.15rem;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.work-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.work-card:hover .work-img-box img {
  transform: scale(1.06);
}

/* Specific styling for colored background images like Royal Vatika */
.work-img-box.bg-vatika {
  background: #a15641;
}

.portfolio-filter-btn {
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.hidden-item {
  display: none !important;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeInScale 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Lightbox Modal */
.work-lightbox-backdrop {
  background: rgba(4, 7, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Responsive fixes for small mobile devices (<480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  .hero-stats-bar {
    text-align: center;
  }
  .btn-pill-blue,
  .btn-pill-green,
  .btn-pill-outline {
    width: 100%;
  }
}

/* ============================================================
   INTERNSHIP PROGRAM PORTFOLIO SECTION STYLES
   ============================================================ */

.gradient-gold-text {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-pill-gold {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  color: #080c16 !important;
  font-weight: 800;
  border-radius: 9999px;
  padding: 12px 24px;
  min-height: 44px;
  transition: all 0.3s ease;
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-pill-gold:hover,
.btn-pill-gold:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(251, 191, 36, 0.6);
  color: #080c16 !important;
}

.internship-domain-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(10, 17, 34, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.internship-domain-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 18px 40px -12px rgba(217, 119, 6, 0.22),
              0 0 25px rgba(0, 210, 255, 0.12);
}

.internship-package-card {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.75rem;
  padding: 2rem 1.75rem;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.internship-package-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.45);
}

.internship-package-recommended {
  background: linear-gradient(165deg, rgba(15, 29, 64, 0.96) 0%, rgba(9, 17, 38, 0.98) 100%);
  border: 2px solid rgba(245, 158, 11, 0.75);
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.22),
              0 0 35px rgba(37, 99, 235, 0.25);
}

.internship-package-recommended:hover {
  border-color: #fbbf24;
  box-shadow: 0 28px 55px -12px rgba(245, 158, 11, 0.32),
              0 0 40px rgba(0, 210, 255, 0.25);
}

.specimen-paper {
  background: linear-gradient(180deg, #fffdf7 0%, #fcf6e8 100%);
  color: #0f172a;
  position: relative;
  overflow: hidden;
}

.specimen-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: rgba(15, 23, 42, 0.055);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}


