/* Edantra Education Website Styles - Modern Theme */
:root {
  --primary-color: #4a6fa5;
  --secondary-color: #6b8cae;
  --accent-color: #ff9642;
  --text-color: #333333;
  --light-text: #ffffff;
  --background-color: #f0f4f8;
  --footer-color: #2c3e50;
  --border-radius: 12px;
  --card-bg: rgba(255, 255, 255, 0.98);
  --card-border: 1px solid rgba(255, 255, 255, 0.3);
  --card-shadow: 0 4px 20px 0 rgba(31, 38, 135, 0.1);
  --transition: all 0.3s ease;
  --gradient-bg: linear-gradient(135deg, #2c4a7c 0%, #162535 100%);
  --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  --section-bg: rgba(0, 0, 0, 0.6);
  --text-glow: 0 0 10px rgba(255, 255, 255, 0.2);
  --light-section-bg: rgba(240, 244, 248, 0.98);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--gradient-bg);
  min-height: 100vh;
  overflow-x: hidden;
  background-attachment: fixed;
  will-change: transform;
}

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

header {
  background-color: rgba(44, 62, 80, 0.95);
  color: var(--light-text);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

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

.logo h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: var(--light-text);
  text-decoration: none;
  transition: var(--transition);
  text-shadow: var(--text-shadow);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--accent-color);
}

.hero {
  padding: 100px 0;
  text-align: center;
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: var(--text-shadow);
  font-weight: 400;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--light-text);
  padding: 14px 32px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 150, 66, 0.3);
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: #e87b2e;
  transform: translateY(-3px);
}

.features {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  background-color: var(--section-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--light-text);
  text-shadow: var(--text-shadow);
  letter-spacing: 1px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: var(--light-text);
  font-size: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: var(--text-shadow);
  letter-spacing: 0.5px;
  font-weight: 400;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 35px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: var(--card-border);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
  background: rgba(255, 255, 255, 0.98);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.feature-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.content-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  background-color: var(--section-bg);
  margin: 20px 0;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
}

.content-section h2 {
  font-size: 2.2rem;
  color: var(--light-text);
  margin-bottom: 25px;
  text-shadow: var(--text-shadow);
  letter-spacing: 1px;
}

.content-section h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 30px 0 15px;
}

.content-section p {
  margin-bottom: 20px;
  color: var(--light-text);
  text-shadow: var(--text-shadow);
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

.content-section ul, .content-section ol {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--light-text);
  text-shadow: var(--text-shadow);
}

.content-section ul li, .content-section ol li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.content-section li {
  margin-bottom: 10px;
}

footer {
  background-color: rgba(22, 37, 53, 0.97);
  color: var(--light-text);
  padding: 40px 0 20px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: var(--text-shadow);
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--accent-color);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  text-shadow: var(--text-shadow);
}

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

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: var(--text-shadow);
  opacity: 0.95;
  font-size: 0.9rem;
  color: #aaa;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Download section styles */
#download.content-section {
  background-color: var(--light-section-bg) !important;
  position: relative;
  z-index: 1;
}

#download .section-title h2 {
  color: var(--primary-color);
  text-shadow: none;
  font-weight: 700;
}

#download .section-title p {
  color: var(--secondary-color);
  text-shadow: none;
  font-weight: 500;
}

/* Terms and Privacy pages */
.content-section h3 {
  color: var(--light-text);
  margin: 30px 0 15px;
  text-shadow: var(--text-shadow);
  font-weight: 600;
}

.content-section h4 {
  color: var(--light-text);
  margin: 25px 0 10px;
  text-shadow: var(--text-shadow);
  font-weight: 500;
}

.content-section a {
  color: var(--accent-color);
  text-decoration: underline;
  font-weight: 600;
  text-shadow: var(--text-shadow);
  transition: var(--transition);
}

.content-section a:hover {
  color: #ffb06b;
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--box-shadow);
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h2 {
    font-size: 2rem;
  }
}
