body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f5f7fa;
  color: #1e1e1e;
}

/* NAVBAR */
.navbar {
  background: #1f2e4d;
  color: white;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 3px;
  transition: 0.3s;
}
.nav-links a:hover {
  color: #ffb03a;
  border-bottom: 2px solid #ffb03a;
}

/* HERO SECTION */
.hero {
  height: 75vh;
  background: url("https://cdn.pixabay.com/photo/2024/09/21/02/13/global-business-9062781_640.jpg")
    center/cover no-repeat;
  position: relative;
}
.hero .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(15, 35, 70, 0.55);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  top: 32%;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.hero-btn {
  padding: 12px 30px;
  background: #ffb03a;
  color: #222;
  font-size: 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.hero-btn:hover {
  background: #ff9d00;
}

/* ABOUT SECTION */
.about {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
.subtitle {
  color: #555;
  margin-top: -10px;
  margin-bottom: 40px;
}

/* FEATURE GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.feature-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
}

/*VOCABULARY*/
.vocab-section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}

.vocab-section h2 {
  margin-top: 40px;
  color: #1f2e4d;
}

.phrase-block {
  background: white;
  padding: 18px 20px;
  margin: 12px 0;
  border-left: 5px solid #1f2e4d;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.phrase {
  font-weight: 600;
  color: #1f2e4d;
}

.meaning {
  color: #444;
  margin-top: 6px;
}

@media (max-width: 600px) {
  .phrase-block {
    padding: 15px;
  }
}
/*GRAMMAR*/
/* HEADER */
.subpage-header {
  text-align: center;
  padding: 60px 20px 40px;
}

.subpage-header h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.subpage-header p {
  font-size: 1.2rem;
  color: #555;
}

/* MAIN CONTENT WRAPPER - SVE CENTRIRA */
.content-wrapper {
  max-width: 850px;
  margin: auto;
  padding: 20px 20px 60px;
}

/* SECTIONS */
.grammar-section {
  margin-bottom: 50px;
  text-align: center;
}

.grammar-section h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/* CARDS / BLOCKS */
.grammar-block {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  line-height: 1.7;
}

.grammar-block h3 {
  margin-top: 20px;
}

/* EMAIL SECTION */
.email-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}
.email-section h1 {
  text-align: center;
  color: #1f2e4d;
  margin-bottom: 40px;
}

.email-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.email-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.email-card h2 {
  color: #1f2e4d;
  margin-bottom: 12px;
}
.email-card p {
  line-height: 1.6;
  background: #f0f0f0;
  padding: 12px;
  border-radius: 6px;
  font-family: monospace;
  white-space: pre-wrap;
}

/* QUOTE */
.quote {
  background: #142033;
  color: white;
  padding: 50px;
  text-align: center;
  font-size: 1.4rem;
  font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .nav-links {
    display: none;
  }
}

/* TESTIMONIALS SECTION */
.testimonials {
  text-align: center;
  padding: 40px 20px;
  background: #f3f7ff;
  border-top: 2px solid #d8e2ff;
  margin-top: 40px;
}

.testimonials h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.testimonial-box {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.testimonial-box:hover {
  transform: scale(1.02);
}

.testimonial-box p {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.testimonial-box h4 {
  color: #3f51b5;
  margin-top: 0;
}

.testimonial-buttons {
  margin-top: 20px;
}

.testimonial-buttons button {
  padding: 10px 18px;
  margin: 0 8px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background: #3f51b5;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}

.testimonial-buttons button:hover {
  background: #5c6bc0;
}

.quiz-box {
  background: #f4f7fc;
  padding: 25px;
  margin: 50px auto;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.quiz-box h2 {
  margin-bottom: 15px;
  color: #1f2e4d;
}

.quiz-question {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
}

.quiz-options button {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: none;
  background: white;
  border: 2px solid #1f2e4d;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.2s;
}

.quiz-options button:hover {
  background: #1f2e4d;
  color: white;
}

.quiz-result {
  font-size: 18px;
  margin-top: 15px;
  font-weight: 600;
}
