:root {
  --navy-blue: #0b1a2e;
  --crimson-red: #e11d48;
  --accent-blue: #3498db;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-white: #ffffff;
  --bg-soft: #f8fafc;
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 25px -5px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Montserrat', sans-serif;
}

body {
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Navigation --- */
.top-bar {
  background: var(--bg-white);
  color: var(--navy-blue);
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  border-bottom: 1px solid #eee;
}

.top-bar .contact-info span {
  margin-right: 20px;
  color: var(--navy-blue);
}

.top-bar .social-links a {
  color: var(--navy-blue);
  margin-left: 15px;
  text-decoration: none;
  transition: var(--transition);
}

.top-bar .contact-info span {
  margin-right: 20px;
}

.top-bar .social-links a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  transition: var(--transition);
}

.top-bar .social-links a:hover {
  color: var(--accent-orange);
}

nav {
  background: var(--navy-blue);
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 65px;
  width: auto;
  transition: var(--transition);
  margin: 5px 0;
}

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

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--crimson-red);
  transition: var(--transition);
}

.nav-links a:hover {
  color: white;
  opacity: 1;
}

.nav-links a:hover::after {
  width: 100%;
}

/* --- Mobile Menu Button --- */
.menu-btn {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
  transition: var(--transition);
}

.menu-btn:hover {
  color: var(--crimson-red);
}

/* --- Hero Section --- */
.hero {
  height: 85vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5);
  animation: zoom 20s infinite alternate;
}

@keyframes zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-content {
  padding: 0 10%;
  max-width: 900px;
  z-index: 10;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  background: linear-gradient(to right, #fff, #bbb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 35px;
  opacity: 0.9;
  max-width: 600px;
}

/* --- Page Header (Subpages) --- */
.page-header {
  background: var(--navy-blue);
  padding: 80px 10%;
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.1rem;
  color: #888;
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--crimson-red);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

.btn:hover {
  background: var(--navy-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-alt {
  background: transparent;
  border: 2px solid white;
  box-shadow: none;
}

.btn-alt:hover {
  background: white;
  color: var(--navy-blue);
}

/* --- Who We Are --- */
.section {
  padding: 100px 10%;
}

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

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header span {
  color: var(--crimson-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--navy-blue);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 74, 153, 0.1);
  color: var(--primary-blue);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 25px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-blue);
}

.feature-card p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* --- Split Section (About) --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.split-image {
  position: relative;
}

.split-image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.split-image::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--crimson-red);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
}

.split-content h2 {
  font-size: 2.8rem;
  color: var(--navy-blue);
  margin-bottom: 30px;
}

.split-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--primary-blue);
  padding: 60px 10%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  color: white;
}

.stat-box h3 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-box p {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* --- Product Cards --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #eee;
}

.product-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.product-thumb {
  height: 250px;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-divider {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin: 50px 0 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--crimson-red);
  display: inline-block;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-blue);
}

.form-group input, .form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--crimson-red);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.product-info {
  padding: 30px;
}

.product-info h4 {
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

/* --- Footer --- */
footer {
  background: #0a0e14;
  color: white;
  padding: 100px 10% 50px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-logo-wrapper {
  margin-bottom: 25px;
}

.footer-logo-image {
  height: 80px;
  width: auto;
}

.footer-about h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.3rem;
  margin-bottom: 30px;
  position: relative;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 2px;
  background: var(--crimson-red);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 10px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  color: #888;
}

.contact-item i {
  color: var(--accent-orange);
}

.certifications-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 30px 10%;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 40px;
  background: rgba(255,255,255,0.02);
}

.cert-item {
  color: #888;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cert-item i {
  color: var(--crimson-red);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555;
  font-size: 0.9rem;
}

/* --- Floating --- */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1) rotate(10deg);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 3.5rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
    font-size: 1.8rem;
    padding: 10px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-blue);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -15px 0 35px rgba(0,0,0,0.4);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 25px 0;
  }

  .nav-links a {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  .hero {
    height: 90vh;
    padding: 0 5%;
    text-align: center;
  }

  .hero-content {
    padding: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 { 
    font-size: 2.8rem; 
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .hero p { 
    font-size: 1.1rem; 
    margin-bottom: 30px;
    max-width: 100%;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  
  .btn { 
    width: 100%; 
    justify-content: center;
    padding: 16px 32px;
  }
  
  .section { padding: 80px 6%; }
  .section-header h2 { font-size: 2.2rem; }
  
  .page-header { padding: 80px 6%; }
  .page-header h1 { font-size: 2.5rem; }
  
  .footer-main { grid-template-columns: 1fr; gap: 50px; }
  .certifications-bar { flex-wrap: wrap; justify-content: center; gap: 25px; }

  .split-image::after {
    display: none; /* Remove decorative element that overflows on mobile */
  }
}

@media (max-width: 480px) {
  .top-bar { 
    flex-direction: column;
    gap: 10px;
    padding: 10px 5%;
    text-align: center;
  }
  
  .top-bar .contact-info span {
    margin-right: 0;
    display: block;
    margin-bottom: 5px;
  }

  .top-bar .social-links {
    justify-content: center;
    width: 100%;
  }

  .top-bar .social-links a {
    margin: 0 10px;
  }

  .brand-logo { height: 55px; }
  
  .hero h1 { font-size: 2.4rem; }
  
  .feature-grid, .product-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar { 
    grid-template-columns: 1fr; 
    padding: 60px 8%;
  }
  
  .stat-box h3 { font-size: 2.8rem; }
  
  .footer-bottom { 
    flex-direction: column; 
    text-align: center; 
    gap: 15px; 
    font-size: 0.8rem;
  }

  .floating-btn {
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}
