/*
 * Taleem-ul-Quran - Online Quran Academy
 * Custom Stylesheet
 * Theme: Dark Green, Gold & Cream (Based on Theme Image)
 */

/* ===== CSS Variables ===== */
:root {
  /* Primary Colors - From Theme Image */
  --primary-dark: #1a2a1a;
  --primary-green: #0d4d2b;
  --primary-green-light: #1a6b3d;
  --primary-green-dark: #0a3d22;

  /* Gold Accent - Rich Gold from Image */
  --gold: #d4af37;
  --gold-light: #e6c65c;
  --gold-dark: #b8962e;
  --gold-muted: #c9a227;

  /* Neutral Colors */
  --white: #ffffff;
  --off-white: #fdfcfa;
  --cream: #f5f0e6;
  --cream-dark: #e8dfd0;
  --light-gray: #e9ecef;
  --gray: #6c757d;
  --dark-gray: #2d3436;
  --black: #1a1a1a;

  /* Background Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--primary-green-dark) 100%
  );
  --gradient-gold: linear-gradient(
    135deg,
    var(--gold) 0%,
    var(--gold-dark) 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    rgba(26, 42, 26, 0.95) 0%,
    rgba(10, 61, 34, 0.98) 100%
  );

  /* Typography */
  --font-primary: "Poppins", sans-serif;
  --font-arabic: "Amiri", serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== Reset & Base Styles ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader .islamic-pattern {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(212, 175, 55, 0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loader span {
  font-family: var(--font-arabic);
  font-size: 28px;
  color: var(--gold);
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--black);
}

.gold-text {
  color: var(--gold);
}

.section-subtitle {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  text-transform: none;
  letter-spacing: 0.5px;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(13, 77, 43, 0.3);
}

.btn-primary:hover {
  background: var(--primary-green-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 77, 43, 0.4);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--black);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-light {
  background: var(--white);
  color: var(--primary-green);
  font-weight: 600;
}

.btn-light:hover {
  background: var(--cream);
  color: var(--primary-green-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 35px;
  font-size: 1rem;
}

/* ===== Navigation ===== */
.navbar {
  padding: 15px 0;
  background: transparent;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: var(--primary-dark);
  padding: 10px 0;
  box-shadow: var(--shadow-lg);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand img {
  height: 90px;
  width: auto;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar-brand i {
  font-size: 1.8rem;
  color: var(--gold);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 8px 18px;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold) !important;
}

.navbar-toggler {
  border: none;
  padding: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  background: var(--primary-dark);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 20px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23d4af37' fill-opacity='0.03'%3E%3Cpath d='M40 0L80 40L40 80L0 40z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 2;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  padding: 100px 0 50px;
}

.bismillah-text {
  margin-bottom: 20px;
}

.bismillah-text span {
  font-family: var(--font-arabic);
  font-size: 1.8rem;
  color: var(--gold);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title .highlight {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-features .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.hero-features .feature-item i {
  color: var(--gold);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.trust-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.trust-badges .badge-item i {
  font-size: 1.5rem;
  color: var(--gold);
}

.trust-badges .badge-item strong {
  color: var(--white);
}

/* Hero Image */
.hero-image {
  position: relative;
  padding: 20px;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.image-frame img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 1.2rem;
  color: var(--primary-green);
}

.floating-card span {
  font-weight: 600;
  color: var(--dark-gray);
}

.floating-card.card-1 {
  top: 20%;
  left: -20px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 20%;
  right: -20px;
  animation-delay: 1.5s;
}

.floating-card.card-2 i {
  color: var(--gold);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-indicator a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 60px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  color: var(--white);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(5px);
  }
}

/* ===== Services Section ===== */
.services-section {
  padding: 100px 0;
  background: var(--cream);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  height: 100%;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--light-gray);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  border: 2px solid var(--gold);
}

.service-card.featured::before {
  transform: scaleX(1);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gold);
  color: var(--black);
  padding: 5px 40px;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(45deg);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(13, 77, 43, 0.1) 0%,
    rgba(13, 77, 43, 0.05) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-green);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.service-card p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--dark-gray);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--light-gray);
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li i {
  color: var(--primary-green);
  font-size: 0.85rem;
}

/* ===== Why Us Section ===== */
.why-us-section {
  padding: 100px 0;
  background: var(--white);
}

.why-us-image {
  position: relative;
  padding: 20px;
}

.why-us-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.experience-badge {
  position: absolute;
  bottom: 40px;
  right: 0;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 25px 30px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.experience-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.experience-badge .text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.why-us-content {
  padding-left: 30px;
}

.why-us-content p {
  color: var(--gray);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-list .feature-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.features-list .feature-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(10px);
}

.features-list .feature-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-list .feature-icon i {
  font-size: 1.3rem;
  color: var(--gold);
}

.features-list .feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark-gray);
}

.features-list .feature-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

/* ===== Trial Section ===== */
.trial-section {
  padding: 100px 0;
  background: var(--primary-dark);
  position: relative;
}

.trial-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23d4af37' fill-opacity='0.03'%3E%3Cpath d='M40 0L80 40L40 80L0 40z'/%3E%3C/g%3E%3C/svg%3E");
}

.trial-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.trial-info {
  background: var(--gradient-primary);
  padding: 50px 40px;
  height: 100%;
  color: var(--white);
}

.trial-info h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 15px;
}

.trial-info > p {
  opacity: 0.9;
  margin-bottom: 30px;
}

.trial-benefits {
  margin-bottom: 30px;
}

.trial-benefits .benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trial-benefits .benefit-item:last-child {
  border-bottom: none;
}

.trial-benefits .benefit-item i {
  color: var(--gold);
  font-size: 1.1rem;
}

.contact-info h5 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 15px;
}

.contact-info a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  padding: 10px 0;
  transition: var(--transition-fast);
}

.contact-info a:hover {
  color: var(--gold);
}

.contact-info a i {
  font-size: 1.3rem;
}

/* Trial Form */
.trial-form-wrapper {
  padding: 50px 40px;
}

.form-header {
  margin-bottom: 25px;
}

.form-header h4 {
  font-size: 1.5rem;
  color: var(--dark-gray);
  margin-bottom: 5px;
}

.form-header p {
  color: var(--gray);
  font-size: 0.95rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  height: 58px;
  padding-left: 15px;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(13, 77, 43, 0.1);
}

.form-floating > label {
  padding-left: 15px;
  color: var(--gray);
}

.btn-submit {
  height: 55px;
  font-size: 1.1rem;
  margin-top: 10px;
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--light-gray);
}

.form-footer p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

.form-footer i {
  color: var(--primary-green);
}

/* ===== How It Works Section ===== */
.how-it-works-section {
  padding: 100px 0;
  background: var(--cream);
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 30px;
  background: var(--gradient-gold);
  color: var(--black);
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
}

.step-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(
    135deg,
    rgba(13, 77, 43, 0.1) 0%,
    rgba(13, 77, 43, 0.05) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 25px;
}

.step-icon i {
  font-size: 2.5rem;
  color: var(--primary-green);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.step-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.step-arrow {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-arrow i {
  color: var(--white);
  font-size: 1.2rem;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 35px;
  height: 100%;
  transition: all var(--transition-normal);
  border: 1px solid var(--light-gray);
}

.testimonial-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.testimonial-card .stars {
  margin-bottom: 20px;
}

.testimonial-card .stars i {
  color: var(--gold);
  font-size: 1rem;
  margin-right: 3px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar i {
  font-size: 2rem;
  color: var(--gold);
}

.author-info h5 {
  font-size: 1rem;
  margin-bottom: 3px;
  color: var(--dark-gray);
}

.author-info span {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23d4af37' fill-opacity='0.03'%3E%3Cpath d='M40 0L80 40L40 80L0 40z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.cta-icon i {
  font-size: 3rem;
  color: var(--gold);
}

.cta-content h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta-verse {
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  max-width: 600px;
  margin: 0 auto;
}

.cta-verse p {
  font-family: var(--font-arabic);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.cta-verse span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

/* ===== Footer ===== */
.footer-section {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}

.social-links a.facebook:hover {
  background: #1877f2;
  color: var(--white);
}

.social-links a.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: var(--white);
}

.social-links a.whatsapp:hover {
  background: #25d366;
  color: var(--white);
}

.footer-links h5,
.footer-contact h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h5::after,
.footer-contact h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.footer-links ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact ul li i {
  color: var(--gold);
  font-size: 1.1rem;
  width: 20px;
}

.footer-contact ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-contact ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 50px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .developer-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-bottom .developer-link:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all var(--transition-normal);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow:
      0 4px 20px rgba(37, 211, 102, 0.4),
      0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-float .tooltip-text {
  position: absolute;
  right: 70px;
  background: var(--dark-gray);
  color: var(--white);
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.whatsapp-float:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}

/* ===== Success Modal ===== */
.modal-content {
  border-radius: var(--radius-lg);
  border: none;
  overflow: hidden;
}

.modal-body {
  padding: 50px 40px;
}

.success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    rgba(13, 77, 43, 0.1) 0%,
    rgba(13, 77, 43, 0.05) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.success-icon i {
  font-size: 3.5rem;
  color: var(--primary-green);
}

.modal-body h3 {
  font-size: 1.75rem;
  margin-bottom: 15px;
  color: var(--primary-green);
}

.modal-body p {
  color: var(--gray);
  margin-bottom: 25px;
}

/* ===== Alert Messages ===== */
.alert {
  border-radius: var(--radius-sm);
  border: none;
  padding: 15px 20px;
}

.alert-success {
  background: rgba(13, 77, 43, 0.1);
  color: var(--primary-green);
}

.alert-danger {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--primary-dark);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 15px;
  }

  .hero-content {
    text-align: center;
    padding: 120px 0 50px;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
  }

  .hero-image {
    margin-top: 40px;
  }

  .floating-card.card-1 {
    left: 10px;
  }

  .floating-card.card-2 {
    right: 10px;
  }

  .why-us-content {
    padding-left: 0;
    margin-top: 50px;
  }

  .step-arrow {
    display: none;
  }

  .trial-info {
    padding: 40px 30px;
  }

  .trial-form-wrapper {
    padding: 40px 30px;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .bismillah-text span {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .experience-badge {
    position: relative;
    bottom: 0;
    right: 0;
    display: inline-block;
    margin-top: 20px;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-verse p {
    font-size: 1.4rem;
  }

  .trial-wrapper {
    border-radius: var(--radius-md);
  }

  .form-floating > .form-control,
  .form-floating > .form-select {
    height: 54px;
  }
}

@media (max-width: 575.98px) {
  .hero-content {
    padding: 100px 0 30px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .service-card {
    padding: 30px 25px;
  }

  .trial-info,
  .trial-form-wrapper {
    padding: 30px 20px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.75rem;
  }

  .whatsapp-float .tooltip-text {
    display: none;
  }
}

/* ===== Utility Classes ===== */
.text-gold {
  color: var(--gold) !important;
}

.bg-primary-green {
  background-color: var(--primary-green) !important;
}

.bg-gold {
  background-color: var(--gold) !important;
}

/* ===== Animation Delays for AOS ===== */
[data-aos] {
  transition-duration: 0.8s;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

/* ===== Form Validation States ===== */
.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control.is-valid {
  border-color: var(--primary-green);
}

.invalid-feedback {
  font-size: 0.85rem;
}

/* ===== Selection Color ===== */
::selection {
  background: var(--primary-green);
  color: var(--white);
}

::-moz-selection {
  background: var(--primary-green);
  color: var(--white);
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-green-dark);
}
