/* ===============================
   THEME TOKENS (UNCHANGED LOOK)
=============================== */
:root {
    --color-white: rgba(255, 255, 255, 1);
    --color-black: rgba(0, 0, 0, 1);
    --color-cream-50: rgba(252, 252, 249, 1);
    --color-cream-100: rgba(255, 255, 253, 1);
    --color-gray-200: rgba(245, 245, 245, 1);
    --color-gray-300: rgba(167, 169, 169, 1);
    --color-gray-400: rgba(119, 124, 124, 1);
    --color-slate-500: rgba(98, 108, 113, 1);
    --color-brown-600: rgba(94, 82, 64, 1);
    --color-slate-900: rgba(19, 52, 59, 1);
    --color-primary: #FA743E;
    --color-primary-hover: #21808d;
    --color-border: rgba(94, 82, 64, 0.2);
    --color-surface: var(--color-cream-100);
    --color-background: var(--color-cream-50);
    --color-text: var(--color-slate-900);
    --color-text-secondary: var(--color-slate-500);

    --font-family-base: "outfit", sans-serif;
    --font-size-base: 14px;
    --font-size-lg: 16px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 30px;
    --font-weight-normal: 400;
    --font-weight-bold: 600;
    --line-height-normal: 1.5;

    --container-xl: 1280px;
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-32: 32px;

    --radius-base: 8px;
    --radius-lg: 12px;
    --radius-xl: 40px;

    --shadow-card: 0 8px 32px 0 rgba(22, 45, 69, 0.12);

    --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===============================
   RESET & BASICS
=============================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "outfit", sans-serif;
    color: var(--color-text);
    background: var(--color-background) url("images/background.png") no-repeat top center / cover;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    
}

/* ===============================
   BUTTONS
=============================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    text-transform: capitalize;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px 0 rgba(250, 116, 62, 0.10);
    transition: background 0.2s, transform 0.18s;
}

.btn--primary:hover,
.btn--primary:focus {
    /* background: var(--color-primary-hover); */
    transform: translateY(-2px) scale(1.04);
}

.btn--sm {
    font-size: 0.95rem;
    padding: 0.55em 1.6em;
}

.btn-outline {
    font-size: 20px;
    font-weight: 600;
    background: none;
    color: var(--color-primary);
    text-decoration: underline;
    padding: 2rem;
}

/* ===============================
   HERO (with responsive flex/grid)
=============================== */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
    margin: 6rem auto;
}

.hero__content {
    flex: 1 1 320px;
    max-width: 600px;
    margin-left: 16rem;
}

.hero__heading-1 {
    display: block;
    color: #151F4C;
    /* letter-spacing: 0.01em; */
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: -20px;
}

.hero__heading-2 {
    display: block;
    color: var(--color-text);
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0.165em;
    /* letter-spacing: -0.03em; */
    line-height: 1.08;
}

.hero__heading-3 {
    display: block;
    color: var(--color-primary);
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero__desc {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    margin: 1rem 0 1.2rem 0;
}

.hero__visual {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__visual img {
    width: 600px;
    height: auto;
}

/* ===============================
   FEATURES GRID (responsive)
=============================== */
.features {
    margin: 6rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.section__heading {
    color: #151F4C;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 0.3em 0;
    letter-spacing: -0.01em;
}

.features .section__subheading {
    text-align: center;
    width: 80%;
    margin: 0 auto 2.1em auto;
    color: grey;
    font-size: 1.3rem;
}

.features__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.feature-card {
    background: var(--color-surface);
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    text-align: center;
    padding: 2.3rem 1.3rem 1.8rem 1.3rem;
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 220px;
    max-width: 430px;
    min-height: 420px;
    border: 1.2px solid var(--color-border);
    transition: box-shadow .2s var(--transition-base), transform .15s;
    margin: 0 auto;
}

.feature-card:hover,
.feature-card:focus-within {
    box-shadow: 0 8px 32px 0 rgba(22, 45, 69, 0.12);
    transform: scale(1.02) translateY(-5px);
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    width: 100%;
    font-size: 2.06rem;
    margin: 0 auto 0.75rem auto;
}

.feature-card h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #151F4C;
    width: 80%;
    margin: 0.5rem auto 0.7rem auto;
}

.feature-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin: 0 auto;
    width: 88%;
}

/* ===============================
   WHY CHOOSE US
=============================== */
.why-choose {
    background: url(images/360\ Monetization\ Solutions.png);
    background-size: cover;
    padding: 6rem 1.5rem;
    margin: 4rem auto;
    color: white;
}

.why-choose__container {
    display: flex;
    gap: 2.7rem;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    width: 80%;
    /* margin: 0 5rem; */
    margin: 0 auto;
}

.why-choose__content {
    flex: 1 1 340px;
    min-width: 270px;
    max-width: 770px;
}

.why-choose__content h2 {
    text-align: left;
    color: white;
    font-size: 3rem;
    margin: 0 0 0.5rem 0;
}

.section__subheading {
    color: rgba(255, 255, 255, 0.705);
    font-size: 1.5rem;
    margin: 0;
    text-align: left;
    width: 60%;
}

.why-choose__bullets {
    margin: 1.3em 0;
    padding: 0;
    list-style: none;
    color: white;
}

.why-choose__bullets li {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 0.27em;
    color: white;
}

.why-choose__visual {
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    max-width: 480px;
}

.why-choose__visual img {
    width: 100%;
    border-radius: 1.1rem;
    box-shadow: 0 10px 36px 0 rgba(24, 28, 60, 0.07);
}

.contact-card {
    width: 320px;
    padding: 2rem 1rem;
}

.info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-box i {
    border: 1px solid #FA743E;
    padding: 15px;
    border-radius: 50%;
    font-size: 25px;
    color: #ffffff;
    /* Orange icon */
    margin-right: 15px;
    margin-top: 3px;
}

.info-text h3 {
    margin: 0;
    font-size: 25px;
    font-weight: 400;
}

.info-text p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #ddd;
}

a {
    color: #ddd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #ff5722;
}

/* ===============================
   CATEGORIES (if used)
=============================== */
.categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

/* ===============================
   CONTACT FORM
=============================== */
.contact-form {
    padding: 0;
}
.section-subtitle{
    font-size: 2rem;
    color: #151f4cc9;
    text-align: center;
}
.contact-form .container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-form h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 3rem auto 0;
    width: 94%;
    padding: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--color-white);
    color: var(--color-text);
}

.form-control:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--color-focus-ring, #21808d30);
}

.form-actions {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
}

/* ===============================
   FOOTER (basic optional styles)
=============================== */
.footer {
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* ===============================
   RESPONSIVE BREAKPOINTS
=============================== */
/* >= 1280 context tweaks */
@media (min-width: 1280px) {
    .hero {
        margin: 6rem auto;
        width: 90%;
    }
}
@media (min-width: 1024px) {
  body{
    transform: scale(0.8);
  margin: 0 auto;
  transform-origin: top left;
  width: 125.11%;    /* compensate for scale (1 / 0.9 ≈ 111%) */
  margin-bottom: -74rem;
  overflow-x: hidden; 
  }
}
/* Desktop to tablet (<= 1024) */
@media (max-width: 1024px) {
    

    .hero {
        gap: 2.9rem;
        min-height: 400px;
        margin: 4rem auto;
    }

    .features__cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .categories__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Tablets (<= 900) */
@media (max-width: 900px) {
    .container {
        max-width: 99vw;
    }

    .why-choose__container {
        flex-direction: column;
        gap: 1.1rem;
        align-items: flex-start;
    }

    .why-choose {
        padding: 2rem 0;
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Mobile nav & layout (<= 768) */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        gap: 2rem;
        padding: 1.5rem 0;
    }

    .hero__content {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero__content h1 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .hero__heading-1,
    .hero__heading-3 {
        font-size: 2.2rem;
    }

    .features__cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra small (<= 480) */
@media (max-width: 480px) {
    .hero {
        padding: 1rem 0;
    }

    .btn,
    .btn-outline {
        width: 100%;
        max-width: 280px;
    }

    .feature-card,
    .category-card {
        padding: 1.1rem 0.75rem;
    }

    .nav-menu {
        width: 100%;
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-grid{
        width: 85%;
    }
}

/* Micro (<= 420) */
@media (max-width: 420px) {
    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    html {
        font-size: 15px;
    }

    .container {
        padding: 0 0.5rem;
    }

    .section__heading {
        font-size: 1.5rem;
    }

    .hero__heading-2 {
        font-size: 1.35rem;
    }

    .hero__heading-3 {
        font-size: 1.09rem;
    }
}