/* ======= Base ======= */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: #1e1e1e;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ======= Navbar ======= */
.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1e3a8a;
}

.logo img {
    height: 40px;
    margin-right: 8px;
}

.logo small {
    font-size: 0.8rem;
    font-weight: 400;
    color: #555;
}

.navbar nav a {
    margin: 0 15px;
    text-decoration: none;
    color: rgba(24, 29, 39, 1);
    font-weight: 400;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: #2563eb;
}

.btn-download {
    background: rgba(48, 87, 221, 1);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 400;
    text-decoration: none;
}
.emoji-icon {
    width: 0.8em;
    height: 1.3em;
    vertical-align: middle;
    margin-right: 0.4em;
    display: inline-block;
}


/* Responsive Navbar */
@media screen and (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .navbar nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }

    .navbar nav a {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .navbar nav.active {
        display: flex;
    }
}

/* ======= Hero Section ======= */
.hero {
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(178, 196, 255, 1) 0%,
        rgb(255, 255, 255) 100%
    );
    padding: 40px 20px 60px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(2, 26, 96, 1);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(83, 88, 98, 1);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.store-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 80px;
    gap: 15px;
}

.btn-store {
    display: inline-block;
    margin: 0 10px;
    padding: 7px 20px;
    border-radius: 20px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    transition: background 0.3s ease;
}

.store-icon {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    margin-right: 0.4em;
    display: inline-block;
    transition: background 0.3s ease;
}

.playstore {
    background: #2563eb;
}

.appstore {
    background: #1e40af;
}

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

/* =========================
   Hero Phone Images
========================= */
.phone-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-top: 130px;
    flex-wrap: nowrap; /* keep side by side until very small */
}

.phone-images img {
    width: 220px;
    transition: transform 0.3s ease;
    z-index: 2;
}

.phone-images img.middle {
    transform: scale(1.1) translateY(-20px);
    z-index: 3;
}

/* Full-width white transparency gradient */
.phone-images::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 98vw;
    height: 200px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        #ffffff 90%
    );
    pointer-events: none;
    z-index: 4;
}

@media (max-width: 768px) {
    .phone-images img {
        width: 120px; /* reduce image width */
    }

    .phone-images img.middle {
        transform: scale(1.05) translateY(-10px); /* smaller lift */
    }

    .phone-images {
        gap: 15px; /* reduce spacing between images */
        margin-top: 80px; /* tighten layout on small screens */
    }
}


/* =========================
   Responsive Adjustments
========================= */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 0.85rem;
        max-width: 500px;
    }
    /* .phone-images img {
        width: 180px;
    } */
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 1.3rem;
    }
    .hero p {
        font-size: 0.6rem;
        max-width: 90%;
    }
    /* .phone-images img {
        width: 160px;
    } */
}

/* ✅ Only stack on very small screens */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.3rem;
    }
    .hero p {
        font-size: 0.6rem;
    }

    /* .phone-images {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .phone-images img {
        width: 120px;
        transform: none !important;
    } */

    .store-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* ======= Features ======= */
.features-section {
    width: 100%;
    max-width: 1200px; /* keeps content centered within a nice width */
    margin: 0 auto; /* centers section horizontally */
    padding: 10px 5%;
    background-color: #fff;
    text-align: center;
    box-sizing: border-box;
}

/* Section Heading */
.features-section p {
    font-size: 12px;
    font-weight: 500;
    color: rgba(6, 53, 209, 1);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.features-section h2 {
    font-size: 30px;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.features-section h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #4f46e5);
    display: block;
    margin: 15px auto 0;
    border-radius: 4px;
}

/* =========================
   Feature Blocks
========================= */
.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
    text-align: left;
}

.feature.reverse {
    flex-direction: row-reverse;
}

/* =========================
   Feature Text
========================= */
.feature-text {
    flex: 1;
    max-width: 500px;
}

.feature-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.feature-text ul {
    list-style-type: disc;
    padding-left: 20px;
}

.feature-text li {
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================
   Feature Image
========================= */
.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-image img:hover {
    transform: scale(1.03);
}

/* =========================
   Responsive Design
========================= */
@media (max-width: 992px) {
    .feature {
        flex-direction: column;
        text-align: center;
        margin-bottom: 80px;
        gap: 40px;
    }

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

    .feature-text,
    .feature-image {
        max-width: 100%;
    }

    .feature-text ul {
        list-style-position: inside;
        text-align: left;
        margin: 0 auto;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 50px 5%;
        max-width: 95%;
    }

    .features-section h2 {
        font-size: 26px;
        margin-bottom: 50px;
    }

    .feature-text h3 {
        font-size: 1.2rem;
    }

    .feature-text li {
        font-size: 0.9rem;
    }

    .feature-image img {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 40px 20px;
        max-width: 100%;
    }

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

    .feature {
        gap: 30px;
        margin-bottom: 60px;
    }

    .feature-text h3 {
        font-size: 1rem;
    }

    .feature-text li {
        font-size: 0.85rem;
    }

    .feature-image img {
        max-width: 250px;
    }
}

/* ======= How It Works ======= */
.how-it-works{
    margin: 0;
    padding: 0;
    margin-bottom: 90px;

}
.how-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 5px 8%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.how-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.how-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    display: block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.how-image:hover {
    transform: scale(1.03);
}
/* Divider between image and steps */
.how-divider {
    width: 1px;
    height: 250px;
    background: linear-gradient(180deg, #007bff, #4f46e5);
    border-radius: 2px;
}

/* Responsive: hide divider on small screens */
@media (max-width: 768px) {
    .how-divider {
        display: none;
    }
}
.how-right {
    flex: 1;
    min-width: 300px;
}

.how-it-works p {
    font-size: 12px;
    font-weight: 500;
    color: rgba(6, 53, 209, 1);
    text-align: center;
    margin-bottom: 10px;
    padding-top: 20px;
    text-transform: uppercase;
}

.how-it-works h2 {
    font-size: 30px;
    font-weight: 600;
    color: rgba(0, 0, 0, 1);
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.how-it-works h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #4f46e5);
    display: block;
    margin: 15px auto 0;
    border-radius: 4px;
}

/* =========================
   Steps Styling
========================= */
.how-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    word-break: break-word;
}

.step-icon {
    background-color: #1a73e8;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.step-text {
    flex: 1;
    min-width: 0;
}

.step-text strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.step-text p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    word-wrap: break-word;
}

/* =========================
   Responsive Design
========================= */
@media (max-width: 992px) {
    .how-wrapper {
        padding: 50px 5%;
        gap: 40px;
    }

    .how-it-works h2 {
        font-size: 26px;
        margin-bottom: 50px;
    }

    .how-image {
        max-width: 400px;
        width: 100%;
        height: auto;
    }

    .step-text p {
        font-size: 13.5px;
    }
}

@media (max-width: 768px) {
    .how-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 45px 6%;
        gap: 35px;
    }

    .how-left,
    .how-right {
        width: 100%;
        text-align: center;
    }

    .how-image {
        max-width: 350px;
        width: 100%;
        height: auto;
        margin: 0 auto 25px;
    }

    .step {
        justify-content: center;
        text-align: left;
        gap: 12px;
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .how-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 15px;
        gap: 25px;
    }

    .how-it-works h2 {
        font-size: 20px;
        margin-bottom: 30px;
        line-height: 1.3;
        padding: 0 10px;
    }

    .how-image {
        max-width: 240px;
        width: 100%;
        height: auto;
        margin: 0 auto 20px;
        border-radius: 15px;
    }

    .how-divider {
        width: 70%;
        height: 2px;
        background: linear-gradient(90deg, #007bff, #4f46e5);
        margin: 10px auto 20px;
        border-radius: 2px;
    }

    .step {
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        margin: 0 auto;
        width: 100%;
        max-width: 320px;
    }

    .step-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .step-icon img {
        width: 16px;
        height: 16px;
    }

    .step-text strong {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .step-text p {
        font-size: 0.6rem;
        line-height: 1.4;
        color: #666;
    }
}

@media (max-width: 360px) {
    .how-image {
        max-width: 200px;
    }

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

    .step-icon {
        margin-bottom: 8px;
    }

    .step-text p {
        font-size: 0.6rem;
    }
}

body {
    font-family: "Gilroy", sans-serif;
    background-color: #fff;
}

.faq-section {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    margin-bottom: 6rem;
}
.faq-section p {
    color: rgba(6, 53, 209, 1);
    font-size: 14;
    font-weight: 400;
    text-align: center;
    font-family: "Gilroy", sans-serif;
}

.faq-section h2 {
    color: rgba(0, 0, 0, 1);
    font-size: 38;
    font-weight: 600;
    text-align: center;
    font-family: "Gilroy", sans-serif;
}

.faq-container {
    gap: 10px;
    margin-top: 5rem;
}

.faq {
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none; /* prevents accidental text selection */
}

.faq-question {
    font-weight: 400;
    font-size: 18px;
    color: rgba(37, 43, 55, 1);
    font-family: "Gilroy", sans-serif;
    flex: 1; /* ensures consistent spacing */
}

.faq-icon {
    font-size: 14px;
    color: rgba(37, 43, 55, 1);
    transition: transform 0.3s ease;
    margin-left: 10px;
    flex-shrink: 0;
}

.faq.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    color: rgba(83, 88, 98, 1);
    line-height: 1.6;
    font-size: 14px;
    font-weight: 400;
    background-color: #fff;
    font-family: "Gilroy", sans-serif;
    padding-right: 5px;
}

.faq.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}

/* subscription  */
/* Center the whole section */
.sub-section {
    max-width: 2000px;
    margin: 0 auto;
    padding: 24px;
    gap: 24px;
    text-align: center;
    background-color: rgba(245, 247, 250, 1);
}
.sub-section p {
    color: rgba(6, 53, 209, 1);
    font-weight: 400;
    font-size: 14;
    letter-spacing: 1px;
    text-align: center;
}

.sub-section h2 {
    font-size: 38px;
    color: rgba(0, 0, 0, 1);
    text-align: center;
    font-weight: 600;
}

/* Grid container */
.sub-cards {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(300px, max-content)
    ); /* cards take only needed width */
    gap: 15px; /* space between cards */
    justify-content: center; /* center all cards */
    margin: 0 auto;
    margin-top: 5rem;
    align-items: stretch;
}

.subscription {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 30px;
    width: 300px; /* set card width */
    margin: 0 auto;
    justify-content: space-between; /* pushes button to bottom */
    height: 70%;
    min-height: 400px;
}

.subscription:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

/* subplan */
/* Align text inside .sub-plan to the right */
.sub-plan {
    text-align: left;
}

.sub-plan p {
    width: fit-content;
    padding: 6px 24px;
    border-radius: 50px;
    margin-left: 0;
    margin-right: auto;
    font-size: 14;
    font-weight: 500;
}

/* First card */
.sub-cards .subscription:nth-child(1) .sub-plan p {
    background-color: rgba(240, 244, 255, 1);
    color: rgba(6, 53, 209, 1);
    border-radius: 50px;
    width: 50%;
}

/* Second card */
.sub-cards .subscription:nth-child(2) .sub-plan p {
    background-color: rgba(236, 253, 243, 1);
    color: rgba(3, 152, 85, 1);
    border-radius: 50px;
    width: 50%;
}

/* Third card */
.sub-cards .subscription:nth-child(3) .sub-plan p {
    background-color: rgba(245, 243, 255, 1);
    color: rgba(124, 58, 237, 1);
    border-radius: 50px;
    width: 50%;
}

.sub-price {
    font-size: 22px;
    font-weight: 600;
    color: rgba(24, 29, 39, 1);
    margin-bottom: 1rem;
    text-align: left;
    margin-top: 1rem;
}

.sub-price span {
    font-size: 16px;
    font-weight: 400;
    color: rgba(24, 29, 39, 1);
}

.sub-price p {
    font-size: 14px;
    color: rgba(113, 118, 128, 1);
    margin: 5px 0 15px;
    font-weight: 400;
    text-align: left;
}

.sub-features {
    margin-top: 2rem;
    min-height: 200px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 25;
}

.sub-features p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(65, 70, 81, 1);
    font-size: 13.96px;
    margin: 8px 0;
}

.sub-features i {
    color: rgba(65, 70, 81, 1); /* green tick */
    font-size: 13px;
}

button {
    width: 100%;
    color: #fff;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 400;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* button 1 */
.sub-cards .subscription:nth-child(1) button {
    background-color: rgba(6, 53, 209, 1);
}

/* button  */
.sub-cards .subscription:nth-child(2) button {
    background-color: rgba(3, 152, 85, 1);
}

/* button 3 */
.sub-cards .subscription:nth-child(3) button {
    background-color: rgba(124, 58, 237, 1);
}
/* hover */
.sub-cards .subscription:nth-child(1) button {
    background-color: rgba(6, 53, 209, 1);
}

/* button  */
.sub-cards .subscription:nth-child(2) button {
    background-color: rgba(3, 152, 85, 1);
}

/* button 3 */
.sub-cards .subscription:nth-child(3) button {
    background-color: rgba(124, 58, 237, 1);
}
.sub-cards .subscription:nth-child(1) button:hover {
    background-color: rgba(3, 43, 180, 1); /* slightly darker blue */
    transform: translateY(-3px); /* subtle lift */
    box-shadow: 0 5px 15px rgba(6, 53, 209, 0.3);
}

/* Second button */
.sub-cards .subscription:nth-child(2) button {
    background-color: rgba(3, 152, 85, 1);
    transition: all 0.3s ease;
}

.sub-cards .subscription:nth-child(2) button:hover {
    background-color: rgba(2, 120, 68, 1); /* slightly darker green */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(3, 152, 85, 0.3);
}

/* Third button */
.sub-cards .subscription:nth-child(3) button {
    background-color: rgba(124, 58, 237, 1);
    transition: all 0.3s ease;
}

.sub-cards .subscription:nth-child(3) button:hover {
    background-color: rgba(95, 45, 180, 1); /* slightly darker purple */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0;
}
/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Tablets / landscape devices */
@media screen and (max-width: 1024px) {
    .sub-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .subscription {
        width: 100%; /* allow cards to shrink */
        max-width: 300px;
        padding: 25px;
    }

    .sub-price {
        font-size: 22px;
    }

    .sub-features p {
        font-size: 13px;
    }

    button {
        font-size: 14px;
        padding: 10px 0;
    }
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    .sub-cards {
        grid-template-columns: 1fr; /* stack vertically */
        gap: 20px;
    }

    .subscription {
        width: 90%;
        max-width: 350px;
        padding: 20px;
        margin: 0 auto;
    }

    .sub-section h3 {
        font-size: 32px;
    }

    .sub-price {
        font-size: 20px;
    }

    .sub-features p {
        font-size: 12.5px;
    }

    button {
        font-size: 14px;
        padding: 10px 0;
    }
}

/* Very small mobile screens */
@media screen and (max-width: 480px) {
    .sub-section h3 {
        font-size: 28px;
    }

    .sub-price {
        font-size: 18px;
    }

    .sub-features p {
        font-size: 12px;
        gap: 8px;
    }

    button {
        font-size: 13px;
        padding: 8px 0;
    }

    .sub-plan p {
        padding: 5px 18px;
    }
}

/* image section */
/* Container for the image section */
.img-section {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically if needed */
    padding: 20px;
    margin: 3rem 3rem; /* optional spacing */
}

/* Make the image responsive */
.img-section img {
    max-width: 100%; /* image won't exceed container width */
    height: auto; /* maintain aspect ratio */
    display: block; /* remove extra bottom space */
}
/* Tablets and smaller screens */
@media screen and (max-width: 1024px) {
    .img-section {
        margin: 3rem 2rem;
        padding: 15px;
    }
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    .img-section {
        margin: 2rem 1rem;
        padding: 10px;
    }

    .img-section img {
        width: 90%; /* shrink image slightly */
    }
}

/* Very small mobile screens */
@media screen and (max-width: 480px) {
    .img-section {
        margin: 1.5rem 0.5rem;
        padding: 5px;
    }

    .img-section img {
        width: 100%; /* fill almost entire screen width */
        height: 100%;
    }
}

/* Footer Styles */
footer {
    background-color: #fff;
    color: rgba(65, 70, 81, 1);
    padding: 40px 20px;
}

.footer-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 50px;
}

/* Footer left */
.footer-left img {
    display: block;
    width: 100px;
    height: 60px;
    margin-bottom: 15px;
}

.footer-left p {
    max-width: 300px;
    line-height: 1.6;
    font-size: 14px;
    color: rgba(37, 43, 55, 1);
    font-size: 16;
    font-weight: 400;
}

/* Footer right */
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 1rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav li {
    cursor: pointer;
    transition: color 0.3s;
    color: rgba(65, 70, 81, 1);
    font-size: 16;
    font-weight: 400;
}

.footer-nav li:hover {
    color: #93c5fd; /* light blue on hover */
}

.footer-nav li a {
    text-decoration: none;
    color: rgba(65, 70, 81, 1);
   
}

/* Social icons */
.footer-icons {
    display: flex;
    justify-content: right;
    padding: 4px 4px;
    gap: 5px;
}

.footer-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;

    background-color: rgba(6, 53, 209, 1); /* blue background */
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.3s, background-color 0.3s;
    padding: 4px 4px;
}

.footer-icons a:hover {
    transform: scale(1.1);
    background-color: #3b82f6;
}

.footer-bottom .Policy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.footer-bottom .Policy a {
    color: rgba(113, 118, 128, 1);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom .Policy a:hover {
    color: #1e40af;
}

/* Responsive for very small screens */
@media screen and (max-width: 480px) {
    .footer-bottom {
        flex-direction: column;
        margin-top: 0;
        gap: 10px;
    }

    .footer-bottom .Policy {
        justify-content: center;
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .footer-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }

    .footer-nav {
        justify-content: center;
        gap: 10px;
    }
    .footer-bottom {
        flex-direction: column;
        margin-top: 0;
        gap: 10px;
    }

    .footer-bottom .Policy {
        justify-content: center;
    }
}
/* Tablet screens (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .footer-section {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 30px 40px;
        gap: 20px;
    }

    .footer-left {
        flex: 1;
        text-align: left;
    }

    .footer-left img {
        max-width: 150px;
        height: auto;
    }

    .footer-left p {
        max-width: 250px;
        font-size: 13px;
        line-height: 1.4;
    }

    .footer-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        text-align: right;
    }

    .footer-right ul {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        padding: 0;
        margin: 0;
        list-style: none;
        justify-content: flex-end;
    }

    .footer-right ul li {
        font-size: 13px;
        cursor: pointer;
    }

    .footer-right .icons {
        display: flex;
        gap: 10px;
    }

    .footer-right .icons a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px 40px;
        font-size: 12px;
    }

    .footer-bottom .Policy {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 20px;
    color: rgba(113, 118, 128, 1);
    font-size: 14px;
    text-align: center;
    margin-top: 2rem;
}

#trigram {
    display: none;
}

.trigram {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.trigram span {
    width: 25px;
    height: 3px;
    background-color: rgba(48, 87, 221, 1);
    margin: 2px 0;
    border-radius: 5px;
}

.navbar {
    padding: 10px 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: sans-serif;
    position: relative;
}

/* Base nav links */
.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: background 0.3s ease;
}

.navbar a:hover {
    background-color: rgba(178, 196, 255, 1);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .trigram {
        display: flex;
    }
    nav {
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;

        display: none;
        padding: 1rem 2rem;
    }

    #trigram:checked + .trigram + nav {
        display: flex;
    }
}
