/* ----------------------------
   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 */
    }
}



/* ===== HERO FULL WIDTH FIX ===== */
@media screen and (min-width: 1400px) {

    .hero {
      position: relative;
      width: 100%;            /* full width of parent */
      max-width: 100%;        /* ignore container constraints */
      height: 75vh;           /* adjust hero height */
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      margin: 0;              /* remove offsets */
      padding: 0;             /* remove container padding */
    }
  
    .hero-background,
    .hero-background img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
  
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.35);
    }
  
    .hero-content {
      position: relative;
      z-index: 10;
      max-width: 1200px;     /* keeps text readable */
      text-align: center;
      padding: 40px 30px;
      background: rgba(4,71,90,0.25);
      border-radius: 20px;
      backdrop-filter: blur(6px);
      transform: translateY(0);
    }
  
    .hero-content h1 {
      font-size: 4.5rem;
      margin-bottom: 15px;
      margin-top: 5rem;
    }
  
    .hero-content p {
      font-size: 2rem;
      line-height: 1.8;
    }
  }
  


  @media screen and (min-width: 1400px) {

    /* Hero */
    .hero-content h1 {
        font-size: 5rem !important;
    }
    .hero-content p {
        font-size: 2rem !important;
    }

    /* Section Headings */
    h2.section-heading {
        font-size: 3rem !important;
    }

    /* Cards Titles */
    .solution-card h3,
    .tech-card h3,
    .app-card h3 {
        font-size: 2rem !important;
    }

    /* Cards Paragraphs */
    .solution-card p,
    .tech-card p,
    .app-card p {
        font-size: 1.5rem !important;
    }

    /* Metrics */
    .metric {
        font-size: 1.5rem !important;
    }
    .metric strong {
        font-size: 2rem !important;
    }

    /* Section Paragraphs */
    section p {
        font-size: 1.5rem !important;
    }

    /* CTA Buttons */
    .cta-btn.primary,
    .cta-btn.secondary {
        font-size: 1.8rem !important;
        padding: 20px 50px !important;
    }

    /* Optional: other headings */
    h1 {
        font-size: 5rem !important;
    }
    h3 {
        font-size: 2rem !important;
    }
}


@media (max-width: 800px) {
    section {
        padding: 10px 15px;
    }
}


@media (max-width: 800px) and (max-height: 600px) {
    .hero {
        display: flex;
        justify-content: center; /* horizontally centered */
        align-items: flex-start; /* start from top */
        padding-top: 180px;       /* move content down */
        height: 100vh;           /* fill the viewport */
        margin-bottom: 0;
    }

    .hero-content {
        max-width: 90%;          /* shrink width for smaller screens */
        transform: none;         /* remove any translateY */
    }
   
}

@media (max-width: 800px) and (max-height: 600px) {
    /* Hero section */
    .hero {
      height: 70vh; /* slightly smaller to fit vertical space */
      justify-content: center;
      align-items: center; /* vertical center */
      text-align: center;
    }
  
    .hero-content {
      padding: 10px 15px;
      max-width: 90%;
      margin: 0 auto;
      transform: none; /* remove any previous translateY */
    }
  
    .hero-content h1 {
      font-size: 2.5rem; /* keep it readable but fit vertically */
      line-height: 1.2;
    }
  
    .hero-content p {
      font-size: 1.1rem;
      line-height: 1.4;
    }
  
    /* Reduce gap between hero and next section */
    section.solutions {
      padding-top: 20px;
    }
  
    h2.section-heading {
      margin-top: 0;
      margin-bottom: 15px;
    }
  }
  @media (max-width: 800px) and (max-height: 600px) {
    h2.section-heading::after {
      left: 50%;           /* start at 50% */
      transform: translateX(-50%);  /* center it horizontally */
    }
  }
  @media (max-width: 800px) and (max-height: 600px) {
    .hero-content {
      transform: translateY(-5%); /* moves the whole hero content up */
      text-align: center; /* ensures p stays centered under h1 */
    }
    
    .hero-content p {
      margin-top: 10px; /* optional, reduce space under h1 */
    }
  }
  /* iPad 7.9" (portrait) */
@media (max-height: 1024px) {
    .hero {
      height: 55vh; /* reduce hero height */
      align-items: center; /* vertically center content */
    }
    
    .hero-content {
      transform: translateY(0); /* reset any previous shifts */
      text-align: center; /* ensure p is centered */
      padding: 0 20px; /* optional: reduce side padding */
    }
    
    .hero-content h1 {
      font-size: 3rem; /* adjust heading for smaller screens */
      line-height: 1.3;
    }
    
    .hero-content p {
      font-size: 1.25rem; /* optional: adjust paragraph size */
    }
  }
  
  /* iPad 9.7" (portrait) */
  @media (max-width: 1024px)  {
    .hero {
      height: 60vh; /* slightly taller for larger iPad */
      align-items: center;
    }
  
    .hero-content {
      transform: translateY(0);
      text-align: center;
    }
  
    .hero-content h1 {
      font-size: 3.5rem;
      line-height: 1.3;
    }
  
    .hero-content p {
      font-size: 1.4rem;
    }
  }
  /* For iPads (portrait & landscape) */
@media (max-width: 1024px) {
    .hero-content p {
      max-width: 500px; /* or 60–70% of hero width */
      margin: 15px auto 0 auto; /* centers paragraph */
      text-align: center;       /* ensure the text is centered */
      font-size: 1.3rem;        /* optional: adjust for readability */
    }
  
    .hero-content h1 {
      max-width: 90%;           /* prevent heading from overflowing */
      margin: 0 auto;
      text-align: center;
    }
  
    .hero-content {
      padding: 0 20px;          /* some side padding */
    }
  }
/* iPhone 8 / 8 Plus */
@media (max-width: 414px) {
    .hero-content {
      transform: translateY(10%); /* move content down */
      padding: 0 15px;            /* reduce side padding */
    }
  
    .hero-content h1 {
      font-size: 2.2rem;          /* slightly smaller */
      line-height: 1.3;
    }
  
    .hero-content p {
      font-size: 1rem;            /* slightly smaller */
      max-width: 300px;           /* limit paragraph width */
      margin: 10px auto 0 auto;   /* center paragraph */
      text-align: center;
    }
  }
    






  /* ----------------------------
   HERO - FULL WIDTH CLEAN
----------------------------- */
.hero {
    position: relative;
    width: 100vw;           /* full viewport width */
    height: 100vh;          /* full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    text-align: center;
}

.hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;       /* fills hero while maintaining aspect ratio */
    object-position: center;
    filter: brightness(0.75);
    transition: transform 1.2s ease;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;                /* shorthand for top:0;left:0;right:0;bottom:0; */
    background: rgba(0,0,0,0.25);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;       /* keeps text readable */
    padding: 20px 30px;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 15px;
    backdrop-filter: blur(6px);
    animation: fadeInUp 1.2s ease forwards;
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 6vw, 5rem); /* responsive font scaling */
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    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: clamp(1rem, 2.5vw, 1.5rem);
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 20px;
    background: rgba(181, 219, 245, 0.3);
    border-radius: 12px;
}

/* ----------------------------
   RESPONSIVE HERO
----------------------------- */
@media (max-width: 1024px) {
    .hero {
        height: 70vh;
    }
    .hero-content {
        padding: 15px 20px;
    }
}

@media (max-width: 600px) {
    .hero {
        height: auto;
        padding: 4rem 1rem;
    }
    .hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .hero-content p {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }
    .hero-content {
        max-width: 90%;
    }
}


/* Force hero full width and remove container constraints */
.hero {
    width: 100%;
    max-width: 100%;      /* ignore any max-width constraints */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Hero content centered with no extra padding */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: none;      /* allow full width */
    width: 90%;           /* content width, can adjust */
    padding: 0;
    margin: 0 auto;       /* center horizontally */
    text-align: center;
}

/* Hero image full cover */
.hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Remove horizontal scroll */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
