/* 
   SNT Medicare - Main Stylesheet
   Author: Tycoon Hamlet
   Version: 2.0
*/

:root {
  --primary-color: #0069d9;
  --secondary-color: #5a6268;
  --accent-color: #e0aa0f;
  --success-color: #28a745;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --border-color: #dee2e6;
  --section-padding: 80px 0;
  --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 10px;
  --transition: all 0.3s ease;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-color);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

section {
  padding: var(--section-padding);
}

.section-header {
  margin-bottom: 50px;
}

.section-header .subtitle {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
}

.section-header .subtitle:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
}

.section-header h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.section-description {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray-color);
}

/* Buttons */
.btn {
  padding: 10px 24px;
  font-weight: 600;
  transition: var(--transition);
  border-radius: 5px;
}

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

.btn-primary:hover {
  background-color: #005cbf;
  border-color: #005cbf;
}

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

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

.btn-lg {
  padding: 12px 30px;
}

/* Floating Appointment Button (Mobile) */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 105, 217, 0.3);
  z-index: 99;
  font-weight: 600;
}

.floating-btn:hover {
  background-color: #005cbf;
  color: white;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-color);
  color: white;
}

/* Emergency Banner */
.emergency-banner {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.emergency-banner a {
  color: white;
  text-decoration: none;
}

.emergency-banner a:hover {
  text-decoration: underline;
}

.emergency-phone {
  font-weight: 600;
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 15px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
}

.navbar-brand img {
  margin-right: 10px;
}

.navbar-nav .nav-link {
  font-weight: 600;
  padding: 8px 16px;
  color: var(--dark-color);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #05243c 0%, #0a2e4e 100%);
  color: white;
  overflow: hidden;
  position: relative;
}

.hero-content {
  padding-right: 30px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btns {
  margin-bottom: 30px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 28px;
  margin-bottom: 5px;
  color: var(--accent-color);
}

.stat-item p {
  margin-bottom: 0;
  font-size: 14px;
  opacity: 0.8;
}

.hero-image {
  position: relative;
  height: 450px;
}

.hero-image img {
  border-radius: 12px;
}

.hero-image .main-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  object-fit: cover;
  z-index: 2;
  box-shadow: var(--box-shadow);
}

.hero-image .overlay-img {
  position: absolute;
  border: 5px solid white;
  box-shadow: var(--box-shadow);
  object-fit: cover;
}

.hero-image .img-1 {
  width: 200px;
  height: 150px;
  bottom: 20px;
  left: 0;
  z-index: 3;
}

.hero-image .img-2 {
  width: 160px;
  height: 160px;
  top: 60px;
  left: 0;
  z-index: 1;
}

/* Services Section */
.services-section {
  background-color: #f8f9fa;
}

.service-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(0, 105, 217, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 30px;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.service-card p {
  margin-bottom: 20px;
  color: var(--gray-color);
}

.service-link {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.service-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Feature Cards */
.feature-card {
  background-color: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 105, 217, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--gray-color);
}

/* Why Choose Us Section */
.why-choose-section {
  background: #f8f9fa;
}

/* Testimonials Section */
.testimonials-section {
  position: relative;
  background-color: #f8f9fa;
  overflow: hidden;
}

.testimonial-wrapper {
  position: relative;
  padding: 30px 0 60px;
}

.testimonial-slider {
  overflow: visible;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  height: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 15px;
  font-size: 16px;
}

.testimonial-content {
  flex: 1;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  color: var(--dark-color);
  line-height: 1.7;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.testimonial-content p::before {
  content: """;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(0, 105, 217, 0.1);
  position: absolute;
  top: -30px;
  left: -10px;
  z-index: -1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

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

.author-info h4 {
  font-size: 16px;
  margin-bottom: 2px;
  color: var(--dark-color);
}

.author-info p {
  font-size: 14px;
  color: var(--gray-color);
  margin-bottom: 0;
}

/* Testimonial Navigation */
.testimonial-nav-container {
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 10;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 20px;
}

.testimonial-button-prev,
.testimonial-button-next {
  width: 44px;
  height: 44px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: var(--transition);
  pointer-events: auto;
  position: absolute;
}

.testimonial-button-prev {
  left: 0;
}

.testimonial-button-next {
  right: 0;
}

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

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--border-color);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  width: 30px;
  border-radius: 5px;
}

/* Stats Counter Section */
.stats-section {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/sntmedicare/sntm-front.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 60px 0;
}

.stat-counter {
  text-align: center;
}

.counter {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.stat-counter h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
}

/* Appointment Section */
.appointment-section {
  background-color: #f8f9fa;
}

.appointment-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.contact-info {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

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

.contact-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.contact-item p {
  margin-bottom: 0;
  color: var(--gray-color);
}

.appointment-form {
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-floating label {
  color: var(--gray-color);
}

/* Map Section */
.map-container {
  position: relative;
  height: 450px;
}

.map-container iframe {
  height: 100%;
}

.map-info-card {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 300px;
}

.map-info-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.map-info-card address {
  margin-bottom: 15px;
}

.map-info-card i {
  color: var(--primary-color);
  margin-right: 5px;
}

/* Footer */
.footer {
  background-color: #0a1e2e;
  color: #ced4da;
}

.footer-main {
  padding: 80px 0 40px;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-widget-title {
  font-size: 18px;
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-logo {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

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

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

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

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

.footer-links li a {
  color: #ced4da;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-links li a i {
  font-size: 12px;
  margin-right: 5px;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-info li {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact-info li i {
  margin-right: 10px;
  color: var(--primary-color);
}

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

.footer-contact-info li a {
  color: #ced4da;
}

.footer-contact-info li a:hover {
  color: white;
}

.copyright, .credits {
  margin-bottom: 0;
}

.credits a {
  color: var(--accent-color);
}

/* Remove number input arrows */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type=number] {
  -moz-appearance: textfield;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  section {
    padding: 60px 0;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    height: 400px;
  }
  
  .appointment-content {
    padding: 30px;
    margin-bottom: 30px;
  }
  
  .appointment-form {
    padding: 30px;
  }
  
  .map-info-card {
    bottom: 20px;
    left: 20px;
    padding: 15px;
    max-width: 250px;
  }
  
  /* Testimonial responsive styles */
  .testimonial-nav-container {
    top: auto;
    bottom: 10px;
    transform: none;
  }
  
  .testimonial-button-prev {
    left: 20%;
  }
  
  .testimonial-button-next {
    right: 20%;
  }
}

@media (max-width: 767.98px) {
  .section-header h2 {
    font-size: 28px;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-image {
    height: 350px;
  }
  
  .hero-image .img-1 {
    width: 150px;
    height: 120px;
  }
  
  .hero-image .img-2 {
    width: 130px;
    height: 130px;
  }
  
  .stat-counter {
    margin-bottom: 30px;
  }
  
  .counter {
    font-size: 32px;
  }
  
  .map-info-card {
    display: none;
  }
  
  /* Testimonial responsive styles */
  .testimonial-button-prev {
    left: 10%;
  }
  
  .testimonial-button-next {
    right: 10%;
  }
  
  .testimonial-wrapper {
    padding-bottom: 80px;
  }
}

@media (max-width: 575.98px) {
  section {
    padding: 40px 0;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
  
  .hero-btns .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .hero-btns .btn:last-child {
    margin-left: 0 !important;
  }
  
  .hero-image {
    height: 300px;
  }
  
  .appointment-content,
  .appointment-form {
    padding: 20px;
  }
  
  .footer-main {
    padding: 40px 0 20px;
  }
  
  /* Testimonial responsive styles */
  .testimonial-card {
    padding: 20px;
  }
  
  .testimonial-content p {
    font-size: 14px;
  }
  
  .testimonial-button-prev,
  .testimonial-button-next {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
} 