/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Styles */
header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-image: url('https://dalleproduse.blob.core.windows.net/private/images/6d2a8798-7e22-4122-9ed8-45301c09a4a4/generated_00.png?se=2025-08-13T06%3A52%3A27Z&sig=FylVqGCP7GrBfT2NRdnWFcQyzCZs6sE2TIe2zBV8jzo%3D&ske=2025-08-18T07%3A59%3A34Z&skoid=09ba021e-c417-441c-b203-c81e5dcd7b7f&sks=b&skt=2025-08-11T07%3A59%3A34Z&sktid=33e01921-4d64-4f8c-a055-5bdaffd5e33d&skv=2020-10-02&sp=r&spr=https&sr=b&sv=2020-10-02');
    background-size: cover;
    background-position: center;
    height: 400px;
    color: white;
    text-shadow: 0px 0px 5px black;
}

.site-title {
    font-size: 2.5em;
    font-weight: bold;
}

.site-tagline {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Hero Banner Styles */
.hero-banner {
    padding: 50px 20px;
    background-color: #ffffff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    text-align: center;
    border-radius: 10px;
    background-image: linear-gradient(to bottom, #f9f9f9, #eaeaea);
}

.hero-content h1 {
    font-size: 2em;
    color: #333;
}

.hero-content p {
    font-size: 1.2em;
    color: #666;
}

#cta-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
}

#cta-button:hover {
    background-color: #0056b3;
}

/* About Section Styles */
.about-section {
    padding: 40px 20px;
    background-color: #ffffff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    text-align: center;
    border-radius: 10px;
    background-image: linear-gradient(to bottom, #f9f9f9, #eaeaea);
}

.about-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.about-icon {
    font-size: 2em;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    border-top: 5px solid #007bff;
}

.footer-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-social a {
    margin: 0 10px;
    color: white;
}

.footer-social a:hover {
    color: #007bff;
}

/* Responsive & optimization tweaks for mobile and tablet */
@media (max-width: 1024px) {
  header {
    height: 320px;
    padding: 16px;
  }
  .site-title { font-size: 2.1em; }
  .site-tagline { font-size: 1.05em; }
  .hero-banner { padding: 36px 16px; }
  .hero-content h1 { font-size: 1.6em; }
  .hero-content p { font-size: 1.05em; }
}

/* Tablet and large mobile */
@media (max-width: 768px) {
  header { height: 260px; padding: 14px; }
  .site-title { font-size: 1.9em; }
  .site-tagline { font-size: 1em; }
  .about-section, .hero-banner { padding: 24px 12px; margin: 12px; }
  .about-icons { flex-wrap: wrap; gap: 12px; }
  .about-icon { font-size: 1.6em; }
  .icon-card { text-decoration: none; }
  .icon-card > div { padding: 18px; height: 150px; }
  .parallax-banner { height: 180px; }
}

/* Small phones */
@media (max-width: 520px) {
  header { height: 200px; padding: 12px; }
  .site-title { font-size: 1.6em; }
  .site-tagline { font-size: 0.95em; }
  .hero-content h1 { font-size: 1.3em; }
  .hero-content p { font-size: 1em; }
  .icon-card > div { height: 140px; padding: 14px; }
  main { padding: 0 8px; }
  .parallax-banner { height: 120px; }
}

/* Improve touch targets and reduce accidental double-tap highlight */
button, .icon-card, a.menu-link {
  -webkit-tap-highlight-color: rgba(0,0,0,0.03);
  touch-action: manipulation;
}

/* Ensure the grid of icon cards is responsive and stacks cleanly */
@media (max-width: 780px) {
  section[style*="grid-template-columns"], /* inline grid on index.html */
  .icon-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (max-width: 420px) {
  section[style*="grid-template-columns"],
  .icon-grid {
    grid-template-columns: 1fr !important;
  }
}
