/* Main CSS for Speaking Trainer Pro Template */

/* Color Palette - 5 primary colors with light/dark shades */
:root {
  --primary-deep: #2a4927;
  --primary-main: #94bc5c;
  --primary-light: #cceac9;
  --secondary-deep: #17274b;
  --secondary-main: #348ef2;
  --secondary-light: #a8def5;
  --accent-deep: #8b5614;
  --accent-main: #e39f37;
  --accent-light: #e1e690;
  --warm-deep: #742a1b;
  --warm-main: #f16624;
  --warm-light: #ffd3a9;
  --neutral-deep: #2d3744;
  --neutral-main: #6d748e;
  --neutral-light: #F3F4F6;
  --white: #FFFFFF;
  --black: #000000;
  
  /* Conservative font sizes */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--neutral-deep);
  background-color: var(--white);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.07rem;
}

h2 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.86rem;
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.66rem;
}

p {
  margin-bottom: 1.07rem;
  font-size: var(--font-size-base);
}

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-main));
  padding: 1rem 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-light) !important;
}

/* Hero Section */
.hero-section {
  padding-top: 50px;
  background: linear-gradient(135deg, var(--secondary-deep), var(--secondary-main));
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../KOW_images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  padding-top: 100px !important;
  position: relative;
  z-index: 1;
}

.hero-decorative {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--accent-main);
  border-radius: 50%;
  opacity: 0.1;
  right: 10%;
  top: 20%;
  z-index: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--neutral-light);
}

.section-title {
  text-align: center;
  margin-bottom: 3.11rem;
}

.section-subtitle {
  color: var(--neutral-main);
  font-size: var(--font-size-lg);
  text-align: center;
  margin-bottom: 1.07rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.12rem;
}

.service-card {
  background: var(--white);
  border-radius: 17px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 9px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-17px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-color: var(--primary-main);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.07rem;
}

.service-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-deep);
  margin: 1rem 0;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3.12rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 3.11rem;
  color: var(--primary-main);
  margin-bottom: 1.07rem;
}

/* Price Plans */
.priceplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.12rem;
}

.priceplan-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  position: relative;
  border: 6px solid var(--neutral-light);
  transition: all 0.3s ease;
}

.priceplan-card:hover {
  border-color: var(--primary-main);
  transform: scale(1.02);
}

.priceplan-card.featured {
  border-color: var(--accent-main);
  transform: scale(1.05);
}

.priceplan-price {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--primary-deep);
  margin: 1rem 0;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3.12rem;
}

.team-member {
  text-align: center;
  padding: 1rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-light);
}

/* Reviews Slider */
.reviews-slider {
  margin-top: 3.12rem;
}

.review-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  margin: 0 1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.07rem;
  font-size: var(--font-size-lg);
}

.review-author {
  font-weight: 600;
  color: var(--primary-deep);
}

/* Case Studies */
.casestudy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3.12rem;
}

.casestudy-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.casestudy-card:hover {
  transform: translateY(-7px);
}

.casestudy-content {
  padding: 1.5rem;
}

/* Process/Timeline */
.process-grid,
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3.12rem;
}

.process-step,
.timeline-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 3px 19px rgba(0,0,0,0.1);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-main);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Career */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.12rem;
}

.career-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-left: 4px solid var(--primary-main);
}

/* Core Info */
.coreinfo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.12rem;
}

.coreinfo-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 2rem auto;
}

.form-control {
  border: 2px solid var(--neutral-light);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1.07rem;
  transition: border-color 0.3s ease;
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary-main);
  outline: none;
  box-shadow: 0 0 0 3px rgba(163, 193, 86, 0.10);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-main), var(--primary-deep));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--white);
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-main));
  transform: translateY(-2px);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.12rem;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-content {
  padding: 1.5rem;
}

.blog-link {
  color: var(--primary-main);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--primary-deep);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 2rem auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 1.07rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  border-bottom: 1px solid var(--neutral-light);
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.64rem;
  color: var(--primary-main);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--neutral-main);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 3.12rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--neutral-deep), var(--black));
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2.05rem;
}

.footer-section h4 {
  color: var(--accent-light);
  margin-bottom: 1.07rem;
}

.footer-section a {
  color: var(--neutral-light);
  text-decoration: none;
  display: block;
  margin-bottom: 0.66rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-main);
  padding-top: 1.05rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-main); }
.bg-primary { background-color: var(--primary-main); }
.bg-secondary { background-color: var(--secondary-main); }
.bg-light { background-color: var(--neutral-light); }

.mb-1 { margin-bottom: 0.48rem; }
.mb-2 { margin-bottom: 0.66rem; }
.mb-3 { margin-bottom: 1.07rem; }
.mb-4 { margin-bottom: 1.57rem; }
.mb-5 { margin-bottom: 3.11rem; }

.mt-1 { margin-top: 0.48rem; }
.mt-2 { margin-top: 0.59rem; }
.mt-3 { margin-top: 1.17rem; }
.mt-4 { margin-top: 1.58rem; }
.mt-5 { margin-top: 3.12rem; }

.py-1 { padding: 0.25rem 0; }
.py-2 { padding: 0.5rem 0; }
.py-3 { padding: 1rem 0; }
.py-4 { padding: 1.5rem 0; }
.py-5 { padding: 3rem 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.col {
  flex: 1;
  padding: 0 0.5rem;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 0.5rem;
}

.col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 0.5rem;
}

.col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 0.5rem;
}

@media (max-width: 768px) {
  .col-md-6,
  .col-md-4,
  .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
