/* ======================================
   ONLINE ENGLISH MASTERY FOR EXECUTIVES
   Main Stylesheet
   ====================================== */

/* Color Palette Variables */
:root {
  --primary-color-1: #1a365d; /* Deep Professional Blue */
  --primary-color-2: #2c5282; /* Business Blue */
  --primary-color-3: #48bb78; /* Success Green */
  --primary-color-4: #ed8936; /* Accent Orange */
  --primary-color-5: #718096; /* Professional Gray */
  
  --light-shade-1: #e2e8f0;
  --light-shade-2: #f7fafc;
  --light-shade-3: #edf2f7;
  
  --dark-shade-1: #2d3748;
  --dark-shade-2: #1a202c;
  --dark-shade-3: #171923;
  
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #718096;
  
  --gradient-1: linear-gradient(135deg, var(--primary-color-1) 0%, var(--primary-color-2) 100%);
  --gradient-2: linear-gradient(135deg, var(--primary-color-3) 0%, var(--primary-color-4) 100%);
  --gradient-3: linear-gradient(135deg, var(--primary-color-2) 0%, var(--primary-color-5) 100%);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--light-shade-2);
  overflow-x: hidden;
}

/* Typography - Conservative Sizes */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-shade-1);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-shade-1);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark-shade-2);
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Navbar */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  padding: 1rem 0;
}

.navbar-brand {
    font-size: 12px !important;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color-1) !important;
}

.navbar-nav .nav-link {
    font-size: 10px !important;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary) !important;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color-3) !important;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: var(--gradient-1);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../FAM_images/fqec_hero-bg.webp') center/cover;
  opacity: 0.1;
}

#hero .container {
  position: relative;
  z-index: 1;
}

#hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

#hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 600px;
}

/* Section Spacing */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
#about {
  background-color: #fff;
}

.about-feature {
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-color-3);
  margin-bottom: 1rem;
}

/* Services Section */
#services {
  background-color: var(--light-shade-3);
}

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 2rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color-4);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.service-features li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary-color-3);
  margin-right: 0.5rem;
}

/* Features Section */
#features {
  background: var(--gradient-3);
  color: #fff;
}

#features h2, #features h3 {
  color: #fff;
}

#features p {
  color: rgba(255, 255, 255, 0.9);
}

.feature-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: background 0.3s ease;
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.15);
}

.feature-box i {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Price Plan Section */
#priceplan {
  background-color: #fff;
}

.pricing-card {
  background: #fff;
  border: 2px solid var(--light-shade-1);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--primary-color-3);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  border-color: var(--primary-color-3);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color-3);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color-1);
  margin: 1.5rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-shade-1);
}

/* Team Section */
#team {
  background-color: var(--light-shade-3);
}

.team-member {
  text-align: center;
  margin-bottom: 3rem;
}

.team-member img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 5px solid #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.1);
}

/* Reviews Section */
#reviews {
  background-color: #fff;
  position: relative;
}

.review-card {
  background: var(--light-shade-2);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  margin-bottom: 2rem;
}

.review-card::before {
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 3rem;
  color: var(--primary-color-3);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-color-1);
  margin-top: 1rem;
}

.reviews-swiper {
  position: relative;
  padding-bottom: 4rem;
}

.reviews-swiper .swiper-pagination {
  bottom: 0;
}

.reviews-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev {
  color: var(--primary-color-3);
  top: auto;
  bottom: 0;
  transform: translateY(-50%);
}

.reviews-swiper .swiper-button-prev {
  left: calc(50% - 50px);
}

.reviews-swiper .swiper-button-next {
  right: calc(50% - 50px);
}

/* Case Study Section */
#casestudy {
  background: linear-gradient(135deg, var(--light-shade-3) 0%, var(--light-shade-2) 100%);
}

.case-study-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.case-study-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-study-content {
  padding: 2rem;
}

/* Process Section */
#process {
  background-color: #fff;
}

.process-step {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient-2);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Timeline Section */
#timeline {
  background-color: var(--light-shade-3);
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--primary-color-3);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 15px;
  width: 2px;
  height: calc(100% + 20px);
  background: var(--light-shade-1);
}

.timeline-item:last-child::after {
  display: none;
}

/* Career Section */
#career {
  background-color: #fff;
}

.career-card {
  background: var(--light-shade-2);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color-3);
  transition: transform 0.3s ease;
}

.career-card:hover {
  transform: translateX(10px);
}

/* Core Info Section */
#coreinfo {
  background: var(--gradient-1);
  color: #fff;
}

#coreinfo h2, #coreinfo h3 {
  color: #fff;
}

#coreinfo p {
  color: rgba(255, 255, 255, 0.9);
}

.info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Contact Section */
#contact {
  background-color: var(--light-shade-3);
}

.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-control, .form-select {
  border: 2px solid var(--light-shade-1);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color-3);
  box-shadow: 0 0 0 0.2rem rgba(72, 187, 120, 0.25);
}

.btn-primary {
  background: var(--gradient-2);
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.contact-info {
  padding: 2rem;
}

.contact-info i {
  font-size: 1.5rem;
  color: var(--primary-color-3);
  margin-right: 1rem;
}

/* Blog Section */
#blog {
  background-color: #fff;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* FAQ Section */
#faq {
  background-color: var(--light-shade-3);
}

.accordion-item {
  background: #fff;
  border: none;
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-button {
  background: #fff;
  color: var(--text-primary);
  font-weight: 600;
  border: none;
  padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: var(--light-shade-2);
  color: var(--primary-color-1);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  padding: 1.25rem;
  color: var(--text-secondary);
}

/* Gallery Section */
#gallery {
  background-color: #fff;
  padding: 40px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: var(--dark-shade-2);
  color: var(--light-shade-2);
  padding: 60px 0 20px;
}

footer h4 {
  color: #fff;
  margin-bottom: 1.5rem;
}

footer p {
  color: rgba(255, 255, 255, 0.8);
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color-3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 0;
}

.breadcrumb img {
  height: 20px;
  width: auto;
}

/* Utilities */
.bg-gradient-1 { background: var(--gradient-1); }
.bg-gradient-2 { background: var(--gradient-2); }
.bg-gradient-3 { background: var(--gradient-3); }

/* Decorative Elements */
.blob-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-color-3);
  top: -200px;
  right: -200px;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--primary-color-4);
  bottom: -150px;
  left: -150px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
} 