/* ==========================================================================
   1. GLOBAL RESETS & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0340f9, #11cb81, #25bbfc);
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevents layout breaks and horizontal mobile scroll scrolling */
  width: 100%;
}

/* ==========================================================================
   2. NAVIGATION HEADER LAYOUT
   ========================================================================== */

/* ==========================================================================
   3. HERO DESKTOP SPLIT CONTAINER (.section)
   ========================================================================== */
.section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 140px 2rem 4rem 2rem; /* 140px top padding keeps section below the fixed header */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section .image {
  flex: 2 2 300px;
  text-align: center;
}

.section .image img.banner-image {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.section .content {
  flex: 1 1 400px;
  text-align: left;
}

.section .content h1 {
  background: linear-gradient(90deg, #fde37c, #f0c238, #fcdb4d, #f7e98e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
}

.section .content h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #ffffff; /* Changed to white for reliable legibility against the blue layout gradient */
  margin-top: 0.5rem;
  line-height: 1.3;
}

.section .content p {
  margin-top: 1.5rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* ==========================================================================
   4. CONTENT LAYOUT BLOCKS & FLUID CARDS
   ========================================================================== */
.container, 
.containerservice {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.container-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 3rem);
  margin-bottom: 3rem;
  background: repeating-linear-gradient(105deg, #fde37c 0%, #f0c238 3%, #fcdb4d, #f7e98e 12%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(3, 1fr); /* Forms uniform 3-column rows on standard monitors */
  }
}

.card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.card h3 {
  margin-top: 0;
  color: #004080;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.card em {
  display: block;
  font-style: italic;
  color: #666;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.card-icon {
  display: block;
  margin: 0 0 1rem 0; /* Left alignment path instead of breaking boundaries */
  width: 65px; /* Downscaled correctly to fit neatly inside layout metrics */
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(218,165,32,0.4));
}

/* ==========================================================================
   5. COMPLETE SITE FOOTER
   ========================================================================== */
/* footer {
  background: #111111;
  color: #ffffff;
  padding: 50px 20px 20px 20px;
  margin-top: 4rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section .logo h2 {
  font-size: 1.4rem;
  margin: 5px 0 0 0;
}

.footer-section h3 {
  color: #f0c238;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: #ffffff;
}

.footer-section p a {
  color: #ffffff;
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  color: #ffffff;
  font-size: 1.2rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: #f0c238;
  transform: translateY(-2px);
}
 */
/* .footer-bottom {
  text-align: center;
  border-top: 1px solid #222222;
  margin-top: 40px;
  padding-top: 20px;
  color: #666666;
  font-size: 0.9rem;
}
 */
/* ==========================================================================
   6. RESPONSIVE CONSOLIDATED MOBILE MEDIA QUERY (Widths up to 768px)
   ========================================================================== */
@media (max-width: 768px) {
  
/*   header {
    padding: 8px 15px;
  }

  .logo img {
    width: 90px;
  }

  .menu-toggle {
    display: block; 
  }

 
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0340f9, #11cb81);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  nav.active {
    display: block; 
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li ul.dropdown {
    position: static;
    display: block; 
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    margin-top: 5px;
    box-shadow: none;
    width: 100%;
  }
 */
 .menu-toggle {
    display: block; 
    cursor: pointer;
    font-size: 2em;
    background: none;
    border: none;
    color:#FFD700;;
  }
  /* HERO ELEMENT STACK REORGANIZATION */
  .section {
    flex-direction: column;
    text-align: center;
    padding: 100px 20px 30px 20px; /* Safe padding spacing below navigation bar */
    gap: 0.8rem;
  }

  .section .image {
    order: -3; /* Pushes the vector illustration image to the top */
    flex: 1 1 auto;
    width: 100%;
  }

  .section .image img.banner-image {
    max-width: 100%; /* Keeps image from consuming entire smartphone screen heights */
    margin: 0 auto;
  }

  .section .content {
    flex: 1 1 auto;
    text-align: center;
    width: 100%;
  }

  .section .content h1 {
    margin-bottom: 12px;
  }

  .section .content p {
    margin-top: 1rem;
  }

  /* Grid Layout Normalizations for Mobile Views */
  .container, 
  .containerservice {
    padding: 2.5rem 15px;
  }

  .container-title {
    margin-bottom: 2rem;
  }

  .grid {
    grid-template-columns: 1fr; /* Exact 1-card-per-row alignment format stack */
    gap: 1.5rem;
  }

  .card {
    max-width: 100%;
    padding: 1.5rem;
  }

  .card-icon {
    margin: 0 auto 1rem auto; /* Centers icons neatly within dynamic stacked mobile layouts */
  }


}