/* ==========================================================================
   INTEGRATED INFOTECH PRIVATE ITI - Style Sheet
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Reset and Core Variables */
:root {
  /* Common System Tokens */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1280px;

  /* HSL Color System Defaults (Light Theme) */
  --hue-primary: 220; /* Slate Navy Blue */
  --hue-accent: 36;   /* Engineering Gold / Amber */
  
  --primary: hsl(var(--hue-primary), 85%, 28%);
  --primary-light: hsl(var(--hue-primary), 85%, 38%);
  --primary-dark: hsl(var(--hue-primary), 90%, 18%);
  --accent: hsl(var(--hue-accent), 100%, 48%);
  --accent-light: hsl(var(--hue-accent), 100%, 58%);
  --accent-dark: hsl(var(--hue-accent), 100%, 38%);
  
  --bg-main: hsl(var(--hue-primary), 20%, 97%);
  --bg-surface: hsl(0, 0%, 100%);
  --bg-muted: hsl(var(--hue-primary), 15%, 92%);
  --bg-glass: hsla(0, 0%, 100%, 0.8);
  
  --text-main: hsl(var(--hue-primary), 25%, 15%);
  --text-muted: hsl(var(--hue-primary), 15%, 45%);
  --text-inverse: hsl(0, 0%, 100%);
  
  --border: hsl(var(--hue-primary), 15%, 88%);
  --border-focus: var(--accent);
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --focus-ring: 0 0 0 3px hsla(var(--hue-accent), 100%, 48%, 0.25);
  --card-glow: hsla(var(--hue-accent), 100%, 48%, 0.03);
}

/* Dark Theme Variables */
:root[data-theme="dark"] {
  --primary: hsl(var(--hue-primary), 75%, 60%);
  --primary-light: hsl(var(--hue-primary), 80%, 70%);
  --primary-dark: hsl(var(--hue-primary), 70%, 45%);
  --accent: hsl(var(--hue-accent), 100%, 52%);
  --accent-light: hsl(var(--hue-accent), 100%, 62%);
  --accent-dark: hsl(var(--hue-accent), 100%, 42%);
  
  --bg-main: hsl(var(--hue-primary), 35%, 6%);
  --bg-surface: hsl(var(--hue-primary), 25%, 11%);
  --bg-muted: hsl(var(--hue-primary), 22%, 16%);
  --bg-glass: hsla(var(--hue-primary), 35%, 6%, 0.8);
  
  --text-main: hsl(var(--hue-primary), 15%, 92%);
  --text-muted: hsl(var(--hue-primary), 10%, 68%);
  --text-inverse: hsl(var(--hue-primary), 35%, 6%);
  
  --border: hsl(var(--hue-primary), 20%, 20%);
  --border-focus: var(--accent);
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 36px rgba(0,0,0,0.6);
  --focus-ring: 0 0 0 3px hsla(var(--hue-accent), 100%, 52%, 0.35);
  --card-glow: hsla(var(--hue-accent), 100%, 52%, 0.05);
}

/* Reset CSS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Base Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  transition: color var(--transition-normal);
}

h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem); position: relative; padding-bottom: 0.5rem; }
h3 { font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.85rem); }
h4 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem); }

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

a:hover {
  color: var(--accent);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Utility Layout Classes */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.section-padding {
  padding: clamp(3rem, 2.5rem + 4vw, 7rem) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(2rem, 1.5rem + 3vw, 4rem);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Grid Helper */
.grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Custom Accessibility Focus State */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: inherit;
}

/* Announcement Top Bar */
.announcement-bar {
  background-color: var(--primary-dark);
  color: var(--text-inverse);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  font-weight: 500;
  transition: background-color var(--transition-normal);
}

.announcement-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.announcement-left, .announcement-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Main Header & Nav */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

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

/* Logo & Seal styling */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
  cursor: pointer;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-md);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-text {
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

/* Controls Panel (Theme, Language, Apply Button) */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Switcher Buttons (Theme and Language toggles) */
.btn-control {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--bg-muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.btn-control:hover {
  background-color: var(--border);
  color: var(--accent);
}

.lang-switch {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Primary Button Styling */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-inverse) !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.1);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--text-inverse) !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.1);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--text-main);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 101;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  z-index: 99;
  padding: 100px 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: right var(--transition-normal);
  border-left: 1px solid var(--border);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-list .nav-link {
  font-size: 1.25rem;
}

.mobile-drawer-controls {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: clamp(6rem, 5rem + 8vw, 12rem) 0 clamp(4rem, 3.5rem + 6vw, 8rem);
  background-color: var(--bg-surface);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.hero-bg-graphic {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsla(var(--hue-primary), 85%, 28%, 0.08) 0%, transparent 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.hero-bg-graphic-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsla(var(--hue-accent), 100%, 48%, 0.06) 0%, transparent 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-muted);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.hero-badge svg {
  color: var(--accent);
}

.hero-title {
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.25rem);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-surface);
  outline: 1px solid var(--border);
}

.hero-image-wrapper img {
  width: 100%;
  height: clamp(300px, 250px + 20vw, 450px);
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
}

.hero-accreditation-floating {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
}

.hero-floating-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-floating-text h4 {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.hero-floating-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Stats Section */
.stats-section {
  background-color: var(--bg-main);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  background: radial-gradient(circle at top right, var(--card-glow), transparent 70%), var(--bg-surface);
}

.stat-num {
  font-size: clamp(2rem, 1.8rem + 1vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* About Section & Principal Message */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.highlight-box {
  background-color: var(--bg-muted);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
  font-style: italic;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.feature-check {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: hsla(var(--hue-accent), 100%, 48%, 0.15);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-check svg {
  width: 14px;
  height: 14px;
}

.about-feature-item h4 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.about-feature-item p {
  font-size: 0.85rem;
  margin: 0;
}

/* Principal Card Style */
.principal-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.principal-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 8rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--border);
  font-weight: bold;
}

.principal-message {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.principal-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.principal-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 3px solid var(--accent);
}

.principal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.principal-info h4 {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.principal-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Trades Section (Tabbed Layout) */
.trades-container {
  max-width: 1000px;
  margin: 0 auto;
}

.trades-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.trade-tab-btn {
  padding: 1rem 2rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}

.trade-tab-btn svg {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.trade-tab-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.trade-tab-btn.active {
  background-color: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.trade-tab-btn.active svg {
  color: var(--accent);
}

/* Trade Panels */
.trade-panels {
  position: relative;
}

.trade-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.trade-panel.active {
  display: grid;
  animation: fadeIn var(--transition-normal) forwards;
}

.trade-info h3 {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.trade-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.trade-meta-item {
  background-color: var(--bg-muted);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.trade-meta-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.trade-meta-item p {
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.15rem;
}

.trade-curriculum h4, .trade-career h4 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  color: var(--primary);
}

.trade-curriculum ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.trade-curriculum li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.trade-curriculum li::before {
  content: '➔';
  color: var(--accent);
  font-size: 0.8rem;
}

.trade-visual-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-surface);
}

.trade-visual-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Facilities Section */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.facility-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.facility-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.facility-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.facility-card:hover .facility-img-wrapper img {
  transform: scale(1.08);
}

.facility-content {
  padding: 1.5rem;
}

.facility-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.facility-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Admissions Section */
.admissions-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.admission-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.step-item {
  display: flex;
  gap: 1.25rem;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-heading);
}

.step-text h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.step-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Card Box Admissions info */
.admission-info-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.admission-info-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

.requirements-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.requirements-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.requirements-list li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Media Gallery Section */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-overlay h4 {
  color: white;
  margin-top: 0.25rem;
  font-size: 1.1rem;
}

/* Contact Section & Map styling */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-card {
  display: flex;
  gap: 1.25rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--bg-muted);
  border: 1px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.contact-detail-card:hover .contact-icon {
  background-color: var(--primary);
  color: var(--text-inverse);
  transform: scale(1.05);
}

.contact-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-map-wrapper {
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 250px;
  position: relative;
  background-color: var(--bg-muted);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact & Inquiry Forms */
.form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input, .form-select, .form-textarea {
  background-color: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  color: var(--text-main);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-focus);
  background-color: var(--bg-surface);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  user-select: none;
}

.form-checkbox input {
  margin-top: 0.25rem;
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
  font-weight: 500;
}

.form-message.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.15);
  color: #059669;
  border-left: 4px solid #10b981;
}

.form-message.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.15);
  color: #dc2626;
  border-left: 4px solid #ef4444;
}

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-window {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: calc(100% - 2rem);
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-window {
  transform: scale(1);
}

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

.modal-header h3 {
  font-size: 1.35rem;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--border);
  color: var(--text-main);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  border: 4px solid white;
}

.lightbox-caption {
  color: white;
  margin-top: 1rem;
  font-size: 1.1rem;
  text-align: center;
  font-family: var(--font-heading);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background-color var(--transition-fast);
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Footer Section */
.main-footer {
  background-color: var(--primary-dark);
  color: var(--text-inverse);
  padding: clamp(3rem, 2.5rem + 3vw, 5rem) 0 1.5rem;
  border-top: 1px solid var(--border);
  transition: background-color var(--transition-normal);
}

.main-footer h3 {
  color: var(--text-inverse);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.main-footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 0.9rem;
  margin: 1.25rem 0 1.5rem;
  line-height: 1.6;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: hsla(0, 0%, 100%, 0.7);
}

.footer-contact li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: hsla(0, 0%, 100%, 0.5);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ==========================================================================
   MEDIA QUERIES (Enhanced Responsiveness)
   ========================================================================== */

/* Tablet and Smaller Screen Breakpoint */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-description {
    margin: 0 auto 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-accreditation-floating {
    left: 50%;
    transform: translateX(-50%);
    animation: float-center 4s ease-in-out infinite;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .trade-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admissions-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  
  .footer-grid > *:last-child {
    grid-column: span 2;
  }
}

/* Mobile Screens Breakpoint */
@media (max-width: 768px) {
  .announcement-left {
    justify-content: center;
    width: 100%;
  }
  
  .announcement-right {
    display: none; /* Hide social icons on small screens to save space */
  }

  .nav-menu {
    display: none; /* Hide desktop menu */
  }
  
  .hamburger {
    display: flex; /* Show burger */
  }
  
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid > * {
    grid-column: span 1 !important;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .principal-card {
    padding: 1.5rem;
  }
  
  .modal-body {
    padding: 1.25rem;
  }
}

/* Float center animation helper for mobile */
@keyframes float-center {
  0% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -8px); }
  100% { transform: translate(-50%, 0); }
}
