/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400;500&display=swap');
/* Alternatively for Lora: @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lora:wght@400;500&display=swap'); */

/* Base Styles */
:root {
  --primary-color: #e67e22;
  --secondary-color: #2c3e50;
  --accent-color: #16a085;
  --background-color: #f7f7f7;
  --button-color: #e74c3c;
  --text-color: #333;
  --text-light: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d35400;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: var(--secondary-color);
  color: var(--text-light);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-color);
}

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

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  color: var(--text-light);
  margin-top: 80px; /* To account for fixed navbar */
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--button-color);
  color: var(--text-light);
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.cta-btn:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.cta-btn:active {
  transform: translateY(-1px);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem;
  }

  .logo {
    margin-bottom: 1rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
}

/* Add these styles to your existing index.css */

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.secondary-btn {
  background-color: var(--secondary-color) !important;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4) !important;
}

.secondary-btn:hover {
  background-color: #1a252f !important;
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.6) !important;
}

/* Footer Styles */
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 40px 5%;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
  padding: 0 15px;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.footer-section p, 
.footer-section a {
  margin-bottom: 10px;
  display: block;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-icon {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  background-color: #1a252f;
  color: var(--text-light);
}

/* Font Awesome icons */
.fas, .fab {
  margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  
  .cta-btn, .secondary-btn {
    width: 80%;
    text-align: center;
  }
  
  .footer-section {
    flex: 100%;
    text-align: center;
    margin-bottom: 30px;
  }
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #e74c3c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

/* Section Styling */
.section {
  padding: 80px 5%;
  text-align: center;
}

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

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

/* Specialities Section */
.specialities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.speciality-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.speciality-card:hover {
  transform: translateY(-10px);
}

.speciality-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.speciality-card h3 {
  margin: 20px 0 10px;
  font-size: 1.5rem;
}

.speciality-card p {
  padding: 0 20px 20px;
  color: #666;
}

.hot-pick {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--button-color);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Testimonials Section */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial {
  display: flex;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

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

.testimonial-content {
  flex: 1;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

.customer-name {
  font-weight: bold;
  color: var(--secondary-color);
}

.stars {
  color: #FFD700;
  margin-top: 5px;
}

/* Newsletter Section */
.newsletter-section {
  background-color: #f9f9f9;
}

.newsletter-form {
  max-width: 500px;
  margin: 30px auto 0;
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 50px 0 0 50px;
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  border-radius: 0 50px 50px 0;
  padding: 15px 30px;
  border: none;
}

/* Active Nav Link */
.nav-link.active {
  color: var(--primary-color) !important;
  font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .testimonial {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .testimonial img {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 50px;
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    border-radius: 50px;
    width: 100%;
  }
}