/* ============================================= */
/* Location Page Modern Design */
/* ============================================= */

/* Variables */
:root {
  --primary: #63c2ff;
  --primary-light: #8B85FF;
  --primary-dark: #42a7d1;
  --secondary: #FF6584;
  --accent: #FFB74D;
  --dark: #2D3748;
  --light: #F7FAFC;
  --gray: #E2E8F0;
  --success: #48BB78;
  --warning: #ED8936;
  --danger: #F56565;
  --radius: 12px;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Location Hero Section */
.location-hero {
  position: relative;
  padding: 0px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #63ff8d, #42acd1);
  color: white;
}

.location-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1573497491765-dccce02b29df?ixlib=rb-4.0.3&auto=format&fit=crop&w=1800&q=80') center/cover;
  opacity: 0.1;
}

.location-hero-content {
  position: relative;
  z-index: 2;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
}

.location-badge i {
  margin-right: 8px;
  font-size: 16px;
}

.location-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  font-family: 'Fredoka One', cursive;
}

.text-highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 15px;
  background: rgba(255, 183, 77, 0.3);
  z-index: -1;
  transform: skew(-15deg);
}

.location-hero-description {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.location-hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn i {
  margin-right: 8px;
}

.location-hero-image {
  height: 601px;
  position: relative;
 
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-10deg);
  transition: var(--transition);
}

.location-hero-image:hover {
  transform: perspective(1000px) rotateY(-5deg);
}

.location-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-testimonial {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  max-width: 300px;
  color: var(--dark);
  transform: rotate(5deg);
}

.testimonial-rating {
  color: var(--accent);
  margin-bottom: 10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

/* Section Styling */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #127ce1, #85ff86);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.title-accent {
  width: 80px;
  height: 4px;
  background: llinear-gradient(to right, #63e7ff, var(--secondary));
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  color: #718096;
  max-width: 700px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #6388ff, #85dcff);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: #718096;
  margin-bottom: 20px;
}

.feature-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #63d1ff, var(--secondary));
}

/* Location Tabs */
.location-tabs {
  margin-bottom: 60px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.tab-button {
  padding: 12px 24px;
  background: var(--gray);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark);
}

.tab-button:hover {
  background: var(--primary-light);
  color: white;
}

.tab-button.active {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.location-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location-image {
  position: relative;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--secondary);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.location-info {
  padding: 30px;
}

.location-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.location-address, 
.location-hours, 
.location-contact {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #4A5568;
}

.location-address i, 
.location-hours i, 
.location-contact i {
  margin-right: 10px;
  color: var(--primary);
  font-size: 18px;
}

.location-services h4 {
  margin: 25px 0 15px;
  font-size: 1.2rem;
  color: var(--dark);
}

.location-services ul {
  list-style: none;
}

.location-services li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.location-services li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Virtual Tour Section */
.virtual-tour-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.tour-viewer {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.tour-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.tour-controls {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background: white;
  border-top: 1px solid var(--gray);
}

.tour-control-btn {
  padding: 8px 16px;
  background: var(--gray);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.tour-control-btn.active {
  background: var(--primary);
  color: white;
}

.tour-description {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.tour-description h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.tour-description p {
  margin-bottom: 20px;
  color: #4A5568;
}

.tour-description ul {
  list-style: none;
}

.tour-description li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  color: #4A5568;
}

.tour-description li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Testimonials Slider */
.testimonials-slider {
  position: relative;
  margin-bottom: 60px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial-content {
  position: relative;
}

.testimonial-rating {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 18px;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4A5568;
  margin-bottom: 25px;
  font-style: italic;
  position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  opacity: 0.3;
  position: absolute;
}

.testimonial-content p::before {
  top: -20px;
  left: -15px;
}

.testimonial-content p::after {
  bottom: -40px;
  right: -15px;
}

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

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--primary-light);
}

.testimonial-author h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.testimonial-author span {
  color: #718096;
  font-size: 0.9rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.testimonial-prev,
.testimonial-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* FAQ Section */
.faq-container {
  margin-bottom: 60px;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: #F8F9FA;
}

.faq-question h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin: 0;
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

.faq-answer p {
  color: #4A5568;
  line-height: 1.7;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.contact-info {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark);
  position: relative;
  padding-bottom: 10px;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-method i {
  width: 50px;
  height: 50px;
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-method span:first-child {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}

.contact-method a {
  color: var(--primary);
  transition: var(--transition);
}

.contact-method a:hover {
  color: var(--primary-dark);
}

.center-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.center-contact {
  background: #F8F9FA;
  padding: 9px;
  border-radius: 8px;
}

.center-contact strong {
  display: block;
  margin-bottom: 5px;
  color: var(--dark);
}

.contact-form {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark);
  position: relative;
  padding-bottom: 10px;
}

.contact-form h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 8px 15px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .location-details {
    grid-template-columns: 1fr;
  }
  
  .location-image {
    height: 300px;
  }
}

@media (max-width: 992px) {
  .virtual-tour-container,
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .location-hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .location-hero {
    padding: 60px 0;
    text-align: center;
  }
  
  .location-hero-buttons {
    flex-direction: column;
  }
  
  .location-hero-image {
    margin-top: 40px;
    transform: none;
  }
  
  .floating-testimonial {
    position: static;
    margin-top: 20px;
    transform: none;
    max-width: 100%;
  }
  
  .center-contacts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  
  .tab-buttons {
    flex-direction: column;
  }
  
  .tab-button {
    width: 100%;
  }
}


/* ---------------new--------------------*/

/* ABA Therapy Section */
.aba-therapy-section {
    padding: 80px 0;
    background-color: #F9FAFB;
}

.therapy-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.therapy-intro {
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.therapy-intro h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.therapy-benefits {
    margin: 40px 0;
}

.benefits-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.benefits-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #63fdff, #85c1ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.benefits-card h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 1.1rem;
    color: #4A5568;
}

.benefits-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: #63c2ff;
    font-size: 1.2rem;
}

.therapy-details {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin: 40px 0;
}

.therapy-details h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.therapy-process {
    margin: 40px 0;
}

.therapy-process h4 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--dark);
    text-align: center;
}

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

.process-step {
    background: rgba(108, 99, 255, 0.05);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.step-content p {
    color: #4A5568;
    line-height: 1.6;
}

.therapy-cta {
    margin: 60px 0 40px;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-card h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.therapy-faq {
    margin-top: 60px;
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.faq-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--dark);
    position: relative;
}

.faq-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .therapy-intro,
    .therapy-details,
    .therapy-faq {
        padding: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        padding: 30px 20px;
    }
    
    .cta-card h4 {
        font-size: 1.5rem;
    }
}