/* ----------------------------
   BASE STYLING
----------------------------- */
body {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: #0a1f28;
    background: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Exo 2', 'Roboto', sans-serif;
    margin: 0 0 15px 0;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #023a4f;
}

h2.section-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: #023a4f;
    position: relative;
    margin-bottom: 20px;
}

h2.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #00ffa3);
    border-radius: 2px;
}
/* ----------------------------
   HERO - FULL WIDTH
----------------------------- */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: left; /* keeps text readable */
}

.hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.75);
    transition: transform 1.2s ease;
    
}

.hero:hover .hero-background img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.05);
    mix-blend-mode: lighten;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 40px;
    animation: fadeInUp 1.2s ease forwards;
    transform: translateY(0); /* or a smaller value on small screens */

}

/* Headings & paragraph inside hero */
.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.5;
    background: linear-gradient(90deg, #e4f6f9, #feffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0,212,255,0.3);
}

.hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    max-width: 600px;
    margin-top: 20px;
    color: #f8fcfd;
    background: rgba(181, 219, 245, 0.3);
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
}

/* Optional: make hero text responsive */
@media (max-width: 1024px){
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px){
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }
}


/* ----------------------------
   SECTIONS
----------------------------- */
section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

p {
    font-size: 1.15rem;
}

/* ----------------------------
   CARDS (SOLUTIONS / TECH / APPS)
----------------------------- */
.solution-card, .tech-card, .app-card {
    background: #e3eaf5;
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 15px;
    padding: 15px;
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before, .tech-card::before, .app-card::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: linear-gradient(120deg, rgba(10, 112, 163, 0.2), rgba(0,255,163,0.1), rgba(0,212,255,0.2));
    transform: rotate(45deg);
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.solution-card:hover::before, .tech-card:hover::before, .app-card:hover::before {
    transform: rotate(0deg);
    background: linear-gradient(120deg, rgba(140, 206, 237, 0.2));
}

.solution-card:hover, .tech-card:hover, .app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,212,255,0.2);
}

.solution-card h3, .tech-card h3, .app-card h3 {
    position: relative;
    z-index: 1;
    font-weight: 500;
    font-size: 1.5rem;
    color: #065e81;
}

.solution-card p, .tech-card p, .app-card p {
    color: #0a1f28;
    position: relative;
    z-index: 1;
}

.solution-grid, .tech-cards, .app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* ----------------------------
   METRICS / IMPACT
----------------------------- */
.impact-metrics {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 20px;
}

.metric {
    background: #e4f5fb;
    border: 2px solid #00d4ff;
    border-radius: 15px;
    padding: 25px;
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
    flex: 1 1 180px;
    transition: all 0.3s ease;
    color: #023a4f;
}

.metric:hover {
    background: linear-gradient(135deg, #00d4ff, #619cc9);
    color: #0a1f28;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,212,255,0.3);
}

/* ----------------------------
   CTA BUTTONS
----------------------------- */
.cta-btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    margin-top: 20px;
    border: 2px solid transparent;
}

.cta-btn.primary {
    background: linear-gradient(90deg, #00d4ff, #318db1);
    color: #0a1f28;
    box-shadow: 0 6px 20px rgba(0,212,255,0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,212,255,0.5);
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid #00d4ff;
    color: #00d4ff;
}

.cta-btn.secondary:hover {
    background: #00d4ff;
    color: #0a1f28;
    transform: translateY(-5px);
}

/* ===========================
   MEDIA QUERIES - RESPONSIVE
=========================== */

/* Tablets / medium screens */
@media (max-width: 1024px) {
    .hero {
      height: 70vh;              /* slightly shorter hero */
      align-items: flex-start;   /* pull content toward top */
      padding-top: 3rem;         /* space from top */
    }
  
    .hero-content {
      padding: 0 30px;           /* reduce horizontal padding */
    }
  
    .hero-content h1 {
      font-size: 3rem;           /* scale down heading */
      line-height: 1.3;
    }
  
    .hero-content p {
      font-size: 1.3rem;         /* smaller paragraph */
      max-width: 90%;
    }
  
    h2.section-heading {
      margin-top: 30px;          /* pull h2 closer to hero */
      font-size: 2rem;
    }
  }
  
  /* Mobile / small screens */
  @media (max-width: 600px) {
    .hero {
      height: auto;              /* let hero expand to fit content */
      align-items: flex-start;   /* top align */
      padding: 3rem 1rem;        /* top and horizontal padding */
      text-align: center;        /* center text for small screens */
    }
  
    .hero-background img {
      object-fit: cover;         /* fill hero while maintaining aspect */
      height: 100%;
    }
  
    .hero-content h1 {
      font-size: 2.2rem;         /* smaller heading */
      line-height: 1.2;
      margin-bottom: 1rem;
    }
  
    .hero-content p {
      font-size: 1rem;           /* smaller paragraph */
      max-width: 100%;
      margin: 0 auto 1.5rem auto;
    }
  
    h2.section-heading {
      margin-top: 0px;          /* closer to hero section */
      font-size: 1.8rem;
    }
  
    section {
      padding: 30px 15px;        /* reduce section padding */
    }
  
    .solution-grid, .tech-cards, .app-grid {
      gap: 15px;                 /* tighter grid gaps */
    }
  
    .metric {
      flex: 1 1 100%;            /* stack metrics vertically */
      margin-bottom: 15px;
    }
  
    .cta-btn {
      padding: 12px 25px;        /* smaller buttons */
      font-size: 0.9rem;
    }
  }
  @media (max-width: 600px) {
    .hero-content {
        padding-top: 7rem; /* or 4rem if needed */
    }
}
