:root {
  /* Brand Colors from example.html */
  --bg-dark: #0a0a0a;
  --primary: #0ea5e9; /* Sky Blue */
  --primary-glow: rgba(14, 165, 233, 0.4);
  --secondary: #64748b; /* Slate */
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  
  /* Glass Effect vars */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(14, 165, 233, 0.3);

  --max-width: 1200px;
  --nav-height: 80px;
}

/* --- Base Setup --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* --- Background FX (From Example) --- */
.gradient-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
  opacity: 0.4;
  background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
}

.dot-pattern {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.4; } 50% { opacity: 0.6; }
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: var(--text-main);
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; color: var(--text-main); }

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

.lead { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin-bottom: 2rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }

a { text-decoration: none; transition: 0.3s ease; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--alt { background: rgba(0,0,0,0.2); } /* Slightly darker band */

/* --- Header --- */
.site-header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

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

.brand { display: flex; align-items: center; gap: 12px; }
.logo-icon { 
  height: 52px; /* Increased from 32px */
  width: auto; 
  object-fit: contain;
}
.brand-text { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.05em; color: var(--text-main); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--primary); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 12px; font-weight: 600;
  transition: all 0.3s ease; cursor: pointer;
}

.btn.primary {
  background: var(--primary); color: white;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn.primary:hover {
  background: #0284c7; transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--primary-glow);
}

.btn.secondary, .btn.outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
}
.btn.secondary:hover, .btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}
.btn.large { padding: 16px 32px; font-size: 1.1rem; }
.cta.small { padding: 8px 16px; font-size: 0.875rem; border-radius: 50px; background: var(--primary); color: white!important; }

/* --- Cards (Glassmorphism) --- */
.card, .product-card, .service-block {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.card:hover, .product-card:hover, .service-block:hover {
  background: var(--glass-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Card Specifics */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card-icon {    font-size: 1rem; margin-bottom: 1rem; text-align: center; }
.link { color: var(--primary); font-weight: 600; display: inline-block; margin-top: 1rem; }
.link:hover { color: white; transform: translateX(5px); }

.product-card-home { padding: 0 !important; overflow: hidden; }
.card-image-top { width: 100%; height: 200px; background: #1a1a1a; }
.card-image-top img { width: 100%; height: 100%; object-fit: cover; }
.card-content { padding: 2rem; }

/* --- Hero --- */
.hero { padding: 140px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-art img { width: 100%;}
.trust-blurbs {
  display: flex; gap: 24px; list-style: none; margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}
.trust-blurbs li strong { color: var(--primary); display: block; font-size: 1.5rem; }
.trust-blurbs li { color: var(--text-muted); font-size: 0.9rem; }

/* --- Products Page --- */
.product-grid { display: grid; gap: 40px; }
.product { display: flex; flex-direction: column; height: 100%; }
.product ul { padding-left: 20px; margin-bottom: 2rem; color: var(--text-muted); }
.product li { margin-bottom: 0.5rem; }

/* --- About Page --- */
.timeline { list-style: none; padding: 0; margin-top: 2rem; }
.timeline li {
  position: relative; padding-left: 30px; margin-bottom: 2rem;
  border-left: 2px solid var(--glass-border);
}
.timeline li::before {
  content: ''; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary);
}
.timeline strong { color: var(--primary); display: block; margin-bottom: 4px; }

/* --- Contact Form --- */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.contact-form {
  background: var(--glass-bg); border-radius: 20px; border: 1px solid var(--glass-border);
}
.form-row { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-main); }
input, textarea {
  width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--glass-border);
  color: white; padding: 12px 16px; border-radius: 8px; font-family: inherit; font-size: 1rem;
  transition: 0.3s;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.main-form{
  padding:2.5em;
}

.form-image{
  max-width:800px;
  
}

.form-image img{
  border-radius:20px 20px 0px 0px;
  max-width:800px;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--glass-border); padding: 60px 0; margin-top: 60px;
  background: rgba(0,0,0,0.4); font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-links a { margin-bottom: 12px; display: block; color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); }
.copyright { text-align: center; margin-top: 40px; color: var(--secondary); font-size: 0.8rem; }













.service-flex { display: flex; gap: 40px; align-items: stretch; }
.service-info { flex: 1.2; }
.service-visual { flex: 1; min-height: 300px; border-radius: 12px; overflow: hidden; background: var(--glass-bg); }
.service-visual img { width: 100%; height: 100%; object-fit: cover; }
.check-list { margin-top: 1.5rem; list-style: none; }

/* Responsive fix */
@media (max-width: 900px) {
  .service-flex { flex-direction: column; }
  .service-visual { height: 250px; order: -1; } /* Image moves to top on mobile */
}






.product-detail-card { display: flex; gap: 40px; padding: 3rem; align-items: center; }
.product-text { flex: 1; }
.product-image { flex: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.product-image img { width: 100%; display: block; height: auto; }
.product-text ul {margin-bottom:2.5em;}
.product-text li{    margin: 20px 0px 20px 0px; list-style: none;}

@media (max-width: 850px) {
  .product-detail-card { flex-direction: column; padding: 2rem; }
}












/* GSAP Helper Classes */
.gsap-hero, .gsap-fade-up { opacity: 0; transform: translateY(20px); }


/* Updated Hero Buttons container */
.hero-ctas {
  display: flex;
  flex-wrap: wrap; /* Allows buttons to stack safely */
  gap: 20px;       /* Adds space Both Horizontally and Vertically */
  margin-bottom: 24px;
}


.hero-grid {
  align-items: stretch; /* Makes both columns equal height */
}


.hero-art {
  overflow: hidden;
  display: flex;
  border-radius: 20px;
  border: 2px solid var(--primary);
  box-shadow: 
    0 0 30px var(--primary-glow),
    0 25px 50px rgba(0, 0, 0, 0.5);
}

.hero-art video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.85;
  filter: brightness(0.9) contrast(1.1);
  display: block;
}

/* Core Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-card:hover {
  background: var(--glass-hover);
  border-color: var(--primary);
  transform: translateY(-5px);
}

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

.value-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.value-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .hero-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-art, .hero-art video { display: none; } 
  .hero { text-align: center; padding-top: 100px; }
  .trust-blurbs { justify-content: center; }
  .hero-ctas { justify-content: center; }
}

/* Specific fix for Tablet/Narrow screens (<1000px) */
@media (max-width: 1000px) {
  .hero-ctas {
    flex-direction: column; /* Force vertical stack */
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;            /* Make buttons full width for a cleaner look */
    justify-content: center; /* Center the text/icon inside the button */
  }
}


/* --- Mobile Menu & Responsive Fixes --- */

/* 1. Hamburger Button (Hidden on Desktop) */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* 2. Responsive Breakpoint (Tablets & Phones) */
@media (max-width: 768px) {
  
  /* Show Hamburger */
  .mobile-toggle {
    display: block;
  }

  /* Transform Nav into a Dropdown */
  .nav {
    display: none; /* Hidden by default */
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95); /* Dark background */
    backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }

  /* Class to show nav when clicked (Added via JS) */
  .nav.is-open {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  /* Stack Product/Card Grids to full width */
  .cards-grid, 
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr !important; /* Force 1 column */
  }

  /* Typography & Spacing Fixes */
  h1 { font-size: 2.5rem; } /* Shrink huge headers */
  .section { padding: 40px 0; } /* Reduce vertical spacing */
  .hero { padding-top: 100px; }
  
  /* Fix container padding */
  .container { padding: 0 20px; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
