/* BrightPath ABA Website Styles */

/* CSS Variables for consistent theming */
:root {
  /* Color Scheme */
  --teal: #20B2AA;
  --navy: #1A365D;
  --soft-gold: #F0C987;
  --light-teal: #A7E8E3;
  --dark-navy: #0F2942;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --dark-gray: #666666;
  --text-color: #333333;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  
  /* Box Shadow */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  margin-bottom: var(--spacing-md);
  color: var(--navy);
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--navy);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  flex: 1;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--spacing-md) 0;
}

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

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

.logo img {
  height: 50px;
  margin-right: var(--spacing-sm);
}

.logo-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
}

.logo-text span {
  color: var(--teal);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

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

.nav-item {
  margin-left: var(--spacing-lg);
}

.nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--navy);
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--teal);
  transition: width 0.3s ease;
}

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

.nav-link.active {
  color: var(--teal);
}

.nav-link.active:after {
  width: 100%;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 80vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 80px;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--light-gray);
}

.hero-quote {
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  color: var(--soft-gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

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

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

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

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

.btn-tertiary {
  background-color: var(--soft-gold);
  color: var(--navy);
}

.btn-tertiary:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* Section Styles */
.section {
  padding: var(--spacing-xxl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--teal);
}

/* Service Cards */
.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--teal);
  margin-bottom: var(--spacing-md);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.service-description {
  margin-bottom: var(--spacing-md);
}

/* Testimonial Cards */
.testimonial-card {
  background-color: var(--light-gray);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 4rem;
  color: var(--medium-gray);
  font-family: serif;
  line-height: 1;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: var(--spacing-sm);
  object-fit: cover;
}

.testimonial-author-name {
  font-weight: 600;
  margin-bottom: 0;
}

.testimonial-author-title {
  font-size: 0.875rem;
  color: var(--dark-gray);
}

/* FAQ Accordion */
.accordion {
  margin-bottom: var(--spacing-lg);
}

.accordion-item {
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
}

.accordion-header {
  background-color: var(--light-gray);
  padding: var(--spacing-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-title {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-content {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: var(--spacing-md);
  max-height: 500px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Contact Form */
.contact-form {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-secondary);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Contact Info */
.contact-info {
  margin-bottom: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.contact-icon {
  font-size: 1.25rem;
  color: var(--teal);
  margin-right: var(--spacing-sm);
  min-width: 24px;
}

.contact-text {
  margin-bottom: 0;
}

/* Social Media */
.social-links {
  display: flex;
  margin-top: var(--spacing-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--teal);
  color: var(--white);
  margin-right: var(--spacing-sm);
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* Footer */
.footer {
  background-color: var(--navy);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-logo {
  margin-bottom: var(--spacing-md);
}

.footer-logo-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}

.footer-logo-text span {
  color: var(--teal);
}

.footer-tagline {
  color: var(--light-gray);
  margin-bottom: var(--spacing-lg);
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
}

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

.footer-link {
  margin-bottom: var(--spacing-sm);
}

.footer-link a {
  color: var(--light-gray);
  transition: color 0.3s ease;
}

.footer-link a:hover {
  color: var(--teal);
}

.newsletter-form {
  display: flex;
  margin-top: var(--spacing-sm);
}

.newsletter-input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  font-family: var(--font-secondary);
}

.newsletter-btn {
  background-color: var(--teal);
  color: var(--white);
  border: none;
  padding: 0 15px;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
  background-color: var(--soft-gold);
  color: var(--navy);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-lg);
  text-align: center;
}

.copyright {
  color: var(--light-gray);
  font-size: 0.875rem;
}

/* Chatbot */
.chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background-color 0.3s ease;
}

.chatbot-toggle:hover {
  background-color: var(--navy);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 1s ease;
}

.animate-slide-up {
  animation: slideUp 1s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);
  }
  
  .nav-list.active {
    display: flex;
  }
  
  .nav-item {
    margin: 0;
    padding: var(--spacing-sm) var(--spacing-lg);
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 60vh;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-sm);
  }
  
  .newsletter-btn {
    border-radius: var(--border-radius-sm);
    padding: 10px;
  }
}
