/* ===== CSS Variables & Reset ===== */
:root {
  --primary: #FFB84D;
  --secondary: #FF6B6B;
  --accent: #FF8C42;
  --gradient: linear-gradient(135deg, #FFB84D, #FF6B6B);
  --dark: #1a1a2e;
  --dark-light: #16213e;
  --text: #333;
  --text-light: #666;
  --bg: #fff;
  --bg-light: #f8f9fa;
  --bg-dark: #f0f0f5;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ===== Typography ===== */
h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0.75rem auto 0; font-size: 1.05rem; }
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,107,0.35); }
.btn-outline { border: 2px solid var(--primary); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--gradient); color: #fff; border-color: transparent; }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ===== Header / Navbar ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

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

.nav-logo { display: flex; align-items: center; gap: 0.6rem; }
.nav-logo img { height: 42px; width: auto; }
.nav-logo span { font-weight: 700; font-size: 1.1rem; color: var(--dark); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 500; font-size: 0.95rem; position: relative; color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent); }

.nav-cta { margin-left: 0.5rem; }
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta.active { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(135deg, #fff 0%, #fff5ee 50%, #fff0f0 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,184,77,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-text h1 { margin-bottom: 1.2rem; }
.hero-text h1 .highlight { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-text p { color: var(--text-light); font-size: 1.15rem; margin-bottom: 2rem; max-width: 500px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-visual img { width: 80%; max-width: 400px; animation: float 6s ease-in-out infinite; }

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

.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; }
.hero-stats .stat h3 { font-size: 1.8rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stats .stat p { font-size: 0.85rem; color: var(--text-light); }

/* ===== Section Spacing ===== */
section { padding: 5rem 0; }
.bg-light { background: var(--bg-light); }

/* ===== Services Cards ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(255,184,77,0.2); }
.service-card .icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* ===== Products Section ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-card .product-header {
  padding: 2.5rem 2rem;
  background: var(--gradient);
  color: #fff;
  text-align: center;
}
.product-card .product-header h3 { color: #fff; font-size: 1.6rem; }
.product-card .product-header p { color: rgba(255,255,255,0.9); margin-top: 0.3rem; }
.product-card .product-body { padding: 2rem; }
.product-card .product-body p { color: var(--text-light); margin-bottom: 1.2rem; }
.product-card .feature-list li {
  padding: 0.4rem 0;
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-card .feature-list li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ===== About Section ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.value-card .icon { font-size: 2.2rem; margin-bottom: 0.8rem; }
.value-card h3 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.value-card p { color: var(--text-light); font-size: 0.9rem; }

/* ===== Why Choose Us ===== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.why-card { text-align: center; padding: 2rem; }
.why-card .number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.why-card h3 { margin: 0.5rem 0; }
.why-card p { color: var(--text-light); font-size: 0.9rem; }

/* ===== Contact Section ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-card .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-card h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-card p, .contact-card a { color: var(--text-light); font-size: 0.9rem; }
.contact-card a:hover { color: var(--accent); }

.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.map-container { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { width: 100%; height: 300px; border: 0; }

/* ===== CTA Section ===== */
.cta-section {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.9); max-width: 550px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: #ccc; padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { margin-top: 0.8rem; font-size: 0.9rem; line-height: 1.7; }
.footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Page Banner ===== */
.page-banner {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: #fff;
  text-align: center;
}
.page-banner h1 { color: #fff; margin-bottom: 0.5rem; }
.page-banner p { color: rgba(255,255,255,0.8); }
.breadcrumb { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.9rem; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: rgba(255,255,255,0.6); }

/* ===== Services Detail Page ===== */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail .icon-large {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.service-detail h3 { margin-bottom: 0.8rem; font-size: 1.5rem; }
.service-detail p { color: var(--text-light); margin-bottom: 1rem; }
.service-detail ul li {
  padding: 0.3rem 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-detail ul li::before { content: '→'; color: var(--accent); font-weight: 700; }

.service-visual {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  font-size: 5rem;
}

/* ===== Process Section ===== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.process-step { text-align: center; padding: 1.5rem; position: relative; }
.process-step .step-num {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.process-step h4 { margin-bottom: 0.4rem; }
.process-step p { color: var(--text-light); font-size: 0.9rem; }

/* ===== Team / About Page ===== */
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mv-card {
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}
.mv-card h3 { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.mv-card p { color: var(--text-light); }

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 280px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail, .service-detail:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .service-visual { min-height: 200px; }
  .mission-vision { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: 0; }
  section { padding: 3.5rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
  .products-grid { grid-template-columns: 1fr; }
}
