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

:root {
  --primary: rgb(242, 210, 114);
  --secondary: rgb(89, 59, 2);
  --accent: rgb(89, 59, 2);
  --dark: #121212;
  --light-gray: #ecf0f1;
  --white: #ffffff;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
}

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

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

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  height: 50px;
  width: 50px;
}
.logo img {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  animation: slideInRight 0.6s ease-out;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  position: relative;
}

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

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

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

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: all 0.3s;
}

/* Main Content */
main {
  margin-top: 70px;
}

.page {
  animation: fadeIn 0.5s ease-out;
}

.page.active {
  display: block;
}

/* Hero Section with Background Image */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(242, 210, 114, 0.5), rgba(89, 59, 2, 0.5)),
    url("img/bg.gif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding: 10rem 2rem 8rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.3"/></svg>');
  animation: float 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-image {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  animation: fadeInUp 1.2s ease-out;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  animation: fadeInUp 1.4s ease-out;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* Stats Section */
.stats {
  background: var(--white);
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: -3rem auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--secondary);
  display: block;
  animation: fadeInUp 0.8s ease-out;
}

.stat-label {
  color: var(--dark);
  margin-top: 0.5rem;
}

/* Content Sections */
.content-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: #ffffff;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Feature Image */
.feature-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 2rem auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.feature-image:hover {
  transform: scale(1.02);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  line-height: 1.8;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.why-choose-item {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  text-align: center;
}
.why-choose-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.why-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}
.why-choose-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* Service Card Specific */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.service-image {
  width: 100%;
  height: 220px;
}
.service-content {
  padding: 2rem;
}
.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.6rem;
}
.keyword-tag {
  background: linear-gradient(135deg, rgb(242, 210, 114), rgb(89, 59, 2));
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin: 0.25rem;
}
.learn-more {
  color: var(--accent);
  font-weight: bold;
  margin-top: 1rem;
  display: inline-block;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent);
  animation: fadeInUp 0.8s ease-out;
  transition: all 0.3s;
}

.timeline-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.timeline-year {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--light-gray);
  border-radius: 5px;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.submit-button {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.submit-button:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* Info Box */
.info-box {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: 0 5px 25px rgba(0, 61, 130, 0.2);
}

.info-box h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.column-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* Service Page Specific */
.service-hero {
  position: relative;
  background:
    linear-gradient(rgba(242, 210, 114, 0.5), rgba(89, 59, 2, 0.5)),
    url("img/page-title-01.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
  padding: 6rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}

.service-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: #bdc3c7;
  line-height: 2;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: #95a5a6;
}

/* Background Pattern */
.bg-pattern {
  background-color: var(--light-gray);
  background-image:
    linear-gradient(
      30deg,
      #f5f5f5 12%,
      transparent 12.5%,
      transparent 87%,
      #f5f5f5 87.5%,
      #f5f5f5
    ),
    linear-gradient(
      150deg,
      #f5f5f5 12%,
      transparent 12.5%,
      transparent 87%,
      #f5f5f5 87.5%,
      #f5f5f5
    ),
    linear-gradient(
      30deg,
      #f5f5f5 12%,
      transparent 12.5%,
      transparent 87%,
      #f5f5f5 87.5%,
      #f5f5f5
    ),
    linear-gradient(
      150deg,
      #f5f5f5 12%,
      transparent 12.5%,
      transparent 87%,
      #f5f5f5 87.5%,
      #f5f5f5
    );
  background-size: 80px 140px;
  background-position:
    0 0,
    0 0,
    40px 70px,
    40px 70px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .two-column {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 0;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: var(--primary);
    width: 100%;
    padding: 2rem;
    transition: left 0.3s;
    gap: 1rem;
  }

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

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

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

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

  .section-title {
    font-size: 2rem;
  }

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

  nav {
    padding: 1rem;
  }

  .content-section {
    padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 6rem 1rem 4rem;
  }

  .stats {
    padding: 2rem 1rem;
    margin: -2rem 1rem 0;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Loading Animation */
.loader {
  border: 4px solid var(--light-gray);
  border-top: 4px solid var(--secondary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.scroll-top.visible {
  opacity: 1;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* Language Switcher Styles */
.language-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
}

.lang-btn {
  background: transparent;
  border: 2px solid #000000;
  color: #000000;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: #c49b4e;
  color: white;
}

.lang-btn.active {
  background: #c49b4e;
  color: white;
}

@media (max-width: 768px) {
  .language-switcher {
    padding: 1rem;
    justify-content: center;
    margin-top: 1rem;
  }
}
