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

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

:root {
    /* ===== Brand Colors ===== */
    --color-primary: #ea1826;
    --color-secondary: #29324c;

    /* ===== Neutral Colors ===== */
    --color-white: #ffffff;
    --color-gray: #909090;

    /* ===== Text Colors ===== */
    --text-primary: #2b3958;
    --text-secondary: #909090;
    --text-inverse: #ffffff;

    /* ===== Background Colors ===== */
    --bg-primary: #d44637;
    --bg-secondary: #5f8c3e;
    --bg-third: #e15a1a;

    /* ===== UI States ===== */
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
}


body {
    font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    background: linear-gradient(180deg,
            rgba(255, 180, 120, 0.18) 0%,
            rgba(255, 200, 150, 0.08) 35%,
            #ffffff 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

ul,
ol {
    list-style: none;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.25;
}

/* Individual heading sizes */
h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
}

h5 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

h6 {
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* Paragraph */
p {
    font-size: clamp(1.8rem, 2.5vw, 2rem);
    margin-bottom: 0rem;
}

/* Lists */

li {
    font-size: clamp(1.8rem, 2.5vw, 2rem);
    margin-bottom: 0.5rem;
}

/* Remove margin-bottom from last child */
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
p:last-child,
li:last-child {
    margin-bottom: 0;
}

/* container  */
.container {
    max-width: 1300px;
    width: 90%;
    margin: auto;
}

/* flex class */
.flex {
    display: flex;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.center {
    justify-content: center;
}

.aligncenter {
    align-items: center;
}

.flex-between {
    justify-content: space-between;
}

.flex-end {
    justify-content: flex-end;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-sm {
    gap: 1rem;
}

.gap-md {
    gap: 2rem;
}

.gap-lg {
    gap: 4rem;
}

/* section */
section {
    width: 100%;
    height: auto;
    padding: 3rem 0;
}

.heading-block {
    width: 100%;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

h5.heading {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-primary);
}

.heading-block hr {
    width: 150px;
    margin: 0.5rem auto;
    height: 2px;
    background: #aeaeaf;
    border: none;
}

/* header */

.hero {
    width: 100%;
    height: auto;
    background: linear-gradient(180deg,
            rgba(255, 180, 120, 0.18) 0%,
            rgba(255, 200, 150, 0.08) 35%,
            #ffffff 100%), url("../media/main-banner.webp") center/cover no-repeat;
    padding: 0 0;
}

header {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ================= NAVBAR ================= */
.main-nav {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

.main-nav.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    width: 100%;
    background: var(--color-white);
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.logo img {
    width: 180px;
}

/* cta flex */
.cta-flex {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.cta-flex a {

    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    box-shadow: 0 3px 5px #423b3b;
    transition: opacity 0.5s ease-in;
    color: var(--color-white);

}

.cta-flex a:hover {
    opacity: 0.8;
}

/* multiple btn */
.btn--primary {
    background: var(--bg-primary);
}

.btn--whatsapp {
    background: var(--bg-secondary);
}

.btn--accent {
    background: var(--bg-third);
}

.hero-section-flex {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 3rem 0;
    gap: 1rem;
}

.hero-flex-inner {
    flex: 1 0 calc(50% - 1rem);
}

.heroblock {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pointers li {
    position: relative;
    padding-left: 30px;
}

.pointers li span {
    color: var(--text-primary);
}

.pointers li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bg-third);
    font-size: 2rem;
}

.hero-cta-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.hero-cta-flex a {
    flex: 1;
    flex-basis: calc(50% - 1rem);
    justify-content: center;
}

.icon-flex {
    flex: 1;
    flex-basis: calc(33.3% - 1rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.icon-flex:not(:last-child) {
    border-right: 1px solid var(--text-primary);
}

.icon-flex img {
    width: 50px;
    flex-shrink: 0;
}

.icon-flex span {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* form conatiner */
.formContainer {
    max-width: 400px;
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: auto;
}

.apply-form,
.formbox {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.apply-form h3 {
    text-align: center;
    font-size: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #aeaeaf;
}

.formbox {
    gap: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #c1c1c1;
    border-radius: 6px;
    font-size: 1.6rem;
    background: var(--text-inverse);
}

.radio-group {
    margin: 10px 0;
    font-size: 14px;
    color: var(--text-primary);
}

.radio-group label {
    margin-right: 15px;
    cursor: pointer;
}

.success {
    color: green;
}

.error {
    color: red;
}

.btn-apply {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: var(--bg-third);
    color: var(--text-inverse);
    font-size: 1.6rem;
    cursor: pointer;
}

.btn-apply:hover {
    opacity: 0.9;
}


.btn-apply:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.note {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}


.flex-box {
    width: 100%;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}


.inner-box {
    flex: 1;
    flex-basis: calc(350px - 1rem);
}

.card-box {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 3px #a8a8a8;
}

.card-box img {
    width: 100%;
}

.card-box iframe{
    width:100%;
    height:200px;
}

.card-box h3 {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

p.sbottomtext {
    margin-top: 2rem;
    color: var(--text-primary);
    text-align: center;
}

p.sbottomtext span {
    color: var(--bg-third);
    font-weight: 800;
}

.pointerflex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem;
    border: 2px solid #aeaeaf;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pointerflex li {
    flex: 1 0 calc(50% - 1rem);
    position: relative;
    padding-left: 30px;
}

.pointerflex li::before {
    content: "\f14a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bg-secondary);
    font-size: 2rem;
}


/* time line section */

.timeline {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}

.right {
    left: 50%;
}

/* Center vertical line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--text-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Container around content */
.timeline-box {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    background: linear-gradient(to top, rgba(255, 180, 120, 0.18) 0%, rgba(255, 200, 150, 0.08) 35%, #ffffff 100%);
}


.timeline-box::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--bg-third);
    top: 12px;
    border-radius: 50%;
    z-index: 2;
}

.timeline-box:nth-child(even)::after {
    background-color: var(--bg-secondary);
}

.left::after {
    right: -8px;
}

.right::after {
    left: -8px;
}

.left .content {
    text-align: right;
}

.content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-secondary);
}

.content h3 {
    color: var(--text-primary);
    font-size: clamp(2rem, 2.5vw, 2.5rem);
    font-weight: 800;
}

.content p {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
}

/* review box  */
.review-flex {
    max-width: 1100px;
    margin: auto;
}

.review-content {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    padding: 10px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom, transparent, rgba(255, 164, 107, 0.705));
    color: var(--text-inverse);
}

.review-content h4 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.bottom-cta-container {
    max-width: 650px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgb(240, 160, 106);
    background: rgb(255, 238, 226);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* footer  */

footer {
    width: 100%;
    height: auto;
    padding: 1rem 0;
    background: var(--bg-third);
}

.copyright {
    width: 100%;
}

.copyright p {
    text-align: center;
    color: var(--text-inverse);
}

.whatsappcta {
    width: 5rem;
    height: 5rem;
    position: fixed;
    bottom: 5%;
    right: 5%;
}

.whatsappcta a {
    width: 5rem;
    border-radius: 50%;
    height: 5rem;
    background: #25d366;
    display: grid;
    place-content: center;
}

.whatsappcta a i {

    font-size: 3rem;
    color: var(--text-inverse);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100lvh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-box {
    padding: 20px;
    max-width: 400px;
    width: 95%;
    position: relative;
    border-radius: 8px;
}

.close-popup {
    position: absolute;
    right: -5rem;
    top: 5px;
    font-size: 16px;
    cursor: pointer;
    background: var(--text-inverse);
    width: 30px;
    height: 30px;
    color: var(--text-primary);
    display: grid;
    place-content: center;
}