body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #333;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0d1b2a;
}

/* Optional: Make hero heading bold and impactful */
.hero-carousel h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  text-transform: capitalize;
  letter-spacing: 1px;
  color: #fff;
}
/* --- Navbar Styling --- */
/* --- Navbar Enhancements --- */
.navbar {
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease-in-out;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  margin: 0 8px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0d6efd !important;
}

/* Gradient CTA Button */
.btn-gradient {
  background: linear-gradient(135deg, #0d6efd, #20c997);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.5);
  opacity: 0.95;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: rotate(-3deg) scale(1.05);
}

/* Responsive spacing */
@media (max-width: 992px) {
  .btn-gradient {
    width: 100%;
    margin-top: 10px;
  }
}



/* --- Hero Carousel Styling --- */
/* Hero Carousel Fix */
.hero-carousel .carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-carousel .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Wrapper that holds text vertically centered */
.caption-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  padding: 0 20px;
}

/* Caption text styles */
.caption-content {
  max-width: 800px;
  color: #fff;
}

.caption-content h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.3;
  text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.caption-content p {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  color: #f8f9fa;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

@media (max-width: 992px) {
  .caption-content h1 { font-size: 2.2rem; }
  .caption-content p { font-size: 1rem; }
}

@media (max-width: 576px) {
  .caption-content h1 { font-size: 1.8rem; }
  .caption-content p { font-size: 0.95rem; }
}

/* --- About Section --- */
.about-section {
  background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
  position: relative;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.3;
}

.about-section p {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  color: #444;
}

.about-section .fa-check {
  color: #28a745;
}

/* Image styling */
.about-image-wrapper {
  position: relative;
  display: inline-block;
}

.about-main-img {
  border-radius: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-main-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Floating badge */
.floating-badge {
  position: absolute;
  bottom: -15px;
  right: 15px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.floating-badge:hover {
  background: #0d6efd;
  color: #fff;
  transform: translateY(-4px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .section-title {
    font-size: 1.8rem;
  }
  .about-main-img {
    width: 90%;
  }
}
/* --- About Section Extended --- */
.why-smileoneai {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-radius: 16px;
  padding: 40px 20px;
}

.why-smileoneai .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0d1b2a;
}

.why-card {
  background: #fff;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.icon-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  background: rgba(13,110,253,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.why-card:hover .icon-circle {
  background: rgba(13,110,253,0.2);
}

.why-card h5 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 10px;
}

.why-card p {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: #555;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .why-card {
    padding: 25px;
  }
  .why-smileoneai {
    padding: 30px 15px;
  }
}


/* --- Features Section --- */
.features-section {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  position: relative;
}

.features-section .section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
}

.features-section .icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-card {
  border-radius: 16px;
  background: #fff;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-card:hover .icon-wrapper {
  background: rgba(13, 110, 253, 0.2);
}

.feature-card h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.feature-card p {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: #555;
}

/* Responsive grid */
@media (max-width: 992px) {
  .features-section .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .feature-card {
    padding: 30px 20px;
  }
}

/* --- Pricing Section --- */
.pricing-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  position: relative;
}

.pricing-section .section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
}

.price-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -40px;
  background: #0d6efd;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transform: rotate(45deg);
  width: 140px;
  text-align: center;
  padding: 3px 0;
}

.price-card ul {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.5;
}

.price-card h3 {
  color: #0d6efd;
}

/* Compare Table */
.compare-plans table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.compare-plans th {
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.compare-plans td {
  font-size: 0.9rem;
}

.compare-plans tbody tr:hover {
  background-color: #f2f9ff;
}

/* Responsive */
@media (max-width: 992px) {
  .price-card {
    margin-bottom: 20px;
  }
}

/* --- Equal Height & Toggle Pricing Section --- */
.price-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -40px;
  background: #0d6efd;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  width: 140px;
  text-align: center;
  padding: 3px 0;
}

/* Pricing Toggle */
.toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px; width: 20px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #28a745;
}

input:checked + .slider:before {
  transform: translateX(32px);
}

.toggle-label {
  font-weight: 600;
  color: #333;
}

/* Compare Table */
.compare-plans table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.compare-plans tbody tr:hover {
  background-color: #f2f9ff;
}

.price-toggle-container h3 {
  transition: all 0.4s ease;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #0d6efd 0%, #20c997 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate-bg 20s linear infinite;
}

@keyframes rotate-bg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-banner h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cta-banner p {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
}

.cta-banner .btn-light {
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-banner .btn-light:hover {
  background: #f8f9fa;
  color: #0d6efd;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cta-banner h2 {
    font-size: 1.5rem;
  }
  .cta-banner p {
    font-size: 1rem;
  }
}

/* --- Testimonials Section --- */
.testimonials-section {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  position: relative;
}

.testimonials-section .section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  max-width: 800px;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
  color: #444;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.2rem;
}

.testimonial-author img {
  border: 3px solid #0d6efd;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(13, 110, 253, 0.6);
  border-radius: 50%;
  padding: 15px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(13, 110, 253, 0.9);
}

/* Mobile */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 2.5rem 1.5rem;
  }
  .testimonial-text {
    font-size: 1rem;
  }
}

/* --- Why Choose SmileOneAI Section --- */
.why-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  position: relative;
}

.why-section .section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
}

.why-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  height: 100%;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  background: linear-gradient(135deg, rgba(13,110,253,0.15), rgba(32,201,151,0.15));
  transition: all 0.3s ease;
}

.why-card:hover .icon-circle {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(13,110,253,0.25), rgba(32,201,151,0.25));
}

.why-card h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .why-section .section-title {
    font-size: 1.8rem;
  }
  .why-card {
    padding: 1.5rem;
  }
}

/* --- Contact Section --- */
.contact-section {
  background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}

.contact-section .section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
}

.contact-info, .contact-form {
  border-radius: 16px;
  transition: all 0.4s ease;
}

.contact-info:hover, .contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-info h5, .contact-form h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #0d6efd;
}

.contact-info p, .contact-form p, .contact-section p {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: #555;
}

.contact-form .form-control {
  border-radius: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: none;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.15);
}

.contact-section iframe {
  border-radius: 12px;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-info, .contact-form {
    padding: 1.5rem;
  }
  .contact-section .section-title {
    font-size: 1.8rem;
  }
}

/* --- Footer Section --- */
.footer-section {
  background: linear-gradient(135deg, #0d1117 0%, #1c1f26 100%);
  color: #dcdcdc;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
}

.footer-section h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.footer-links li a {
  color: #dcdcdc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links li a:hover {
  color: #20c997;
  padding-left: 5px;
}

.footer-contact li a {
  color: #dcdcdc;
  text-decoration: none;
}

.footer-contact li a:hover {
  color: #20c997;
}

.footer-brand h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-section p {
  color: #bfbfbf;
}

.footer-section a {
  color: #bfbfbf;
}

.footer-section a:hover {
  color: #20c997;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .footer-section {
    text-align: center;
  }
  .footer-section .col-md-6,
  .footer-section .col-lg-3 {
    margin-bottom: 25px;
  }
}
/* --- Footer Logo Visibility Fix --- */
.footer-logo-bg {
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo-bg:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

.footer-logo {
  width: 60px;
  height: auto;
}

/* --- Book a Demo Modal --- */
.book-demo-modal {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.4s ease;
}

.book-demo-modal .modal-header {
  background: linear-gradient(135deg, #0d6efd, #20c997);
  color: #fff;
  border-bottom: none;
}

.book-demo-modal .modal-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
}

.book-demo-modal .form-control {
  border-radius: 10px;
  border: 1px solid #dcdcdc;
  box-shadow: none;
  transition: all 0.3s ease;
}

.book-demo-modal .form-control:focus {
  border-color: #20c997;
  box-shadow: 0 0 6px rgba(32, 201, 151, 0.3);
}

.btn-gradient {
  background: linear-gradient(135deg, #0d6efd, #20c997);
  border: none;
  color: #fff;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.btn-gradient:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .book-demo-modal .modal-body img {
    width: 80%;
  }
}


/* Section Animation */
section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-carousel h1 { font-size: 2rem; }
  .carousel-caption { padding: 20px; }
}
