/* 
 * Yichalal SACCOS Style Sheet
 * Brand Colors: 
 *   - Fresh Green: #97DC7B (rgb(151, 220, 123))
 *   - Charcoal Black: #222222 (rgb(34, 34, 34))
 */

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

:root {
  /* Colors */
  --primary: #97DC7B;
  --primary-rgb: 151, 220, 123;
  --primary-hover: #83c667;
  --primary-dark: #6fa654;
  --primary-light: #f0f9ed;
  
  --dark: #222222;
  --dark-rgb: 34, 34, 34;
  --dark-light: #2d2d2d;
  --dark-lighter: #3c3c3c;
  
  --light-bg: #f9f9f7;
  --white: #ffffff;
  --white-trans: rgba(255, 255, 255, 0.85);
  
  --success: #2ec4b6;
  --danger: #e71d36;
  --muted: #767676;
  --border-color: rgba(34, 34, 34, 0.08);
  --border-color-light: rgba(34, 34, 34, 0.04);
  
  /* Layout */
  --header-height: 80px;
  --header-height-scroll: 70px;
  --container-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(34, 34, 34, 0.03);
  --shadow-md: 0 12px 32px rgba(34, 34, 34, 0.06);
  --shadow-lg: 0 20px 48px rgba(34, 34, 34, 0.1);
  --shadow-primary: 0 10px 25px rgba(151, 220, 123, 0.25);
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

/* Typography styles */
.text-gradient {
  background: linear-gradient(135deg, var(--dark) 50%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent {
  color: var(--primary-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--dark);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(151, 220, 123, 0.35);
}

.btn-dark {
  background-color: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--dark-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--dark);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-round-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-round-icon:hover {
  background-color: var(--dark);
  color: var(--white);
  transform: rotate(45deg);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-bg-dark {
  background-color: var(--dark);
  color: var(--white);
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
  color: var(--white);
}

/* Header Section */
.topbar {
  background-color: var(--primary);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-socials {
  display: flex;
  gap: 12px;
}

.topbar-socials a:hover {
  transform: translateY(-1px);
  opacity: 0.8;
}

.header {
  height: var(--header-height);
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: var(--white-trans);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: var(--header-height-scroll);
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary);
  transition: var(--transition-smooth);
}

.logo:hover img {
  transform: rotate(360deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark-light);
  position: relative;
  padding: 6px 0;
}

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

.nav-link:hover {
  color: var(--dark);
}

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

.nav-link.active {
  color: var(--dark);
  font-weight: 700;
}

.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 100px 0 60px 0;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero > .container {
  max-width: 100%;
  padding-left: max(24px, calc((100vw - var(--container-width)) / 2 + 24px));
  padding-right: 24px;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/yichalal-img.png');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.hero-fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--light-bg) 0%,
    rgba(249, 249, 247, 0.97) 30%,
    rgba(249, 249, 247, 0.82) 48%,
    rgba(249, 249, 247, 0.45) 65%,
    rgba(249, 249, 247, 0.1) 80%,
    transparent 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(151, 220, 123, 0.2);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(151, 220, 123, 0.3);
  backdrop-filter: blur(8px);
}

.hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-dark);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  color: var(--dark);
}

.hero-title .text-accent {
  color: var(--primary-dark);
  -webkit-text-fill-color: var(--primary-dark);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Hero Trust / Social Proof Bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(151, 220, 123, 0.25);
  border-radius: var(--border-radius-lg);
  padding: 16px 28px;
  max-width: max-content;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-trust-text {
  display: flex;
  flex-direction: column;
}

.hero-trust-text strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.hero-trust-text span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.hero-trust-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(34, 34, 34, 0.1);
}

/* Section Header styling */
.section-header {
  max-width: 600px;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-tag span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
}

/* Intro/Features Cards - grid layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
  background-color: var(--primary);
  color: var(--dark);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.feature-link i {
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.feature-card:hover .feature-link {
  color: var(--primary-dark);
}

.feature-card:hover .feature-link i {
  transform: translateX(4px);
}

/* Feature card styles mirroring the inspiration website colors */
.feature-card-green {
  background-color: var(--primary);
  color: var(--dark);
  border-color: transparent;
}

.feature-card-green .feature-icon-box {
  background-color: rgba(255, 255, 255, 0.4);
  color: var(--dark);
}

.feature-card-green p {
  color: rgba(34, 34, 34, 0.8);
}

.feature-card-green:hover {
  background-color: var(--primary-hover);
  color: var(--dark);
}

.feature-card-dark {
  background-color: var(--dark);
  color: var(--white);
  border-color: transparent;
}

.feature-card-dark h3 {
  color: var(--white);
}

.feature-card-dark .feature-icon-box {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--primary);
}

.feature-card-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.feature-card-dark .feature-link {
  color: var(--white);
}

.feature-card-dark:hover .feature-icon-box {
  background-color: var(--primary);
  color: var(--dark);
}

/* About Us Section styling */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.about-images-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
}

.about-img-large {
  grid-column: span 2;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 350px;
  box-shadow: var(--shadow-md);
}

.about-img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-small {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 190px;
  box-shadow: var(--shadow-sm);
}

.about-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stat-box {
  background-color: var(--primary);
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.about-stat-box h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 5px;
}

.about-stat-box p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-light);
  line-height: 1.2;
}

.about-info {
  display: flex;
  flex-direction: column;
}

.about-description {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.about-quote-card {
  background-color: var(--white);
  border-left: 4px solid var(--primary);
  padding: 24px;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.about-quote-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.about-quote-author {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-quote-author::before {
  content: '';
  width: 15px;
  height: 2px;
  background-color: var(--primary);
}

.about-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 35px;
}

.about-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-meta-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 2px;
}

.about-meta-text h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-meta-text p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.services-grid-item {
  display: grid;
  grid-column: span 1;
}

.service-item-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 35px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.service-item-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-item-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-md);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.service-item-card:hover .service-item-icon {
  background-color: var(--primary);
  color: var(--dark);
}

.service-item-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-item-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.service-rate {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.service-rate strong {
  display: block;
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 800;
}

/* Calculator Section Styles */
.calculator-card {
  background-color: var(--white);
  border-radius: var(--border-radius-xl);
  padding: 50px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.form-select, .form-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  border: 1.5px solid var(--border-color);
  background-color: var(--light-bg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  border-color: var(--primary-dark);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(151, 220, 123, 0.15);
}

.range-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.range-val-bubble {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
  background-color: var(--primary-light);
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-dark);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  background: var(--dark);
  transform: scale(1.1);
}

.range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.calculator-results {
  background-color: var(--dark);
  color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-top h3 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 24px;
  border-bottom: 1.5px dashed rgba(255, 255, 255, 0.15);
  padding-bottom: 16px;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.result-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.result-value-highlight {
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 800;
}

.calculator-cta-box {
  margin-top: 35px;
  border-top: 1.5px dashed rgba(255, 255, 255, 0.15);
  padding-top: 30px;
}

.calculator-cta-box .btn {
  width: 100%;
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.why-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.why-circle-bg {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1.5px dashed rgba(151, 220, 123, 0.4);
  animation: rotateCircle 30s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.why-image-wrap {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.why-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-benefits {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-item {
  display: flex;
  gap: 20px;
}

.benefit-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.benefit-content h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.benefit-content p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Tagline Banner - Big Amharic Statement */
.tagline-banner {
  padding: 80px 0;
  background-color: var(--dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tagline-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: rgba(151, 220, 123, 0.05);
  top: -200px;
  left: -200px;
}

.tagline-banner::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: rgba(151, 220, 123, 0.05);
  bottom: -200px;
  right: -200px;
}

.tagline-amharic {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.tagline-english {
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Section & Form styling */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
}

.contact-intro {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-detail-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-md);
  background-color: var(--white);
  border: 1.5px solid var(--border-color);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-detail-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-detail-content p, .contact-detail-content a {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-detail-content a:hover {
  color: var(--primary-dark);
}

.contact-social-wrap h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-social-grid {
  display: flex;
  gap: 16px;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  background-color: var(--white);
  border: 1.5px solid var(--border-color);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.contact-social-btn:hover {
  background-color: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.contact-form-card {
  background-color: var(--white);
  border-radius: var(--border-radius-xl);
  padding: 50px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.contact-form-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-textarea {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  border: 1.5px solid var(--border-color);
  background-color: var(--light-bg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition-fast);
  resize: vertical;
  min-height: 120px;
}

.form-textarea:focus {
  border-color: var(--primary-dark);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(151, 220, 123, 0.15);
}

.alert-message {
  padding: 16px;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Footer styling */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 60px;
}

.footer-col-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
}

.footer-logo img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.footer-col-info p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-icon {
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-text h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.footer-contact-text p, .footer-contact-text a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.footer-contact-text a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-credit {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-credit a {
  color: var(--primary);
  font-weight: 600;
}

/* Animations Trigger setups for GSAP (preventing flash) */
.gsap-reveal {
  opacity: 0;
  transform: translateY(30px);
}

.gsap-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.gsap-reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

/* Pulse Keyframes */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(111, 166, 84, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(111, 166, 84, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(111, 166, 84, 0);
  }
}

@keyframes rotateCircle {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Responsive Styling */
@media (max-width: 1024px) {
  .about-grid, .calculator-grid, .why-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .features-grid, .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-trust-bar {
    gap: 16px;
    padding: 14px 20px;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-visual {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .topbar {
    display: none; /* Hide topbar on mobile to save space */
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    padding: 50px 24px;
    gap: 30px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-cta {
    display: none; /* Let Nav menu contain it, or place inside hamburger */
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-fade-overlay {
    background: linear-gradient(to right, var(--light-bg) 0%, rgba(249, 249, 247, 0.97) 40%, rgba(249, 249, 247, 0.85) 70%, rgba(249, 249, 247, 0.6) 100%);
  }
  
  .hero-trust-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }
  
  .hero-trust-divider {
    display: none;
  }
  
  .features-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  
  .tagline-amharic {
    font-size: 2.2rem;
  }
  
  .tagline-english {
    font-size: 1.1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .about-meta {
    grid-template-columns: 1fr;
  }
  
  .calculator-card, .contact-form-card {
    padding: 30px 20px;
  }
  
  .why-circle-bg {
    width: 320px;
    height: 320px;
  }
  
  .why-image-wrap {
    width: 280px;
    height: 280px;
  }
}
