/* web.css — home page styles
   Nav is handled by nav.css — do not add nav rules here
*/

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

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0a0a0a;
    color: #fff;
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

.btns2 {
    display: flex;
    text-align: center;
}

.btn2 {
    padding: 0.6rem 1.8rem;
    border-radius: 60px;
    font-weight: 800;
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    width: 280px;
    max-width: 90%;
    height: auto;
    min-height: 4rem;
    color: white;
    border: 1px solid rgba(0, 255, 140, 0.3);
    cursor: pointer;
    background: rgba(0, 255, 140, 0.05);
    transition: 1s;
    align-self: center;
    text-align: center;
    margin-top: 3rem;
    animation: fadeup .3s;
}

.btn2:hover {
    background: #2cae7c;
    color: black;
    box-shadow: 0 0 100px rgba(0, 255, 156, 0.4);
}

h1 {
    text-align: center;
    padding: 0 1rem;
    margin-top: 10%;
    cursor: pointer;
    font-size: clamp(2rem, 8vw, 3.5rem);
    animation: fadeUp 2s;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

h2 {
    text-align: center;
    margin-top: 1.5rem;
    padding: 0 1rem;
    cursor: pointer;
    font-size: clamp(1.8rem, 7vw, 3.1rem);
    margin-bottom: 6%;
    animation: fadeUp 2s;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

p {
    text-align: center;
    margin-top: 10px;
    color: darkgrey;
}

#a {
    animation: fadeUp 2s;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#b {
    animation: fadeUp 2s;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.h1s {
    background: linear-gradient(90deg, green, lightgreen);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeUp 2s;
}

.h2s {
    background: linear-gradient(90deg, lightgreen, green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeUp 2s;
}

.oss {
    animation: fadeup both;
    animation-timeline: view();
}

@keyframes fadeup {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.features {
    padding: 100px 80px;
    text-align: center;
}


.features h2 {
    font-size: 40px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.card {
    padding: 2rem;
    border: 1px solid #111;
    border-radius: 20px;
    background: #050505;
    transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    max-width: 100%;
}

.card:hover {
    border: 1px solid #00ff9c;
    transform: translateY(-10px);
}

.card h3 {
    margin: 20px 0;
    background: linear-gradient(90deg, lightgreen, green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card p {
    color: #aaa;
    flex-grow: 1;
}

#sl1 {
    width: 91%;
    margin: 4rem auto;
    color: lightgreen;
    background-color: lightgreen;
    border: none;
    height: 2px;
    animation: fadeup 2s;
    animation-timeline: view();
    animation-range: entry 5% cover 40vh;
}

.au {
    font-size: 2.5rem;
    animation: text-appear both;
    animation-timeline: view();
    animation-range: entry 30% cover 100vh;
    align-self: flex-start;
    margin-left: 5%;
    margin-top: 5%;
}

hr { color: azure; }

@keyframes text-appear {
    from { opacity: 0; transform: translateY(100px); }
    to   { opacity: 1; transform: translateY(0); }
}

#pau {
    color: white;
    text-align: left;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1rem;
    word-spacing: 5px;
    margin-bottom: 5%;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.aut {
    width: 95%;
    max-width: 1100px;
    color: #00ff9c;
    font-size: medium;
    height: auto;
    padding: 1rem;
    margin: 0 auto;
    animation: text-appear both;
    animation-timeline: view();
    animation-range: 10% cover 100vh;
}

.hero {
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 5% 60px;
}

.hero-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.approach {
    padding: 100px 80px;
    text-align: center;
    width: 95%;
    margin: auto;
}

.ap {
    font-size: 3rem;
    margin-bottom: 6rem;
    color: white;
    background-color: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-appear both;
    animation-timeline: view();
    animation-range: entry 10% cover 60vh;
}

.apt {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 10%;
}

.step {
    width: 100%;
    max-width: 900px;
    min-height: 10rem;
    margin-bottom: 2rem;
    padding: 2rem 2.5rem;
    border: 1px solid #111;
    border-radius: 30px;
    background: #050505;
    transition: 0.5s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0px 20px rgba(0, 255, 156, 0.1);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.step:hover {
    background: #00ff9c;
    color: black;
    border: 1px solid #00ff9c;
    box-shadow: 0 0 25px rgba(0, 255, 156, 0.4);
    transform: translateY(-8px);
}

.step:hover h3,
.step:hover p {
    color: black;
    transition: 1s;
}

.step p {
    color: #aaa;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: left;
}

#sl2 {
    width: 91%;
    margin: 4rem auto;
    color: lightgreen;
    background-color: lightgreen;
    border: none;
    height: 2px;
    animation: fadeup 2s;
    animation-timeline: view();
    animation-range: entry 5% cover 40vh;
}

h4 {
    font-size: 3rem;
    margin-top: 6%;
    margin-bottom: 1em;
    background-color: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    animation: fadeup 2s;
    animation-timeline: view();
    animation-range: entry 10% cover 50vh;
}

#wcs {
    font-size: larger;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-bottom: 2%;
    animation: fadeup 2s;
    animation-timeline: view();
    animation-range: entry 15% cover 60%;
}

#sl3 {
    width: 91%;
    margin: 4rem auto;
    color: lightgreen;
    background-color: lightgreen;
    border: none;
    height: 2px;
    animation: fadeup 2s;
    animation-timeline: view();
    animation-range: entry 5% cover 40vh;
}

.why-choose {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

.wc-card {
    background: #050505;
    border: 1px solid #111;
    border-radius: 40px;
    padding: 2rem;
    text-align: center;
    transition: 0.5s ease;
    cursor: pointer;
    box-shadow: 0 0px 50px rgb(18, 174, 114);
    animation: fadeup both;
    animation-timeline: view();
    animation-range: entry 15% cover 50vh;
}

.wc-card h3 {
    font-size: 1.4rem;
    background: linear-gradient(90deg, lightgreen, green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.wc-card:hover {
    color: black;
    transform: translateY(-8px);
    box-shadow: 0 0 45px rgba(0, 255, 156, 0.4);
    background-color: #00ff9c;
    border-color: #00ff9c;
}

.wc-card:hover h3 {
    color: black;
    -webkit-text-fill-color: black;
    transition: 0.5s;
}

@keyframes zoomGlow {
    from {
        opacity: 0;
        transform: scale(0.8);
        box-shadow: 0 0 0 rgba(0, 255, 156, 0);
    }
    to {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 25px rgba(0, 255, 156, 0.4);
    }
}

.card, .wc-card {
    animation: zoomGlow both;
    animation-timeline: view();
    animation-range: entry 15% cover 50vh;
}

/* ── REVIEWS SECTION ── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    width: 90%;
    margin: 0 auto 5rem auto;
}

.review-card {
    background: #050505;
    border: 1px solid #111;
    border-radius: 24px;
    padding: 2rem;
    text-align: left;
    transition: 0.5s ease;
    animation: fadeup both;
    animation-timeline: view();
    animation-range: entry 15% cover 50vh;
}

.review-card:hover {
    border-color: rgba(0,255,156,0.5);
    background: #060e08;
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0,255,156,0.1);
}

.review-card:hover .review-avatar {
    transform: scale(1.1);
    border-color: #00ff9c !important;
    box-shadow: 0 0 20px rgba(0, 255, 156, 0.4) !important;
}

.stars {
    color: #00ff9c;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-card p {
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
    font-family: Cambria, Georgia, serif;
    font-style: italic;
}

.review-card h4 {
    font-size: 0.9rem;
    color: white;
    -webkit-text-fill-color: white;
    background: none;
    margin: 0;
    text-align: left;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: 1px;
}

/* ── FOOTER ── */
footer {
  width: 91%;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #555;
  margin: 0 auto 2rem auto;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

footer a {
  color: #555;
  text-decoration: none;
  transition: 0.3s;
}

footer a:hover {
  color: #00ff9c;
}

/* ── TECH STACK ── */
.tech-stack-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto 1rem auto;
  padding: 0 2rem;
}
.tech-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.tech-logo {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: default;
  opacity: 0.6;
}
.tech-logo:hover {
  opacity: 1;
  border-color: #00ff9c;
  color: #00ff9c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 255, 156, 0.15);
}

/* ── FINAL MOBILE OVERRIDES ── */
@media (max-width: 968px) {
    body { overflow-x: hidden !important; width: 100% !important; margin: 0 !important; padding: 0 !important; position: relative !important; }
    
    .hero { text-align: center; padding: 100px 1rem 60px !important; display: flex !important; flex-direction: column !important; align-items: center !important; width: 100% !important; }
    .hero h1 { width: 100% !important; font-size: clamp(2rem, 8vw, 2.8rem) !important; margin: 0 auto !important; }
    .hero-subtitle { margin: 0 auto !important; width: 95% !important; }
    
    .grid, .features-grid, .step-grid, .why-choose { 
        grid-template-columns: 1fr !important; 
        width: 100% !important;
        max-width: 100% !important;
        justify-items: center !important;
        text-align: center !important;
    }
    
    .aut, .apt, .why-choose { width: 100% !important; margin: 0 !important; padding: 0 !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
    #pau, .step p, #wcs { text-align: center !important; margin: 0 auto 1.5rem !important; width: 90% !important; font-size: 1rem !important; line-height: 1.6 !important; }
    
    .au, .ap, h4 { text-align: center !important; margin: 2rem auto 1rem !important; width: 100% !important; font-size: 2rem !important; padding: 0 1rem !important; box-sizing: border-box !important; }
    
    .approach { padding: 40px 0 !important; width: 100% !important; margin: 0 !important; box-sizing: border-box !important; }
    
    .wc-card { border-radius: 20px !important; padding: 1.5rem !important; width: 90% !important; max-width: 400px !important; margin: 0 auto !important; }
    
    .step { 
        width: 92% !important; 
        max-width: 92% !important; 
        min-width: 92% !important; 
        padding: 2rem 1rem !important; 
        margin: 0 auto 1.5rem !important; 
        text-align: center !important; 
        display: flex !important; 
        flex-direction: column !important; 
        align-items: center !important; 
        box-sizing: border-box !important;
    }
    
    .step h3 { font-size: 1.2rem !important; margin-bottom: 0.8rem !important; line-height: 1.4 !important; }
    .step p { width: 100% !important; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem !important; }
    .section-title, .au, .ap, h4 { font-size: 1.8rem !important; text-align: center !important; }
    .step { text-align: center !important; width: 95% !important; padding: 1.5rem !important; border-radius: 20px !important; }
    .step h3 { font-size: 1.2rem !important; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem !important; }
    .hero-btns { flex-direction: column !important; width: 100% !important; }
    .hero-btns .btn, .btn2 { width: 90% !important; text-align: center !important; margin: 10px auto !important; }
    .stats { grid-template-columns: 1fr !important; }
}
