/* 
  =========================================
  V V DIVAKARAN QUARRY - PREMIUM STYLESHEET
  =========================================
*/

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

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Harmonious Dark Stone Palette */
  --bg-primary: hsl(215, 22%, 8%);
  --bg-secondary: hsl(215, 18%, 12%);
  --bg-tertiary: hsl(215, 14%, 16%);
  
  /* Accent Colors */
  --accent-gold: hsl(38, 75%, 55%);
  --accent-gold-hover: hsl(38, 85%, 48%);
  --accent-gold-glow: hsla(38, 75%, 55%, 0.15);
  --accent-slate: hsl(215, 12%, 65%);
  
  /* Text Colors */
  --text-main: hsl(210, 20%, 95%);
  --text-muted: hsl(210, 12%, 78%);
  --text-dim: hsl(210, 8%, 55%);
  
  /* Borders and Glassmorphism */
  --border-light: hsla(210, 20%, 95%, 0.08);
  --border-glow: hsla(38, 75%, 55%, 0.3);
  --glass-bg: hsla(215, 18%, 12%, 0.75);
  --glass-blur: 16px;
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing & Layout */
  --container-width: 1240px;
  --header-height: 80px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px 0 var(--accent-gold-glow);
  
  /* 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-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  font-weight: 400;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-primary);
  border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Core Layout Components */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
}

/* Header & Floating Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  height: 75px;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 48px;
}

.logo-link img {
  height: 100%;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-sans);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-normal);
}

/* Mobile Menu Navigation overlay */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: var(--transition-normal);
    z-index: 1050;
    box-shadow: var(--shadow-lg);
  }
  
  nav.active {
    right: 0;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Common Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

.section-tag {
  font-family: var(--font-sans);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title span {
  color: var(--accent-gold);
  font-style: italic;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 4rem;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  border: 1px solid var(--accent-gold);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-main);
  transform: translateY(-3px);
}

.btn-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Hero Section Style */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(8, 13, 24, 0.95) 100%), 
              url('../images/quarry-hero.png') no-repeat center center / cover;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  z-index: 10;
  animation: heroReveal var(--transition-slow) forwards;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.hero h1 span {
  display: block;
  font-size: 2rem;
  font-family: var(--font-sans);
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 650px;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Grid & Cards Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

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

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.8rem; }
  section { padding: 5rem 0; }
}

/* Feature/Product Cards with Glassmorphism */
.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 3rem 2.5rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-gold);
  transition: var(--transition-normal);
}

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

.card:hover::before {
  height: 100%;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(245, 166, 35, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent-gold);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

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

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Decorative Image Frame Component */
.image-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-slow);
}

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

.image-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border-glow);
  border-radius: var(--border-radius-lg);
  pointer-events: none;
  z-index: 2;
}

.frame-decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  border: 2px solid var(--accent-gold-glow);
  border-radius: var(--border-radius-md);
  z-index: -1;
  pointer-events: none;
}

/* Stats Section component */
.stats-banner {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 0;
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Legal Documents Listing Styles */
.doc-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  height: 100%;
}

.doc-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.doc-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.doc-status {
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-active {
  background-color: rgba(16, 185, 129, 0.1);
  color: hsl(150, 84%, 47%);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-pending {
  background-color: rgba(245, 158, 11, 0.1);
  color: hsl(38, 92%, 50%);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.doc-icon {
  color: var(--accent-gold);
}

.doc-icon svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.doc-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  line-height: 1.3;
}

.doc-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.doc-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.doc-info-text {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.doc-download-btn {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.doc-download-btn:hover {
  color: var(--text-main);
}

.doc-download-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Gallery Filtering & Responsive Grid */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8, 13, 24, 0.9) 0%, rgba(8, 13, 24, 0.2) 70%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
}

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

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

.gallery-tag {
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Lightbox Modal Structure */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8, 13, 24, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

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

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: block;
}

.lightbox-caption {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-main);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent-gold);
  transform: scale(1.1);
}

.lightbox-close svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Legal Page Mock Alert Banner */
.notice-banner {
  background-color: var(--bg-secondary);
  border: 1px dashed var(--accent-gold);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  margin-bottom: 4rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.notice-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.notice-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.notice-text h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.notice-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Map & Contact Info Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

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

.info-item {
  display: flex;
  gap: 1.5rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.info-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.info-details h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.info-details p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(1) invert(0.9) contrast(1.2); /* Stylized dark map matching design */
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .map-container { min-height: 300px; }
}

/* Modern Multi-Column Footer */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 6rem 0 3rem 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  height: 48px;
  align-self: flex-start;
}

.footer-logo img {
  height: 100%;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-main);
  margin-bottom: 2rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

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

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-gold);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--text-main);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Television & Large Monitor Optimization */
@media (min-width: 1400px) {
  :root {
    --container-width: 1360px;
  }
  html {
    font-size: 18px; /* Auto-scales rem typography and layout spacing */
  }
}

@media (min-width: 2000px) {
  :root {
    --container-width: 1600px;
  }
  html {
    font-size: 20px; /* Perfect scale for 4K and Television displays */
  }
}

/* Extra Small Mobile Optimization */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero h1 span {
    font-size: 1.1rem;
    letter-spacing: 3px;
  }
  .hero p {
    font-size: 1rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .btn {
    padding: 0.8rem 1.6rem;
    font-size: 0.85rem;
    width: 100%; /* Stack buttons on small phones */
  }
  .btn-group {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }
}

