@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap'); 
body, html {
    margin: 0;
    padding: 0;
    font-family: "Playfair Display", serif;
  }
  
  .header {
    position: relative;
    width: 100%;
    height: 500px;
    background: url('/static/images/image\ \(3\).png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .navbar {
    font-family: "Playfair Display", serif;
    position: absolute;
    top: 20px;
    width: 80%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between; /* Distributes space between items */
    align-items: center;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    padding: 10px;
    border-radius: 5px;
  }
  
  .navbar .logo {
    flex: 1; 
    margin-left: 30px;
  }
  
  .navbar .logo a {
    font-family: "Playfair Display", serif;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
  }
  
  .navbar .nav-links {
    font-family: "Playfair Display", serif;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px; 
    margin-right: 100px;
  }
  
  .navbar .nav-links li {
    margin: 0;
  }
  
  .navbar .nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
  }
  
  
  .header-content {
    text-align: center;
    color: #0c2560;
  }
  
  .header-content h1 {
    font-size: 4rem;
    margin: 0;
  }
  
  .header-content p {
    font-size: 1.5rem;
    margin: 20px 0;
  }
  
  .cta-button {
    display: inline-block;
    padding: 12px 24px; 
    font-size: 18px; 
    color: #fff;
    background-color: #1679AB; 
    text-decoration: none;
    border-radius: 25%;; 
    text-align: center; 
    font-weight: bold; 
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; 
  }
  
  .cta-button:hover {
    background-color: #0d384f; 
    transform: translateY(-3px); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
  }
  
  .cta-button:active {
    transform: translateY(-1px); /* Slight adjustment for button press effect */
  }
  
  /* book an appoitment bar*/
  .booking-container {
    width: 900px; 
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
   
    position: relative;
    top: -130px;
    right: 140px;
    font-style: oblique;
    margin-bottom: 0px;
  }
  


  
  .cta-button {
    padding: 12px 24px;
    font-size: 18px;
    color: #fff;
    background-color: #1679AB; /* CTA Button Color */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: center; /* Centers button within its container */
  }
  
  .cta-button:hover {
    background-color: #105f8b; /* Darker shade on hover */
    transform: translateY(-2px); /* Slight lift effect */
  }
  
/* about section*/
.about {
    padding: 50px 20px;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
  }
  
  .about-content {
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px; /* Space between image and text */
  }
  
  .about-image img {
    max-width: 400px;
    border-radius: 8px;
  }
  .about-image{
    position: relative;
  top: -100px;
  right: 70px;
  }
  
  .about-text {
    max-width: 600px;
  
  
  }
  
  .about-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  .about-text h2 {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 20px;
  }
  
  .about-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .cta-button {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #1679AB; /* CTA Button Color */
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
  }
  
  .cta-button:hover {
    background-color: #105f8b; /* Darker shade on hover */
  }
  
  /* our services*/
  .services {
    padding: 40px 20px;
    background-color: #f8f9fa;
    text-align: center;
  }
  
  .services h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
  }
  
  .service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    position: relative;
  }
  
  .card {
    position: relative;
    width: 280px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
  }
  
  .card:hover {
    transform: translateY(-10px);
    background-color: #e1f5fe; /* Light blue on hover */
  }
  
  .icon {
    position: absolute;
    top: -30px; /* Adjust this value based on icon size */
    left: 50%;
    transform: translateX(-50%);
    background-color: #1679AB; /* Color for the icon background */
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  
  .icon img {
    width: 40px; /* Adjust size of the icon */
    height: auto;
    color: #fff;
  }
  
  .card-content {
    padding: 40px 20px 20px;
    color: #333;
    text-align: center;
  }
  
  .card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1679AB; /* Blue color for headings */
  }
  
  .card p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .card:hover .card-content p {
    color: #333; /* Keep text color consistent on hover */
  }
  /* learn more button */
  .button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px; /* Space between cards and button */
  }
  
  .cta-buttonC {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-size: 16px;
    color: #020422;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
  }
  
  .cta-buttonC:hover {
    transform: translateY(-2px); /* Slight lift effect */
  }
  
  .cta-buttonC .arrow {
    margin-left: 8px; /* Space between text and arrow */
    font-size: 18px; /* Size of the arrow */
  }
  
  .cta-buttonC:hover .arrow {
    margin-left: 10px; /* Increase space on hover for visual effect */
  }
  /* our cabinet*/
  .cabinet {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
  }
  
  .section-title {
    font-size: 2em;
    margin-bottom: 10px;
    color: #333;
  }
  
  .section-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
  }
  
  .text-container {
    flex: 1;
    padding: 20px;
    max-width: 400px;
  }
  
  .carousel {
    flex: 2;
    position: relative;
    max-width: 800px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 400px;
  }
  
  .carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
  }
  
  .carousel-item {
    min-width: 100%;
    box-sizing: border-box;
  }
  
  .carousel img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .carousel-control {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
  }
  
  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  }
/* FAQ*/
.faq-section {
  display: flex;
  justify-content: center;
  padding: 20px;
    background-color: #f9f9f9;
  }
  
  .container1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px; /* Adjust width as needed */
    width: 100%;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .faq-header {
    flex: 1;
    max-width: 500px;
  }
  
  .faq-header h2 {
    font-size: 32px; /* Larger title */
    margin-bottom: 10px;
    font-family: "Playfair Display", serif;
    color: #10182f; /* Title color */
  }
  
  .faq-header p {
    font-size: 18px; /* Slightly larger small text */
    color: #666;
  }
  
  .faq-content {
    flex: 2;
    max-width: 500px; /* Max width for FAQ content */
  }
  
  .faq-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }
  
  .faq-item:hover {
    transform: scale(1.02); /* Slightly larger on hover */
  }
  
  .faq-question {
    display: flex;
    justify-content: space-between;
  align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: #1679AB; /* Question text color */
  }
  
  .question-text {
    font-size: 16px;
  }
  
  .arrow {
    font-size: 16px;
  }
  
  .faq-answer {
    display: none;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
  }
  
  .faq-item.active .faq-answer {
    display: block;
  }
/* footer*/
footer {
  background-color: #10182f;
  color: #EEF7FF;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  margin: 10px;
  min-width: 250px;
}

.footer-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1679AB;
}

.footer-section p, 
.footer-section a {
  font-size: 14px;
  color: #EEF7FF;
  text-decoration: none;
}

.footer-section a:hover {
  color: #1679AB;
}

.social-icon {
  display: inline-block;
  margin: 5px;
  font-size: 18px;
  color: #EEF7FF;
  transition: color 0.3s;
}

.social-icon:hover {
  color: #1679AB;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 14px;
}

/* cta contact*/
.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px; /* Adjust height as needed */
  background-color: #eef7ff;
  padding: 20px;
}

.cta-container {
  text-align: center;
  background-color: #b4c4d2;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 500px; /* Adjust width as needed */
  width: 100%;
}

.cta-container h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.cta-container p {
  font-size: 16px;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #ffffff;
  background-color: #07212F;
  border-radius: 5px;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #135a8e;
}


/* Mobile Styles */
@media (max-width: 768px) {
  

  .nav-links {
   
    gap: 0.5rem;
    width: 100%;
  }

  .nav-links li {
    margin-left: 0;
  }

  .header-content h1 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .service-cards {
    gap: 1rem;
  }

  .carousel-item {
    max-height: 300px;
  }

  .carousel-control {
    font-size: 1.5rem;
    padding: 8px;
  }

  .faq-question {
    font-size: 1.1rem;
  }

  footer .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  footer .footer-section {
    
    margin-bottom: 1rem;
  }
}

/* Smaller Screen (Mobile First) */
@media (max-width: 480px) {
  .cta-button {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.8rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  footer .footer-container {
    
    flex-direction: column;
  }

  footer .footer-section {
    
    margin-bottom: 1rem;
  }
  .footer{
    width: 550px;
  }
  
}
@media (max-width: 768px) {
  .psychologist-section {
    flex-direction: column; /* Stack the image and text vertically */
    align-items: center; /* Center the content */
  }

  .psychologist-image {
    width: 100%; /* Make the image take up the full width */
    margin-bottom: 1rem; /* Add space between the image and text */
    
  }

  .psychologist-text {
    width: 100%; /* Make the text take up the full width */
    text-align: center; /* Optional: Center the text */
  }
  .about-image img{
  border-radius: 8px;
  width: 300px;
  left: 220px;
    position: relative;
    
    top: 90px;
  
  

}
.booking-container{
  right: 0px;
  width:300px;
}
.services{
  margin-top: 250px;
}
.about-content{
  display: block;
}
.footer{
  width:550px;
}
}

@media (max-width: 768px) {
  .alert {
    padding: 10px;               /* Reduce padding */
    font-size: 14px;             /* Reduce font size */
    width: 90%;                  /* Make the alert width responsive */
    margin: 10px auto;           /* Center it and add some margin */
    flex-direction: column;      /* Stack the content vertically on small screens */
    text-align: center;          /* Center the text */
  }

  .alert .close-btn {
    margin-top: 10px;            /* Move the close button below text */
    align-self: center;          /* Center the close button */
  }
  .header{
    width: 539px;

  }
  .about{
    width:500px;
  }
  .services{
    width:500px;
  }
.cabinet{
  display: block;
  width:496px;

}
.faq-section{
  width: 496px;
}
.container1{
  display: block;
}
.footer{
  width: 550px;
}
.cta-section{
  width: 500px;
}
}


.testimonials-section {
  background-color: #f9f9f9;
  padding: 40px;
  text-align: center;
}

.section-title {
  font-size: 2em;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.patient-name {
  font-weight: bold;
  color: #0077cc;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .testimonials-container {
      flex-direction: column;
      align-items: center;
  }
}
/*map section */
.map-section {
  text-align: center;
  margin: 40px 0;
}

.map-container {
  width: 80%; /* Adjust the percentage to make it wider */
  max-width: 1200px; /* Set a max-width if needed */
  margin: 0 auto;
}

.map-container iframe {
  width: 100%;
  height: 400px; /* You can adjust this height as needed */
}
