/**
 * OM SAI TECHNICAL INSTITUTE (OM SAI TTTC) - SIWAN, BIHAR
 * Overseas Recruitment Agent & Trade Testing Consultancy
 * Brand Colors: Deep Royal Navy #1e3a8a, Vibrant Blue #2563eb, Amber Gold #f59e0b, Midnight #0f172a
 * Contact: omsaitttc@gmail.com | +91 9576141136, +91 7992440102
 */

:root {
  --agent-navy: #0f172a;       /* Deep Slate Charcoal for Headings & Titles */
  --agent-primary: #0f172a;    /* Clean Primary Slate */
  --agent-blue: #1e40af;       /* Classic Refined Royal Blue Accent */
  --agent-blue-dark: #1e3a8a;  /* Deep Royal Navy */
  --agent-blue-light: #3b82f6;
  --agent-gold: #f59e0b;       /* Warm Amber Gold */
  --agent-gold-dark: #d97706;
  --agent-dark: #0a0f1d;       /* Footer Midnight */
  --agent-bg: #f8fafc;         /* Crisp Light Gray */
  --text-main: #334155;        /* Clean Charcoal Slate for Body Text */
  --text-heading: #0f172a;     /* Deep Slate for all Headings */
  --text-muted: #64748b;       /* Balanced Gray for Subtitles */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', var(--font-main);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: #060a12;
}

/* Ensure smooth section scrolling with sticky header offset */
section, .feature-2-area, .gallery-section, .whatsapp-channel-section, .contact-section {
  scroll-margin-top: 85px;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

p {
  line-height: 1.68;
  margin-bottom: 14px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.auto-container, .container {
  max-width: 1320px;
  padding: 0 15px;
  margin: 0 auto;
}

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.text-center {
  text-align: center;
}

.text-end {
  text-align: right;
}

.text-white {
  color: #ffffff !important;
}

.site-title h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -0.4px;
}

.site-subtitle {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.98rem;
  margin-top: 4px;
  margin-bottom: 14px;
  line-height: 1.55;
}

.about-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--text-heading);
}

/* ==========================================================================
   HEADER TOP BAR (AGENT SLATE NAVY WITH VIBRANT BLUE PILL)
   ========================================================================== */
.main-header {
  position: relative;
  width: 100%;
  z-index: 1001;
}

.header-top {
  background-color: var(--agent-navy);
  padding: 10px 0;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-list_outer {
  position: relative;
  border-radius: 50px;
}

.header-top_list {
  padding: 7px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
}

.header-top_list li {
  line-height: 14px;
  font-weight: 500;
  font-size: 13.5px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #cbd5e1;
}

.header-top_list li a {
  color: #f1f5f9;
  transition: color 0.2s ease;
}

.header-top_list li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Top Bar Action Pills (Channel & Message) */
.top-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  line-height: 1.2;
}

.top-nav-btn.channel-pill {
  background: rgba(37, 211, 102, 0.16);
  color: #25d366 !important;
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.top-nav-btn.channel-pill:hover {
  background: #25d366;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.top-nav-btn.channel-pill i {
  font-size: 14px;
}

.top-nav-btn.chat-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.top-nav-btn.chat-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.top-nav-btn.chat-pill i {
  color: #25d366;
  font-size: 13px;
}

.header-top_socials {
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
}

.social-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
}

.social-inner a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 12.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-inner a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   HEADER LOWER (FLOATING PILL NAVBAR)
   ========================================================================== */
.header-lower {
  position: relative;
  padding: 10px 0;
  background: #ffffff;
  transition: all 400ms ease;
}

.header-lower.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
  padding: 6px 0;
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-lower .inner-container {
  padding: 8px 24px;
  border-radius: 50px;
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* Matching Branded Background Container for Navbar Logo */
.brand-logo-wrap {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 70%, #070d1e 100%);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--agent-gold);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-link:hover .brand-logo-wrap {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35), 0 0 0 2px var(--agent-gold);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  margin: 0;
  line-height: 1.2;
}

.brand-name span {
  color: #1e3a8a;
  font-weight: 700;
}

.brand-sub {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
}

.navigation .nav-link {
  color: #334155;
  text-decoration: none;
  padding: 8px 0;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.navigation .nav-link:hover,
.navigation .nav-link.active {
  border-bottom-color: #0f172a;
  color: #0f172a;
  font-weight: 700;
}

.header-institute-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-tag {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-tag i {
  color: #1e3a8a;
}

/* Mobile Toggle */
.mobile-nav-toggler {
  display: none;
}

.hamburger-icon {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger-icon span {
  background: var(--agent-navy);
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  left: 0;
  transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 9px; }
.hamburger-icon span:nth-child(3) { top: 18px; }

.hamburger-icon.open span:nth-child(1) { top: 9px; transform: rotate(135deg); }
.hamburger-icon.open span:nth-child(2) { opacity: 0; }
.hamburger-icon.open span:nth-child(3) { top: 9px; transform: rotate(-135deg); }

/* ==========================================================================
   MOBILE DROPDOWN MENU
   ========================================================================== */
.mobile-dropdown {
  display: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  margin-top: 10px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.mobile-dropdown.show {
  display: block;
  animation: fadeInDown 0.25s ease forwards;
}

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

.mobile-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-dropdown li {
  border-bottom: 1px solid #f1f5f9;
}

.mobile-dropdown li:last-child {
  border-bottom: none;
}

.mobile-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  color: var(--agent-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.mobile-dropdown a:hover, .mobile-dropdown a:active {
  background: #f8fafc;
  color: var(--agent-blue);
  padding-left: 24px;
}

/* ==========================================================================
   HERO VIDEO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  background: #000000;
  overflow: hidden;
  max-height: 600px;
}

#heroVideo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 360px;
}

.hero-overlay-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-overlay-badge i {
  color: var(--agent-gold);
}

.mute-toggle {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mute-toggle:hover {
  background: var(--agent-blue);
  color: #ffffff;
}

/* ==========================================================================
   FUN FACTS / AGENT HIGHLIGHTS
   ========================================================================== */
.feature-2-wpr.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-2-box {
  text-align: center;
  padding: 10px 5px;
}

.fun-fact {
  background: #ffffff;
  padding: 24px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--agent-blue);
  transition: var(--transition);
}

.fun-fact:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
  border-color: var(--agent-blue);
}

.fun-desc b p {
  margin: 0;
  font-family: var(--font-heading);
}

.fun-desc .medium {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: #475569;
  margin-top: 6px;
  text-transform: capitalize;
}

/* ==========================================================================
   ABOUT QUOTE AREA (ROYAL NAVY AGENT BANNER)
   ========================================================================== */
.about-2-area {
  background: linear-gradient(135deg, var(--agent-navy) 0%, var(--agent-primary) 100%) !important;
  color: #ffffff;
  border-top: 3px solid var(--agent-gold);
  border-bottom: 3px solid var(--agent-gold);
}

.about-txt {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 2.1rem;
}

/* ==========================================================================
   SERVICES (TRADE CATEGORIES FOR CANDIDATES)
   ========================================================================== */
.service-area {
  background-color: var(--agent-bg);
  padding: 70px 0;
}

.service-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.15);
  border-color: var(--agent-blue);
}

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

.service-title {
  padding: 1rem;
  background: #ffffff;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--agent-navy);
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.service-title i {
  color: var(--agent-blue);
  font-size: 0.9rem;
}

/* ==========================================================================
   FEATURE (GOVT APPROVED AGENT & PILLARS)
   ========================================================================== */
.feature-2-area {
  padding: 70px 0;
  background: #ffffff;
}

.pillar-label {
  display: block;
  background: #ffffff;
  padding: 20px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--agent-blue);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--agent-navy);
  text-align: center;
  line-height: 1.4;
  transition: var(--transition);
}

.pillar-label:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
  border-left-color: var(--agent-gold);
}

.year-text.grid-2 {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

/* ==========================================================================
   JOBS SECTION (FRESHERS & EXPERIENCED WELCOME)
   ========================================================================== */
.jobs-section {
  padding: 70px 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.job-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
  position: relative;
}

.job-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
  border-color: var(--agent-blue);
}

.job-country {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--agent-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-item-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--agent-navy);
  margin-bottom: 8px;
}

.job-meta {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 12px;
}

.job-tag {
  display: inline-block;
  background: #f1f5f9;
  color: #334155;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.job-tag.fresher-friendly {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.tm-btn-sm {
  display: inline-block;
  background: #0f172a;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.tm-btn-sm:hover {
  background: #1e3a8a;
  color: #ffffff;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 70px 0;
  background: var(--agent-bg);
}

.contact-box-oscars {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.c-info-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.c-info-line:last-child {
  margin-bottom: 0;
}

.c-info-line i {
  font-size: 1.25rem;
  color: #1e40af;
  margin-top: 4px;
  flex-shrink: 0;
}

.c-info-line strong {
  display: block;
  font-size: 0.96rem;
  color: var(--agent-navy);
  margin-bottom: 5px;
  line-height: 1.4;
}

.c-info-line p, .c-info-line a {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.68;
  margin: 0;
}

.contact-form-oscars {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  border-top: 4px solid #1e40af;
}

.contact-form-oscars h3 {
  margin-bottom: 8px;
  line-height: 1.35;
}

.contact-form-oscars p {
  margin-bottom: 20px;
  line-height: 1.65;
}

/* Consistent Form Grid Layout (gap: 22px) */
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.form-col-half {
  grid-column: span 1;
}

.form-col-full {
  grid-column: span 2;
}

.form-group-oscars {
  display: flex;
  flex-direction: column;
  gap: 8px; /* Exactly 8px between label and input */
}

.form-resume-group {
  margin-top: 8px; /* 22px grid gap + 8px = exactly 30px space between Experience & Resume */
}

.contact-form-oscars label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0;
  display: block;
  line-height: 1.45;
}

.form-control-oscars {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-main);
  transition: var(--transition);
}

.form-control-oscars:focus {
  outline: none;
  background: #ffffff;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}

/* ==========================================================================
   COLORFUL INTERACTIVE RESUME UPLOAD CARD
   ========================================================================== */
.resume-upload-card {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 55%, #fefce8 100%);
  border: 2px dashed #3b82f6;
  border-radius: 12px;
  padding: 22px; /* 20-24px internal padding */
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
  margin-top: 0;
  transition: all 0.3s ease;
}

.resume-upload-card:hover {
  border-color: #1e40af;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.14);
}

.upload-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
}

.resume-card-header {
  margin-bottom: 14px; /* 12-16px gap to dropzone */
}

.resume-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px; /* Generous comfortable space between arrow box and Upload Resume text */
}

.upload-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
}

.upload-card-title {
  font-weight: 800;
  font-size: 0.94rem;
  color: #0f172a;
  line-height: 1.4;
  display: block;
  margin-bottom: 3px;
}

.upload-optional-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e40af;
  background: #dbeafe;
  padding: 1px 6px;
  border-radius: 20px;
  display: inline-block;
  line-height: 1.2;
}

.upload-format-badges {
  display: flex;
  gap: 4px;
}

.fmt-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid #bbf7d0;
  line-height: 1.2;
}

.fmt-pill.max-sz {
  color: #854d0e;
  background: #fef9c3;
  border-color: #fef08a;
}

.resume-dropzone {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #bfdbfe;
  border-radius: 9px;
  padding: 12px 14px;
  margin: 0 0 14px 0; /* 12-16px gap to footer notice */
  cursor: pointer;
  transition: all 0.25s ease;
}

.resume-dropzone:hover,
.resume-dropzone.dragover {
  border-color: #2563eb;
  background: #f8faff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.resume-dropzone.has-file {
  border-color: #10b981;
  background: #f0fdf4;
}

.resume-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.dropzone-default-view {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.dropzone-cloud-icon {
  font-size: 1.4rem;
  color: #3b82f6;
}

.btn-browse-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #ffffff;
  padding: 5px 13px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 2px 7px rgba(37, 99, 235, 0.25);
  pointer-events: none;
}

.dropzone-hint {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

.selected-file-notice {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 5px 10px;
  border-radius: 7px;
}

.selected-file-name {
  word-break: break-all;
  font-size: 0.82rem;
}

.btn-clear-file {
  background: #fee2e2;
  border: none;
  color: #dc2626;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  z-index: 10;
  position: relative;
  transition: all 0.2s ease;
}

.btn-clear-file:hover {
  background: #fca5a5;
  color: #991b1b;
}

.upload-footer-notice {
  font-size: 0.8rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.55;
  margin-top: 6px;
}

.upload-footer-notice i {
  color: #16a34a;
  font-size: 0.85rem;
}

.tm-btn {
  background-color: #0f172a;
  color: #ffffff;
  border-radius: 30px;
  padding: 0.7rem 1.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.tm-btn:hover {
  background-color: #1e3a8a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.25);
}

/* ==========================================================================
   FOOTER (MIDNIGHT NAVY & GOLD)
   ========================================================================== */
footer {
  background-color: var(--agent-dark);
  color: #ffffff;
}

/* Matching Branded Background Container for Footer Logo */
.footer-logo-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1e3a8a 0%, #0f172a 70%, #060a14 100%);
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--agent-gold);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.3), 0 8px 24px rgba(0, 0, 0, 0.5);
  margin: 0 auto 14px auto;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo-wrap:hover {
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.5), 0 10px 28px rgba(0, 0, 0, 0.6);
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.footer-widget-wpr {
  padding-bottom: 2.5rem;
  padding-top: 3rem;
}

.footer-flex-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-section {
  flex: 1 1 28%;
  max-width: 32%;
  min-width: 250px;
}

.footer-widget-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 6px;
  line-height: 1.35;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--agent-gold);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.65rem;
  line-height: 1.65;
}

.footer-list li a {
  color: #cbd5e1;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 3px;
  transition: all 0.3s ease;
  font-size: 0.94rem;
}

.footer-list li a i {
  color: var(--agent-gold);
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

.footer-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.copyright {
  background: #060a12;
  padding: 20px 0;
  border-top: 1px solid #111827;
}

.copyright-link {
  color: var(--agent-gold);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.copyright-link:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-social {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 12px;
}

.footer-social li a {
  color: #cbd5e1;
  font-size: 1.15rem;
}

.footer-social li a:hover {
  color: var(--agent-gold);
}

/* Scroll top */
#scrtop {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--agent-blue);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 990;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  transition: var(--transition);
}

#scrtop:hover {
  background: var(--agent-gold);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Floating Mobile Bar */
.floating-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 8px 12px;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.1);
  z-index: 999;
  gap: 10px;
}

.floating-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 50px;
}

.floating-mobile-bar .call-btn {
  background: var(--agent-navy);
  color: #ffffff;
}

.floating-mobile-bar .wa-btn {
  background: #25d366;
  color: #ffffff;
}

/* Toast */
.toast-notice {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ffffff;
  border-left: 5px solid #16a34a;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  transform: translateY(-100px);
  opacity: 0;
  transition: all 0.4s ease;
  font-size: 0.92rem;
  font-weight: 600;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notice i {
  font-size: 1.3rem;
  color: #16a34a;
}

/* ==========================================================================
   PHOTO GALLERY SECTION (PURE IMAGES)
   ========================================================================== */
.gallery-section {
  padding: 60px 0 70px 0;
  background-color: var(--agent-bg);
  border-top: 1px solid #e2e8f0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  height: 220px;
  background: #0f172a;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.16);
  border-color: var(--agent-blue);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.07);
}

/* ==========================================================================
   OFFICIAL WHATSAPP CHANNEL SECTION
   ========================================================================== */
.whatsapp-channel-section {
  padding: 60px 0 70px 0;
  background: #f8fafc;
  position: relative;
}

.channel-wrapper {
  background: linear-gradient(135deg, #091325 0%, #0f172a 55%, #064e3b 100%);
  border-radius: 24px;
  padding: 48px 42px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.channel-wrapper::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.channel-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.35);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.channel-heading {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 14px;
}

.channel-heading span {
  color: #ffffff;
}

.channel-description {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 600px;
}

.channel-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #f1f5f9;
  font-weight: 600;
}

.benefit-item i {
  color: #25d366;
}

.channel-actions {
  margin-top: 10px;
}

.channel-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.channel-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
  color: #ffffff !important;
}

.channel-btn-primary i {
  font-size: 1.3rem;
}

.channel-qr-instruction {
  font-size: 0.88rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.channel-qr-card {
  display: inline-block;
  background: #ffffff;
  padding: 12px;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 290px;
  width: 100%;
}

.channel-qr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(37, 211, 102, 0.45), 0 0 0 3px #25d366;
}

.channel-qr-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.qr-tap-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   MASTER RESPONSIVE SYSTEM
   ========================================================================== */

/* Prevent Horizontal Overflow Globally */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100%;
  position: relative;
}

img, video, iframe {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   1. LAPTOPS & SMALL DESKTOPS (<= 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .navigation {
    gap: 1.2rem;
  }
  .navigation .nav-link {
    font-size: 0.9rem;
  }
  .badge-tag {
    display: none; /* Keep call button spacious and prevent navbar wrapping */
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .gallery-card {
    height: 190px;
  }
}

/* --------------------------------------------------------------------------
   2. TABLETS & IPADS (<= 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  /* Header Top & Main Nav */
  .header-top {
    display: none !important;
  }
  .nav-outer {
    display: none !important;
  }
  .badge-tag {
    display: none !important;
  }
  .mobile-nav-toggler {
    display: block !important;
  }
  .header-institute-badge {
    display: flex !important;
  }
  .header-institute-badge .tm-btn-sm {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .header-lower .inner-container {
    padding: 8px 18px;
    border-radius: 40px;
  }

  /* Hero Video */
  #heroVideo {
    min-height: 280px;
  }
  .hero-overlay-badge {
    bottom: 16px;
    left: 16px;
    font-size: 0.82rem;
    padding: 8px 14px;
    max-width: calc(100% - 80px);
  }
  .mute-toggle {
    bottom: 16px;
    right: 16px;
  }

  /* About Us */
  .year-text.grid-2 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .year img {
    max-height: 340px;
    width: 100%;
  }

  /* Photo Gallery (3 Columns on Tablets) */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .gallery-card {
    height: 170px;
  }

  /* WhatsApp Channel Banner */
  .channel-wrapper {
    padding: 36px 26px;
    border-radius: 20px;
  }
  .channel-heading {
    font-size: 1.75rem;
  }
  .channel-benefits {
    justify-content: center;
  }
  .channel-qr-card {
    max-width: 250px;
    margin: 16px auto 0 auto;
  }

  /* Contact Us */
  .contact-section .row.g-5 {
    gap: 2rem;
  }
  .contact-box-oscars {
    margin-bottom: 10px;
  }

  /* Footer */
  .footer-section {
    flex: 1 1 45%;
    max-width: 48%;
  }
}

/* --------------------------------------------------------------------------
   3. MOBILE PHONES (<= 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Floating Mobile Action Bar at bottom */
  .floating-mobile-bar {
    display: flex;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }
  body {
    padding-bottom: 0 !important;
  }
  .copyright {
    padding-bottom: calc(24px + 64px + env(safe-area-inset-bottom, 0px));
  }

  /* Header Navbar */
  .header-institute-badge {
    display: none !important; /* Bottom floating bar handles calling on phones */
  }
  .header-lower .inner-container {
    padding: 8px 14px;
  }
  .brand-logo-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  .brand-name {
    font-size: 1.05rem;
    line-height: 1.25;
  }
  .brand-sub {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  /* Section Spacing & Headings */
  .site-title h2 {
    font-size: 1.75rem;
    line-height: 1.35;
    margin-bottom: 8px;
  }
  .site-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }
  .de-padding, .contact-section {
    padding: 42px 0;
  }
  .feature-2-area {
    padding-top: 42px !important;
  }
  .gallery-section {
    padding: 42px 0 46px 0;
  }
  .whatsapp-channel-section {
    padding: 42px 0;
  }

  /* Hero Video */
  #heroVideo {
    min-height: 220px;
    max-height: 380px;
  }
  .hero-overlay-badge {
    bottom: 12px;
    left: 10px;
    font-size: 0.74rem;
    padding: 6px 10px;
    max-width: calc(100% - 65px);
    line-height: 1.4;
  }
  .mute-toggle {
    bottom: 12px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  /* About Us */
  .about-text {
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 14px;
  }

  /* Photo Gallery (Clean 2-Column Grid on Mobile) */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-card {
    height: 140px;
    border-radius: 8px;
  }

  /* WhatsApp Channel Section */
  .channel-wrapper {
    padding: 28px 18px;
    border-radius: 16px;
    text-align: center;
  }
  .channel-heading {
    font-size: 1.5rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }
  .channel-description {
    font-size: 0.94rem;
    line-height: 1.68;
    margin-bottom: 20px;
  }
  .channel-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .channel-btn-primary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.98rem;
  }
  .channel-qr-card {
    max-width: 220px;
    padding: 8px;
    border-radius: 14px;
    margin-top: 14px;
  }
  .qr-tap-badge {
    font-size: 0.75rem;
    padding: 6px 8px;
  }

  /* Contact Us */
  .contact-box-oscars {
    padding: 22px 16px;
    border-radius: 12px;
  }
  .c-info-line {
    font-size: 0.92rem;
    margin-bottom: 18px;
    gap: 12px;
  }
  .c-info-line strong {
    line-height: 1.4;
    margin-bottom: 3px;
  }
  .c-info-line p, .c-info-line a {
    line-height: 1.65;
  }
  .c-info-line i {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  .contact-form-oscars {
    padding: 24px 18px;
    border-radius: 14px;
  }
  .contact-form-oscars h3 {
    line-height: 1.35;
    margin-bottom: 8px;
  }
  .contact-form-oscars p {
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 18px; /* 16-18px consistent gap on mobile */
  }
  .form-col-half,
  .form-col-full {
    grid-column: span 1;
  }
  .form-resume-group {
    margin-top: 10px; /* 18px gap + 10px = 28px space */
  }
  .contact-form-oscars label {
    line-height: 1.4;
    margin-bottom: 0;
  }
  .resume-upload-card {
    padding: 18px 14px;
  }
  .form-control-oscars {
    font-size: 16px; /* 16px avoids auto-zoom in Safari iOS */
    padding: 11px 14px;
    line-height: 1.5;
  }

  /* Footer */
  .footer-section {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 1.4rem;
  }
  .footer-widget-wpr {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
  .footer-logo h3 {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 6px;
  }
  .copyright-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    line-height: 1.6;
  }

  /* Scroll To Top */
  #scrtop {
    bottom: 74px;
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
}

/* --------------------------------------------------------------------------
   4. SMALL PHONES (<= 480px down to 320px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .auto-container, .container {
    padding: 0 12px;
  }
  .header-lower .inner-container {
    padding: 6px 12px;
  }
  .brand-logo-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 2px;
  }
  .brand-name {
    font-size: 0.92rem;
    line-height: 1.25;
  }
  .brand-sub {
    display: none;
  }

  .site-title h2 {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 6px;
  }
  .site-subtitle {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .about-text {
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 12px;
  }

  /* 2-Column Compact Gallery on Small Phones */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-card {
    height: 125px;
  }

  /* WhatsApp Channel */
  .channel-wrapper {
    padding: 22px 14px;
  }
  .channel-heading {
    font-size: 1.3rem;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .channel-description {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 18px;
  }
  .channel-qr-card {
    max-width: 190px;
  }

  /* Contact */
  .contact-form-oscars {
    padding: 20px 14px;
  }
  .contact-box-oscars {
    padding: 18px 14px;
  }
  .c-channel-callout {
    flex-direction: column;
    text-align: center;
  }
  .c-channel-callout a {
    width: 100%;
    justify-content: center;
  }
}


