/* EDHub Website Styles */
:root {
  --primary-color: rgb(16, 163, 127);
  --primary-dark: rgb(12, 130, 100);
  --primary-light: rgb(20, 190, 150);
  --secondary-color: #0a3b4a;
  --text-color: #333333;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px 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;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 150px 0 100px;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--white);
  color: var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

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

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

.section-title h3 {
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(16, 163, 127, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon i {
  font-size: 36px;
  color: var(--primary-color);
}

.service-card h4 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

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

.service-features {
  margin: 20px 0;
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.feature-item i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* App Links Section */
.app-links {
  padding: 80px 0;
  background-color: var(--white);
  text-align: center;
}

.app-links-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.app-btn {
  display: flex;
  align-items: center;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 25px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.app-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.app-btn i {
  font-size: 30px;
  margin-right: 10px;
}

.app-btn-text {
  text-align: left;
}

.app-btn-text span {
  display: block;
  font-size: 12px;
}

.app-btn-text strong {
  font-size: 18px;
  font-weight: 600;
}

/* Screenshots Section */
.screenshots {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.screenshots-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.screenshot {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  max-width: 350px;
  width: 100%;
}

.screenshot:hover {
  transform: scale(1.05);
}

.screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

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

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h5 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

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

  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .service-card {
    min-width: 100%;
  }

  .footer-col {
    min-width: 100%;
  }

  .hero {
    padding: 120px 0 80px;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}
