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

body {
  font-family: 'Roboto', sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
header {
  background: linear-gradient(to right, #00bcd4, #3f51b5);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex-direction: row;
  flex-wrap: wrap;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 8px; /* Optional: remove if you want square or transparent edges */
}


header h1 {
  font-size: 1.8rem;
  color: #fff;
  text-transform: uppercase;
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #fff;
  transition: 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #f4f4f4;
}

/* Header Navigation Buttons */
nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  position: relative;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* Hover background + text */
nav a:hover {
  background: linear-gradient(to right, #00bcd4, #3f51b5);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Animated underline */
nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 50%;
}
/* Contact Form */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00bcd4;
  outline: none;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.contact-form button {
  width: 50%;
  padding: 10px 0;
  margin-top: 10px;
  background: linear-gradient(to right, #00bcd4, #3f51b5);
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  align-self: center;
  transition: background 0.4s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: linear-gradient(to right, #007c91, #283593);
  transform: scale(1.05);
}

/* Map */
.map iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background: #494949;
  padding: 10px;
  text-align: center;
  color: #f0f0f0;
  font-size: 0.95rem;
  border-top: 2px solid #00bcd4;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.modal-content {
  background-color: #fff;
  color: #000;
  margin: 10% auto;
  padding: 25px 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.modal-content button {
  margin-top: 20px;
  padding: 10px 25px;
  background: linear-gradient(to right, #00bcd4, #3f51b5);
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  transition: background 0.3s ease;
}

.modal-content button:hover {
  background: linear-gradient(to right, #007c91, #283593);
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin-left: 0;
    margin-top: 10px;
    display: block;
  }

  .hero h2 {
    font-size: 2.2rem;
  }

  .btn {
    font-size: 1rem;
  }

  .contact-form button {
    width: 100%;
  }
}

.slider {
  position: relative;
  width: 100%;
  height: 90vh; /* or adjust if needed */
  overflow: hidden;
}

.slides {
  position: relative;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  background: #f0f0f0; /* Optional background */
  padding: 20px;       /* Optional padding to add space */
}


.slides img:first-child {
  display: block;
}

.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.dots span {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dots span.active {
  background: #00bcd4;
}

/* Position buttons at bottom-left of slider */

.slider-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.slider-btn {
  background: linear-gradient(to right, #00bcd4, #3f51b5);
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  font-size: 0.95rem;
}

.slider-btn:hover {
  background: linear-gradient(to right, #007c91, #283593);
  transform: translateY(-2px);
}

.slider-btn.secondary {
  background: white;
  color: #3f51b5;
  border: 2px solid #3f51b5;
}

.slider-btn.secondary:hover {
  background: #3f51b5;
  color: white;
}

.slider-btn.secondary:hover {
  background: #3f51b5;
  color: white;
  transform: translateY(-2px);
}
.slider-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
}
.slider-overlay-text.left-bottom {
  position: absolute;
  bottom: 40px;
  right: 40px;
  transform: none !important; /* remove previous centering */
  z-index: 2;
  text-align: right;
}
.intro-section {
  padding: 60px 20px;
  background: #ffffff;
  color: #333;
}

.intro-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.intro-text {
  flex: 1;
  min-width: 280px;
}

.intro-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #0f3460;
  border-left: 5px solid #00bcd4;
  padding-left: 15px;
}

.intro-text p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: left;
}

.intro-image {
  flex: 1;
  text-align: center;
}

.intro-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.intro-image img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .intro-container {
    flex-direction: column;
    text-align: center;
  }

  .intro-text h2 {
    text-align: center;
    border-left: none;
    padding-left: 0;
  }

  .intro-text p {
    text-align: center;
  }
}
.practice-section {
  padding: 60px 20px;
  background: #f3f6fa;
  text-align: center;
}

.practice-container {
  max-width: 1200px;
  margin: 0 auto;
}

.practice-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #0f3460;
  position: relative;
}

.practice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.practice-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  width: 280px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  border-image: linear-gradient(45deg, #00bcd4, #3f51b5) 1;
  transition: all 0.3s ease;
}

.practice-card:hover {
  background: linear-gradient(135deg, #00bcd4, #3f51b5);
  color: #fff;
  transform: translateY(-5px);
}

.practice-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #0f3460;
  transition: color 0.3s ease;
}

.practice-card:hover h3 {
  color: #fff;
}

.practice-card p {
  font-size: 0.95rem;
  color: #555;
  transition: color 0.3s ease;
}

.practice-card:hover p {
  color: #f5f5f5;
}

@media (max-width: 768px) {
  .practice-card {
    width: 100%;
  }
}

/* footer*/
.site-footer {
  background: #2c2c2c;
  color: #f0f0f0;
  padding: 20px 10px 10px;
  font-size: 0.90rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 80px;
  max-width: 1200px;
  margin: auto;
}

.footer-info {
  flex: 1;
  min-width: 250px;
  text-align: left;
  margin-right: 40px;
}

.footer-social{
  flex: 1;
  min-width: 250px;
  text-align: left;
  
}

.footer-links{
   flex: 1;
  min-width: 250px;
  text-align: left;
  margin-left: 96px;

}

.footer-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #f0f0f0;
}

.footer-list {
  list-style: none; /* Removes bullets */
  padding-left: 0;
  text-align: left; /* Aligns the list text to the right */
  margin: 0;
}

.footer-list li {
  
  margin-top: 5px;
  margin-bottom: 6px;
}

.footer-list li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list li a:hover {
  color: #00bcd4;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 0.85rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-list {
    list-style-position: inside;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  nav {
    width: 100%;
    margin-top: 10px;
  }

  nav a {
    display: block;
    padding: 10px 0;
    margin-left: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}
@media (max-width: 768px) {
  .intro-container,
  .about-container,
  .contact-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro-text, .about-text, .contact-form, .contact-info {
    width: 100%;
    padding: 20px;
  }

  .intro-image img,
  .about-image img {
    max-width: 90%;
    margin-top: 20px;
  }
}
.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .slider {
    height: 60vh;
  }

  .slider-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .slider-overlay-text {
    text-align: center;
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    font-size: 1rem;
  }
}

/* popup button */
/* Contact Us Popup Button */
.contact-popup-button {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 2000;
  padding: 12px 20px;
  background: linear-gradient(to right, #00bcd4, #3f51b5);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-popup-button:hover {
  background: linear-gradient(to right, #007c91, #283593);
  transform: scale(1.05);
}

/* Popup Contact Form */
/* Sticky Vertical Button */
.sticky-contact-btn {
  position: fixed;
  top: 20%;
  right: 0;
  transform: rotate(-90deg) translateY(-50%);
  transform-origin: right;
  background: linear-gradient(to right, #00bcd4, #3f51b5);
  color: #fff;
  padding: 12px 25px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  z-index: 2000;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sticky-contact-btn:hover {
  background: linear-gradient(to right, #007c91, #283593);
}

/* Slide Contact Form */
.contact-slide-form {
  position: fixed;
  top: 20%;
  right: -400px;
  width: 320px;
  background: #fff;
  border: 2px solid #00bcd4;
  border-radius: 8px 0 0 8px;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 3000;
}

.contact-slide-form.open {
  right: 0;
}

.contact-slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.contact-slide-header h3 {
  color: #3f51b5;
  margin: 0;
}

.close-contact-form {
  font-size: 22px;
  cursor: pointer;
  color: #555;
}

.contact-slide-form form input,
.contact-slide-form form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.contact-slide-form form button {
  width: 100%;
  padding: 10px;
  background: linear-gradient(to right, #00bcd4, #3f51b5);
  border: none;
  border-radius: 30px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.contact-slide-form form button:hover {
  background: linear-gradient(to right, #007c91, #283593);
}
