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

:root {
  --primary-color: #3b82f6;
  --secondary-color: #1d4ed8;
  --accent-color: #60a5fa;
  --text-light: #6b7280;
  --text-dark: #0f172a;
  --white: #ffffff;
  --light-gray: #f8fafc;
  --light-blue: #eef2ff;
  --border-color: #e5e7eb;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.tagline {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  position: relative;
  height: calc(100vh - 88px - 45vh);
  min-height: 280px;
  max-height: 400px;
  background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.65) 0%, rgba(29, 78, 216, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  max-width: 800px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.95;
}

/* Sections */
.info-section {
  padding: 2rem 0;
  min-height: calc(100vh - 88px - 35vh);
  display: flex;
  align-items: center;
}

.location-section,
.news-section {
  padding: 3rem 0;
}

.location-section {
  background-color: var(--light-blue);
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-text {
  font-size: 0.95rem;
  color: var(--text-light);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.25rem;
}

.info-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0;
}

.info-card,
.news-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.info-card h3,
.news-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0;
}

.info-card p,
.news-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.45;
}

.info-card ul,
.news-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--text-light);
  font-size: 0.8rem;
  line-height: 1.4;
}

.info-card ul li::before,
.news-card ul li::before {
  content: '•';
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.location-card {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12);
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
}

.location-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.location-info {
  font-size: 1.0625rem;
  line-height: 2;
}

.location-info p {
  margin-bottom: 0.75rem;
}

.location-info strong {
  color: var(--secondary-color);
  font-weight: 600;
}

.location-info a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.location-info a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Contact Section */
.contact-section {
  padding: 3rem 0;
  background-color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.contact-info > p {
  font-size: 1.0625rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

.contact-details strong {
  color: var(--secondary-color);
  font-weight: 600;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.contact-form {
  background-color: var(--light-blue);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12);
  border: 1px solid var(--border-color);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background-color: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.field-error {
  color: #c62828;
  font-size: 0.85em;
  margin-top: 5px;
  display: block;
}

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

.captcha-group {
  position: relative;
}

.captcha-group label {
  display: block;
  margin-bottom: 0.5rem;
}

.captcha-group input[type="number"] {
  width: calc(100% - 50px);
  display: inline-block;
}

.refresh-captcha-btn {
  position: absolute;
  right: 0;
  top: 2.25rem;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.875rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-captcha-btn:hover {
  background-color: var(--light-gray);
  border-color: var(--primary-color);
}

#captcha-question {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  font-family: inherit;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-spinner {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .info-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero {
    height: 30vh;
    min-height: 250px;
    max-height: 300px;
    background-attachment: scroll;
  }

  .info-section {
    min-height: auto;
  }

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

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

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

  .info-section,
  .location-section,
  .news-section,
  .contact-section {
    padding: 3rem 0;
  }

  .location-card {
    padding: 2rem;
  }

  .info-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .location-card {
    padding: 1.5rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .captcha-group input[type="number"] {
    width: calc(100% - 55px);
  }

  .refresh-captcha-btn {
    width: 50px;
    height: 50px;
  }
}

