/* ============================================
   Yonatan General Trading - Global Styles
    Import-Export Company
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Colors */
  --primary: #009AFD;
  --primary-dark: #007bbd;
  --primary-light: #4dbfff;
  --secondary: #FFFEFE;
  --tertiary: #FEF200;
  --tertiary-dark: #d1c700;
  --bg: #f5faff;
  --white: #FFFFFF;
  --text: #001a33;
  --text-light: #50667a;
  --accent: var(--tertiary);
  --border: #d0e1f0;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;

  /* Transitions */
  --transition: 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-light);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary-dark);
  border: 2px solid var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  font-family: var(--font-body);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: var(--text);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background-color: rgba(93, 58, 26, 0.05);
}

.nav-cta {
  padding: 0.625rem 1.25rem;
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 500;
}

.nav-cta:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.125rem;
}

.section-dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.95);
}

.section-alt {
  background-color: var(--white);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--bg) 0%, #F0EDE8 100%);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero .lead {
  margin-bottom: var(--space-lg);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 600px;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Hero Decorative Elements */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201, 168, 108, 0.15) 0%, transparent 70%);
  z-index: 0;
}

/* ---------- Cards ---------- */
.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--white);
  font-size: 1.5rem;
}

.card-icon.green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
}

.card-icon.accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--text-light);
}

/* ---------- Grid Layouts ---------- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Product Cards ---------- */
.product-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  transition: all var(--transition);
}

.section-products {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6efff 100%); /* Cool industrial blue */
  position: relative;
  z-index: 1;
}

.section-products .grid {
  margin-bottom: 50px;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.product-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--green);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-card-content {
  padding: var(--space-md);
}

.product-card h3 {
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

/* ---------- Features / Why Choose Us ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.feature {
  display: flex;
  gap: var(--space-md);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 252, 0, 0.15); /* Tertiary yellow background for icons */
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tertiary);
}

.feature h4 {
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
  color: var(--text-light);
}

.section-dark .stat-item h3 {
  color: var(--accent);
}

.section-dark .stat-item p {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.cta-section .btn-accent {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-sm);
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--accent);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.social-links a:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
}

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 160px 0 80px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--text);
  transition: all var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(93, 58, 26, 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

/* ---------- Contact Info ---------- */
.contact-info {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.contact-info-content h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-info-content p,
.contact-info-content a {
  color: rgba(255, 255, 255, 0.8);
}

.contact-info-content a:hover {
  color: var(--accent);
}

/* ---------- About Page Specific ---------- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-content.reverse {
  direction: rtl;
}

.about-content.reverse>* {
  direction: ltr;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.value-card {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.value-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--white);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0;
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  transform: translateX(-5px);
}

.timeline-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ---------- Services Process ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: var(--space-xl);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  position: absolute;
  top: -15px;
  left: var(--space-xl);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
}

.process-step h4 {
  margin-bottom: 0.75rem;
  padding-top: 0.5rem;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

/* ---------- Detailed Service Sections ---------- */
.service-detail {
  padding: var(--space-3xl) 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-text h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--primary-dark);
}

.service-detail-text p {
  margin-bottom: var(--space-lg);
  font-size: 1.125rem;
  line-height: 1.8;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-xl);
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: var(--text);
}

.service-features li svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 4px;
}

.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 450px;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-detail:hover .service-detail-image img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .service-detail-grid.reverse {
    direction: ltr;
  }

  .service-features li {
    justify-content: center;
    text-align: left;
  }

  .service-detail-image {
    height: 350px;
    order: -1;
  }
}

/* ---------- Certifications ---------- */
.certifications {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.certification-badge {
  width: 120px;
  height: 120px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 1rem;
}

.certification-badge svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary);
  margin-bottom: 0.5rem;
}

.certification-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* ---------- Utility Classes ---------- */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--space-sm);
}

.mb-2 {
  margin-bottom: var(--space-md);
}

.mb-3 {
  margin-bottom: var(--space-lg);
}

.mb-4 {
  margin-bottom: var(--space-xl);
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--space-sm);
}

.mt-2 {
  margin-top: var(--space-md);
}

.mt-3 {
  margin-top: var(--space-lg);
}

.mt-4 {
  margin-top: var(--space-xl);
}

.mt-5 {
  margin-top: var(--space-3xl) !important;
}

.pt-50 {
  padding-top: 50px !important;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
  .hero-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    transform: none;
    margin-top: var(--space-xl);
  }

  .hero {
    padding-top: 100px;
    padding-bottom: var(--space-2xl);
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-content.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-2xl: 3rem;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    gap: var(--space-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .stat-item h3 {
    font-size: 2.5rem;
  }
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.2, 1, 0.3, 1), transform 1s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active,
.reveal.animate-fade-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* ---------- Advanced Animations ---------- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes shadow-pulse {
  0% { box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
  100% { box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
}

.hero-image img {
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.hero-image:hover img {
  animation-play-state: paused;
  transform: scale(1.02);
}

.typewriter-cursor::after {
  content: '|';
  animation: blink 0.7s infinite;
  margin-left: 2px;
  color: var(--accent);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---------- Loader ---------- */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 30px;
  display: grid;
}

.loader:before,
.loader:after {
  content: "";
  grid-area: 1/1;
  --c: no-repeat linear-gradient(#062b70c3 0 0);
  background: var(--c), var(--c), var(--c);
  animation:
    l14-1 1s infinite linear,
    l14-2 1s infinite linear;
}

.loader:after {
  transform: scale(-1);
}

@keyframes l14-1 {
  0%,
  3% {
    background-size:
      0 4px,
      4px 0,
      0 4px;
  }
  16.67% {
    background-size:
      calc(50% - 6px) 4px,
      4px 0,
      0 4px;
  }
  33.33% {
    background-size:
      calc(50% - 6px) 4px,
      4px 14px,
      0 4px;
  }
  46%,
  54% {
    background-size:
      calc(50% - 6px) 4px,
      4px 14px,
      calc(50% + 6px) 4px;
  }
  66.67% {
    background-size:
      0 4px,
      4px 14px,
      calc(50% + 6px) 4px;
  }
  83.33% {
    background-size:
      0 4px,
      4px 0,
      calc(50% + 6px) 4px;
  }
  96%,
  100% {
    background-size:
      0 4px,
      4px 0,
      0 4px;
  }
}

@keyframes l14-2 {
  0%,
  49.9% {
    background-position:
      0 50%,
      left calc(50% - 6px) bottom 13px,
      left 24px top 3px;
  }
  50%,
  100% {
    background-position:
      right 36px top 50%,
      left calc(50% - 6px) top 3px,
      right 0 top 3px;
  }
}

@keyframes rise {
  0% {
    transform: translate(-50%, 0) scale(0.4);
    opacity: 0;
  }

  30% {
    opacity: 0.7;
  }

  60% {
    opacity: 0.4;
  }

  100% {
    transform: translate(-50%, -120px) scale(1);
    opacity: 0;
  }
}

@keyframes shake {
  0% {
    transform: translateX(0) translateY(0) rotate(0);
  }

  25% {
    transform: translateX(-4px) translateY(-2px) rotate(-2deg);
  }

  50% {
    transform: translateX(0) translateY(0) rotate(0);
  }

  75% {
    transform: translateX(4px) translateY(-2px) rotate(2deg);
  }

  100% {
    transform: translateX(0) translateY(0) rotate(0);
  }
}

/* New Animations */
@keyframes cupPulse {

  0%,
  100% {
    background-color: #5b4022cb;
  }

  50% {
    background-color: #f5f5f5bd;
  }
}

@keyframes coffeeGlow {

  0%,
  100% {
    background: #da8920ca;
  }

  50% {
    background: #fed197d5;
  }
}