:root {
  /* Color Variables */
  --primary-color: #f7741d;
  --primary-dark: #8b4211;
  --text-dark: #2c3e50;
  --text-light: #555;
  --text-white: #fff;
  --bg-light: #f4f4f9;
  --bg-white: #fff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --accent-color: pink;
  
  /* Typography */
  --font-family: 'Roboto', 'Arial', sans-serif;
  
  /* Spacing */
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Border Radius */
  --border-radius-sm: 5px;
  --border-radius-md: 8px;
  --border-radius-lg: 15px;
  --border-radius-full: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 6px var(--shadow-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

/* Ensure the button aligns with the links */
.nav-links li {
  display: flex;
  align-items: center; /* Align items vertically */
}

#booking-link {
  all: unset; /* Removes default button styles */
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  font-size: inherit; /* Matches font size of other links */
  font-weight: bold; /* Matches bold font weight of .stand-out class */
  color: var(--text-dark); /* Matches the accent color */
  padding: 0.5rem 1rem; /* Matches spacing of other links */
  border-radius: var(--border-radius-md); /* Adds slight rounded corners */
  line-height: 1.6; /* Ensures consistent line height */
  display: inline-flex; /* Ensures proper alignment */
  align-items: center; /* Aligns text vertically */
}

/* Hover effect for the button */
#booking-link:hover {
  color: var(--primary-color); /* Matches hover color of other links */
}

/* Underline animation for consistency with other links */
#booking-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

#booking-link:hover::after {
  width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--primary-color);
}

.logo span {
  color: var(--primary-color);
}

.stand-out {
  font-weight: bolder;
  color: var(--accent-color);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  position: relative;
  transition: color 0.3s ease;
}

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

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

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 3px 0;
  transition: 0.4s;
}

.contact-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
  color: var(--text-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-content {
  position: relative;
  z-index: 10;
  padding: 0 var(--spacing-sm);
}

.contact-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s forwards ease-out;
}

.contact-content p {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-md);
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s 0.5s forwards ease-out;
}

/* General Styles for the Contact Section */
#contact {
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  background-color: var(--bg-white);
  position: relative;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 25px var(--shadow-color);
  transform: scale(0.9);
  opacity: 0;
  animation: scaleIn 1s forwards ease-out;
}

.contact-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.contact-item {
  background-color: #f9f9f9;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  transition: all 0.4s ease;
  text-align: center;
  border: 2px solid transparent;
  overflow: hidden; /* Prevent content from spilling out */
}

.contact-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px var(--shadow-color);
  border-color: var(--primary-color);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
}

.contact-link {
  display: block;
  font-size: 1rem; /* Slightly reduced font size for better fit */
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap; /* Prevent wrapping of text */
  overflow: hidden; /* Hide overflowed text */
  text-overflow: ellipsis; /* Add "..." for long text */
  max-width: 100%; /* Ensure text fits within the container */
}

.contact-link:hover {
  color: var(--primary-color);
}

.contact-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0;
}

.cta-button {
  padding: var(--spacing-sm) 2.5rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  border: none;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
  animation: popIn 1s 1s forwards;
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

.about-section {
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  padding: 0 var(--spacing-sm);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s forwards ease-out;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s 0.5s forwards ease-out;
}

.mission-vision-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: var(--spacing-lg);
}

.mission,
.vision {
  width: 48%;
  text-align: left;
}

.icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--spacing-sm);
}

.mission h3,
.vision h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.mission p,
.vision p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mission-vision-container {
    flex-direction: column;
  }

  .mission,
  .vision {
    width: 100%;
    margin-bottom: var(--spacing-lg);
  }
}

.form-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: #f9f9f9;
  text-align: center;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 25px var(--shadow-color);
  transform: scale(0.9);
  opacity: 0;
  animation: scaleIn 1s forwards ease-out;
}

form input,
form textarea {
  width: 100%;
  padding: var(--spacing-sm);
  margin-bottom: 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
}

form input:focus,
form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
  outline: none;
}

.submit-button {
  padding: var(--spacing-sm) 2.5rem;
  background-color: var(--primary-color);
  color: var(--text-white);
  border: none;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

footer {
  background-color: var(--primary-dark);
  text-align: center;
  padding: var(--spacing-md);
  background-color: var(--text-dark);
  color: var(--text-white);
}

.particles-bg {
  background-color: #2b2b2b;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Styling for the hero section */
.hero-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-light);
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-lg);
  font-weight: bold;
}

/* Styling for the financial reporting section */
.section-container {
  
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--bg-white);
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
  position: relative;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  text-align: center;
  margin-top: 40px;
}

.section-description + .list-item {
  margin-top: var(--spacing-md); /* Adds space between the description and the first list item */
}

.sections-container {
  background-color: #f9f9f9;
  padding: var(--spacing-md);
}

.bold-text {
  font-weight: bold;
  color: var(--text-dark);
}

/* Enhanced Section and List Item Styles */
#accounting, 
#bookkeeping, 
#taxation, 
#others {
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  background-color: var(--bg-white);
  margin: var(--spacing-md) 0;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 25px var(--shadow-color);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

#accounting h2, 
#bookkeeping h2, 
#taxation h2, 
#others h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
  position: relative;
  font-weight: 700;
}

#accounting h2::after, 
#bookkeeping h2::after, 
#taxation h2::after, 
#others h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

#accounting ul, 
#bookkeeping ul, 
#taxation ul, 
#others ul {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

#accounting li, 
#bookkeeping li, 
#taxation li, 
#others li {
  background-color: #f9f9f9;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

#accounting li:hover, 
#bookkeeping li:hover, 
#taxation li:hover, 
#others li:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

/* Service Icon Styles */
.service-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

#accounting li:hover .service-icon,
#bookkeeping li:hover .service-icon,
#taxation li:hover .service-icon,
#others li:hover .service-icon {
  transform: scale(1.1) rotate(10deg);
}

/* Detailed Service Styles */
.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
  transition: color 0.3s ease;
}

#accounting li:hover .service-title,
#bookkeeping li:hover .service-title,
#taxation li:hover .service-title,
#others li:hover .service-title {
  color: var(--primary-color);
}

.service-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.service-link {
  display: inline-block;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.5rem var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  margin-top: auto;
  border: 1px solid var(--primary-color);
}

.service-link:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

/* Additional styles for booking modal */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1100;
}

.booking-modal-content {
  background-color: var(--bg-white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px var(--shadow-color);
  position: relative;
}

.booking-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

#booking-form {
  display: flex;
  flex-direction: column;
}

#booking-form input,
#booking-form select {
  width: 100%;
  padding: var(--spacing-sm);
  margin-bottom: 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
}

#booking-form input:focus,
#booking-form select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
  outline: none;
}

#booking-confirmation {
  text-align: center;
  color: var(--primary-color);
  margin-top: var(--spacing-sm);
}

.nav-links li:last-child {
  position: relative;
}

.nav-links li:last-child::after {
  content: 'New';
  position: absolute;
  top: -10px;
  right: -20px;
  background-color: var(--primary-color);
  color: var(--text-white);
  font-size: 0.6rem;
  padding: 2px 5px;
  border-radius: 3px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #accounting, 
  #bookkeeping, 
  #taxation, 
  #others {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  #accounting ul, 
  #bookkeeping ul, 
  #taxation ul, 
  #others ul {
    grid-template-columns: 1fr;
  }

  #accounting h2, 
  #bookkeeping h2, 
  #taxation h2, 
  #others h2 {
    font-size: 2rem;
  }
  
  .navbar-container {
    padding: var(--spacing-sm);
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    width: 70%;
    height: 100vh;
    text-align: center;
    padding-top: 80px;
    transition: 0.5s;
    z-index: 1000;
    box-shadow: -10px 0 15px var(--shadow-color);
  }

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

  .nav-links li {
    margin: 20px 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .contact-content h1 {
    font-size: 2.5rem;
  }

  .contact-content p {
    font-size: 1.2rem;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .form-container {
    padding: var(--spacing-md);
    margin: 0 var(--spacing-sm);
  }

  .hero-title {
    font-size: 3rem; /* Reduce font size for smaller screens */
  }

  .section-title {
    font-size: 2rem; /* Reduce heading size */
  }

  .section-description {
    font-size: 1rem; /* Reduce paragraph size */
  }

  .list-item {
    font-size: 0.9rem; /* Reduce list item size */
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: var(--spacing-md);
  }
}

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

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }

  
}