/* Base reset & Modern Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* CSS Variables for Theming */
:root {
  --primary-color: #005a9e; /* Professional Blue */
  --secondary-color: #1fa67a; /* Friendly Green */
  --accent-color: #f7b731; /* Bright Accent */
  --kra-red: #BB133E; /* KRA Red */
  --text-color: #333333;
  --light-text-color: #ffffff;
  --bg-color: #ffffff;
  --light-bg-color: #f8f9fa;
  --border-color: #dee2e6;
  --shadow-color: rgba(0, 0, 0, 0.08); /* Softer shadow */
  --error-color: #dc3545; /* Red for errors */
  --success-color: #28a745; /* Green for success */
  --hover-primary: #004170;
  --hover-secondary: #178a63;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  --header-bg-image: url('images/happy-woman-talking-phone-by-rawpixel.com.webp'); /* Example background */
  --transition-speed: 0.3s;
}
html {
  scroll-behavior: smooth; /* Enable smooth scrolling */
}

body {
  font-family: var(--font-secondary);
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Accessibility: Visible Focus Styles */
:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(247, 183, 49, 0.4);
  border-radius: 4px; /* Match element's border-radius if possible */
}
/* Remove default outline when :focus-visible is supported */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Section Styling */
.section {
  padding: 4rem 1.5rem;
  max-width: 1140px; /* Wider content area for larger screens */
  margin: 0 auto;
  text-align: center;
}
.section-subtitle {
  color: #555;
  margin-bottom: 2.5rem; /* Increased margin */
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-primary);
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; } /* Responsive font size */
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 600; margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 600; color: var(--secondary-color); }

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 25px; /* Pill shape */
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-primary);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-speed) ease-out, background-color var(--transition-speed), box-shadow var(--transition-speed);
  box-shadow: 0 4px 10px var(--shadow-color);
  font-size: 1rem;
  position: relative; /* For loading spinner */
  overflow: hidden; /* Hide spinner initially */
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}
.btn-primary:hover {
  background-color: var(--hover-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-text-color);
}
.btn-secondary:hover {
  background-color: var(--hover-secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.back-btn {
  background-color: #6c757d;
  color: var(--light-text-color);
  margin-top: 1.5rem;
}
.back-btn:hover {
  background-color: #5a6268;
}
.btn-small { /* For read more buttons etc. */
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Loading State for Buttons */
.btn.loading {
  color: transparent !important; /* Hide text */
  pointer-events: none; /* Disable clicks */
}
.btn .loading-spinner {
  display: none; /* Hidden by default */
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  margin-top: -9px;
  margin-left: -9px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--light-text-color);
  animation: spin 1s linear infinite;
}
.btn.loading .loading-spinner {
  display: block; /* Show spinner */
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Navigation Menu */
.nav-menu {
  background-color: rgba(253, 252, 252, 0.8); /* Semi-transparent white */
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  -webkit-backdrop-filter: blur(8px); /* Blur effect for Safari */
  backdrop-filter: blur(0px); /* Blur effect */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: background-color var(--transition-speed) ease;
}
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; /* Needed for mobile menu absolute positioning */
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem; /* Space between logo and text */
}
.logo {
  width: 50px; /* Slightly smaller logo */
  height: 50px;
  border-radius: 50%;
  object-fit: cover; /* Ensure logo fits well */
  margin-right: 0.8rem; /* Space between logo and text */
}
.brand-text {
  display: flex;
  align-items: center; /* Align text horizontally */
  gap: 0.5rem; /* Space between title and subtitle */
}
.logo-title {
  font-size: 1.4rem; /* Adjusted size */
  margin: 0;
  color: var(--primary-color);
  font-weight: 700;
}
.logo-subtitle {
  font-size: 0.7rem; /* Smaller size */
  margin: 0;
  color: var(--text-color);
  font-style: italic; /* Make subtitle italic */
  font-weight: 400; /* Lighter weight for readability */
}
.nav-brand {
  display: flex;
  align-items: center; /* Align logo and text vertically */
  gap: 0.8rem; /* Space between logo and text */
}

/* Desktop Navigation Links */
.nav-menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Spacing between nav items */
}
.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-primary);
  padding: 0.8rem 1rem;
  position: relative;
  transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
  display: inline-block;
  border-radius: 4px; /* For focus indicator */
}
.nav-link::after { /* Underline animation */
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: 5px; /* Adjust position */
  left: 50%;
  transform: translateX(-50%);
  transition: width var(--transition-speed) ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 60%; /* Animate underline */
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown.active .dropdown-content {
    display: block;
}

/* Mobile styles */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
        background: var(--light-bg-color);
        border-radius: 0;
    }

    .dropdown-content a {
        padding: 0.75rem 1.5rem;
    }
}.dropdown {
  position: relative;
}
.dropdown-icon {
  font-size: 0.7em;
  margin-left: 0.3em;
  transition: transform var(--transition-speed) ease;
}
.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Hamburger Menu Toggle (Mobile) */
.menu-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  font-size: 1.8rem; /* Larger icon */
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1010; /* Above nav background */
}

/* Hero Section */
.hero {
  /* Use a subtle gradient or a background image */
  background: linear-gradient(rgba(0, 90, 158, 0.1), rgba(255, 255, 255, 0.1)), var(--header-bg-image);
  background-size: cover;
  background-position: center;
  color: var(--text-color); /* Adjust text color if background is dark */
  text-align: center;
  padding: 8rem 1.5rem 6rem; /* Adjust padding for sticky nav */
  position: relative;
  min-height: 60vh; /* Ensure hero takes significant height */
  display: flex;
  flex-direction: column; /* Stack nav and content */
  justify-content: center; /* Center content vertically */
}
/* Strategic Royal Red Injections */
.highlight-red {
  color: var(--kra-red) !important;
}
.bg-highlight-red {
  background-color: var(--kra-red) !important;
  color: white !important;
}
.border-highlight-red {
  border-left: 5px solid var(--kra-red) !important;
}

/* Overlay for darker background images if needed */
/* .hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); // Dark overlay
  z-index: 1;
} */
.hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative; /* Above overlay if used */
  z-index: 2;
}
.hero h1 {
  color: var(--primary-color); /* Or var(--light-text-color) if bg is dark */
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem; /* Slightly smaller */
  margin-bottom: 2.5rem;
  color: #444; /* Or var(--light-text-color) */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Service Cards - Equal Width and Sliding */
.service-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem; /* Space between cards */
  padding: 2rem 0.5rem;
  scroll-behavior: smooth;
  /* overscroll-behavior: contain; Modern smooth scrolling behavior (not supported on iOS < 16) */
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--light-bg-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  min-height: 400px; /* Adjust as needed */
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--kra-red); /* Using the KRA red variable already defined */
}

.service-card p {
  margin-bottom: 1rem;
}

.service-card .btn {
  margin-top: auto;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-carousel::-webkit-scrollbar {
  display: none; /* Hide scrollbar for WebKit browsers */
}/* Card Styling (Services, Mini-Services) */
.service-carousel, .mini-service-cards {
  display: grid;
  /* Responsive grid: 1 col on small, 2 on medium, 3 on large */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; /* Increased gap */
  margin-top: 2rem;
}
.service-card, .mini-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px var(--shadow-color);
  background: var(--bg-color);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  text-align: center; /* Center content within cards */
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Contain hover effects */
}
.service-card:hover, .mini-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.card-icon {
  font-size: 3rem; /* Larger icons */
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  align-self: center;
}
.card h3, .mini-card h3 {
  margin-bottom: 0.8rem;
}
.card p, .mini-card p {
  margin-bottom: 1rem;
  flex-grow: 1; /* Allow paragraphs to fill space */
  color: #555;
}
.uploads {
  font-size: 0.85rem;
  color: #666;
  margin: 0.8rem 0;
  text-align: left;
  padding: 0.8rem; /* Increased padding */
  background-color: var(--light-bg-color);
  border-radius: 5px;
  border-left: 4px solid var(--secondary-color); /* Accent border */
}
.uploads strong {
  color: var(--primary-color);
}
.price {
  font-weight: bold;
  color: var(--primary-color);
  margin: 1rem 0; /* Increased margin */
  font-size: 1.2rem; /* Larger price */
  text-align: center;
  color: var(--kra-red) !important; /* Using !important to override any existing styles */
}
.service-card button, .mini-card button {
  margin-top: auto; /* Push button to bottom */
  align-self: center;
}

/* Mini Services Sections (Hidden/Visible) */
.mini-services {
  background-color: var(--light-bg-color);
  border-radius: 10px;
  margin-top: 2rem;
  /* Smooth Transition */
  transition: opacity var(--transition-speed) ease, max-height 0.5s ease-out, visibility var(--transition-speed) ease, padding var(--transition-speed) ease, margin var(--transition-speed) ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  padding: 0 1.5rem; /* Remove padding when hidden */
  margin-top: 0; /* Remove margin when hidden */
  border: 1px solid transparent; /* Prevent jumping */
}
.mini-services:not(.hidden) {
  max-height: 2000px; /* Large enough max-height */
  opacity: 1;
  visibility: visible;
  padding: 4rem 1.5rem; /* Restore padding */
  margin-top: 2rem; /* Restore margin */
  border-color: var(--border-color); /* Add border when visible */
}
.mini-services h2 {
  color: var(--primary-color);
}

/* Payment Section */
#payment {
  background-color: var(--light-bg-color);
  border-radius: 10px;
  /* Smooth Transition */
  transition: opacity var(--transition-speed) ease, max-height 0.5s ease-out, visibility var(--transition-speed) ease, padding var(--transition-speed) ease, margin var(--transition-speed) ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  padding: 0 1.5rem;
  margin-top: 0;
  border: 1px solid transparent;
}
#payment:not(.hidden) {
  max-height: 3000px; /* Adjust as needed */
  opacity: 1;
  visibility: visible;
  padding: 4rem 1.5rem;
  margin-top: 2rem;
   border-color: var(--border-color);
}
.order-summary {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #eaf6ff;
  border-radius: 8px;
  border-left: 5px solid var(--primary-color);
  text-align: left;
}
.order-summary h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}
.payment-form {
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  background: var(--bg-color);
  text-align: left;
  /* Smooth Transition */
  transition: opacity var(--transition-speed) ease, max-height 0.4s ease-out, visibility var(--transition-speed) ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
}
.payment-form:not(.hidden) {
   max-height: 1000px; /* Adjust as needed */
   opacity: 1;
   visibility: visible;
}

/* Form Styling */
.form-group {
  margin-bottom: 1.2rem;
  position: relative; /* For error messages */
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #555;
}
.form-group input,
select#payment-method {
  width: 100%;
  padding: 0.9rem; /* Slightly more padding */
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-secondary);
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.form-group input:focus,
select#payment-method:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 90, 158, 0.2);
}
select#payment-method {
  margin-bottom: 1.5rem;
  appearance: none; /* Custom dropdown arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3E%3Cpath fill-rule='evenodd' d='M8 11.5a.5.5 0 0 1-.354-.146l-4-4a.5.5 0 0 1 .708-.708L8 10.293l3.646-3.647a.5.5 0 0 1 .708.708l-4 4A.5.5 0 0 1 8 11.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1.2em;
  padding-right: 2.5rem; /* Space for arrow */
}
.form-row { display: flex; flex-wrap: wrap; gap: 1rem; } /* Allow wrapping */
.form-group.half { flex: 1; min-width: 150px; } /* Ensure half-width fields have minimum size */
.pay-button { margin-top: 1.5rem; width: 100%; }

/* Inline Error Message Styling */
.error-message {
  color: var(--error-color);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: none; /* Hidden by default */
}
.form-group input.invalid,
.form-group select.invalid {
  border-color: var(--error-color);
}
.form-group input.invalid:focus,
.form-group select.invalid:focus {
   box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

/* Hidden Sections Utility */
.hidden { display: none; } /* Keep for initial state before JS adds transition classes */

/* Confirmation Section */
#confirmation {
   background-color: var(--light-bg-color);
   border-radius: 10px;
   /* Smooth Transition */
  transition: opacity var(--transition-speed) ease, max-height 0.5s ease-out, visibility var(--transition-speed) ease, padding var(--transition-speed) ease, margin var(--transition-speed) ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  padding: 0 1.5rem;
  margin-top: 0;
}
#confirmation:not(.hidden) {
  max-height: 1000px; /* Adjust as needed */
  opacity: 1;
  visibility: visible;
  padding: 4rem 1.5rem;
  margin-top: 2rem;
}
#confirmation h2 { color: var(--success-color); }

/* Tax Calculator */
.calc-section {
  background-color: var(--light-bg-color);
  border-radius: 10px;
}
.calculator-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 500px; /* Slightly wider */
  margin: 1.5rem auto;
}
.calculator-form label {
  font-weight: 500;
}
.calculator-form input {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
}
.calculator-result {
  margin-top: 1.5rem; /* More space */
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
  min-height: 1.5em; /* Prevent layout shift */
}



/* Slider Styles */
.slider-container {
  position: relative;
  max-width: 1140px; /* Match section width */
  margin: 0 auto;
}
.slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 2rem 0.5rem; /* Add padding for shadow visibility */
  margin-bottom: 1rem; /* Space for buttons */
  scroll-behavior: smooth;
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari, Edge, Opera) */
.slider::-webkit-scrollbar {
  display: none;
}
/* Firefox-specific (native thin scrollbar) */
@supports (scrollbar-width: thin) {
  .your-element {
    scrollbar-width: thin;
  }
}

/* Fallback for WebKit/Blink browsers */
@supports not (scrollbar-width: thin) {
  .your-element::-webkit-scrollbar {
    width: 8px;
  }
}
.slider::-webkit-scrollbar {
  display: none; /* Hide scrollbar for WebKit browsers */
}
.slider-item {
  flex: 0 0 clamp(280px, 80vw, 320px); /* Responsive item width */
  background: var(--bg-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  scroll-snap-align: start;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  display: flex; /* Allow flex properties for content */
  flex-direction: column;
}
.slider-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}


/* Slider Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-speed), color var(--transition-speed), transform var(--transition-speed);
}
.slider-btn:hover {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  transform: translateY(-50%) scale(1.1);
}
.slider-btn.prev-btn {
  left: -10px;
}
.slider-btn.next-btn {
  right: -10px;
}

/* Compliance Section */
#compliance a.text-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--secondary-color);
  transition: color var(--transition-speed), border-bottom-color var(--transition-speed);
}
#compliance a.text-link:hover {
  color: var(--hover-secondary);
  border-bottom-color: var(--hover-secondary);
  text-decoration: underline;
}

/* Footer */
.footer {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background: var(--primary-color);
  color: var(--light-text-color);
  margin-top: auto; /* Pushes footer to bottom */
}
.footer-content {
  max-width: 1140px;
  margin: 0 auto 2rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
  gap: 2.5rem;
  text-align: left;
}
.footer h2, .footer h3 {
  color: var(--light-text-color);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}
.footer p {
  margin-bottom: 1rem; /* Smaller margin for paragraphs */
  opacity: 0.9;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 0rem;
  margin-bottom: 0.5rem;
}
.newsletter-input {
  flex-grow: 1;
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
}
.newsletter-feedback {
  font-size: 0.9rem;
  min-height: 1.2em; /* Prevent layout shift */
  margin-top: 0.5rem;
}
.newsletter-feedback.success { color: var(--accent-color); }
.newsletter-feedback.error { color: var(--kra-red); }


/* Contact Options */
.contact-options {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  gap: 1.5rem; /* Space between items */
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Space between link and button */
}
.contact-link {
  color: var(--red-text-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: color var(--transition-speed);
  flex-grow: 1; /* Allow link to take space */
}
.contact-link:hover {
  color: var(--accent-color);
}
.contact-link i {
  margin-right: 0.8rem;
  font-size: 1.3rem;
  width: 20px; /* Align icons */
  text-align: center;
}
.whatsapp-link i { color: #25D366; }

/* Copy Button */
.copy-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--light-text-color);
  cursor: pointer;
  font-size: 0.9rem;
  position: relative;
  padding: 0.5rem; /* Make it easier to click */
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: visible;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-speed);
}
.copy-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
.copy-btn .tooltip-text {
  visibility: visible;
  width: 100px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 135%;
  left: 50%;
  margin-left: -50px;
  opacity: 0;
  transition: opacity var(--transition-speed);
  font-size: 0.8rem;
}
.copy-btn .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}
.copy-btn:hover .tooltip-text,
.copy-btn.copied .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Social Media */

.social-media a {
  color: var(--light-text-color);
  font-size: 1.6rem; /* Larger icons */
  margin: 0 0.7rem;
  transition: color var(--transition-speed), transform var(--transition-speed);
  display: inline-block; /* Allow transform */
}
.social-media a:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

.copyright {
  margin-top: 3rem; /* More space before copyright */
  font-size: 0.9rem;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

/* Top Button Styles - Fixed */
.top-btn {
  position: relative;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--light-text-color);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001; /* Higher than chat widget */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 1;
  visibility: visible;
}

.top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.top-btn:hover {
    background: var(--hover-secondary);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Animation */
.animated-services .service-card {
  transform: translateY(50px);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: calc(var(--card-index) * 0.15s); /* Stagger animation */
}

@keyframes fadeInUp {
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Responsive Adjustments */

/* Medium Devices (Tablets, etc.) */
@media (max-width: 992px) {
  .section { padding: 3rem 1rem; }
  .nav-container { padding: 0 1rem; }
  .slider-btn.prev-btn { left: 5px; }
  .slider-btn.next-btn { right: 5px; }
}

/* Small Devices (Landscape Phones, Small Tablets) */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero { padding: 6rem 1rem 4rem; min-height: 50vh; }

  /* Mobile Navigation */
  .menu-toggle { display: block; } /* Show hamburger */
  .nav-menu ul {
      display: none; /* Hide desktop nav list */
      flex-direction: column;
      align-items: stretch; /* Stretch items full width */
      position: absolute;
      top: 100%; /* Position below nav bar */
      left: 0;
      width: 100%;
      background-color: rgba(255, 255, 255, 0.98); /* Slightly more opaque */
      padding: 1rem 0;
      box-shadow: 0 4px 10px var(--shadow-color);
      border-top: 1px solid var(--border-color);
      max-height: 0; /* Start hidden */
      opacity: 0;
      overflow: hidden;
      transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
  }
  .nav-menu ul.active { /* Class added by JS */
      display: flex;
      max-height: 80vh; /* Limit height */
      opacity: 1;
  }
  .nav-menu li {
      width: 100%;
      text-align: center;
      border-bottom: 1px solid var(--light-bg-color);
  }
   .nav-menu li:last-child {
      border-bottom: none;
  }
  .nav-link {
      padding: 1rem;
      display: block; /* Make links full width */
      width: 100%;
  }
  .nav-link::after { display: none; } /* Hide underline on mobile */
  .dropdown:hover .dropdown-content { display: none; } /* Disable hover dropdown */
  .dropdown.active .dropdown-content { /* Show on click/tap */
      display: block;
      position: static; /* Display inline */
      box-shadow: none;
      opacity: 1;
      transform: none;
      background: var(--light-bg-color); /* Indent visually */
      border-radius: 0;
  }
  .dropdown-content a {
      padding: 10px 20px;
      text-align: center;
  }

  .service-carousel, .mini-service-cards {
      grid-template-columns: 1fr; /* Stack cards */
  }
  .footer-content {
      grid-template-columns: 1fr; /* Stack footer columns */
      text-align: center;
  }
  .newsletter-form { flex-direction: column; }
  .contact-options { align-items: center; }
  .contact-item { justify-content: center; width: 100%; max-width: 350px; }
  .social-media { margin-top: 1.5rem; }
  .slider-btn { width: 35px; height: 35px; font-size: 0.9rem; }
  .slider-btn.prev-btn { left: 0px; }
  .slider-btn.next-btn { right: 0px; }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .btn { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
  .section { padding: 2rem 1rem; }
  .card-icon { font-size: 2.5rem; }
  .price { font-size: 1.1rem; }
  .footer { padding: 3rem 1rem 1.5rem; }
  .up-btn { width: 40px; height: 40px; font-size: 1rem; bottom: 15px; right: 15px; }
  .slider-item { flex-basis: 90vw; } /* Make slider items wider */
}
/* Sliding Animations */
@keyframes slideInLeft {
  from {
      transform: translateX(-100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

@keyframes slideInRight {
  from {
      transform: translateX(100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

@keyframes slideOutLeft {
  from {
      transform: translateX(0);
      opacity: 1;
  }
  to {
      transform: translateX(-100%);
      opacity: 0;
  }
}

@keyframes slideOutRight {
  from {
      transform: translateX(0);
      opacity: 1;
  }
  to {
      transform: translateX(100%);
      opacity: 0;
  }
}

.slide-in-left {
  animation: slideInLeft 0.5s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.5s ease-out forwards;
}

.slide-out-left {
  animation: slideOutLeft 0.5s ease-in forwards;
}

.slide-out-right {
  animation: slideOutRight 0.5s ease-in forwards;
}
/* Keyframes for smooth sliding */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0; /* Fade in effect */
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Add to style.css */
.btn-pdf {
  background: #BB133E;
  margin: 1rem 0;
}
.btn-pdf:hover {
  background: #9a0f32;
}
.btn-translate {
  background: #1fa67a;
  margin-left: 1rem;
}
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin: 1rem 0;
  cursor: pointer;
  font-size: 0.9rem;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}
.checkbox-container input:checked ~ .checkmark {
  background-color: #1fa67a;
}
/* Brand Colors */
.brand-blue { color: #005a9e; }
.brand-green { color: #1fa67a; }
.brand-red { color: #BB133E; }
.brand-bg-light { background: #f8f9fa; }

/* Policy Styling */
.policy-title {
font-family: 'Poppins', sans-serif;
border-bottom: 3px solid #1fa67a;
padding-bottom: 1rem;
}

.policy-header {
display: flex;
align-items: center;
gap: 1rem;
margin: 2rem 0;
}

.policy-icon {
width: 50px;
height: 50px;
}

.disclaimer-box {
padding: 1.5rem;
border-radius: 8px;
border-left: 4px solid #BB133E;
margin: 2rem 0;
}

.term-card {
display: flex;
align-items: center;
gap: 1rem;
padding: 1.5rem;
border: 1px solid #dee2e6;
border-radius: 8px;
margin: 1rem 0;
}

.term-icon {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
/* Add to style.css */
.btn-pdf {
  background: #BB133E;
  margin: 1rem 0;
}
.btn-pdf:hover {
  background: #9a0f32;
}
.btn-translate {
  background: #1fa67a;
  margin-left: 1rem;
}
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin: 1rem 0;
  cursor: pointer;
  font-size: 0.9rem;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}
.checkbox-container input:checked ~ .checkmark {
  background-color: #1fa67a;
}
/* Center the terms agreement element */
.terms-agreement {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 2rem auto; /* Center horizontally and add spacing */
  padding: 1rem;
  max-width: 600px; /* Optional: Limit the width */
  background-color: var(--light-bg-color); /* Optional: Add a background for better visibility */
  border-radius: 8px; /* Optional: Add rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-container span {
  font-size: 1rem;
  color: var(--dark-text-color);
}

.error-message {
  color: var(--error-color);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.required-uploads {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--light-bg-color);
}

.required-uploads h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.required-uploads .form-group {
  margin-bottom: 1rem;
}

.required-uploads .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.required-uploads .form-group input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

/* Accessibility Toolbar */
.accessibility-toolbar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #f8f9fa;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.accessibility-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accessibility-btn:hover {
  background-color: #0056b3;
}

.accessibility-btn:focus {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}

/* High Contrast Mode */
.high-contrast {
  background-color: #000;
  color: #fff;
}

.high-contrast a {
  color: #00f;
}

.high-contrast .btn,
.high-contrast .accessibility-btn {
  background-color: #fff;
  color: #000;
  border: 1px solid #fff;
}

/* Accessibility Menu updated to use consolidated styles*/
.accessibility-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  
}

.accessibility-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 10px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.3s ease;
}

.accessibility-btn:hover {
  background-color: #0056b3;
}

.accessibility-options {
  position: absolute;
  top: 50px;
  right: 0;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  width: 200px;
}

.accessibility-option {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: left;
}

.accessibility-option:hover {
  background-color: #0056b3;
}

.hidden {
  display: none;
}

/* High Contrast Mode */
.high-contrast {
  background-color: #000;
  color: #fff;
}

.high-contrast a {
  color: #00f;
}

.high-contrast .btn,
.high-contrast .accessibility-btn {
  background-color: #fff;
  color: #000;
  border: 1px solid #fff;
}

/* Upload Documents Button */
.upload-documents-container {
  text-align: center;
  margin: 40px auto;
}

.upload-documents-container .btn {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* Glow effect */
  animation: soft-blink 1.5s infinite; /* Soft blink animation */
}

.upload-documents-container .btn:hover {
  background-color: #0056b3;
  box-shadow: 0 0 15px rgba(0, 86, 179, 0.7); /* Enhanced glow on hover */
}

@keyframes soft-blink {
  0%, 100% {
      box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
  }
  50% {
      box-shadow: 0 0 20px rgba(0, 123, 255, 0.7);
  }
}

/* Compact Uploads Container */
.uploads-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin: 20px auto;
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.uploads-container.hidden {
  display: none;
}

.uploads-container h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
}

.uploads-container .form-group {
  width: 100%;
  margin-bottom: 15px;
}

.uploads-container .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.uploads-container .form-group input,
.uploads-container .form-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.uploads-container .btn {
  padding: 10px 15px;
  font-size: 14px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.uploads-container .btn:hover {
  background-color: #0056b3;
}

/* Upload Documents Section */
#upload-documents {
  text-align: center;
  margin: 40px 0;
}

#upload-documents h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

#upload-documents .section-subtitle {
  font-size: 16px;
  margin-bottom: 20px;
  color: #666;
}

/* Service Required Dropdown */
.service-type-container {
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
}

.service-type-container label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.service-type-container select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}


.service-type-container input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

/* Other Documents Upload */
.other-documents-container {
  margin-top: 20px;
  text-align: left;
  width: 100%;
}

.other-documents-container label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.other-documents-container input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

/* Custom select option styling */
#service-type option {
  background-color: #e3f0ff; /* light blue */
  color: #0056b3; /* blue text */
  padding: 8px;
  transition: background 0.2s, color 0.2s;
}

/* For browsers that support :checked on option (mostly Firefox) */
#service-type option:checked {
  background-color: #ffdddd !important; /* light red */
  color: #b30000 !important; /* red text */
}

/* For Chrome/Edge/Safari: simulate with JS below */
.selected-option {
  background-color: #ffdddd !important;
  color: #b30000 !important;
}

/* Article Image Styling */
.article-image {
  width: 100%; /* Make the image responsive */
  max-width: 800px; /* Limit the maximum width */
  height: auto; /* Maintain aspect ratio */
  margin: 20px auto; /* Center the image with spacing */
  display: block; /* Ensure the image is treated as a block element */
  border-radius: 8px; /* Add rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

/* Article Figure Styling */
figure {
  text-align: center; /* Center-align the figure content */
  margin: 20px auto; /* Add spacing around the figure */
}

figcaption {
  font-size: 0.9rem; /* Slightly smaller font for captions */
  color: #555; /* Neutral color for captions */
  margin-top: 10px; /* Add spacing above the caption */
  font-style: italic; /* Make the caption italic */
}
/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 25px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90%;
  animation: slideInUp 0.3s ease-out;
}
.toast i {
    font-size: 1.2rem;
}
.toast-success {
  background: var(--secondary-color);
  
}
.toast-error {
    background: var(--error-color);
}

.toast-info {
    background: var(--primary-color);
}

.fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

@keyframes slideInUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
/* Upload Progress */
.upload-progress {
  margin: 1rem 0;
  background: #f1f1f1;
  border-radius: 8px;
  overflow: hidden;
}

.progress-bar {
  height: 8px;
  background: var(--secondary-color);
  width: 0%;
  transition: width 0.4s ease;
}

.progress-text {
  display: block;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

/* Enhanced File Input */
.form-group input[type="file"] {
  border: 2px dashed var(--border-color);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.form-group input[type="file"]:hover {
  border-color: var(--primary-color);
  background: rgba(0, 90, 158, 0.05);
}

/* Service Card Hover Animation */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, 
              border-color 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px) scale(1.02);
}
/* FAQ Grid Layout */
/* FAQ Grid Layout - Enhanced */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-category {
    background: var(--light-bg-color);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px var(--shadow-color);
}

.faq-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.faq-category h3 i {
    color: var(--secondary-color);
}

/* FAQ Items - Enhanced */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: left;
    background: var(--primary-color) !important;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: var(--font-primary);
}

.faq-question:hover {
    background: var(--hover-primary);
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active {
    background: var(--hover-primary);
}

.faq-question.active::after {
    content: "-";
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.faq-answer.active {
    padding: 1.25rem;
    max-height: 1000px;
    border-bottom: 1px solid var(--border-color);
}

.faq-answer p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}
/* Updated Upload Section */
.upload-section {
    background-color: var(--light-bg-color);
    border-radius: 10px;
    margin: 2rem auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
}

.upload-cta {
    margin: 2rem 0;
}

.upload-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-btn i {
    font-size: 1.3rem;
}

.upload-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 90, 158, 0.2);
}

/* Updated Uploads Container */
.uploads-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}
.uploads-container h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}
.close-upload {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-speed) ease;
}

.close-upload:hover {
    color: var(--error-color);
}

/* Progress Bar Styles */
.upload-progress {
    margin: 1.5rem 0;
    background: #f1f1f1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.progress-bar {
    height: 6px;
    background: var(--secondary-color);
    width: 0%;
    transition: width 0.4s ease;
}

.progress-text {
    display: block;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* File Input Styling */
.form-group input[type="file"] {
    border: 2px dashed var(--border-color);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(0, 90, 158, 0.03);
    width: 100%;
    border-radius: 8px;
}

.form-group input[type="file"]:hover {
    border-color: var(--primary-color);
    background: rgba(0, 90, 158, 0.05);
}

/* Mobile Dropdown Fixes */
@media (max-width: 768px) {
  .dropdown.active .dropdown-content {
    display: block !important;
    position: static;
    box-shadow: none;
    opacity: 1;
    transform: none;
    background: var(--light-bg-color);
    border-radius: 0;
    max-height: 1000px;
    padding: 0;
  }
  
  .dropdown-icon {
    transition: transform 0.3s ease;
  }
  
  .dropdown.active .dropdown-icon {
    transform: rotate(180deg);
  }
}