/* ============================================================
   CopperData Analytics - Main Stylesheet
   BRAND: CopperData Analytics
   PALETTE: Copper #d97706 | Bronze #92400e | Cream #fef3c7 | Dark Brown
   ============================================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --copper: #d97706;
  --copper-light: #e8932a;
  --copper-dark: #b45309;
  --bronze: #92400e;
  --bronze-dark: #78340f;
  --cream: #fef3c7;
  --cream-light: #fef9e7;
  --cream-dark: #fde68a;
  --dark-brown: #2d1a0e;
  --dark-brown-light: #3d2415;
  --dark-brown-lighter: #4a2d1a;
  --white: #fffdf7;
  --text-dark: #2d1a0e;
  --text-medium: #5c3d2e;
  --text-light: #8b6b5a;
  --copper-gradient: linear-gradient(135deg, #d97706, #b45309, #92400e);
  --copper-gradient-light: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
  --card-border: linear-gradient(135deg, #d97706, #b45309);
  --shadow-copper: 0 4px 20px rgba(217, 119, 6, 0.15);
  --shadow-copper-lg: 0 8px 40px rgba(217, 119, 6, 0.2);
  --shadow-dark: 0 4px 20px rgba(45, 26, 14, 0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Georgia', 'Noto Serif SC', serif;
  --font-body: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--cream-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Grain Texture Overlay --- */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
}

.grain-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Section Base --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-cream {
  background-color: var(--cream-light);
}

.section-cream-deep {
  background-color: var(--cream);
}

.section-dark {
  background-color: var(--dark-brown);
  color: var(--cream-light);
}

.section-dark-brown {
  background-color: var(--dark-brown-light);
  color: var(--cream-light);
}

.section-gradient {
  background: linear-gradient(180deg, var(--dark-brown) 0%, var(--bronze-dark) 100%);
  color: var(--cream-light);
}

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

.section-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
  padding: 6px 16px;
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: 50px;
  background: rgba(217, 119, 6, 0.05);
}

.section-dark .section-subtitle {
  color: var(--copper-light);
  border-color: rgba(217, 119, 6, 0.4);
  background: rgba(217, 119, 6, 0.1);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-dark .section-title,
.section-dark-brown .section-title,
.section-gradient .section-title {
  color: var(--cream-light);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-dark .section-desc,
.section-dark-brown .section-desc,
.section-gradient .section-desc {
  color: rgba(254, 243, 199, 0.7);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  text-align: center;
}

.btn-primary {
  background: var(--copper-gradient);
  color: #fff;
  box-shadow: var(--shadow-copper);
}

.btn-primary:hover {
  background: var(--copper-gradient-light);
  box-shadow: var(--shadow-copper-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--copper);
  border: 2px solid var(--copper);
}

.btn-outline:hover {
  background: var(--copper);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream-light);
  border: 2px solid var(--cream-light);
}

.btn-outline-light:hover {
  background: var(--cream-light);
  color: var(--dark-brown);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-copper-light {
  background: rgba(254, 243, 199, 0.15);
  color: var(--cream-light);
  border: 1px solid rgba(254, 243, 199, 0.3);
}

.btn-copper-light:hover {
  background: rgba(254, 243, 199, 0.25);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(254, 243, 199, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.2);
  transition: var(--transition);
  height: 72px;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(217, 119, 6, 0.1);
  background: rgba(254, 243, 199, 0.98);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--copper-dark);
  letter-spacing: 1px;
}

.navbar-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--copper-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper-gradient);
  transition: width 0.3s ease;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--copper-dark);
}

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

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar-toggle span {
  width: 26px;
  height: 2px;
  background: var(--copper-dark);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 160px 0 120px;
  background-color: var(--cream-light);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--dark-brown);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-text h1 .copper-highlight {
  background: var(--copper-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-medium);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 500px;
}

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

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-copper-lg);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.35), rgba(146, 64, 14, 0.25));
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.hero-image-border {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 22px;
  background: var(--card-border);
  z-index: -1;
  opacity: 0.6;
}

.hero-ornament {
  position: absolute;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.06);
  pointer-events: none;
}

.hero-ornament-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -80px;
}

.hero-ornament-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -60px;
}

/* Parallax texture shapes */
.parallax-texture {
  position: absolute;
  pointer-events: none;
  opacity: 0.03;
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
}

.parallax-texture-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  right: 5%;
  background: var(--copper-gradient);
  animation: parallaxFloat 20s ease-in-out infinite;
}

.parallax-texture-2 {
  width: 250px;
  height: 250px;
  bottom: 15%;
  left: 3%;
  background: linear-gradient(135deg, var(--bronze), var(--copper-dark));
  animation: parallaxFloat 25s ease-in-out infinite reverse;
}

.parallax-texture-3 {
  width: 180px;
  height: 180px;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, var(--copper-light), transparent);
  animation: parallaxFloat 18s ease-in-out infinite;
}

@keyframes parallaxFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -20px) rotate(5deg); }
  50% { transform: translate(-15px, 25px) rotate(-3deg); }
  75% { transform: translate(20px, 15px) rotate(2deg); }
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  background-color: var(--dark-brown);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--dark-brown-light);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 22px;
  background: var(--card-border);
  z-index: -1;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-copper-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(217, 119, 6, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--copper-light);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream-light);
  margin-bottom: 12px;
}

.feature-card p {
  color: rgba(254, 243, 199, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats {
  background-color: var(--cream);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(217, 119, 6, 0.3), transparent);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: var(--copper-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-medium);
  font-weight: 500;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  background-color: var(--dark-brown-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: rgba(254, 243, 199, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  border: 1px solid rgba(217, 119, 6, 0.15);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(217, 119, 6, 0.4);
  box-shadow: 0 0 40px rgba(217, 119, 6, 0.1);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 25px;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(217, 119, 6, 0.2);
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars .star {
  color: #d97706;
  font-size: 1.2rem;
}

.testimonial-text {
  color: rgba(254, 243, 199, 0.85);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--copper);
}

.testimonial-name {
  color: var(--cream-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  color: rgba(254, 243, 199, 0.5);
  font-size: 0.8rem;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
  background-color: var(--cream-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  padding: 24px 0;
  cursor: pointer;
}

.faq-item:first-child {
  border-top: 1px solid rgba(217, 119, 6, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark-brown);
  position: relative;
  padding-left: 24px;
}

.faq-question::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--copper-gradient);
  border-radius: 2px;
}

.faq-question-icon {
  font-size: 1.2rem;
  color: var(--copper);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 16px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  background: linear-gradient(135deg, var(--dark-brown) 0%, var(--bronze-dark) 50%, var(--dark-brown) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.1) 0%, transparent 70%);
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta .section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta .section-desc {
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: #1a0f07;
  padding: 80px 0 30px;
  color: rgba(254, 243, 199, 0.7);
}

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

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--cream-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--copper-gradient);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(254, 243, 199, 0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--copper-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(254, 243, 199, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(254, 243, 199, 0.4);
}

.footer-bottom-links a:hover {
  color: var(--copper-light);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: 160px 0 100px;
  background-color: var(--cream-light);
  text-align: center;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--dark-brown);
}

.about-story {
  background-color: var(--cream);
  padding: 100px 0;
}

.about-story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--dark-brown);
  margin-bottom: 24px;
}

.about-story-text p {
  color: var(--text-medium);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-story-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.about-story-image-border {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 22px;
  background: var(--card-border);
  z-index: -1;
}

.about-values {
  background-color: var(--dark-brown);
  padding: 100px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-card {
  background: var(--dark-brown-light);
  border-radius: var(--radius-lg);
  padding: 40px 25px;
  text-align: center;
  border: 1px solid rgba(217, 119, 6, 0.2);
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(217, 119, 6, 0.5);
  transform: translateY(-6px);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  color: var(--copper-light);
  border: 2px solid rgba(217, 119, 6, 0.3);
}

.value-card h3 {
  font-family: var(--font-heading);
  color: var(--cream-light);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.value-card p {
  color: rgba(254, 243, 199, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.about-team {
  background-color: var(--cream-light);
  padding: 100px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
  padding: 30px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 119, 6, 0.1);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-copper);
  border-color: rgba(217, 119, 6, 0.3);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid var(--copper);
}

.team-card h3 {
  font-family: var(--font-heading);
  color: var(--dark-brown);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-role {
  color: var(--copper);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-bio {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding: 160px 0 100px;
  background-color: var(--cream-light);
  text-align: center;
}

.contact-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--dark-brown);
}

.contact-main {
  padding: 80px 0;
  background-color: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(217, 119, 6, 0.1);
}

.contact-form h2 {
  font-family: var(--font-heading);
  color: var(--dark-brown);
  font-size: 1.6rem;
  margin-bottom: 30px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--cream-light);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #dc2626;
}

.form-error-msg {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-error-msg.visible {
  display: block;
}

.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-success.visible {
  display: block;
}

.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(217, 119, 6, 0.1);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-copper);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(217, 119, 6, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--copper);
  margin-bottom: 14px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  color: var(--dark-brown);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.contact-info-card p {
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after { display: none; }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-title { font-size: 2rem; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 { font-size: 2.4rem; }
  .hero-text p { max-width: 100%; margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-image img { height: 280px; }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

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

  .about-story-content {
    grid-template-columns: 1fr;
  }

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

  .navbar-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(254, 243, 199, 0.98);
    padding: 20px 0;
    gap: 0;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
  }

  .navbar-links.active {
    transform: translateY(0);
  }

  .navbar-links a {
    display: block;
    padding: 14px 30px;
    border-bottom: 1px solid rgba(217, 119, 6, 0.08);
  }

  .navbar-toggle { display: flex; }

  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.9rem; }
  .section-title { font-size: 1.7rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item::after { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 20px; }
}
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?66486df8906d1585b228aae20f1074ed";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>

