* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  scroll-behavior: smooth;
}

/* Header Styles */
header {
  background: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: #4a5568;
  background: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

nav a:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #4a5568;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: 1rem 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: #4a5568;
  text-decoration: none;
  padding: 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.mobile-menu a:hover {
  background: #e2e8f0;
}

/* Hero Section Styles */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 85px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(74, 85, 104, 0.6) 0%,
    rgba(45, 55, 72, 0.5) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 1200px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5rem;
  opacity: 0.9;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: #4a5568;
  color: white;
}

.btn-primary:hover {
  background: #2d3748;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary:disabled {
  background: #cbd5e0;
  cursor: not-allowed;
  transform: none;
  opacity: 0.7;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #4a5568;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Go to Top Button */
.go-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #4a5568;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.go-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.go-to-top:hover {
  background: #2d3748;
  transform: translateY(-5px);
}

/* Common Section Styling */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
  text-align: center;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.about-box {
  background: #f7fafc;
  padding: 2.4rem 2.2rem;
  border-radius: 12px;
}

.about-box h3 {
  margin-bottom: 1rem;
  color: #2d3748;
}

.about-box p {
  line-height: 1.7;
}

/* Services Section */
.services-section {
  background: #edf2f7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.6rem 2.3rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
  margin-bottom: 1.1rem;
}

.service-card p {
  line-height: 1.7;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info p {
  margin-bottom: 0.8rem;
  color: #555;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  position: relative;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4a5568;
}

.contact-form input.error,
.contact-form textarea.error {
  border-color: #e53e3e;
}

.error-message {
  display: block;
  color: #e53e3e;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  min-height: 1.2rem;
}

.char-counter {
  text-align: right;
  font-size: 0.85rem;
  color: #718096;
  margin-top: 0.3rem;
}

/* Form Message Styles - Success & Error */
.form-message {
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
  display: none;
  margin-top: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message.success {
  display: block;
  background: #c6f6d5;
  color: #22543d;
  border: 2px solid #9ae6b4;
  box-shadow: 0 2px 8px rgba(154, 230, 180, 0.3);
}

.form-message.error {
  display: block;
  background: #fed7d7;
  color: #742a2a;
  border: 2px solid #fc8181;
  box-shadow: 0 2px 8px rgba(252, 129, 129, 0.3);
}

/* Add icon effect for messages */
.form-message.success::before {
  content: "✓ ";
  font-weight: bold;
  font-size: 1.1rem;
}

.form-message.error::before {
  content: "⚠ ";
  font-weight: bold;
  font-size: 1.1rem;
}

/* Policy Pages Styles */
.policy-section {
  margin-top: 85px;
  min-height: calc(100vh - 85px);
  padding: 3rem 0;
  background: #f7fafc;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.policy-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
  text-align: center;
}

.policy-update {
  text-align: center;
  color: #718096;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.policy-content {
  color: #2d3748;
  line-height: 1.8;
}

.policy-content h3 {
  color: #2d3748;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.policy-content p {
  margin-bottom: 1rem;
  color: #4a5568;
  font-size: 1rem;
}

.policy-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.policy-content li {
  margin-bottom: 0.7rem;
  color: #4a5568;
}

.policy-content strong {
  color: #2d3748;
  font-weight: 600;
}

.policy-back {
  margin-top: 3rem;
  text-align: center;
}

.policy-back .btn {
  display: inline-block;
}

/* Footer Styles */
footer {
  background: #2d3748;
  color: white;
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.footer-text {
  font-size: 0.95rem;
  color: #cbd5e0;
  margin: 0;
}

.footer-contact {
  font-size: 0.9rem;
  color: #a0aec0;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-links .separator {
  color: #718096;
  font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .logo-img {
    height: 55px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-intro {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }

  .about-box,
  .service-card {
    padding: 1.8rem;
  }

  .policy-title {
    font-size: 2.2rem;
  }

  .policy-container {
    padding: 1.8rem;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo-img {
    height: 50px;
  }

  .hero {
    min-height: 500px;
    margin-top: 85px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .go-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1.3rem;
  }

  .section-container {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-intro {
    font-size: 1rem;
  }

  .about-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  footer {
    padding: 2rem 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-links .separator {
    display: none;
  }

  .policy-section {
    padding: 2rem 0;
  }

  .policy-container {
    padding: 1.5rem;
  }

  .policy-title {
    font-size: 2rem;
  }

  .policy-content h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 45px;
  }

  .hero {
    min-height: 450px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
  }

  .go-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 1.2rem;
  }

  .section-container {
    padding: 2.5rem 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-intro {
    font-size: 0.95rem;
  }

  .about-box,
  .service-card {
    padding: 1.5rem;
  }

  .footer-text,
  .footer-contact {
    font-size: 0.85rem;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .policy-section {
    padding: 1.5rem 0;
  }

  .policy-container {
    padding: 1.2rem;
  }

  .policy-title {
    font-size: 1.8rem;
  }

  .policy-content {
    font-size: 0.95rem;
  }

  .policy-content h3 {
    font-size: 1.1rem;
  }
}
