:root {
  --primary: #2c3e50;
  --secondary: #e74c3c;
  --accent: #f39c12;
  --light: #ecf0f1;
  --dark: #2c3e50;
  --text: #333;
  --text-light: #7f8c8d;
  --white: #fff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light);
}

.tagline {
  font-size: 1.4rem !important;
  font-weight: 500;
  color: #c9c5b3; /* brighter gold */
  font-style: italic;
  margin-top: 0.2rem; /* slight spacing for breathing room */
  letter-spacing: 0.5px; /* makes tagline feel more polished */
}

.amharic {
  font-family: "Noto Sans Ethiopic", sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5px;
  max-height: 80px;
  display: flex;
}

.logo {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav ul li a:hover {
  color: var(--secondary);
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  margin-right: 15px;
}

.language-switcher {
  margin-left: 20px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 2px;
  position: relative;
}

.language-option {
  display: flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1;
}

.language-option.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-option:not(.active):hover {
  opacity: 0.8;
}

.flag-icon {
  width: 20px;
  height: 15px;
  margin-right: 8px;
  object-fit: cover;
  border-radius: 2px;
}

.language-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
  .language-switcher {
    margin-left: 10px;
  }

  .language-option {
    padding: 4px 8px;
  }

  .language-text {
    display: none;
  }

  .flag-icon {
    margin-right: 0;
  }

  .logo h1 {
    font-size: 1.2rem;
  }
}

/* Floating button wrapper */
.telegram-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Main button style */
.telegram-btn {
  display: flex;
  align-items: center;
  gap: 10px; /* space between icon and text */
  background: #0088cc65;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
.telegram-btn:hover {
  background: #007ab8;
  transform: translateY(-2px);
}

/* Circle around icon */
.icon-circle {
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse 2s infinite;
  flex-shrink: 0; /* prevent shrinking on small screens */
}

/* Icon image inside circle */
.icon-circle img {
  width: 20px;
  height: 20px;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 136, 204, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
  }
}

/* Button text */
.telegram-text {
  letter-spacing: 1px;
  font-weight: 400;
}

/* Responsive - on small screens, show only circle */
@media (max-width: 480px) {
  .telegram-btn {
    padding: 10px;
    border-radius: 50%;
    gap: 0;
  }
  .telegram-text {
    display: none;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/hero-bg-min.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Services Section */
.services {
  background-color: var(--white);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

/* Contact Section */
.contact {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../images/get-started-min.jpg") no-repeat center center/cover;
  color: var(--white);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 30px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-details div {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-details i {
  margin-top: 5px;
  margin-right: 15px;
  color: var(--accent);
  font-size: 1.2rem;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--secondary);
  bottom: 0;
  left: 0;
}

.footer-col p {
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-container {
    padding: 15px;
  }

  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    transition: var(--transition);
    z-index: 999;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  nav ul li {
    margin: 15px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    width: 100%;
  }
}
.white-text {
  color: white !important;
}

/* Language Toggle */
:root:not(.language-active) .amharic-content {
  display: none !important;
}

:root.language-active .english-content {
  display: none !important;
}
