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

:root {
  --primary: #0A2540;
  --primary-light: #2d6bba;
  --secondary: #00D4FF;
  --accent: #E2E8F0;
  --text-dark: #1A202C;
  --text-light: #4A5568;
  --white: #FFFFFF;
  --bg-color: #F8FAFC;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--accent);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

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

.brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand span {
  color: var(--primary-light);
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 8px 0;
}

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

.nav-links a:hover, 
.nav-links a.active {
  color: var(--primary);
}

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

.btn-primary {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(45, 107, 186, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(45, 107, 186, 0.5);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border: 2px solid var(--primary);
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/hero_bg.png') no-repeat center center/cover;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  color: var(--white);
  animation: fadeUp 1s ease forwards;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: var(--secondary);
}

.hero-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

/* Section Common */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--primary-light);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
}

/* Features / Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.stat-card {
  background: var(--white);
  padding: 40px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--accent);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.stat-label {
  font-weight: 600;
  color: var(--text-dark);
}

/* Products Highlights (Home) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--accent);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.05);
}

.product-content {
  padding: 32px;
}

.product-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  font-weight: 700;
  margin-bottom: 8px;
}

.product-title {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--primary);
}

.product-card .btn-secondary {
  width: 100%;
  margin-top: 24px;
  padding: 10px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

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

.about-content h2 {
  font-size: 40px;
  margin-bottom: 24px;
  color: var(--primary);
}

.about-content p {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 24px;
}

.check-list {
  list-style: none;
  margin-bottom: 32px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 500;
}

.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary-light);
  color: white;
  border-radius: 50%;
  font-size: 14px;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 64px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.contact-info {
  background: var(--primary);
  color: var(--white);
  padding: 48px;
}

.contact-info h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.info-content h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.info-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 15px;
}

.contact-form {
  padding: 48px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: var(--transition);
  background-color: var(--bg-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(45, 107, 186, 0.1);
  background-color: var(--white);
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 2px solid white;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-5px);
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 24px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  max-width: 400px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page Headers (for inner pages) */
.page-header {
  padding: 160px 0 80px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

/* Product Filters */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.product-filter-mobile {
  display: none;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  border: 2px solid var(--accent);
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
  box-shadow: 0 4px 6px -1px rgba(45, 107, 186, 0.4);
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 48px;
  }
  
  .about-grid, .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .product-filters {
    display: none;
  }
  
  .product-filter-mobile {
    display: block;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: 0.5s;
    box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 15px;
    font-size: 18px;
    color: var(--text-dark);
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .section {
    padding: 70px 0;
  }

  .contact-wrapper {
    gap: 0;
  }
  
  .contact-info {
    padding: 32px;
  }
  
  .contact-form {
    padding: 32px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
}
