/* Global Styles */
:root {
  --primary: #0062b0;
  --secondary: #00a0e3;
  --accent: #64d6ff;
  --light: #f5f9fc;
  --dark: #333;
  --success: #4caf50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: var(--dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--primary);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: white;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  color: #777;
  max-width: 700px;
  margin: 0 auto;
}

/* Page Header */
.page-header {
  background: linear-gradient(rgba(0, 98, 176, 0.8), rgba(0, 160, 227, 0.8)),
    url("website_header.webp") center/cover no-repeat;
  color: white;
  padding: 150px 0 80px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 30px;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  margin-bottom: 25px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-text p {
  margin-bottom: 5px;
}

.contact-form h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

/* Locations Section */
.locations {
  background-color: var(--light);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.location-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-img {
  height: 200px;
  overflow: hidden;
}

.location-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-content {
  padding: 25px;
}

.location-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.location-details {
  margin-top: 20px;
}

.location-detail {
  display: flex;
  margin-bottom: 10px;
}

.location-icon {
  margin-right: 10px;
  color: var(--primary);
}

/* Map Section */
.map-container {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
  background-color: #eee;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 1.2rem;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(0, 82, 204, 0.05);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: "-";
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

/* CTA Section */
.cta {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  background: white;
  color: var(--primary);
}

.cta .btn:hover {
  background: var(--light);
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--secondary);
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.hidden {
  display: none !important;
}

/* Overlay for mobile menu */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.overlay.active {
  display: block;
}

/* Enhanced Responsive Styles */
@media (max-width: 992px) {
  /* Medium devices (tablets) */
  .page-header h1 {
    font-size: 2.5rem;
  }

  .section-title h2,
  .contact-info h3,
  .contact-form h3 {
    font-size: 2.2rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-container {
    height: 350px;
  }
}

@media (max-width: 768px) {
  /* Small devices (landscape phones) */

  /* Page Header */
  .page-header {
    padding: 100px 0 50px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  /* Contact Section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info h3,
  .contact-form h3 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .contact-details {
    margin-top: 30px;
  }

  .contact-item {
    margin-bottom: 20px;
  }

  /* Form Controls */
  .form-control {
    padding: 12px;
  }

  textarea.form-control {
    height: 120px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  /* Locations Section */
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .location-card {
    display: flex;
    flex-direction: column;
  }

  .location-img {
    height: 180px;
  }

  .location-content {
    padding: 20px;
  }

  .location-content h3 {
    font-size: 1.4rem;
  }

  /* Map Section */
  .map-container {
    height: 300px;
  }

  /* FAQ Section */
  .faq-question {
    padding: 15px;
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 15px 15px;
  }

  /* CTA Section */
  .cta h2 {
    font-size: 2rem;
  }

  .cta .btn {
    display: block;
    width: 80%;
    margin: 0 auto;
  }

  /* Sections */
  .section {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  /* Extra small devices (portrait phones) */

  /* Typography */
  .page-header h1 {
    font-size: 1.8rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .contact-info h3,
  .contact-form h3 {
    font-size: 1.7rem;
  }

  /* Contact Items */
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    margin-right: 15px;
  }

  .contact-text h4 {
    font-size: 1.1rem;
  }

  /* Form Elements */
  .form-group {
    margin-bottom: 15px;
  }

  .form-control {
    padding: 10px;
    font-size: 0.95rem;
  }

  /* Location Cards */
  .location-img {
    height: 150px;
  }

  .location-content {
    padding: 15px;
  }

  .location-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  /* Map Section */
  .map-container {
    height: 250px;
  }

  /* FAQ Section */
  .faq-container {
    margin: 0 10px;
  }

  /* CTA Section */
  .cta h2 {
    font-size: 1.7rem;
  }

  .cta p {
    font-size: 0.95rem;
  }

  .cta .btn {
    width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  /* Sections */
  .section {
    padding: 40px 0;
  }
}
/* Form message styles */
#form-message {
  margin-bottom: 20px;
}

.success-message {
  background-color: rgba(76, 175, 80, 0.1);
  border-left: 4px solid var(--success);
  padding: 12px;
  margin-bottom: 15px;
  color: var(--success);
  border-radius: 4px;
}

.error-message {
  background-color: rgba(255, 87, 51, 0.1);
  border-left: 4px solid #ff5733;
  padding: 12px;
  margin-bottom: 15px;
  color: #ff5733;
  border-radius: 4px;
}
