/* CSS - Brand, Products, Services, Partners and Investors */

/* BLUE WRAPPER */
.brands-wrapper {
    background: #052b8d;
    padding: 120px 0 90px;
}

/* HEADER */
.brands-header {
    text-align: center;
    margin-bottom: 60px;
}

.brands-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #ff6e6e;
}

.brands-header p {
    font-size: 18px;
    color: #ffffff;
    opacity: .9;
    margin-top: 20px;
}

/* CARD */
.brand-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #0034A5;
    padding: 32px 36px 36px;
    margin-bottom: 48px;
}

/* HEADER ALIGNMENT */
.brand-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* prevents overflow */
    gap: 12px;
}

/* LOGO + TITLE */
.brand-title-block {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0; /* allows wrapping */
    flex-wrap: wrap; /* critical for long titles */
}

/* LOGO */
.brand-title-block img {
    height: 36px;
    width: auto;
    max-width: 150px;
    flex-shrink: 0; /* prevents squish */
}

/* TITLE */
.brand-title {
    font-size: 26px;
    font-weight: 600;
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* wraps long subtitle */
    gap: 6px;
    min-width: 0; /* prevents overflow */
}

.brand-name {
    color: #0034A5;
    font-weight: 700;
}

.brand-dot {
    color: #0c1a3c;
    font-weight: 700;
}

.brand-sub {
    color: #0c1a3c;
    font-weight: 600;
    white-space: normal;
    line-height: 1.3;
}

/* KNOW MORE */
.know-more-btn {
    background: linear-gradient(90deg, #F8566B 0%, #A04BFF 100%);
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0; /* keeps button width fixed */
}

/* DIVIDER */
.brand-divider {
    width: 100%;
    height: 1px;
    background: #e5e5e5;
    margin: 18px 0 26px;
}

/* MAIN CONTENT ROW */
.brand-content-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: flex-start;
}

/* LEFT TEXT */
.brand-text {
    flex: 0.8;
}

.brand-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
    color: #0c1a3c;
}

/* RIGHT STATS */
.brand-stats {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    min-width: 0;
    flex-wrap: wrap;
}

.stat-col {
    text-align: center;
}

.stat-box {
    background: #0034A5;
    padding: 40px 26px;
    min-width: 165px;
    border-radius: 18px;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0px 6px 0px rgba(0, 198, 255, 0.45);
    white-space: nowrap;
}

.stat-label {
    font-size: 13px;
    margin-top: 6px;
    width: 165px;
    color: #0034A5;
    text-align: center;
}


/* ================= RESPONSIVE ================= */

/* Tablet */
@media(max-width: 992px) {
    .brand-content-row {
        flex-direction: column;
        gap: 20px;
    }

    .brand-stats {
        justify-content: flex-start;
    }
}

/* Mobile */
@media(max-width: 768px) {

    .brand-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .brand-title {
        font-size: 22px;
    }

    .brand-sub {
        width: 100%;
    }

    .brand-stats {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        justify-content: flex-start;
    }

    .stat-box,
    .stat-label {
        width: 100%;
        min-width: 100%;
    }

    .know-more-btn {
        width: 100%;
        justify-content: center;
    }
}

/* XS (very small phones) */
@media(max-width: 480px) {
    .brand-title {
        font-size: 20px;
    }

    .brand-title-block img {
        height: 30px;
        max-width: 120px;
    }
}


/*PRODUCT*/
.products-wrapper {
    background: #052b8d;
    padding: 120px 0 90px;
}

/* HEADER */
.products-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #ff6e6e;
}

.products-header p {
    font-size: 18px;
    color: #ffffff;
    opacity: .9;
    margin-top: 20px;
}

/* PRODUCT CARD */
.product-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #0034A5;
    padding: 32px 36px 36px;
    margin-bottom: 48px;
}

/* TOP ROW */
.product-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* PRODUCT TITLE */
.product-title {
    font-size: 24px;
    font-weight: 700;
    color: #0034A5;
}

/* KNOW MORE BUTTON */
.know-more-btn {
    background: linear-gradient(90deg, #F8566B 0%, #A04BFF 100%);
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    text-decoration: none;
}

/* DIVIDER */
.product-divider {
    width: 100%;
    height: 1px;
    background: #e5e5e5;
    margin: 18px 0 26px;
}

/* CONTENT LAYOUT */
.product-content-row {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center; /* center vertically */
}


/* PRODUCT IMAGE */
.product-media img {
    border-radius: 18px;
    width: 480px;
    height: auto;
    object-fit: cover;
}

/* DESCRIPTION */
.product-description {
    flex: 1;
}

.product-description p {
    font-size: 17px;
    line-height: 1.6;
    color: #0c1a3c;
    font-weight: 500;
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .product-content-row {
        flex-direction: column;
        gap: 24px;
    }

    .product-media img {
        width: 100%;
    }
}

@media(max-width: 576px) {
    .product-title {
        font-size: 20px;
    }

    .know-more-btn {
        width: 100%;
        justify-content: center;
    }
}


/*SERVICES*/
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* SERVICES WRAPPER */
.services-wrapper {
   background: #052b8d;
    padding: 120px 0 90px;
}

/* HEADER */
.services-header {
     text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #ff6e6e;
}

.services-header p {
    font-size: 18px;
    color: #ffffff;
    opacity: .9;
    margin-top: 20px;
}

/* ACCORDION ITEM */
.service-items {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
}

/* HEADER ROW */
.service-header {
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    width: 100%;
    padding: 28px 0;
    transition: all 0.3s ease;
}

.service-header:hover .service-icon {
    transform: scale(1.05);
}

/* ICON */
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #00a8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.service-items.active .service-icon {
    background: #00a8ff;
}

/* TITLE */
.service-title {
    font-size: 22px;
    margin-left: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.3px;
}

/* CONTENT */
.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 80px;
}

.service-content-inner {
    padding-bottom: 32px;
}

/* TEXT */
.service-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 16px;
    max-width: 900px;
}

.service-content p:last-child {
    margin-bottom: 0;
}

/* CONTACT SECTION */
.services-contact {
    padding: 80px 0 100px;
    text-align: center;
    background: #001f73;
}

.contact-header h2 {
    font-size: 48px;
    color: #ff5f7e;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contact-header h3 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    letter-spacing: -0.5px;
}

.contact-header p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin: 20px auto 40px;
    max-width: 700px;
}

/* CONTACT CARD */
.contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 50px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #001f73;
    margin-bottom: 24px;
}

.row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.col {
    flex: 1;
}

label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: block;
}

label .required {
    color: #ff5f7e;
    margin-left: 2px;
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: #ffffff;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #00a8ff;
}

input::placeholder, textarea::placeholder {
    color: #9ca3af;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 32px 0;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0 32px;
}

.checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-row span {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

/* BUTTON */
.submit-row {
    text-align: center;
}

.submit-btn {
    background: linear-gradient(90deg, #f8566b 0%, #a04bff 100%);
    border: none;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(248, 86, 107, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 86, 107, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

 .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* SUCCESS MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.success-modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 550px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 100px;
    height: 100px;
    background: #001f73;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.success-icon svg {
    width: 50px;
    height: 50px;
    stroke: #ffffff;
    stroke-width: 3;
}

.success-modal h2 {
    font-size: 32px;
    font-weight: 700;
    color: #001f73;
    margin-bottom: 12px;
    line-height: 1.2;
}

.success-modal p {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 30px;
}

.close-btn {
    background: linear-gradient(90deg, #f8566b 0%, #a04bff 100%);
    border: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.close-btn:hover {
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .services-header h2 {
        font-size: 42px;
    }

    .services-header p {
        font-size: 16px;
    }

    .service-title {
        font-size: 22px;
    }

    .service-icon {
        min-width: 48px;
        height: 48px;
        font-size: 28px;
    }

    .service-content {
        padding-left: 72px;
    }

    .contact-header h2,
    .contact-header h3 {
        font-size: 36px;
    }

    .contact-card {
        padding: 32px 24px;
    }

    .row {
        flex-direction: column;
        gap: 20px;
    }
}

@media(max-width: 480px) {
    .services-header h2 {
        font-size: 36px;
    }

    .service-header {
        gap: 16px;
    }

    .service-icon {
        min-width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .service-title {
        font-size: 19px;
    }

    .service-content {
        padding-left: 60px;
    }

    .contact-header h2,
    .contact-header h3 {
        font-size: 30px;
    }
}