/* Main Stylesheet for Orthopedic Surgeon Website */

:root {
  --primary-color: #0077b6;
  --secondary-color: #48cae4;
  --accent-color: #00b4d8;
  --light-color: #caf0f8;
  --dark-color: #03045e;
  --success-color: #38b000;
  --warning-color: #ffb703;
  --danger-color: #d00000;
  --white-color: #ffffff;
  --light-gray: #f8f9fa;
  --gray: #6c757d;
  --dark-gray: #343a40;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

/* General Styles */
body {
  font-family: var(--font-primary);
  color: var(--dark-gray);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark-color);
}

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

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

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

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

/* Header Styles */
.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 50px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
}

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

.navbar-nav .nav-link:hover::after {
  width: 80%;
  left: 10%;
}

.navbar-nav .nav-link.active::after {
  width: 80%;
  left: 10%;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(3, 4, 94, 0.8), rgba(3, 4, 94, 0.8)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white-color);
  padding: 8rem 0;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white-color);
}

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

/* About Section */
.about-section {
  padding: 5rem 0;
}

.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.service-card {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-content p {
  margin-bottom: 1.5rem;
}

/* Staff Section */
.staff-section {
  padding: 5rem 0;
}

.staff-card {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  text-align: center;
}

.staff-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.staff-img {
  height: 250px;
  overflow: hidden;
}

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

.staff-content {
  padding: 1.5rem;
}

.staff-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.staff-content p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.staff-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.staff-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--light-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.staff-social a:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.testimonial-card {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: var(--light-color);
  font-family: serif;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

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

.testimonial-author-info h4 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.testimonial-author-info p {
  margin-bottom: 0;
  color: var(--gray);
  font-size: 0.9rem;
}

/* Partners Section */
.partners-section {
  padding: 5rem 0;
}

.partner-card {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 30px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.partner-logo {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.partner-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.partner-content p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.contact-info-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-info-content p {
  margin-bottom: 0;
}

.contact-form .form-control {
  border-radius: 5px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
}

.contact-form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* Appointment Booking */
.booking-section {
  padding: 5rem 0;
}

.booking-form {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.booking-form .form-control {
  border-radius: 5px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
}

.booking-form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* Ecommerce Styles */
.product-section {
  padding: 5rem 0;
}

.product-card {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
  height: 200px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.product-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.product-content .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-content p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-actions {
  display: flex;
  justify-content: space-between;
}

/* Cart Styles */
.cart-section {
  padding: 5rem 0;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.cart-item-img {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 5px;
  margin-right: 1.5rem;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-content {
  flex-grow: 1;
}

.cart-item-content h4 {
  margin-bottom: 0.5rem;
}

.cart-item-content .price {
  font-weight: 700;
  color: var(--primary-color);
}

.cart-item-actions {
  display: flex;
  align-items: center;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
}

.cart-item-quantity button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--light-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-item-quantity button:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.cart-item-quantity span {
  margin: 0 10px;
  font-weight: 500;
}

.cart-summary {
  background-color: var(--light-gray);
  border-radius: 10px;
  padding: 2rem;
}

.cart-summary h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

.cart-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-weight: 700;
  font-size: 1.2rem;
}

/* Checkout Styles */
.checkout-section {
  padding: 5rem 0;
}

.payment-methods {
  margin-top: 2rem;
}

.payment-method {
  margin-bottom: 1.5rem;
}

.payment-method-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.payment-method-header input {
  margin-right: 10px;
}

.payment-method-content {
  padding-left: 25px;
}

/* Footer Styles */
.footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 5rem 0 0;
}

.footer-widget {
  margin-bottom: 3rem;
}

.footer-widget h3 {
  color: var(--white-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-widget p {
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: var(--light-color);
  transition: all 0.3s ease;
}

.footer-links li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  transition: all 0.3s ease;
}

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

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .navbar-collapse {
    background-color: var(--white-color);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .about-img {
    margin-bottom: 2rem;
  }
  
  .contact-info {
    margin-bottom: 3rem;
  }
}

/* Inline Products Section */
.inline-products {
  padding: 3rem 0;
  background-color: var(--light-gray);
}

.inline-products h3 {
  margin-bottom: 2rem;
  text-align: center;
}

.inline-product-card {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.inline-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.inline-product-img {
  height: 150px;
  overflow: hidden;
}

.inline-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.inline-product-card:hover .inline-product-img img {
  transform: scale(1.1);
}

.inline-product-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.inline-product-content h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.inline-product-content .price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.inline-product-actions {
  margin-top: auto;
}

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

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

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}