@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  line-height: 1.6;
  color: var(--text-color);
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
}
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 1rem;
    max-height: 300px; /* Set a maximum height */
    overflow-y: auto; /* Make only this section scrollable */
  }

  /* Add custom scrollbar styling */
  .dropdown-menu::-webkit-scrollbar {
    width: 5px;
  }

  .dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .dropdown-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
  }

  .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  /* Keep the nav fixed without scroll */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    padding: 80px 40px;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: hidden; /* Prevent main nav from scrolling */
  }
}

.social-icons img {
  height: 24px;
  margin-left: 1rem;
  transition: var(--transition);
  filter: grayscale(100%);
}

.social-icons img:hover {
  transform: translateY(-3px);
  filter: grayscale(0%);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
          rgba(0, 0, 0, 0.3),
          rgba(0, 0, 0, 0.5)
  );
  z-index: 1;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: zoomOut 20s linear infinite;
}

@keyframes zoomOut {
  0% { transform: scale(1.1); }
  50% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Make text container wider */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  width: 90%;  /* Increased from 80% */
  max-width: 1000px;  /* Increased from 800px */
}

.hero-text p {
  font-size: 2rem;  /* Increased from 1.2rem */
  line-height: 1.4;  /* Added for better readability */
  margin-bottom: 1.5rem;  /* Space between paragraphs */
  font-weight: 500;  /* Makes text slightly bolder */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.8s;
}

/* If you want different sizes for each paragraph */
.hero-text p:first-child {
  font-size: 2.5rem;  /* Bigger first paragraph */
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-text p:last-child {
  font-size: 1.8rem;  /* Slightly smaller second paragraph */
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Featured Links Section */
.featured-links {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center; 
  gap: 2rem; 
  padding: 6rem 5%;
  background-color: var(--background-light);
}

.featured-links-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem; 
  text-align: center;
  color: var(--text-color);
}

.featured-link-container {
  display: flex;
  flex-direction: row; 
  align-items: center;
  gap: 2.8rem; 
  justify-content: center;
}

.featured-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  overflow: hidden;
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition);
}

.featured-link img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition);
}

.featured-link:hover img {
  transform: scale(1.1);
}

.featured-link-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
}

.featured-link-description {
  font-size: 1rem;
  color: var(--light-text);
}
/* Contact Section */
.contact-section {
  display: flex;
  padding: 6rem 5%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  gap: 4rem;
}

.contact-info, .contact-form {
  flex: 1;
}

.contact-info h2, .contact-form h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.contact-info p {
  color: var(--light-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info p a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-info p a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.form-group {
  position: relative;
}

input, textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  background-color: white;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

button {
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.custom-file-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.file-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.file-button:hover {
  background-color: var(--secondary-color);
}

#fileChosen {
  font-size: 0.875rem;
  color: var(--light-text);
}

button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

button:hover::before {
  width: 300px;
  height: 300px;
}

.file-size-note {
  font-size: 0.875rem; /* Smaller font size */
  color: var(--light-text); /* Subtle color */
  margin-top: -1rem; /* Adjust spacing if needed */
  margin-bottom: 1rem;
  display: block;
}

#fileChosen {
  font-size: 0.875rem;
  color: var(--light-text);
  word-wrap: break-word; /* Breaks long words */
  overflow-wrap: break-word; /* Ensures proper wrapping in modern browsers */
  max-width: 100%;      /* Ensure it doesn’t exceed the container width */
}

.schedule-info {
  max-width: 80%;
  line-height: 1.6;
  margin-top: 1rem;
  font-weight: 600;
}

.contact-info p {
  color: var(--light-text);
  margin-bottom: 1rem;
  max-width: 350px; /* or whatever width works best for your design */
}

.contact-info p:last-child {
  max-width: 350px;
  line-height: 1.6;
  margin-top: 1rem;
  font-weight: 600;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent !important;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--text-color) !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger:hover,
.hamburger:focus,
.hamburger:active,
.hamburger.active {
  background: transparent !important;
  border: none;
  outline: none;
}

.hamburger.active span {
  background-color: var(--text-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .company-intro {
    flex-direction: column;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    flex-direction: column;
  }

  .contact-info, .contact-form {
    width: 100%;
  }
  
  .featured-links {
    flex-direction: column;
  }

  .featured-link-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    padding: 80px 40px;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }

  nav.active {
    right: 0;
  }

  nav a {
    margin: 10px 0;
    font-size: 1.2rem;
  }

  .social-icons {
    margin-top: 20px;
  }

  /* Hamburger Animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hamburger {
    display: flex;
  }

  .page-title {
    padding-top: 6rem;
  }

  .service-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  /* Optionally adjust card content for mobile */
  .service-card {
    max-width: 100%;
  }

  .service-content h3 {
    font-size: 1.3rem;
  }

  .service-content p {
    font-size: 0.95rem;
  }
  
  .page-title h1 {
    font-size: 2rem;
  }

  .service-image {
    height: 200px;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .content-section p {
    font-size: 1rem;
  }

  .values-grid { 
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  footer {
    padding: 2rem 1rem;
  }

  footer .social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;  /* Keeping consistent reduced spacing */
  }
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Main Content */
.page-title {
  padding: 8rem 5% 2rem;
  text-align: center;
  background-color: var(--background-light);
}

.page-title h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

button {
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

button:hover {
  background-color: var(--secondary-color);
}

/* About Sections */
.about-section {
  padding: 4rem 5%;
  background: white;
}

.company-intro {
  display: flex;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: center;
}

.company-intro-text {
  flex: 1;
}

.company-intro-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: inline-block;
  max-width: 500px; /* Optional, to limit the image size */
  background-color: #f9f9f9; /* Light gray background */
  padding: 10px;
}

.company-intro-image img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-intro-image img:hover {
  transform: scale(1.1); /* Slight zoom */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.company-intro-image:hover .image-caption {
  opacity: 1; /* Full opacity when the image is hovered */
}

.image-caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.5); /* Reduced opacity for a more subtle background */
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px; /* Smaller font size for a more subtle effect */
  opacity: 0.8; /* Slight transparency for a less intrusive look */
  transition: opacity 0.3s ease;
}

/* Values Section */
.values-section {
  padding: 4rem 5%;
  background: var(--background-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
}

:root {
  --primary-color: #695F5F;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-color: #1f2937;
  --light-text: #6b7280;
  --background-light: #f3f4f6;
  --transition: all 0.3s ease;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  padding: 0.5rem 5%;
  background-color: rgba(255, 255, 255, 0.98);
}

.logo img {
  height: 50px;
  transition: var(--transition);
}

header.scrolled .logo img {
  height: 40px;
}

/* Page Title */
.page-title {
  padding: 8rem 5% 4rem;
  text-align: center;
  background-color: var(--background-light);
}

/* Services Section */
.services-section {
  padding: 4rem 5%;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: var(--background-light);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-decoration: none;
  color: var(--text-color);
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.service-content p {
  color: var(--light-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-content .learn-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 5%;
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumb-item {
  color: var(--light-text);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--secondary-color);
}

.breadcrumb-separator {
  color: var(--light-text);
  margin: 0 0.5rem;
}

.service-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 5%;
}

.service-image {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.content-section p {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
  padding: 3rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center; /* This is already correct */
}

footer p {
  opacity: 0.8;
  margin: 0; /* Add this to remove default paragraph margin */
  padding: 0; /* Add this to remove any default padding */
  line-height: 1; /* Add this to ensure text is properly centered */
}

/* Add this to ensure social icons container is aligned */
footer .social-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
  margin: 0;
  padding: 0;
}

footer .social-icons img {
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s, transform 0.3s, opacity 0.3s;
  display: block; /* Add this to remove any unwanted space */
}

footer .social-icons img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px);
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.dropdown-toggle {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  display: none;  /* Changed from opacity/visibility */
  z-index: 1001;  /* Make sure it's above other elements */
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: var(--background-light);
}

.dropdown.active .dropdown-menu {
  display: block;  /* Changed from opacity/visibility */
}

/* Arrow rotation */
.dropdown.active .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-toggle svg {
  transition: transform 0.3s ease;
}

.dropdown-toggle::after,
.dropdown-toggle::before {
  content: none; /* Removes any pseudo-elements */
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  background: none;
  color: var(--text-color);
}

.language-switcher {
  margin-left: 1rem;
}

.flag-buttons {
  display: flex;
  gap: 0.5rem;
}

.flag-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s;
  opacity: 0.6;
}

.flag-button:hover {
  transform: scale(1.1);
}

.flag-button.active {
  opacity: 1;
  border-radius: 4px;
}

.flag-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: block;
}

.alert {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

#successMessage {
  transition: opacity 0.3s ease;
}

/* Map Section */
.map-section {
  height: 400px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-info-window {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  max-width: 300px;
}

.custom-info-window button:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .custom-info-window {
    max-width: 200px;
    font-size: 12px;
  }

  .map-info-window {
    padding: 8px !important;
    margin: 5px !important;
  }

  .map-info-window h4 {
    font-size: 14px;
    margin-bottom: 4px !important;
  }

  .map-info-window p {
    margin-bottom: 3px !important;
  }

  .map-info-window button {
    padding: 4px 8px !important;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .custom-info-window {
    max-width: 180px;
    font-size: 11px;
  }
}

.reviews-section {
  padding: 4rem 5%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
}

.reviews-section h2 {
  margin-bottom: 2rem;
  color: var(--text-color);
}

.google-reviews {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 2rem 5%;
  }
}

.stats-section {
  padding: 4rem 5%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
  }

  .stat-item {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-icon {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 1rem;
  }
}