/* AMSS Website Styles */

/* Base Styles */
:root {
  /* New color palette based on design system */
  --main-bg-color: #FAF8F6;
  --header-footer-bg: #FFFFFF;
  --primary-heading-color: #1C1C1C;
  --body-text-color: #4E4E4E;
  --accent-yellow: #FEEB77;
  --accent-lavender: #E2D9FA;
  --accent-blue: #D6E8FF;
  --accent-coral: #FFDAD6;
  --accent-pale-yellow: #FFF6CC;
  --cta-bg: #1C1C1C;
  --cta-text: #FFFFFF;
  --star-rating-color: #FFD700;
  --card-shadow: rgba(0, 0, 0, 0.08);

  /* Legacy colors kept for compatibility */
  --primary-color: #1C1C1C;
  --secondary-color: #4E4E4E;
  --accent-color: #FEEB77;
  --text-color: #1C1C1C;
  --text-color-light: #FFFFFF;
  --bg-color: #FAF8F6;
  --bg-color-dark: #1C1C1C;
  --bg-color-light: #FFFFFF;

  /* Layout and spacing */
  --section-padding: clamp(60px, 8vw, 100px) 20px;
  --transition-speed: 0.8s;

  /* Typography */
  --font-main: 'Inter', 'Manrope', 'Poppins', Arial, sans-serif;
  --font-odia: 'Noto Sans Oriya', 'Kalinga', 'Lohit Odia', sans-serif;

  /* Component styling */
  --border-radius: 8px;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  --gradient-primary: linear-gradient(45deg, #1C1C1C, #333333);
}

/* Typography */
@font-face {
  font-family: 'Inter';
  src: url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');
  font-display: swap;
}

/* Odia Font - Noto Sans Oriya */
@font-face {
  font-family: 'Noto Sans Oriya';
  src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+Oriya:wght@400;500;600;700&display=swap');
  font-display: swap;
  unicode-range: U+0B00-U+0B7F;
}

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

[data-en],
[data-or] {
  transition: all 0.3s ease-in-out;
}

body {
  font-family: var(--font-main);
  margin: 0;
  background-color: var(--main-bg-color);
  color: var(--body-text-color);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-heading-color);
  line-height: 1.2;
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
}

h2 {
  font-size: clamp(28px, 4vw, 36px);
}

h3 {
  font-size: clamp(20px, 3vw, 24px);
}

p {
  margin-bottom: 1.5rem;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 400;
}

a {
  color: var(--primary-heading-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

img,
video {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

button,
.btn {
  display: inline-block;
  padding: 15px 32px;
  background: var(--cta-bg);
  color: var(--cta-text);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-main);
  transition: all 0.3s ease;
  text-align: center;
  margin: 0.5rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: var(--box-shadow);
}

button:hover,
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  background-color: var(--cta-text);
  color: var(--cta-bg);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--cta-bg);
  color: var(--cta-bg);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--cta-bg);
  color: var(--cta-text);
  box-shadow: var(--box-shadow);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Card styling from design system */
.card {
  background: var(--header-footer-bg);
  border-radius: 12px;
  border: 1px solid #E5E5E5;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Badge styling from design system */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  margin-right: 8px;
}


.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 75px;
  /* Height of header */
  left: 0;
  width: 100%;
  background: var(--header-footer-bg);
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-150%);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
  visibility: hidden;
}

.mobile-nav.active {
  transform: translateY(0);
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

.mobile-nav-links a {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-heading-color);
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
}

.mobile-nav-links a:last-child {
  border-bottom: none;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .nav-links.desktop-only {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: var(--primary-color);
  width: 0%;
  z-index: 100;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-heading-color);
  color: white;
  border: none;
  border-radius: 8px;
  width: 45px;
  height: 45px;
  display: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  font-size: 1.2rem;
  z-index: 99;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background-color: var(--accent-yellow);
  color: var(--primary-heading-color);
  transform: translateY(-3px);
}

/* Section Styles */
section {
  padding: var(--section-padding);
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all var(--transition-speed) ease-in-out;
}

section:nth-child(even) {
  background-color: var(--main-bg-color);
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  display: inline-block;
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--primary-heading-color);
}

section h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--accent-yellow);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

section>.container>p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  font-size: 16px;
  color: var(--body-text-color);
  line-height: 1.6;
}

/* Hero Section */
#hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 150px;
  overflow: hidden;
  background-color: var(--main-bg-color);
  color: var(--primary-heading-color);
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url('../images/wave.svg');
  background-size: cover;
  background-position: center bottom;
  z-index: 2;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(254, 235, 119, 0.1) 0%,
      rgba(254, 235, 119, 0.05) 50%,
      rgba(254, 235, 119, 0.03) 100%);
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  background-color: transparent;
  padding: 40px 0;
  max-width: 600px;
  text-align: left;
  animation: fadeIn 1.2s ease-out forwards;
}

@media (max-width: 991px) {
  #hero .container {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
    margin: 0 auto;
  }
}

#hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--primary-heading-color);
  position: relative;
  padding-bottom: 1rem;
  font-family: 'Inter', 'Poppins', sans-serif;
}

#hero h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--accent-yellow);
  border-radius: 2px;
}

#hero p {
  font-size: 18px;
  margin-bottom: 2.5rem;
  max-width: 600px;
  font-weight: 400;
  color: var(--body-text-color);
}

@media (max-width: 991px) {
  #hero h1::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.hero-buttons {
  margin-top: 2rem;
  margin-bottom: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-buttons .btn {
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  background: var(--cta-bg);
  color: var(--cta-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 991px) {
  .hero-buttons {
    justify-content: center;
  }
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  background-color: var(--cta-text);
  color: var(--cta-bg);
}

.hero-buttons .btn i {
  font-size: 1rem;
}

.hero-buttons .btn-outline {
  border: 1px solid var(--cta-bg);
  background-color: transparent;
  color: var(--cta-bg);
}

.hero-buttons .btn-outline:hover {
  background-color: var(--cta-bg);
  color: var(--cta-text);
}

.hero-media {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 15%;
  width: 120px;
  height: 50px;
  background: var(--accent-yellow);
  border-radius: 12px;
  transform: rotate(-15deg);
  z-index: -1;
  opacity: 0.6;
}

.hero-media::before {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: var(--accent-yellow);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.4;
}

.hero-media video {
  width: 90%;
  display: block;
  border-radius: 12px;
  border: 1px solid #E5E5E5;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* About Section */
#about {
  text-align: center;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.about-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  background-color: var(--header-footer-bg);
  border: 1px solid #E5E5E5;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-yellow);
  transition: width 0.3s ease;
  z-index: -1;
}

.about-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.about-card:hover::before {
  width: 6px;
}

.about-card:hover .about-icon {
  color: var(--primary-heading-color);
  background-color: var(--accent-yellow);
}

.about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background-color: rgba(254, 235, 119, 0.15);
  margin-bottom: 20px;
  font-size: 2rem;
  color: var(--primary-heading-color);
  transition: all 0.3s ease;
}

.about-card h3 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-heading-color);
  transition: color 0.3s ease;
}

.about-card p {
  color: var(--body-text-color);
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Skills Section */
#skills {
  background: var(--main-bg-color);
  background-size: cover;
  background-position: center;
}

.dark-mode #skills {
  background: #1a1a1a;
  background-size: cover;
  background-position: center;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.skill-card {
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  background-color: var(--header-footer-bg);
  border: 1px solid #E5E5E5;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.skill-card:nth-child(1)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-lavender);
  transition: height 0.3s ease;
  z-index: -1;
}

.skill-card:nth-child(2)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-blue);
  transition: height 0.3s ease;
  z-index: -1;
}

.skill-card:nth-child(3)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-coral);
  transition: height 0.3s ease;
  z-index: -1;
}

.skill-card:nth-child(4)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-pale-yellow);
  transition: height 0.3s ease;
  z-index: -1;
}

.skill-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.skill-card:hover::after {
  height: 6px;
}

.skill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  margin-bottom: 25px;
  font-size: 2rem;
  color: var(--primary-heading-color);
  transition: all 0.3s ease;
}

.skill-card:nth-child(1) .skill-icon {
  background-color: rgba(226, 217, 250, 0.2);
}

.skill-card:nth-child(2) .skill-icon {
  background-color: rgba(214, 232, 255, 0.2);
}

.skill-card:nth-child(3) .skill-icon {
  background-color: rgba(255, 218, 214, 0.2);
}

.skill-card:nth-child(4) .skill-icon {
  background-color: rgba(255, 246, 204, 0.2);
}

.dark-mode .skill-icon {
  background-color: rgba(255, 255, 255, 0.05);
}

.skill-card:hover .skill-icon {
  transform: scale(1.1);
}

.skill-card h3 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-heading-color);
  transition: color 0.3s ease;
}

.skill-card p {
  color: var(--body-text-color);
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Testimonials Section */
#testimonials {
  background-color: var(--main-bg-color);
  overflow: hidden;
}

.dark-mode #testimonials {
  background-color: #1e1e1e;
}

.testimonial-slider {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 50px auto 0;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  background-color: var(--header-footer-bg);
  border: 1px solid #E5E5E5;
  margin: 10px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 60px;
  font-family: Georgia, serif;
  color: var(--accent-yellow);
  opacity: 0.3;
  line-height: 1;
}

@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }
}

.testimonial-image {
  flex: 0 0 150px;
  margin-right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .testimonial-image {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

.testimonial-portrait {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  display: block;
  transition: transform 0.3s ease;
  max-width: none;
  /* Override max-width: 100% */
}

.testimonial-portrait:hover {
  transform: scale(1.05);
}

.dark-mode .testimonial-portrait {
  border-color: #333;
  filter: brightness(0.95) contrast(1.1);
}

.testimonial-content {
  flex: 1;
  padding-left: 20px;
}

.testimonial-rating {
  color: var(--star-rating-color);
  margin-bottom: 15px;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--body-text-color);
  position: relative;
  z-index: 1;
}

.testimonial-author h4 {
  margin-bottom: 5px;
  font-weight: 700;
  color: var(--primary-heading-color);
  font-size: 18px;
}

.testimonial-author p {
  margin: 0;
  font-size: 14px;
  color: var(--body-text-color);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.testimonial-btn {
  background-color: var(--primary-heading-color);
  color: white;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-btn:hover {
  background-color: var(--accent-yellow);
  color: var(--primary-heading-color);
  transform: translateY(-2px);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin: 0 15px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background-color: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dark-mode .dot {
  background-color: #555;
}

.dot.active {
  background-color: var(--accent-yellow);
  width: 20px;
}

/* Timeline Section */
#timeline {
  background: var(--main-bg-color);
  position: relative;
  overflow: hidden;
}

.dark-mode #timeline {
  background: #1a1a1a;
}

/* Horizontal Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
  position: relative;
  width: 100%;
  margin-top: 2rem;
  list-style: none;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 55px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #E5E5E5;
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  padding: 0 10px;
}

.timeline-marker {
  width: 30px;
  height: 30px;
  background: var(--accent-yellow);
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 4px solid var(--main-bg-color);
  box-shadow: 0 0 0 2px #E5E5E5;
  transition: all 0.3s ease;
}

.timeline-step:hover .timeline-marker {
  background: var(--primary-heading-color);
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(254, 235, 119, 0.3);
}

.timeline-date {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-heading-color);
  margin-bottom: 5px;
  opacity: 0.8;
}

.timeline-content h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.timeline-content p {
  font-size: 14px;
  margin: 0;
}

/* Mobile Timeline */
@media (max-width: 768px) {
  .timeline {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    padding-bottom: 30px;
    gap: 20px;
  }

  .timeline::before {
    width: 1000px;
    /* Ensure line extends for scroll */
  }

  .timeline-step {
    min-width: 220px;
    scroll-snap-align: center;
  }
}

/* Registration Section */
#register {
  text-align: center;
  background: var(--main-bg-color);
  color: var(--primary-heading-color);
  position: relative;
  overflow: hidden;
}

#register::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(254, 235, 119, 0.1);
  z-index: 1;
}

#register .container {
  position: relative;
  z-index: 2;
}

#register h2,
#register p {
  color: var(--primary-heading-color);
}

#register h2::after {
  background: var(--accent-yellow);
}

.form-container {
  max-width: 600px;
  margin: 50px auto 40px;
  background: var(--header-footer-bg);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #E5E5E5;
  position: relative;
  z-index: 3;
}

.dark-mode .form-container {
  background: #222;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-color: #333;
}

form {
  max-width: 100%;
  margin: 0;
}

form input,
form select,
form textarea {
  display: block;
  width: 100%;
  padding: 16px;
  margin-bottom: 25px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  background-color: var(--header-footer-bg);
  color: var(--body-text-color);
  font-family: var(--font-main);
  font-size: 16px;
  box-shadow: none;
  transition: all 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--accent-yellow);
  box-shadow: 0 2px 6px rgba(254, 235, 119, 0.2);
  outline: none;
  transform: translateY(-2px);
}

.dark-mode form input,
.dark-mode form select,
.dark-mode form textarea {
  background-color: #333;
  border-color: #444;
  color: #eee;
}

.dark-mode form input:focus,
.dark-mode form select:focus,
.dark-mode form textarea:focus {
  background-color: #444;
  border-color: var(--accent-yellow);
}

form button {
  width: 100%;
  margin: 10px 0;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
}

.separator {
  margin: 40px 0;
  position: relative;
}

.separator span {
  background: var(--header-footer-bg);
  padding: 0 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--body-text-color);
  position: relative;
  z-index: 2;
}

.dark-mode .separator span {
  background: #222;
}

.separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #E5E5E5;
  z-index: 1;
}

.whatsapp-button {
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #1DB954;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
}

/* Footer */
footer {
  background-color: var(--header-footer-bg);
  color: var(--body-text-color);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--body-text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-heading-color);
}

footer p {
  font-size: 14px;
  color: #888;
  margin: 0;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  #hero h1 {
    font-size: 36px;
  }

  #hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  section {
    padding: 60px 20px;
  }

  section h2 {
    font-size: 28px;
  }
}

/* Sticky CTA Bar */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: var(--header-footer-bg);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
  animation: slideUp 0.5s ease-out;
}

.sticky-cta .btn {
  width: 100%;
  margin: 0;
  display: block;
  font-size: 16px;
  padding: 15px;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }

  footer {
    padding-bottom: 90px;
    /* Prevent footer content from being hidden */
  }

  .back-to-top {
    bottom: 90px;
    /* Move back-to-top button up */
  }
}