/* ==========================================================================
   CONZURA SOFT SOLUTIONS INNOVEXA - ULTRA-MODERN MULTI-THEME DESIGN SYSTEM
   Optimized for Mobile, Tablet, Desktop & Retina Screens
   ========================================================================== */

@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&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* DARK INNOVEXA CYBER THEME (Default) */
  --bg-dark: #050811;
  --bg-surface: #0a0f1d;
  --bg-card: rgba(13, 20, 36, 0.85);
  --bg-card-hover: rgba(20, 32, 58, 0.92);
  --bg-glass: rgba(255, 255, 255, 0.05);

  --border-strong: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(0, 242, 254, 0.4);

  --cyan: #00f2fe;
  --indigo: #38bdf8;
  --purple: #a855f7;
  --emerald: #00e676;
  --gold: #ffb700;
  --orange: #ff512f;

  --text-white: #ffffff;
  --text-body: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --logo-filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.5));

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-neon-cyan: 0 12px 35px -5px rgba(0, 242, 254, 0.45);
  --shadow-card: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 242, 254, 0.08);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --theme-transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* LIGHT THEME OVERRIDES */
html[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(241, 245, 249, 0.95);
  --bg-glass: rgba(15, 23, 42, 0.04);

  --border-strong: rgba(15, 23, 42, 0.14);
  --border-glow: rgba(0, 82, 212, 0.4);

  --cyan: #0052d4;
  --indigo: #0284c7;
  --purple: #7e22ce;
  --emerald: #059669;
  --gold: #d97706;
  --orange: #ea580c;

  --text-white: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --shadow-neon-cyan: 0 10px 30px -5px rgba(0, 82, 212, 0.3);
  --shadow-card: 0 15px 35px rgba(15, 23, 42, 0.08);
}

/* RTL Support for Arabic Language */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .top-bar-info,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .hero-buttons-wrap,
html[dir="rtl"] .top-bar .container {
  flex-direction: row-reverse;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.12), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(168, 85, 247, 0.12), transparent 45%),
    radial-gradient(circle at 50% 40%, rgba(0, 230, 118, 0.08), transparent 50%);
  background-attachment: fixed;
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  transition: var(--theme-transition);
}

/* Three.js Background Canvas */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--theme-transition);
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-white) 0%, var(--cyan) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Layout Container */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Notification Bar */
.top-bar {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.3) 0%, rgba(0, 242, 254, 0.3) 100%);
  border-bottom: 1px solid var(--border-strong);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--theme-transition);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.top-link:hover {
  color: var(--cyan);
}

.top-bar-badge {
  background: rgba(0, 242, 254, 0.2);
  border: 1px solid var(--cyan);
  color: var(--text-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-strong);
  padding: 12px 0;
  transition: var(--theme-transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Official Logo & Sub-Badge */
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: transform 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-wrap:hover {
  transform: scale(1.04);
}

.official-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: var(--logo-filter);
  transition: filter 0.3s ease;
}

.brand-sub-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid var(--cyan);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px; /* Compact single line fit */
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap !important; /* Forces single line! */
}

.nav-link:hover {
  color: var(--text-white);
  background: var(--bg-glass);
}

.nav-link.active {
  color: var(--cyan);
  font-weight: 800;
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}

.mobile-nav-link.active {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.15);
  font-weight: 800;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Language Selector Dropdown */
.lang-selector-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  padding: 4px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.lang-dropdown {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.lang-dropdown option {
  background: var(--bg-surface);
  color: var(--text-white);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  color: var(--text-white);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: rotate(15deg);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  color: var(--text-white);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-strong);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.mobile-nav-drawer.active {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  white-space: nowrap;
}

.mobile-nav-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-neon-cyan);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap !important; /* Single line CTA */
  flex-shrink: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  color: var(--text-white);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* HERO SECTION */
.hero-section {
  padding: 50px 0 40px;
  position: relative;
}

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

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid var(--cyan);
  padding: 6px 16px;
  border-radius: 30px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-ap-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 183, 0, 0.15);
  border: 1px solid var(--gold);
  padding: 6px 14px;
  border-radius: 30px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 640px;
  line-height: 1.65;
}

.stream-chips-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.stream-chip {
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  color: var(--text-white);
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.stream-chip.highlight {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Andhra Pradesh SEO Specialty Banner */
.ap-seo-banner {
  padding: 16px 20px;
  margin: 20px 0;
  border-left: 4px solid var(--gold);
}

.ap-gold-badge {
  background: rgba(255, 183, 0, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.hero-buttons-wrap {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-strong);
  flex-wrap: wrap;
}

.hero-stat-item h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* HERO 3D SHOWCASE CARD */
.hero-showcase-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  transform-style: preserve-3d;
  perspective: 1000px;
  text-align: center;
}

#hero-3d-canvas {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  cursor: grab;
  max-width: 100%;
}

/* SECTION PADDING & TITLES */
.section-padding {
  padding: 60px 0;
}

.section-header-center {
  text-align: center;
  margin-bottom: 40px;
}

.section-title-lg {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
}

/* DEGREE CARDS GRID */
.degree-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.degree-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.degree-card:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
  border-color: var(--cyan);
  box-shadow: 0 20px 45px -10px rgba(0, 242, 254, 0.35);
}

.degree-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid var(--cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 16px;
}

.degree-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

/* DOMAIN CARDS GRID & FILTER */
.domain-filter-panel {
  padding: 20px;
  margin-bottom: 28px;
}

.search-degree-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.course-filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 10px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.course-tab-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.course-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.course-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(168, 85, 247, 0.25));
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.domain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
}

.domain-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 20px 45px -10px rgba(0, 242, 254, 0.35);
}

.domain-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-white);
}

.domain-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  white-space: nowrap;
}

.domain-summary {
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 12px 0 16px;
}

.tech-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-badge {
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  color: var(--text-white);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--bg-glass);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
}

.highlights-list li {
  font-size: 0.84rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* FORM CONTROLS & CALCULATOR */
.form-control {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-control:focus {
  border-color: var(--cyan);
}

.calc-glass-card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

/* MODAL OVERLAY & FORM GRID */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-card);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 24px;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.modal-close-btn {
  background: var(--bg-glass);
  border: none;
  color: var(--text-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FOOTER */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-strong);
  padding: 50px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* FLOATING ACTION BUTTONS (CALL & WHATSAPP) */
.floating-actions-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.12);
}

.floating-call-btn {
  background: linear-gradient(135deg, var(--cyan), #0072ff);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.45);
}

.floating-whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

/* TOP SCROLL PROGRESS BAR */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--emerald));
  z-index: 1001;
  transition: width 0.1s linear;
}

/* TOAST NOTIFICATIONS SYSTEM */
#toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  pointer-events: none;
}

.toast-item {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--cyan);
  color: var(--text-white);
  padding: 12px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  pointer-events: auto;
  animation: slideInLeft 0.3s ease forwards;
}

.toast-item.fade-out {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.desktop-only {
  display: inline-flex;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .desktop-only {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .hero-grid, .calc-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .domains-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }
  .top-bar-info {
    justify-content: center;
    font-size: 0.8rem;
  }
  .top-bar-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
    white-space: normal;
    text-align: center;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .section-title-lg {
    font-size: 1.8rem;
  }
  .modal-form-grid {
    grid-template-columns: 1fr;
  }
  .modal-form-grid .full-col {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .official-logo-img {
    height: 44px;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-subtitle {
    font-size: 0.96rem;
  }
  .hero-buttons-wrap {
    flex-direction: column;
  }
  .hero-btn {
    width: 100%;
    justify-content: center;
  }
  .domains-grid {
    grid-template-columns: 1fr;
  }
  .search-degree-row {
    flex-direction: column;
  }
  .calc-glass-card {
    padding: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .floating-actions-wrap {
    bottom: 18px;
    right: 18px;
  }
  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .top-bar-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
