:root {
  --primary: #4DA8DA; /* Sky Blue from User */
  --accent: #4DA8DA;
  --accent-hover: #3b97c9;
  --accent-glow: rgba(77, 168, 218, 0.4);
  --text-main: #FFFFFF;
  --text-muted: #cbd5e1;
  --bg-dark: #000000;
  --navy-lighter: #0f172a;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 0% 0%, rgba(77, 168, 218, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(77, 168, 218, 0.05) 0%, transparent 50%);
}

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

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

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

/* Glassmorphism Utility */
.glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

/* Typography */
h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

h1 span {
  color: var(--accent);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(77, 168, 218, 0.1);
  color: var(--accent);
  border: 1px solid rgba(77, 168, 218, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Layout */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Custom background for alternative sections */
.bg-navy {
  background-color: var(--primary);
  background-image: radial-gradient(circle at 100% 100%, rgba(0, 150, 105, 0.05) 0%, transparent 40%);
}

/* Header */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

#main-header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 204, 255, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 204, 255, 0.2);
}

.reveal-on-scroll.animate-fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--glass-border);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.8)), url('./hero_bg.png');
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
  position: relative;
}

.hero-image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  min-height: 450px;
}

.hero-card {
  width: 100%;
  max-width: 450px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  backdrop-filter: blur(20px);
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-image-container {
        justify-content: center;
    }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 5rem;
}

.service-card {
  padding: 3.5rem 2.5rem;
  border-radius: 32px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(77, 168, 218, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(77, 168, 218, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 2rem;
  color: var(--accent);
  border: 1px solid rgba(77, 168, 218, 0.2);
  box-shadow: 0 10px 20px -5px rgba(77, 168, 218, 0.2);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px -5px var(--accent-glow);
}





/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Glass Card */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.blog-card {
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-content {
    padding: 2rem;
}

.blog-date {
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

/* Blog Article Pages */
.blog-post-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.blog-post-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.blog-image-hero {
    background: linear-gradient(45deg, rgba(77, 168, 218, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-header h1 span {
    background: linear-gradient(90deg, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: #FFFFFF;
}

.legal-content h2 {
    color: #fff;
    margin-top: 3rem;
    font-size: 1.75rem;
}

.legal-content p, .legal-content ul {
    margin-bottom: 1.5rem;
}

/* Advanced Legal Layout */
.legal-section {
    padding-top: 12rem;
    padding-bottom: 8rem;
}

.legal-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 8rem;
}

.sidebar-inner {
    padding: 2rem;
}

.sidebar-inner h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.sidebar-inner ul {
    list-style: none;
}

.sidebar-inner li {
    margin-bottom: 0.75rem;
}

.sidebar-inner a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
    display: block;
}

.sidebar-inner a:hover, .sidebar-inner a.active {
    color: var(--accent);
    transform: translateX(5px);
}

.sidebar-inner a.active {
    font-weight: 700;
    border-left: 2px solid var(--accent);
    padding-left: 0.5rem;
    margin-left: -0.5rem;
}

.legal-main {
    max-width: 850px;
}

.legal-header {
    margin-bottom: 4rem;
}



.last-updated {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: -1rem;
}

.legal-block {
    margin-bottom: 5rem;
    scroll-margin-top: 8rem;
}

.legal-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
    margin-top: 2rem;
}

.contact-methods p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
}

.contact-methods span {
    color: var(--accent);
}

.definition-list {
    display: grid;
    gap: 2rem;
}

.definition-item strong {
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.legal-list {
    list-style: none;
    margin-left: 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

@media (max-width: 1024px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }
    
    .legal-sidebar {
        display: none; /* Hide TOC on mobile for now, or could be a dropdown */
    }
    
    .contact-card {
        grid-template-columns: 1fr;
    }
}

/* Footer New Structure */
footer {
    padding: 8rem 0 2rem;
    background: #000000;
    border-top: 1px solid var(--glass-border);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-column li {
    margin-bottom: 0.75rem;
}

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

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

.footer-contact-details p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.8;
}

.footer-contact-details span {
    color: var(--accent);
    font-size: 1.2rem;
}

.footer-bottom-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-slogan {
    font-size: 1.75rem;
    font-weight: 800;
    font-style: italic;
    background: linear-gradient(90deg, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    color: #fff;
    background: var(--accent);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    opacity: 0.7;
}

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

@media (max-width: 600px) {
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact-details p {
        justify-content: center;
    }
    
    .footer-slogan {
        font-size: 1.4rem;
    }
}

/* Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 204, 255, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}
.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Comments Specific Responsive */
@media (max-width: 768px) {
    #comment-form div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

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

/* Geometric Cutout Shapes */
.geometric-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 2rem;
}

@media (max-width: 768px) {
    .mistake-row {
        flex-direction: column !important;
        text-align: center;
        gap: 3rem;
    }
    
    .mistake-visual {
        order: -1;
        width: 100%;
    }
    
    .geometric-container {
        max-width: 280px;
    }
}

.shape-mask {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    min-height: 300px; /* Fallback for browsers with no aspect-ratio support or empty content */
    overflow: hidden;
    background: var(--navy-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.hexagon-mask {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.diamond-mask {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.blob-mask {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.shape-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.geometric-container:hover .shape-mask img {
    transform: scale(1.1);
}

/* Accent Beams */
.accent-beam {
    position: absolute;
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    z-index: 2;
    pointer-events: none;
}

.beam-1 {
    width: 80px;
    height: 12px;
    top: 10%;
    left: -15%;
    transform: rotate(-30deg);
}

.beam-2 {
    width: 100px;
    height: 15px;
    bottom: 20%;
    right: -20%;
    transform: rotate(45deg);
}

.beam-3 {
    width: 60px;
    height: 10px;
    top: -10%;
    right: 5%;
    transform: rotate(60deg);
}

/* Specific Section Adjustments */
.mistake-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.mistake-row:nth-child(even) {
    flex-direction: row-reverse;
}

.mistake-text {
    flex: 1.2;
}

.mistake-visual {
    flex: 0.8;
}

/* Custom Select Dropdown Styling */
select.phone-prefix {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem !important;
}

select.phone-prefix option {
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
}

select.phone-prefix:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 204, 255, 0.1);
}

/* ==== Mobile‑only Adjustments (max‑width: 768px) ==== */
@media (max-width: 768px) {
  /* Ensure container padding does not overflow */
  .container {
    padding: 0 1rem;
  }

  /* Collapse all grid layouts to a single column */
  .hero .container,
  .services-grid,
  .service-card,
  .blog-grid,
  .mistake-row,
  .contact-card,
  .legal-layout,
  .footer-columns,
  .hero .container > div,
  .services-grid > div,
  .blog-grid > div,
  .legal-layout > div {
    display: block !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  /* Images become responsive */
  img:not(.logo img):not(.footer-logo img),
  .hero-image-container img,
  .shape-mask img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Reduce section paddings for mobile without affecting left/right padding */
  section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  
  /* Prevent header overlap for the first section on all pages */
  main > section:first-of-type,
  main > .hero {
    padding-top: 8rem !important;
  }
}

/* ==== Generic Responsive Utilities (Tablet & Mobile) ==== */
@media (max-width: 1024px) {
    /* Convert 2-column inline grids to 1 column */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: 1.5fr 1fr"],
    div[style*="grid-template-columns: 1.2fr 0.8fr"],
    div[style*="grid-template-columns: 300px 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Convert specific inline flex layouts to column, excluding hero card UI */
    div[style*="display: flex; justify-content: space-between"]:not(.hero-card div) {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
    }
    
    /* Fix auto-fit grids on small screens (prevent overflow) */
    div[style*="minmax(350px, 1fr)"],
    div[style*="minmax(400px, 1fr)"],
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    /* Further padding reductions */
    .glass-card, .glass {
        padding: 2rem 1.5rem !important;
    }
    
    /* Ensure hero content doesn't overflow */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

  /* Form fields full width and matching height */
  .form-group,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    width: 100% !important;
    margin-bottom: 1rem;
    height: auto !important;
  }

  /* Button spacing for mobile */
  .btn {
    width: 100%;
    margin-top: 0.5rem;
  }

  /* Reduce font sizes for headings on small screens */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }

  /* Adjust hero section height */
  .hero {
    min-height: auto;
    padding-top: 8rem !important;
    padding-bottom: 4rem !important;
  }

  /* Ensure modal overlay stays full‑screen */
  .modal-overlay {
    padding: 1rem;
  }
}

/* ==== Mobile Menu Overlay & Header Adjustments (max-width: 1000px) ==== */
@media (max-width: 1000px) {
  #main-header .nav-links,
  #main-header .header-btn {
    display: none !important;
  }
  
  #main-header .hamburger-btn {
    display: block !important;
  }
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
}

.mobile-menu-content {
  width: 90%;
  max-width: 400px;
  position: relative;
  padding: 3rem 2rem;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateY(0);
}

.mobile-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-nav-links a:hover {
  color: var(--accent);
}
