/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    background: #f8f9fb;
    color: #333;
}


/* CONTAINER */
.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .container {
        width: 90%;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
        width: 85%;
    }
}

@media (min-width: 2000px) {
    .container {
        max-width: 2000px;
        width: 80%;
    }
}

/* COMMON */
h1,
h2,
h3,
h4 {
    margin-bottom: 15px;
}

/* GLOBAL SECTION TITLES */
.section-title {
    font-size: 2.2rem; /* Mobile default */
    font-weight: 800;
    color: #0a1f44;
    text-align: center;
    margin-bottom: 3.5rem;
    font-family: "Manrope", sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.section-title span {
    color: #f28c1b;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem; /* Standardized as per request */
    }
}

@media (min-width: 1600px) {
    .section-title {
        font-size: 3.25rem; /* Slight boost for very large displays */
    }
}



section {
    padding: 30px 0;
}

a {
    text-decoration: none;
}

/* BUTTON */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0a1f44;
    color: #fff;
    border-radius: 6px;
    transition: 0.3s;
}

.btn:hover {
    background: #00c2ff;
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: #20ba5a;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: #fff;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
    transform: rotate(15deg) scale(1.1);
}

.whatsapp-float .float-text {
    display: none;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

/* BANNER CTA BUTTON */
.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #f28c1b;
    color: #ffffff;
    padding: 1.125rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(242, 140, 27, 0.3);
}

.banner-cta:hover {
    background-color: #ffffff;
    color: #0d1b2a;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.banner-cta span {
    font-size: 1.4rem;
}

/* ================= SHARED DYNAMIC MODAL ================= */
.blog-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.blog-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 68, 0.75);
    backdrop-filter: blur(10px);
}

.modal-container {
    background: #ffffff;
    width: 95%;
    max-width: 1000px;
    height: 90vh;
    border-radius: 1.5rem;
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    animation: modalSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
    .modal-container {
        height: 600px;
    }
}

.modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ffffff;
    border: 1px solid #e1e7ec;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #43474a;
    z-index: 100;
}

.modal-close:hover { 
    background: #0a1f44; 
    color: #ffffff;
    transform: rotate(90deg);
}

#modalLayout {
    display: flex;
    flex: 1;
    width: 100%;
    flex-direction: column;
}

@media (min-width: 1024px) {
    #modalLayout {
        flex-direction: row;
    }
}

.modal-img-container {
    height: 200px;
    width: 100%;
    background: #0a1f44;
}

@media (min-width: 1024px) {
    .modal-img-container {
        height: 100%;
        max-width: 40%;
    }
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    min-height: 0;
}

.modal-text-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .modal-text-scroll {
        padding: 2.5rem 3rem;
    }
}

.header-accent {
    width: 3.5rem;
    height: 4px;
    background: linear-gradient(90deg, #f28c1b, #ffa94d);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.modal-text-scroll h2 {
    font-size: 2rem;
    color: #0a1f44;
    margin-bottom: 1.25rem;
    font-weight: 800;
    line-height: 1.15;
}

.modal-body-text {
    color: #43474a;
    line-height: 1.75;
    font-size: 1.1rem;
}

.modal-body-p {
    margin-bottom: 0.75rem;
}

.modal-footer {
    padding: 0.75rem 2rem;
    border-top: 1px solid #f2f4f6;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.modal-footer p {
    font-size: 0.8rem;
    color: #666;
}

.support-highlight {
    color: #136964;
    font-weight: 700;
}

.btn-modal-help {
    padding: 0.6rem 1.25rem;
    background-color: #136964;
    color: #fff;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hidden-full-content {
    display: none;
}
