/*
Theme Name: Jolly Products Theme
Theme URI: https://jollyproducts.in
Author: Antigravity
Description: A premium, high-end, dark futuristic WordPress theme for Jolly Products import-export kidswear.
Version: 1.0.4
License: GNU General Public License v2 or later
Text Domain: jolly-products
*/

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

/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --bg-deep: #131119;
  --bg-main: #1F1C27;
  --bg-card: rgba(42, 48, 84, 0.25);
  --bg-card-hover: rgba(42, 48, 84, 0.45);
  --color-primary: #1F1C27;
  --color-secondary: #2A3054;
  --accent-color: #009ED6;
  --accent-rgb: 0, 158, 214;
  --text-light: #F3F4F6;
  --text-muted: #9CA3AF;
  --border-color: rgba(0, 158, 214, 0.2);
  --border-hover: rgba(0, 158, 214, 0.6);
  --glass-bg: rgba(25, 23, 33, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --container-max-width: 1280px;
  --header-height: 80px;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 50% 50%, var(--bg-main) 0%, var(--bg-deep) 100%);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 4px;
  border: 2px solid var(--bg-deep);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

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

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

li {
  list-style: none;
}

/* Grid overlay background to give that futuristic tech look */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(0, 158, 214, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 158, 214, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.5rem;
  position: relative;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  margin-bottom: 1rem;
}

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

.glow-text {
  text-shadow: 0 0 15px rgba(0, 158, 214, 0.5);
}

/* ==========================================================================
   REUSABLE UTILITIES & GLASSMORPHISM
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 30px rgba(0, 158, 214, 0.15);
  background: var(--bg-card-hover);
}

.glass-card:hover::before {
  opacity: 1;
}

/* Decorative tech elements */
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  background: rgba(0, 158, 214, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.tech-tag::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-color);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-color);
  color: #FFF;
  border: 1px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 158, 214, 0.3);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-color);
  box-shadow: 0 4px 25px rgba(0, 158, 214, 0.6);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Custom Cursor Elements (Desktop) */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s, height 0.3s, background-color 0.3s;
  mix-blend-mode: difference;
}

.custom-cursor-dot {
  width: 4px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 50%;
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
}

/* Hide default cursor on desktop */
@media (min-width: 1024px) {
  body.has-custom-cursor {
    cursor: none;
  }
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor .btn,
  body.has-custom-cursor .nav-toggle,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea {
    cursor: none;
  }
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  background: rgba(19, 17, 25, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.logo-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--color-secondary) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFF;
  font-size: 1.2rem;
  box-shadow: 0 0 10px rgba(0, 158, 214, 0.5);
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 1px solid var(--accent-color);
  border-radius: 10px;
  opacity: 0.5;
}

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

.nav-item {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  color: var(--text-light);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
  box-shadow: 0 0 8px var(--accent-color);
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition-smooth);
}

/* ==========================================================================
   HOMEPAGE SECTIONS
   ========================================================================== */

/* 1. Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 158, 214, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

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

.hero-content {
  z-index: 2;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Futuristic Spinning Globes or Tech Rings */
.tech-sphere-wrap {
  width: min(350px, 80vw);
  height: min(350px, 80vw);
  position: relative;
}

.tech-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(0, 158, 214, 0.2);
  border-radius: 50%;
  animation: rotateClockwise 20s linear infinite;
}

.tech-ring-inner {
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(0, 158, 214, 0.4);
  border-radius: 50%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: rotateCounterClockwise 10s linear infinite;
}

.tech-sphere {
  position: absolute;
  inset: 60px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 158, 214, 0.25) 0%, rgba(42, 48, 84, 0.8) 100%);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(0, 158, 214, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-sphere::after {
  content: 'GLOBAL';
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--text-light);
  text-shadow: 0 0 10px var(--accent-color);
  animation: pulseGlow 2s ease-in-out infinite alternate;
}

/* Animations for Hero Ring */
@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes pulseGlow {
  from { opacity: 0.6; }
  to { opacity: 1; text-shadow: 0 0 20px var(--accent-color); }
}

/* 2. Who We Are (About Teaser) */
.who-we-are {
  position: relative;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.who-we-are-content {
  display: flex;
  flex-direction: column;
}

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

.metric-card {
  text-align: center;
  border-top: 2px solid var(--accent-color);
}

.metric-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 158, 214, 0.3);
}

.metric-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* 3. Products Grid Section */
.products-preview {
  position: relative;
  background: rgba(19, 17, 25, 0.5);
}

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

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

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

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-image {
  height: 220px;
  background-color: rgba(42, 48, 84, 0.4);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Simulated Futuristic Product Display */
.product-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 158, 214, 0.1) 0%, transparent 100%);
}

.product-silhouette {
  width: 100px;
  height: 100px;
  opacity: 0.3;
  transition: var(--transition-smooth);
}

.product-card:hover .product-silhouette {
  transform: scale(1.1);
  opacity: 0.8;
  filter: drop-shadow(0 0 15px var(--accent-color));
}

.tech-spec {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 0.75rem;
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tech-spec span {
  font-weight: 600;
  color: var(--accent-color);
}

/* 4. Why Choose Us */
.why-choose-us {
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(0, 158, 214, 0.1);
  border: 1px solid var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 158, 214, 0.2);
}

/* 5. Global Standards Map Section */
.global-standards {
  position: relative;
}

.map-wrapper {
  margin-top: 3rem;
  position: relative;
}

.map-container-inner {
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
  width: 100%;
}

/* Simulated Vector Network Map */
.map-canvas-sim {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(circle, var(--accent-color) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-glow-points {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.map-node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
}

.map-node.origin {
  top: 60%;
  left: 60%;
  width: 16px;
  height: 16px;
  background: #FFF;
  border: 2px solid var(--accent-color);
  animation: pulseRadar 2s infinite;
}

.map-node.destination-1 { top: 30%; left: 20%; }
.map-node.destination-2 { top: 25%; left: 45%; }
.map-node.destination-3 { top: 45%; left: 80%; }
.map-node.destination-4 { top: 70%; left: 35%; }

/* Radial lines radiating from origin to destinations */
.map-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, #FFF, var(--accent-color), transparent);
  transform-origin: left center;
  opacity: 0.7;
}

@keyframes pulseRadar {
  0% { box-shadow: 0 0 0 0 rgba(0, 158, 214, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(0, 158, 214, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 158, 214, 0); }
}

.map-overlay-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 3;
  max-width: 350px;
}

/* 6. Call to Action Form */
.cta-section {
  position: relative;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

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

.form-control {
  width: 100%;
  background: rgba(19, 17, 25, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  color: var(--text-light);
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(0, 158, 214, 0.2);
  background: rgba(19, 17, 25, 0.8);
}

textarea.form-control {
  resize: none;
  height: 120px;
}

.form-response {
  text-align: center;
  border-radius: 8px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  margin-top: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s, margin 0.4s, height 0.4s;
}

.form-response.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  height: auto;
  padding: 1rem 1.2rem;
  margin-top: 1.25rem;
}

.form-response.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10B981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.form-response.error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #EF4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--glass-border);
  padding: 2rem 0;
  position: relative;
  z-index: 2;
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social .social-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 158, 214, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent-color);
  transition: var(--transition-smooth);
}

.footer-social .social-icon:hover {
  transform: scale(1.15);
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(0, 158, 214, 0.3);
  background: rgba(0, 158, 214, 0.15);
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

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

.footer-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   CONTACT PAGE CUSTOM GLASS CARDS
   ========================================================================== */
.contact-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
}

.contact-card-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(0, 158, 214, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.15rem;
  box-shadow: 0 0 12px rgba(0, 158, 214, 0.1);
  transition: var(--transition-smooth);
}

.glass-card:hover .contact-card-icon-box {
  background: rgba(0, 158, 214, 0.2);
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(0, 158, 214, 0.4);
  transform: scale(1.05);
}

.contact-card-title {
  color: var(--text-light);
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-card-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.contact-card-link:hover {
  color: var(--accent-color);
  transform: translateX(3px);
}

.contact-card-link.email-link {
  font-weight: 600;
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.contact-card-link.email-link:hover {
  color: var(--text-light);
  text-shadow: 0 0 8px rgba(0, 158, 214, 0.5);
  transform: translateX(3px);
}

.contact-social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-social-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 158, 214, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-color);
  transition: var(--transition-smooth);
}

.contact-social-icon:hover {
  transform: scale(1.15);
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(0, 158, 214, 0.4);
  background: rgba(0, 158, 214, 0.15);
}

/* ========================================================================== */

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ========================================================================== */

/* Tablet & Mobile navigation */
@media (max-width: 991px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 5rem;
    overflow: visible;
  }

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

  .hero-subtitle {
    margin: 0 auto 2.5rem auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media (max-width: 768px) {
  /* Navigation menu mobile overlay */
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(19, 17, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
    pointer-events: none;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

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

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

  /* Keep map container inner constrained to canvas visual area */
  .map-container-inner {
    height: 250px;
  }

  .map-overlay-card {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: 100%;
    margin-top: 1.5rem;
  }

  /* Form & Card Responsiveness */
  .glass-card {
    padding: 1.5rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

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

  /* Metric cards adjustments for narrow screens */
  .metric-grid {
    gap: 1rem;
  }

  .metric-card {
    padding: 1.25rem 0.75rem;
  }

  .metric-number {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .metric-number {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   PAGE HEADERS (SECONDARY PAGES)
   ========================================================================== */
.page-header {
  padding: calc(var(--header-height) + 3rem) 0 4rem 0;
  text-align: center;
  background: radial-gradient(circle at 50% 100%, rgba(0, 158, 214, 0.08) 0%, transparent 60%);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(0, 158, 214, 0.01) 1px, transparent 1px);
  background-size: 30px 100%;
  pointer-events: none;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}
