/* ====================== 
   BASE STYLES & VARIABLES
   ====================== */
:root {
  --primary-color: #2d79f3;
  --secondary-color: #063e9e;
  --accent-color: #ff7a01;
  --highlight-blue: #2d79f3;
  --text-color: #333;
  --light-text: #fff;
  --bg-color: #f8f9fa;
  --footer-bg: #a1afcb;
  --section-bg: #f0f4f8;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --success-color: #4bb543;
  --error-color: #ff3333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================
           HEADER
   ====================== */
.social-bar {
  background-color: #f6f2f2;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links span {
  font-weight: 500;
  color: #555;
}

.social-links a {
  color: var(--text-color);
  font-size: 16px;
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-2px);
}

.social-links a.facebook:hover {
  color: #1877f2;
}
.social-links a.twitter:hover {
  color: #1da1f2;
}
.social-links a.instagram:hover {
  color: #e4405f;
}
.social-links a.youtube:hover {
  color: #ff0000;
}

.contact-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-info div {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.contact-info i {
  color: #2d79f3;
  margin-right: 5px;
}

.contact-info small {
  display: block;
  font-size: 12px;
  color: #777;
  margin-top: 3px;
}

/* ======================
        NAVIGATION
   ====================== */
/* ======================
        NAVIGATION
   ====================== */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky; /* Keep sticky for import page */
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger .line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hamburger Animation */
.hamburger.active .line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.med-import-btn {
  border: none;
  display: block;
  position: relative;
  padding: 0.5em 1.4em;
  font-size: 15px;
  background-color: #00173c;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  color: rgb(255, 255, 255);
  z-index: 1;
  font-family: inherit;
  font-weight: 350;
  transition: all 0.4s ease;
  border-radius: 10px;
}

.med-import-btn span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
  /* border: 1.5px solid rgb(255, 255, 255); */
  border-radius: 15px 15px;
  transition: all 0.3s ease;
}

/* Glow effect container */
.med-import-btn::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -6px;
  right: -6px;
  bottom: -7px;
  border-radius: 2px;
  background: transparent;
  z-index: -2;
  opacity: 0;
  transition: all 0.3s ease;
}

.med-import-btn:hover {
  color: rgb(247, 247, 247);
  opacity: 2;
  box-shadow: 0 0 2px rgba(24, 40, 226, 0.8), 0 0 5px rgba(24, 40, 226, 0.6),
    0 0 10px rgba(24, 40, 226, 0.4);
}

.med-import-btn:hover span {
  border-color: rgb(24, 40, 226);
}
/* ======================
        HERO SECTION
   ====================== */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
  backdrop-filter: blur(2px);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 300;
}

/* ======================
        QOUTE BUTTON
   ====================== */

.quote-button {
  display: inline-block;
  background: linear-gradient(to right, #3a86ff, #4cc9f0);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.quote-button:hover {
  background: #020942;
  background-position: right center;
  box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
  transform: translateY(-2px);
}

/* modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6); /* Slightly darker for focus */
  backdrop-filter: blur(4px); /* Modern blur effect */
  touch-action: manipulation;
}

.modal-content {
  background-color: #ffffff;
  margin: 3% auto; /* Reduced margin for compactness */
  padding: 25px 30px;
  border: 1px solid rgba(0,0,0,0.05); /* Subtle border */
  width: 90%;
  max-width: 600px; /* Reduced width for compressed feel */
  position: relative;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); /* Deep focused shadow */
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Close button styles */
.close {
  position: absolute;
  right: 15px;
  top: 15px;
  color: #888;
  font-size: 24px;
  font-weight: normal;
  cursor: pointer;
  z-index: 1001;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close:hover {
  color: #333;
  background: #e0e0e0;
  transform: rotate(90deg);
}

/* Mobile-specific styles*/
@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 20px;
  }
}


/* Form styles (header) */
.form-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.form-header h2 {
  color: #1a1a1a;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 1.4rem; /* More compact header */
}

.form-header p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.form-header::after {
  display: none; /* Remove decorative line for cleaner look */
}

/* Grid Layout for Quote Form to "Compress" */
#quoteForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 15px;
  row-gap: 0; /* form-group handles bottom margin */
}

/* Make full-width items span 2 columns */
#quoteForm .form-group {
  grid-column: span 1; /* Default to 1 column */
}

/* Assuming order: 1.Name, 2.Email, 3.Phone, 4.Type, 5.Message, 6.Button */
/* Name & Email sharing row is ideal, Phone & Type sharing row is ideal */
/* However, we need to target specific children or use classes. Since I can't easily change HTML classes now, I will use nth-child assumptions carefully or general logic */

/* Let's make Textareas full width */
.form-group:has(textarea),
.form-group textarea {
  grid-column: span 2;
}
/* Make the type select container full width if it expands (optional), but let's keep it 1/2 */
/* Make the hidden "Other" input full width if shown? It's inside a form-group that is 1/2... tricky */
/* Actually, let's keep it simple: Make simple inputs 1/2, textarea full */

/* Fallback for form groups that need full width */
.form-group.full-width {
  grid-column: span 2;
}

.form-group {
  margin-bottom: 15px; /* Tighter spacing */
  position: relative;
}

/* Ensure #other-specify-container doesn't break grid if it appears */
#other-specify-container {
  grid-column: span 2; 
  /* Note: this is inside the form-group in HTML, so it just expands the height of that grid cell. It won't span columns of the PARENT grid. */
}

/* Floating/Compact Labels */
.form-group label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: #444;
  font-size: 13px; /* Smaller labels */
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px; /* Smaller padding */
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
  background-color: #fff;
}

/* Form focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 121, 243, 0.1);
  background-color: #fff;
}

.form-group textarea {
  min-height: 80px; /* Shorter default height */
  resize: vertical;
}

/* Submit button */
.submit-btn {
  grid-column: span 2; /* Full width button */
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px; /* Slightly squarer than pill for pro look */
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(45, 121, 243, 0.2);
  width: 100%;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background: var(--secondary-color);
  box-shadow: 0 6px 15px rgba(45, 121, 243, 0.3);
  transform: translateY(-1px);
}

/* Responsive Grid reset */
@media (max-width: 600px) {
  #quoteForm {
    grid-template-columns: 1fr;
  }
  
  #quoteForm .form-group,
  .form-group:has(textarea) {
    grid-column: span 1;
  }
  
  .submit-btn {
    grid-column: span 1;
  }
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    padding: 20px;
    margin: 10% auto;
    width: 95%;
  }

  .quote-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}
/* phone no*/
@media (max-width: 480px) {
  .form-group input[type="tel"] {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* ======================
   Imported Medicines
   ====================== */

.imported-medicines {
  text-align: center;
  background: #f6f6f6;
  padding: 60px 20px;
}

.imported-medicines h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
  position: relative;
  display: inline-block;
}

.imported-medicines h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #00b0b9;
  margin: 15px auto 0;
}

.medicine-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.medicine-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.medicine-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.medicine-box .icon {
  font-size: 40px;
  color: #2d79f3;
  flex-shrink: 0;
  margin-top: 5px;
}

.medicine-box h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
}

.medicine-box p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* ======================
        QOUTE STRIP
   ====================== */
.quote-section {
  position: relative;
  background: linear-gradient(135deg, #6b83ed, #e8b598);
  color: #333;
  text-align: left;
  padding: 50px 20px;
  overflow: hidden;
  margin: 40px 0;
}
/*
.quote-logo {
    position: absolute;
    opacity: 0.2;
    z-index: 1;
    max-width: 150px;
    height: auto;
    transition: all 0.3s ease;
}

.quote-logo.top-left {
    top: 20px;
    left: 20px;
    transform: rotate(-15deg);
}

.quote-logo.bottom-right {
    bottom: 20px;
    right: 20px;
    transform: rotate(15deg);
}

.quote-logo.center {
    top: 50%;
    left: 52%;
    transform: translate(-50%, -65%) rotate(-10deg);
}

.quote-logo.no {
    top: 55%;
    left: 35%;
    transform: translate(-80%, -30%) rotate(30deg);
}

.quote-logo.Yes {
    top: 50%;
    right: 170px;
    transform: translate(-90%, 0%) rotate(25deg);
} */

.quote-section h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.quote-section .btn {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  background-color: #798de7;
  color: white;
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.quote-section .btn:hover {
  background-color: #019aa3;
  transform: translateY(-50%) scale(1.05);
}

/* ======================
        WHO WE ARE
   ====================== */
.features-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.features-header p {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.card p strong {
  color: #222;
  font-weight: 600;
}

/* ======================
       WHO WE SERVE
   ====================== */
.serve-section {
  background: #f5f5f5;
  padding: 80px 20px;
  text-align: center;
}

.serve-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.serve-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #00c2d1;
  margin: 15px auto 0;
  border-radius: 3px;
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.serve-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.serve-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.serve-card img {
  width: 70px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.serve-card p {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

/* Responsive layout for Who We Serve cards */
.serve-section .serve-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .serve-section .serve-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .serve-section .serve-card {
    padding: 26px 18px;
  }

  .serve-section .serve-card img {
    width: 64px;
  }
}

@media (max-width: 768px) {
  .serve-section .serve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .serve-section .serve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .serve-section .serve-card {
    padding: 20px 14px;
  }

  .serve-section .serve-card img {
    width: 52px;
  }

  .serve-section .serve-card p {
    font-size: 0.9rem;
  }
}

/*======================
       IMPORT PROCESS
    ====================== */
.import-process {
  background: #f7f7f7;
  padding: 80px 20px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 65px;
  padding: 30px 0;
  position: relative;
}

.steps-grid::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 3px;
  background-color: var(--primary-color);
}

.step {
  position: relative;
  padding: 0 10px;
}

.step::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  background: #00b0b9;
  border-radius: 50%;
  z-index: 2;
}

.step img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

/*======================
       DOCUMENTATION
    ======================*/
.doc-header {
  margin-bottom: 50px;
}

.doc-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 5px solid #1f5ec5;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.doc-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 200px;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  min-width: 0;
}

.doc-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.doc-item:hover .icon-circle {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 16px;
    padding: 0 15px;
  }

  .doc-item {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 18px 12px;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
    padding: 0 10px;
  }

  .doc-item {
    padding: 12px 8px;
    max-width: 100%;
    width: 100%;
    margin: 0;
    min-width: 0;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .icon-circle img {
    width: 24px;
    height: 24px;
  }

  .doc-item h4 {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }

  .doc-item p {
    font-size: 0.75rem;
  }
}

.icon-circle img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.doc-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

  .doc-item p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
  }


/*======================
          FAQ
    ======================*/
.faq-container {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.faq-header h1::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 20%;
  border-radius: 2px;
}

.faq-header p {
  color: var(--text-color);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  background: white;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "-";
  color: var(--accent-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 25px;
  background-color: white;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 25px 20px;
}

.faq-answer p {
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
}

/* ======================
   MODAL STYLES
   ====================== */

.doc-footer > h2 {
  padding: 75px 0px 50px 0px;
  font-size: 1.7rem;
  font-weight: 700;
  color: #222;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 3px solid var(--primary-color);
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 8px;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideDown 0.4s;
  border-top: 5px solid #3a86ff;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  right: 22px;
  top: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #2a5f9e;
}

/* Ensure selects match input styling */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 1em;
  padding-right: 2em;
}

/* Style for valid select */
.form-group.valid select {
  border-color: #4caf50;
  background-color: #f8fff8;
}

/* Form Header */
.form-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.form-header h2 {
  color: #2a5f9e;
  margin-bottom: 10px;
  font-weight: 700;
}

.form-header p {
  color: #666;
  margin-bottom: 0;
}

.form-header::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #3a86ff, #4cc9f0);
  margin: 15px auto;
  border-radius: 3px;
}

/* Form Styles */
#prescriptionForm {
  margin-top: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  position: relative;
  min-height: 75px;
}

.form-group.floating-label {
  padding-top: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #999;
  font-size: 14px;
}

.form-group input:not([type="file"]),
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.3s;
  background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #3a86ff;
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
  background-color: white;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Valid state */
.form-group.valid input:not([type="file"]),
.form-group.valid textarea,
.form-group.valid select {
  border-color: #4caf50;
  background-color: #f8fff8;
}

.form-group.valid input:focus,
.form-group.valid textarea:focus,
.form-group.valid select:focus {
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

/* File Input Styling */
.file-input-container {
  position: relative;
  padding-top: 0px;
  top: -28%;
}

.file-input-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  font-size: 100px;
  opacity: 0;
  right: 0;
  top: 0;
  cursor: pointer;
}

.file-input-button {
  display: inline-block;
  padding: 12px 15px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  color: #555;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.3s;
}

.file-input-button:hover {
  background-color: #e9e9e9;
}

.file-name {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #666;
  font-style: italic;
}

/* Form Footer */
.form-footer {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  background: linear-gradient(to right, #3a86ff, #4cc9f0);
  background-size: 200% auto;
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  max-width: 300px;
}

.submit-btn:hover {
  background-position: right center;
  box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-text h3 {
  margin: 0;
  font-size: 18px;
}

.submit-text p {
  margin: 0;
  font-size: 14px;
  font-weight: normal;
}

/* Form Validation */
.form-group.error input:not([type="file"]),
.form-group.error textarea,
.form-group.error select {
  border-color: #ff3860;
}

.form-group .error-message {
  color: #ff3860;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

/* Floating Labels Effect */
.form-group.floating-label {
  position: relative;
}

.form-group.floating-label label {
  position: absolute;
  top: 12px;
  left: 15px;
  color: #999;
  transition: all 0.3s;
  pointer-events: none;
  background-color: transparent;
  padding: 0;
  margin-bottom: 0;
}

.form-group.floating-label input:focus + label,
.form-group.floating-label input:not(:placeholder-shown) + label,
.form-group.floating-label textarea:focus + label,
.form-group.floating-label textarea:not(:placeholder-shown) + label,
.form-group.floating-label select:focus + label,
.form-group.floating-label select:not([value=""]):valid + label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background-color: white;
  padding: 0 5px;
}

.form-group.floating-label.valid label {
  color: #4caf50;
}

/* Success Message */
.success-message {
  display: none;
  text-align: center;
  padding: 20px;
  background-color: #f0f9f0;
  border-radius: 6px;
  color: #2e7d32;
  margin-top: 20px;
  border-left: 4px solid #4caf50;
}

.success-message h3 {
  margin-top: 0;
  color: #2e7d32;
}

.success-message.show {
  display: block;
  animation: fadeIn 0.5s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-group {
    min-height: auto;
  }
}
/* Style for the select dropdown */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 35px !important;
}

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #666;
  transition: color 0.3s;
}

.close-modal-btn:hover {
  color: #333;
}

.close-modal-btn svg {
  width: 24px;
  height: 24px;
}

/*============================
  POWER OF ATTORNEY (4TH card)
   ============================*/
.poa-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.poa-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: white;
  border-radius: 12px;
  width: 95%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.poa-modal.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.modal-header h3 {
  margin: 0;
  color: var(--dark-color);
  font-size: 22px;
}

.modal-header p {
  margin: 5px 0 0;
  color: #666;
  font-size: 14px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.2s;
}

.close-modal:hover {
  background: #f5f5f5;
}

.close-modal svg {
  width: 24px;
  height: 24px;
  fill: #666;
}

.modal-body {
  padding: 20px;
}

/* Image Protection Styles */
.protected-image-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

.protected-image {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  -webkit-touch-callout: none !important;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: none !important;
}

.image-protection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: transparent;
  pointer-events: auto;
  cursor: not-allowed;
}

.watermark-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font-size: 35px;
  font-weight: bold;
  color: rgba(255, 0, 0, 0.3);
  z-index: 5;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  white-space: nowrap;
  letter-spacing: 3px;
}

/* Prevent image selection and dragging in modals */
.poa-modal .modal-body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.poa-modal .modal-body * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Form Progress */
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  position: relative;
}

.form-progress::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #e0e0e0;
  z-index: 1;
  transform: translateY(-50%);
}

.progress-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  position: relative;
  z-index: 2;
}

.progress-step.active {
  background: var(--primary-color);
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Floating Inputs */
.floating-input {
  position: relative;
  margin-bottom: 20px;
}

.floating-input input,
.floating-input textarea {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.floating-input textarea {
  min-height: 100px;
  resize: vertical;
  padding-top: 20px;
}

.floating-input label {
  position: absolute;
  top: 12px;
  left: 45px;
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease;
}

.floating-input .input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.floating-input .input-icon svg {
  width: 18px;
  height: 18px;
}

.floating-input input:focus,
.floating-input textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
}

.floating-input input:focus + label,
.floating-input textarea:focus + label,
.floating-input input:not(:placeholder-shown) + label,
.floating-input textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 45px;
  font-size: 12px;
  color: var(--primary-color);
  background: white;
  padding: 0 5px;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.form-navigation button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.prev-step {
  background: #f5f5f5;
  color: #666;
}

.prev-step:hover {
  background: #e0e0e0;
}

.next-step,
.submit-form {
  background: var(--primary-color);
  color: white;
}

.next-step:hover,
.submit-form:hover {
  background: var(--secondary-color);
}

/* Floating label for select */
.floating-input select {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  cursor: pointer;
}

.floating-input select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
}

.floating-input select:focus + label,
.floating-input select:valid + label {
  top: -10px;
  left: 45px;
  font-size: 12px;
  color: var(--primary-color);
  background: white;
  padding: 0 5px;
}

/* Dropdown arrow */
.floating-input::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #999;
  font-size: 12px;
  pointer-events: none;
}

#downloadPoaBtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  max-width: 200px;
  margin: 0 auto;
  border: none;
  cursor: pointer;
  width: 100%;
}

#downloadPoaBtn:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#downloadPoaBtn .btn-icon {
  width: 60px;
  height: 60px;
  background: #4361ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

#downloadPoaBtn .btn-icon svg {
  width: 30px;
  height: 30px;
  fill: white;
}

#downloadPoaBtn .btn-text {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

#openModalBtn {
  background: none;
  border: none;
  padding: 0;
  margin: 0 auto;
  max-width: 200px;
  width: 100%;
  cursor: pointer;
}

#openModalBtn .doc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

#openModalBtn .doc-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

#openModalBtn .icon-circle img {
  width: 30px;
  height: 30px;
}

.doc-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

.doc p {
  font-size: 0.85rem;
  color: #777;
  margin: 0;
}

.doc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 200px;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.doc-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.icon-circle img {
  width: 30px;
  height: 30px;
}

.doc-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

.doc-item p {
  font-size: 0.85rem;
  color: #777;
  margin: 0;
}

/* Remove specific button styles that we don't need anymore */
.download-btn {
  /* Remove these styles as we're using doc-item for consistency */
  all: unset;
}

/* Keep the modal trigger button styles */
#openModalBtn {
  background: none;
  border: none;
  padding: 0;
  margin: 0 auto;
  max-width: 200px;
  width: 100%;
  cursor: pointer;
}

#openModalBtn .doc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 200px;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  top: 50px;
}

/* Keep the POA download button styles */
#downloadPoaBtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  max-width: 200px;
  margin: 0 auto;
  border: none;
  cursor: pointer;
  width: 100%;
}

#downloadPoaBtn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#downloadPoaBtn .btn-icon {
  width: 60px;
  height: 60px;
  background: #4361ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

#downloadPoaBtn .btn-icon svg {
  width: 30px;
  height: 30px;
  fill: white;
}

#downloadPoaBtn .btn-text {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

/* Imported Medicines Section */
.imported-medicines {
  text-align: center;
  background: #f6f6f6;
  padding: 60px 20px;
}

.imported-medicines h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
  position: relative;
  display: inline-block;
}

.imported-medicines h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
}

.medicine-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.medicine-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.medicine-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.medicine-box .icon {
  font-size: 40px;
  color: #2d79f3;
  flex-shrink: 0;
  margin-top: 5px;
}

.medicine-box h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
}

.medicine-box p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* Quote Sections */

/* Remove the existing circle styles */
.circle {
  display: none; /* This hides all the decorative circles */
}

/* Add new logo styles for the quote sections */
.quote-section {
  position: relative;
  background: linear-gradient(135deg, #6b83ed, #e8b598);
  color: #333;
  text-align: left;
  padding: 50px 20px;
  overflow: hidden;
  margin: 40px 0;
}

.quote-logo {
  position: absolute;
  opacity: 0.2; /* Makes the logo slightly transparent */
  z-index: 1;
  max-width: 150px; /* Adjust based on your logo size */
  height: auto;
  transition: all 0.3s ease;
}

.quote-logo.top-left {
  top: 20px;
  left: 20px;
  transform: rotate(-15deg);
}

.quote-logo.bottom-right {
  bottom: 20px;
  right: 0px;
  transform: rotate(15deg);
}

.quote-logo.center {
  top: 50%;
  left: 52%;
  transform: translate(-50%, -65%) rotate(-10deg);
}

.quote-logo.no {
  top: 55%;
  left: 35%;
  transform: translate(-80%, -30%) rotate(30deg);
}

.quote-logo.Yes {
  top: 50%;
  right: 170px;
  transform: translate(-90%, 0%) rotate(25deg);
}

.quote-section {
  position: relative;
  background: linear-gradient(135deg, #6b83ed, #e8b598);
  color: #333;
  text-align: left;
  padding: 50px 20px;
  overflow: hidden;
  margin: 40px 0;
}

.quote-section h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.quote-section .btn {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  background-color: #798de7;
  color: white;
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.quote-section .btn:hover {
  background-color: #019aa3;
  transform: translateY(-50%) scale(1.05);
}

/* Circular background designs */
.circle {
  position: absolute;
  border: 4px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  z-index: 1;
}

.circle1 {
  width: 250px;
  height: 250px;
  top: -80px;
  left: -80px;
}

.circle2 {
  width: 150px;
  height: 150px;
  bottom: -60px;
  right: -60px;
  border-color: rgba(255, 255, 255, 0.8);
}

.circle3 {
  width: 300px;
  height: 300px;
  top: 20%;
  left: 40%;
  border-color: rgba(0, 90, 130, 0.4);
}

/* Features/About Section */
.features-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.features-header p {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.card p strong {
  color: #222;
  font-weight: 600;
}

/* Who We Serve Section */
.serve-section {
  background: #f5f5f5;
  padding: 80px 20px;
  text-align: center;
}

.serve-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.serve-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #00c2d1;
  margin: 15px auto 0;
  border-radius: 3px;
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.serve-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.serve-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.serve-card img {
  width: 70px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.serve-card p {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

/* Import Process Section */
.import-process {
  background: #f7f7f7;
  padding: 80px 20px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 65px;
  padding: 30px 0;
  position: relative;
}

.steps-grid::after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 3px;
  background-color: var(--primary-color);
}

.step {
  position: relative;
  padding: 0 10px;
}

.step::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 2;
}

.step img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

/* Documentation Section */
.doc-header {
  margin-bottom: 50px;
  padding: 30px 0px 0px 0px;
}

.doc-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 3px solid var(--primary-color);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 16px;
    padding: 0 15px;
  }

  .doc-item {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 18px 12px;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
    padding: 0 10px;
  }

  .doc-item {
    padding: 12px 8px;
    max-width: 100%;
    width: 100%;
    margin: 0;
    min-width: 0;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .icon-circle img {
    width: 24px;
    height: 24px;
  }

  .doc-item h4 {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }

  .doc-item p {
    font-size: 0.75rem;
  }
}

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

.icon-circle {
  width: 70px;
  height: 70px;
  background: #4361ee;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.doc-item:hover .icon-circle {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-circle img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.doc-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

.doc-item p {
  font-size: 0.85rem;
  color: #777;
  margin: 0;
}

/* FAQ Section */
:root {
  --primary-blue: #1a73e8;
  --light-blue: #e8f0fe;
  --dark-blue: #0d47a1;
  --white: #ffffff;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.faq-header {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-header h1 {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  animation: fadeIn 0.8s ease-out;
}

.faq-header p {
  color: #555;
  font-size: 1.1rem;
  animation: fadeIn 1s ease-out;
}

.faq-accordion {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark-blue);
  transition: all 0.3s ease;
  background: var(--white);
}

.faq-question:hover {
  background: var(--light-blue);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "-";
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.2, 0.8, 0.4, 1);
  padding: 0 1.5rem;
  background: var(--light-blue);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: #333;
  line-height: 1.6;
  margin: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
}

.faq-item.active .faq-answer p {
  opacity: 1;
  transform: translateY(0);
}

/* Breakthrough Feature 1: Ask Question Form */
.ask-question {
  margin-top: 2rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  animation: slideUp 0.8s ease-out;
}

.ask-question h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.ask-question textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  resize: vertical;
  min-height: 100px;
  margin-bottom: 1rem;
  transition: border 0.3s ease;
}

.ask-question textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.submit-question {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.submit-question:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

/* Breakthrough Feature 3: Rating System */
.faq-feedback {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  opacity: 0;
  height: 0;
  transition: all 0.3s ease;
}

.faq-item.active .faq-feedback {
  opacity: 1;
  height: auto;
  margin-top: 1rem;
}

.faq-feedback p {
  margin-right: 1rem;
  color: #555;
  font-size: 0.9rem;
}

.feedback-buttons {
  display: flex;
  gap: 0.5rem;
}

.feedback-btn {
  background: none;
  border: 1px solid #ddd;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feedback-btn:hover {
  background: var(--light-blue);
  border-color: var(--primary-blue);
}

.feedback-btn.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

/* Breakthrough Feature 4: Floating "Got Questions?" Button */

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(26, 115, 232, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-container {
    padding: 1rem;
  }

  .faq-header h1 {
    font-size: 2rem;
  }

  .faq-question {
    padding: 1rem;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-info {
    gap: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .quote-section h2 {
    font-size: 1.8rem;
  }

  .quote-section .btn {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin-top: 20px;
    display: inline-block;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .social-bar .container {
    flex-direction: column;
    gap: 15px;
  }

  .contact-info {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  /* Mobile navigation backdrop */
  .nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .hero {
    height: 400px;
  }

  .hero .overlay {
    padding: 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 350px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .quote-button {
    padding: 10px 20px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::after {
    display: none;
  }

  .step::before {
    display: none;
  }

  .serve-grid {
    grid-template-columns: 1fr;
  }

  .faq-header h1 {
    font-size: 1.8rem;
  }

  .faq-question {
    padding: 15px 20px;
  }
}

.footer {
  background-color: var(--footer-bg);
  color: var(--text-color);
  padding: 50px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  mix-blend-mode: color-burn;
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  color: var(--text-color);
  transition: var(--transition);
  font-size: 14px;
}

.social-links a:hover {
  transform: translateY(-3px);
  color: white;
}

.social-links a:hover.facebook {
  background-color: #1877f2;
}

.social-links a:hover.twitter {
  background-color: #1da1f2;
}

.social-links a:hover.instagram {
  background-color: #e4405f;
}

.social-links a:hover.whatsapp {
  background-color: #25d366;
  color: white;
}

.footer-links {
  flex: 1;
  display: flex;
  gap: 20px;
  min-width: 250px;
}

.links-column {
  flex: 1;
  min-width: 120px;
}

.links-column h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.links-column ul {
  list-style: none;
  padding: 0;
}

.links-column li {
  margin-bottom: 8px;
}

.links-column a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
  font-size: 14px;
}

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

.footer-contact-form {
  flex: 1;
  min-width: 250px;
}

.footer-contact-form h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(45, 121, 243, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 8px;
}

.submit-btn,
.reset-btn {
  padding: 10px 15px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.submit-btn {
  background-color: var(--accent-color);
  color: white;
  flex: 2;
}

.submit-btn:hover {
  background-color: #e06b00;
}

.reset-btn {
  background-color: #ddd;
  color: var(--text-color);
  flex: 1;
  margin: 20px 0px 0px;
}

.reset-btn:hover {
  background-color: #ccc;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.copyright {
  font-size: 13px;
  color: var(--text-color);
}

/* ======================
    FINAL HEADER CONTACT REFACTOR (COMPRESSED)
   ====================== */

/* Container */
.contact-info {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; 
  gap: 10px; /* Reduced specific gap */
  width: 100%;
  max-width: 100%;
  padding: 0; /* Remove padding */
}

/* Individual Blocks */
.contact-block {
  display: flex;
  align-items: center; 
  gap: 8px; /* Tighter gap */
  text-align: left;
}

.contact-block.vertical-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px; /* Very tight spacing between phone and email */
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 8px; /* Tighter gap */
}

/* Text Group */
.contact-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2; /* Tighter line height */
}

.contact-text-group span {
  display: block;
  font-size: 0.8rem; /* Smaller font */
  color: #555;
  white-space: normal;
}

/* Icons */
.contact-info i {
  color: #2d79f3;
  font-size: 14px; /* Smaller icons */
  width: 18px; 
  text-align: center;
  flex-shrink: 0;
  display: inline-block;
}

/* Desktop Specific: Force Single Line for Large Screens */
@media (min-width: 992px) {
  .contact-info {
    flex-wrap: nowrap; /* Prevent wrapping on large screens */
    justify-content: center; /* Center the whole bar if space allows, or space-between */
    gap: 30px; /* More breathing room on desktop */
  }

  /* Unstack Phone and Email on large screens */
  .contact-block.vertical-stack {
    flex-direction: row;
    align-items: center;
    gap: 20px; /* Space between Phone and Email */
    border-right: 1px solid #ddd; /* Optional: Separator */
    padding-right: 20px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .social-bar .container {
      padding: 0 15px;
  }

  .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px; /* Reduced gap */
    padding: 8px 0;
  }

  .contact-block {
    width: 100%;
    align-items: flex-start; 
  }

  .contact-block > i {
      margin-top: 2px; /* Adjusted for smaller font */
  }

  .contact-block.vertical-stack {
      width: 100%;
      gap: 6px;
  }

  .contact-row {
      width: 100%;
      align-items: center; 
  }
}
/* Adjustments for iPad and smaller screens */
@media (max-width: 992px) {
  /* Hero Section adjustments */
  .hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
  }

  .hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers entire container */
  }

  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 100%;
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  .tagline {
    font-size: 1.2rem;
    left: 0;
    top: 0;
  }

  /* Footer form adjustments */
  .footer-main {
    flex-direction: column;
    align-items: center;
  }

  .footer-brand,
  .footer-links,
  .contact-form {
    width: 100%;
    max-width: 500px;
    text-align: center;
  }

  .footer-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .links-column {
    min-width: 200px;
    margin-bottom: 20px;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-actions {
    width: 100%;
    justify-content: center;
  }
}

/* Further adjustments for mobile phones */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
    min-height: 300px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .links-column {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 40vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .tagline {
    font-size: 0.9rem;
  }

  .contact-form {
    padding: 0 15px;
  }
}

/* scroll to up  */
.scroll-to-top {
  position: fixed;
  bottom: 35px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1f5ec5, #ba7cd2);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  border: none;
  outline: none;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, #ba7cd2, #1f5ec5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: scale(1.05) translateY(0);
}

.scroll-to-top:active {
  transform: scale(0.95) translateY(0);
}

.scroll-to-top::after {
  content: "↑";
  font-size: 28px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.scroll-to-top:hover::after {
  animation: bounce 0.8s infinite alternate;
}

.scroll-to-top .progress-circle {
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border-top-color: white;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(157, 80, 187, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(157, 80, 187, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(157, 80, 187, 0);
  }
}

/* Bounce animation */
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-5px);
  }
}

/* Tooltip */
.scroll-to-top .tooltip {
  position: absolute;
  top: -70px;
  background: white;
  color: #1f5ec5;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.scroll-to-top .tooltip::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: white transparent transparent;
}

.scroll-to-top:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scroll-to-top {
    width: 50px;
    height: 50px;
    bottom: 90px;
    right: 20px;
  }

  .scroll-to-top::after {
    font-size: 24px;
  }

  .scroll-to-top .tooltip {
    font-size: 12px;
    padding: 6px 10px;
    top: -45px;
  }

  .scroll-to-top:hover .tooltip {
    top: -50px;
  }
}

/* Email field styling to match */
.email-field-wrapper input {
  width: 100%;
  padding: 8px 0; /* Minimal padding for single-line appearance */
  border: none;
  border-bottom: 1px solid #ddd;
  background: transparent;
  font-size: 16px;
}

.email-field-wrapper input:focus {
  outline: none;
  border-bottom-color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-group {
    width: 100%;
  }
}

.form-control {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  max-width: 400px; /* Default width for regular inputs */
}

.phone-input {
  max-width: 500px; /* Wider width specifically for phone input */
}

/* For responsive design */
@media (max-width: 768px) {
  .form-control,
  .phone-input {
    max-width: 100%;
  }
}
