/* Ethio American - Main Stylesheet */

:root {
  --navy: #0A2540;
  --turquoise: #1FB5AC;
  --sand: #D4A574;
  --white: #FFFFFF;
  --light-gray: #F5F7FA;
  --gray: #667085;
  --dark-gray: #344054;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  background-color: var(--white);
}

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

/* Header */
header {
  background-color: var(--navy);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-wrapper img {
  width: 40px;
  height: 40px;
}

.brand-name {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
}

.contact-item svg {
  width: 20px;
  height: 20px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #134E5E 100%);
  color: var(--white);
  padding: 60px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.7;
  opacity: 0.95;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: block;
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-text {
    text-align: center;
  }
}

.cta-button {
  background-color: var(--turquoise);
  color: var(--white);
  padding: 15px 40px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #1A9B93;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 50px;
}

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

.feature-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(31, 181, 172, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray);
  line-height: 1.7;
}

/* About Preview Section */
.about-preview {
  padding: 80px 0;
  background-color: var(--white);
}

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

.about-text h2 {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-color: var(--turquoise);
}

.service-card h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 20px;
}

/* Products Section */
.products {
  padding: 80px 0;
  background-color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-image {
  width: 100%;
  height: 200px;
  background-color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.product-price {
  color: var(--turquoise);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px !important;
}

.product-info p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.product-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease;
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}

.product-button.email-button {
  background-color: var(--turquoise);
  color: var(--white);
}

.product-button.email-button:hover {
  background-color: #17a89a;
}

.product-button.phone-button {
  background-color: var(--navy);
  color: var(--white);
}

.product-button.phone-button:hover {
  background-color: #051d2f;
}

/* Compliance Section */
.compliance {
  padding: 80px 0;
  background-color: var(--navy);
  color: var(--white);
  text-align: center;
}

.compliance h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.compliance-badge {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
}

.compliance-badge svg {
  width: 64px;
  height: 64px;
  margin-bottom: 15px;
}

.compliance-badge h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--white);
}

.compliance-badge p {
  font-size: 14px;
  opacity: 0.9;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background-color: var(--turquoise);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 16px;
  opacity: 0.9;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background-color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--turquoise);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
}

.step p {
  color: var(--gray);
}

/* Trust Section */
.trust {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.trust-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.trust-item svg {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.trust-item h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}

.trust-item p {
  color: var(--gray);
  font-size: 14px;
}

/* Contacts Section */
.contacts {
  padding: 80px 0;
  background-color: var(--white);
}

.contacts .section-title {
  margin-bottom: 50px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.contact-method {
  text-align: center;
  padding: 30px;
  background-color: var(--light-gray);
  border-radius: 8px;
}

.contact-method svg {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.contact-method h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}

.contact-method a {
  color: var(--turquoise);
  text-decoration: none;
  font-weight: 600;
}

.contact-method a:hover {
  text-decoration: underline;
}

.contact-method p {
  color: var(--gray);
  font-size: 14px;
}

/* Footer */
footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-about {
  grid-column: 1;
}

.footer-about h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-about p {
  opacity: 0.8;
  line-height: 1.8;
  font-size: 14px;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--sand);
}

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

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

.footer-links a,
.footer-contact a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  font-size: 14px;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 1;
  color: var(--turquoise);
}

.footer-contact h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--sand);
}

.footer-contact ul {
  list-style: none;
}

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

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

/* Rounded Images */
.rounded-image {
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

/* Centered Block Styling */
.centered-block {
  text-align: center;
}

.centered-block .container {
  max-width: 1000px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .features-grid,
  .services-grid,
  .products-grid,
  .stats-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}
