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

:root {
    --bg: white;
    --textcolor: black;
    --accentcolor1: #1c2b39;
    --accentcolor2: #00FF77;
    --accentcolor3: #ff9d00;
    --accentcolor4: #0047ab;
    --container: 1280px;
    --content: 760px;
}

@font-face {
    font-family: "web";
    src: url("../Assets/fonts/Font.ttf") format("truetype");
    font-display: swap;
}

body {
    background-color: var(--bg);
    font-family: "web", Arial, sans-serif;
    color: var(--textcolor);
    line-height: 1.75;
    scroll-behavior: smooth;
}

main,
section {
    margin: 0px auto 50px auto !important;
}

/* DESKTOP NAVBAR */
header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--accentcolor1);
    position: sticky;
    border-bottom: 2px solid var(--accentcolor3);
    top: 0;
    width: 100%;
    z-index: 100;
}

.hidden {
    display: none;
}

.logo img {
    max-width: 90%;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-size: 19px;
    font-weight: 600;
    color: var(--bg);
    padding: 10px;
    align-self: center;
    transition: all 0.3s ease-in-out;
}

.navbutton {
    text-decoration: none;
    font-size: 19px;
    color: var(--accentcolor1);
    align-self: center;
    padding: 2px 12px;
    border-radius: 15px;
    border: 2px solid var(--accentcolor3);
    background-color: var(--accentcolor3);
    transition: all 0.3s ease-in-out;
}

.navbutton:hover {
    background-color: var(--accentcolor1);
    border: 2px solid var(--accentcolor3);
    color: var(--accentcolor3);
}

.nav-link:hover {
    color: var(--accentcolor3);
}

.nav-link.active {
    color: var(--accentcolor3);
}

/* DRAWER MENU FOR MOBILE */
.drawer {
    position: fixed;
    left: -100%;
    width: 100vw;
    padding: 1rem;
    transition: 0.3s all ease;
    z-index: 100;
    display: flex;
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    height: 100vh;
}

.drawer.open {
    left: 0%;
    top: 0;
    text-align: center;
}

.drawer .nav-link {
    text-decoration: none;
    color: var(--bg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.3rem;
    transition: all 0.3s ease-in-out;

}

.drawer .nav-link:hover {
    color: var(--orange);
}

.mobilenav {
    display: flex;
    justify-content: space-between;
    align-items: start;
    background-color: var(--accentcolor1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.menu-icon {
    position: absolute;
    top: 1.7rem;
    left: 1.5rem;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-icon span {
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    background: var(--bg);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon span:nth-child(3) {
    bottom: 0;
}

/* Transform Menu Icon into Cross Icon */
.menu-icon.open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-icon.open span:nth-child(2) {
    opacity: 0;
}

.menu-icon.open span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.mobile-logo {
    display: none;
    text-align: center;
    padding: 5px 10px;
    position: sticky;
    top: 0;
    width: 100vw;
    z-index: 100;
    border-bottom: 2px solid var(--accentcolor3);
}

.mobile-logo a img {
    max-width: 80%;
    height: auto;
    padding: 10px;
}

.promobar {
    position: relative;
    background: var(--accentcolor3);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 2rem;
    transition: all 0.5s ease;
}

.promobar p {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 400;
    color: var(--textcolor);
    text-align: center;
    flex: 1;
}

.promobar span {
    font-weight: 800;
}

.promobar svg {
    width: 20px;
    height: 20px;
    fill: var(--textcolor);
    cursor: pointer;
    transition: all 0.3s ease;
}

.promobar svg:hover {
    transform: scale(1.1);
}

.promobar.fade-out {
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.headingh1,
.heading {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: normal;
    margin-bottom: 1.4rem;
    text-align: left;
}

.headingh1 {
    font-size: 2.7rem !important;
    font-weight: 900 !important;
}

.headingspan {
    color: var(--accentcolor3);
}


.mainpara {
    font-size: 1.3rem;
    color: var(--textcolor);
    line-height: 1.7;
    padding: 10px;
    max-width: 80%;
}

.boxheading {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--bg);
}

.boxpara {
    font-size: 1rem;
    color: var(--bg);
}

.hyperlink {
    color: var(--accentcolor4);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.hyperlink:hover {
    border-color: var(--accentcolor4);
}

.link {
    font-size: 1rem;
    color: var(--bg);
    cursor: pointer;
}

/* General Footer Styling */
footer {
    background-color: var(--accentcolor1);
    color: var(--bg);
    padding: 1rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100vw;
    margin: 0 auto;
}

.footer-section {
    padding: 1rem;
}

.footer-section h3 {
    font-size: 30px;
    margin-bottom: 10px;
    color: var(--bg);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 7px;
}

.footer-section ul li a {
    text-decoration: none;
    color: var(--bg);
    padding-left: 4px;
    transition: all 0.3s ease;
}

.footer-section span {
    align-self: center;
}

.footer-section ul li a:hover {
    color: var(--accentcolor3);
}

.active {
    color: var(--accentcolor3) !important;
}


/* Logo and Social Icons */
.logo-section .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.socialicons a {
    text-decoration: none;
}

.socialicons svg {
    fill: var(--accentcolor3);
    width: 40px;
    transition: all 0.3s ease;
}

.socialicons svg:hover {
    fill: var(--bg);
}


.bottomrow {
    display: flex;
    color: var(--bg);
    justify-content: center;
    width: 100%;
    gap: 2rem;
    align-items: center;
    padding: 5px 2rem;
    font-size: 1rem;
}

.faqsection {
    max-width: 1200px;
    margin: 5rem auto;
}

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

.accordion-item {
    overflow: hidden;
}

.accordion-item.top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.accordion-item.bottom {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom: none;
}

.accordion-header {
    background-color: var(--accentcolor1);
    color: var(--bg);
    font-size: 1.2rem;
    padding: 1.5rem 1.5rem;
    text-align: left;
    width: 100%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: all 0.5s ease;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    background-color: var(--accentcolor3);
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body p {
    margin: 0.8rem 1.5rem;
    color: var(--textcolor) !important;
}

.accordion-item.active .accordion-body {
    max-height: 500px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

/* =====================================================
     BLOG LAYOUT
  ===================================================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.blog-content-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    padding: 2rem 0;
}

/* =====================================================
     BLOG CONTENT
  ===================================================== */
.blog-details {
    max-width: var(--content);
}

.blog-details p {
    font-size: 1rem;
    color: var(--textcolor);
    margin-bottom: 1.4rem;
}

.blog-details img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 2rem 0;
    display: block;
}

/* =====================================================
     POINTS LIST
  ===================================================== */
.pointslistul {
    margin-bottom: 1.4rem;
    padding-left: 1rem;
}

.pointslist {
    margin: 0 !important;
    font-size: 1rem !important;
    color: var(--textcolor) !important;
    padding-left: 1.5rem !important;
}


/* =====================================================
     LISTS
  ===================================================== */
.blog-details li {
    list-style: none;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 1.8rem 0 0.4rem;
    padding-left: 2rem;
    position: relative;
}

.blog-details li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accentcolor3);
}

/* =====================================================
     TABLE
  ===================================================== */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
}

td {
    color: var(--textcolor);
    border: 2px solid var(--accentcolor1);
    padding: 8px 15px;
}

th {
    background-color: var(--accentcolor3);
    color: var(--textcolor);
    font-weight: 600;
    padding: 8px;
    border: 2px solid var(--accentcolor1);
}

/* =====================================================
     SIDEBAR
  ===================================================== */
.blog-sidebar {
    position: sticky;
    top: 13%;
    align-self: start;
}

.sidebar-card {
    padding: 1.6rem;
}

.sidebar-card h3,
.sidebar-card h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* =====================================================
     TABLE OF CONTENTS
  ===================================================== */
.toc-list {
    list-style: none;
}

.toc-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 15px;
    color: var(--textcolor);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.toc-list a:hover {
    background: #f3f4f6;
}

.toc-list a.active {
    background: var(--accentcolor3);
    color: var(--textcolor) !important;
}

.toc-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accentcolor1);
}

/* =====================================================
     CTA CARD
  ===================================================== */
.cta-card {
    background: var(--accentcolor1);
    color: var(--bg);
    border: none;
    border-radius: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-card h3 {
    margin-bottom: 0;
}

.cta-button {
    padding: 5px 10px;
    background: var(--accentcolor3);
    border: 2px solid transparent;
    color: var(--textcolor);
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: none;
    color: var(--accentcolor3);
    border: 2px solid var(--accentcolor3);
}

/* =====================================================
     BACK BUTTON
  ===================================================== */
.back-button-container {
    margin-top: 4rem;
}

.back-button {
    padding: 0.75rem 1.5rem;
    background: var(--accentcolor3);
    border: 2px solid transparent;
    color: var(--textcolor);
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: none;
    color: var(--accentcolor3);
    border: 2px solid var(--accentcolor3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media only screen and (max-width:1400px) {
    .mainpara {
        font-size: 1.2rem;
    }

    .boxheading {
        font-size: 1.3rem;
    }

    .boxpara {
        font-size: 0.9rem;
    }
}


@media only screen and (max-width:1200px) {
    nav {
        padding: 1rem 2rem;
    }

    .nav-links {
        gap: 0rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 1rem 0.8rem;
    }

    .logo img {
        max-width: 90%;
        height: auto;
    }
}

@media only screen and (min-width: 821px) {
    .drawer {
        display: none;
    }

    .footerline {
        display: none !important;
    }

    .menu-icon {
        display: none;
    }
}

@media only screen and (max-width: 820px) {
    header {
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    nav {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .mobile-logo {
        display: block;
    }

    .boxheading {
        font-size: 1.4rem;
    }

    .boxpara {
        font-size: 1rem;
    }

    .bottomrow {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0rem;
    }

    .contact-info a {
        color: #ffffff;
        text-decoration: none;
    }

    .promobar {
        z-index: 3;
    }

    .promobar p {
        font-size: 15px;
    }

    table {
        overflow-x: auto;
    }

    .mainpara {
        max-width: 100%;
        padding: 10px;
        text-align: center;
    }

    .logo img {
        max-width: 100%;
        height: auto;
    }

    .socialicons {
        padding-top: 1.5rem;
        justify-content: center;
    }

    .footer-container {
        justify-content: center;
    }

    .footer-section {
        width: 100%;
        text-align: center;
    }

    .footernav {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footernavlinks {
        padding: 0px 12px;
    }

    .footercontact {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .bottomrow {
        margin-top: 1rem;
        align-items: center;
    }

    .blog-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-details h2.heading {
        font-size: 2rem;
        margin-top: 4rem;
    }

    .blog-details h3.heading {
        font-size: 1.5rem;
        margin-top: 3rem;
    }

}

@media only screen and (max-width: 600px) {
    section {
        margin: 0rem auto 2.5rem auto !important;
    }

    .accordion-header {
        font-size: 1.1rem;
        gap: 0.7rem;
    }

    .blog-content-wrapper {
        padding: 3rem 0;
    }

    .blog-details p {
        font-size: 1rem;
    }

    .headingh1 {
        font-size: 2.5rem !important;
    }

    .heading {
        font-size: 2.1rem;
    }
}

@media only screen and (max-width: 376px) {
    .footernavlinks {
        padding: 0px 10px;
    }
}