/* ==========================================================================
   HEXA ENERGY - OFFICIAL COMPANY PROFILE LANDING PAGE STYLES
   ========================================================================== */

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

/* --- Root Design Variables (Hexa Energy Official Palette) --- */
:root {
  /* Color Palette */
  --bg-dark: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-glass-border: #E2E8F0;
  
  /* Brand Colors */
  --primary: #0066C8;          /* Hexa Blue */
  --primary-hover: #004F9E;
  --primary-glow: rgba(0, 102, 200, 0.2);
  
  --secondary: #4CB050;        /* Energy Green */
  --secondary-hover: #3D9140;
  
  --accent-red: #E52320;         /* Hexa Red */
  --accent-cyan: #0284C7;
  --accent-emerald: #4CB050;
  
  --text-main: #0F172A;         /* Dark Navy / Charcoal */
  --text-muted: #475569;        /* Slate Gray */
  --text-dim: #64748B;          /* Muted Gray */
  
  --border-light: #E2E8F0;
  --border-active: #0066C8;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 30px rgba(0, 102, 200, 0.12);
  
  /* Transitions */
  --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-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(0, 102, 200, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 40%, rgba(76, 176, 80, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

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

ul {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: var(--radius-full);
  border: 2px solid #F8FAFC;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 102, 200, 0.08);
  border: 1px solid rgba(0, 102, 200, 0.2);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Gradient Text Effect (Hexa Energy Blue to Green) */
.gradient-text {
  background: linear-gradient(135deg, #0066C8 0%, #0284C7 40%, #4CB050 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Components & Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0284C7 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 200, 0.35);
  background: linear-gradient(135deg, var(--primary-hover) 0%, #0369A1 100%);
}

.btn-secondary {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--secondary) 0%, #388E3C 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 176, 80, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 176, 80, 0.45);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.875rem;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 102, 200, 0.08);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--bg-glass-border);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.logo-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition-normal);
  border-radius: 2px;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: rgba(0, 102, 200, 0.08);
  border: 1px solid rgba(0, 102, 200, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--bg-glass-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

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

/* --- Hero Slideshow (Full Section Width) --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-slideshow-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 2rem;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bg-glass-border);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: #0F172A;
}

.slideshow-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 3;
}

.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 102, 200, 0.35);
  border: 1px solid rgba(0, 102, 200, 0.6);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  backdrop-filter: blur(8px);
  align-self: flex-start;
}

.hero-slide-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.hero-slide-subtitle {
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.8);
}

/* Slideshow Controls */
.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slideshow-nav:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.slideshow-nav.prev { left: 16px; }
.slideshow-nav.next { right: 16px; }

.slideshow-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.slide-dot.active {
  width: 28px;
  border-radius: 12px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(0, 102, 200, 0.5);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--bg-glass-border);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  animation: float 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: -20px;
  right: -20px;
}

.floating-badge-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

/* --- About Us Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.highlight-box {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.highlight-box h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.highlight-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Vision & Mission Section --- */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: stretch;
}

.vision-card {
  background: linear-gradient(135deg, rgba(0, 102, 200, 0.06), rgba(76, 176, 80, 0.06));
  border: 1px solid rgba(0, 102, 200, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vision-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.mission-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(76, 176, 80, 0.12);
  color: var(--secondary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 102, 200, 0.08);
  border: 1px solid rgba(0, 102, 200, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--primary-glow);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

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

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 102, 200, 0.08);
  border: 1px solid rgba(0, 102, 200, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

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

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 102, 200, 0.15);
  background: #FFFFFF;
}

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

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--bg-glass-border);
  padding: 4rem 0 2rem 0;
  background: #F8FAFC;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 380px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Modal Service Detail */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

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

.modal-box {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #F1F5F9;
  border: none;
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: #EF4444;
  color: white;
}

/* Keyframe Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* ====================================================================
   RESPONSIVE MEDIA QUERIES — TABLET, MOBILE, SMALL PHONE
   ==================================================================== */

/* --- Tablet & Small Laptop (max-width: 992px) --- */
@media (max-width: 992px) {
  .section {
    padding: 4.5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero {
    padding-top: 7.5rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-slideshow {
    height: 380px;
  }

  .about-grid,
  .vision-mission-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .floating-badge-1 {
    top: -12px;
    right: -8px;
  }

  .floating-badge-2 {
    bottom: -12px;
    left: -8px;
  }
}

/* --- Mobile Landscape & Small Tablet (max-width: 768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Navbar Mobile Drawer */
  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 1rem;
    border-bottom: 1px solid var(--bg-glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    text-align: center;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .navbar .btn-primary.btn-sm {
    display: none;
  }

  /* Hero */
  .hero {
    padding-top: 6.5rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Slideshow */
  .hero-slideshow {
    height: 280px;
    border-radius: var(--radius-md);
  }

  .hero-slideshow-wrapper {
    margin-top: 1.5rem;
  }

  .hero-slide-overlay {
    padding: 1.25rem;
  }

  .hero-slide-title {
    font-size: 1.1rem;
  }

  .hero-slide-subtitle {
    font-size: 0.8rem;
  }

  .hero-slide-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.65rem;
  }

  .slideshow-nav {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .slideshow-nav.prev { left: 8px; }
  .slideshow-nav.next { right: 8px; }

  /* Floating Badges hidden on small screens */
  .floating-badge {
    display: none;
  }

  /* About Section */
  .about-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .highlight-box {
    padding: 1rem;
  }

  .highlight-box h5 {
    font-size: 0.95rem;
  }

  /* Vision & Mission */
  .vision-card {
    padding: 1.75rem;
  }

  .vision-card h3 {
    font-size: 1.4rem;
  }

  .mission-item {
    padding: 1rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .glass-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Modal */
  .modal-backdrop {
    padding: 1rem;
    align-items: flex-end;
  }

  .modal-box {
    padding: 1.5rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    max-height: 85vh;
    overflow-y: auto;
  }
}

/* --- Small Phone Portrait (max-width: 480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.4rem 0.9rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: center;
  }

  .hero-slideshow {
    height: 220px;
  }

  .hero-slide-title {
    font-size: 0.95rem;
  }

  .hero-slide-badge {
    font-size: 0.65rem;
  }

  .slideshow-dots {
    bottom: 8px;
    gap: 5px;
  }

  .slide-dot {
    width: 7px;
    height: 7px;
  }

  .slide-dot.active {
    width: 20px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo-symbol {
    width: 34px;
    height: 34px;
  }

  .logo-symbol svg {
    width: 30px;
    height: 30px;
  }

  .section-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }

  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.9rem;
  }

  .service-title {
    font-size: 1.15rem;
  }

  .service-desc {
    font-size: 0.88rem;
  }

  .mission-number {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
}
