h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    line-height: 1.8;
}

.lang-select select {
    background: transparent;
    color: white;
    border: none;
    font-size: 16px;
}

.lang-select select option {
    color: black;
}

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

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

header {
    width: 100%;
    padding: 20px 240px;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    height: 61px;
    width: 95px;
}

.lang-select {
    background: transparent;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
}

.lang-select select {
    background: transparent;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.lang-select select option {
    color: black;
}

.hero {
    position: relative;
    width: 100%;
    height: 53vh;
    background-image: url("../img/web-icons/memberships-home-photo.png");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

/*.hero::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: 1;*/
/*}*/


.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 14px;
    line-height: 1.8;
}


.stc-hero {
    position: relative;
    width: 100%;
    height: 530px;
    background-image: url("../img/stc-home-photo.png");
    background-size: 112%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

.feature-name::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../img/check.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
}

.partner-details {

    border: 1px solid #D9D9D9;

    border-radius: 10px;

    min-height: 278px;

    min-width: 690px;

    background: #f5f5f5;

}

/*.stc-hero::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(*/
/*        to bottom,*/
/*        rgba(0, 0, 0, 0.8) 0%,*/
/*        rgba(0, 0, 0, 0) 100%*/
/*    );*/
/*    z-index: 1;*/
/*}*/


/*.stc-hero-content {*/
/*    position: relative;*/
/*    z-index: 2;*/
/*    color: #fff;*/
/*    max-width: 900px;*/
/*    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);*/
/*}*/

.stc-ero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.stc-hero-content p {
    font-size: 14px;
    line-height: 1.8;
}

.plans-section {
    background: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
}

.plans-section h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.plans-section .subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.promo-code-section {
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
}

/*.promo-code-section label {*/
/*    font-weight: bold;*/
/*    min-width: 100px;*/
/*    text-align: left;*/
/*    position: absolute;*/
/*    bottom: 25%;*/
/*}*/


label[for="promoCode"] {
    display: block;
    font-weight: bold;
    max-width: 600px;
    text-align: left;
    margin: 0 auto 6px;
}

.promo-code-section input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}

.promo-code-section button {
    background: #00a896;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

.promo-code-section button:hover {
    background: #008c7a;
}

.membership-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stc-membership-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 690px !important;
    height: 805px !important;
}

.membership-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.price {
    font-size: 44px;
    font-weight: bold;
    margin-bottom: 10px;
}

.price-period {
    color: #000000;
    font-size: 18px;
}

.vat-badge {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    margin: 20px 0 30px;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.features-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.features-list li:last-child {
    border-bottom: none;
}

.feature-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-icon {
    color: #449e87;
    font-size: 25px !important;
}


.feature-badge {
    background: #4a90e2;
    color: white;
    border-radius: 6px;
    font-size: 13px;
    height: 36px;
    justify-content: center !important;
    min-width: 94px;
    align-items: center;
    display: flex;
}

.subscribe-btn {
    width: 100%;
    background: #00a896;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 10px auto;
}

.subscribe-btn:hover {
    background: #008c7a;
}

.services-section {
    padding: 60px 20px;
    background: #F8F9FA;
}

.services-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.services-section .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #F8F9FA;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 7px 13px -3px #0000001A;
}

.membership-stc-card {
    height: 90%;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #00a896;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.why-section {
    padding: 60px 20px;
    background: #f5f5f5;
}

.why-section h2 {
    font-size: 36px;
    margin-bottom: 4px;
}

.why-choose-morni-desc {
    font-size: 16px !important;
}

.why-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.why-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.why-features {
    list-style: none;
}

.why-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: bold;
}

.why-image {
    background: #c5d5e4;
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-image {
    width: 650px;
    height: 464px;
    border-radius: 14px;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark dimmed background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

feature-name::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../img/check.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
}

/* Modal Card */
.modal-content {
    background: white;
    padding: 40px 30px;
    border-radius: 16px; /* Rounded corners like image */
    width: 740px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-family: inherit;
}

.saudi-riyal {
    width: 25px;
    height: 28px;
}

.saudi-riyal-small {
    width: 16px;
    height: 18px;
}

.price-container {
    display: flex;
    gap: 5px;
    color: #000;
    font-weight: 600;
    min-width: 48px;
}

/* Typography */
.modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.modal-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Phone Input Styling */
.phone-input-container input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.phone-input-container input:focus {
    border-color: #449e87;
}


/* 6-Digit OTP Grid */
.otp-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-input-box {
    width: 50px;
    height: 55px;
    border: 1px solid #e0e0e0; /* Light grey border */
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #333;
    outline: none;
    transition: all 0.2s;
}

.otp-input-box:focus {
    border-color: #449e87; /* Teal color from image */
    box-shadow: 0 0 0 2px rgba(68, 158, 135, 0.1);
}

/* Timer */
.timer-text {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
    display: block;
}

/* Button Actions Row */
.modal-actions {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: space-between;
}

.btn-modal {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

/* Back Button (Outline) */
.btn-outline {
    background: transparent;
    border: 1px solid #449e87;
    color: #449e87;
}

.btn-outline:hover {
    background: #f0fdfa;
}

/* Confirm Button (Filled) */
.btn-filled {
    background: #449e87;
    border: 1px solid #449e87;
    color: white;
}

.btn-filled:hover {
    background: #368a73;
}

.btn-filled:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.pop-up-header {
    text-align:center;
    margin-bottom:5px;
    font-size: 32px;
    font-weight: 700;
    color: #000;
}

/* Error Text */
.error-text {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    min-height: 18px;
}

ul.why-features {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

.why-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.why-features li:last-child {
    margin-bottom: 0;
}

.why-features .icon {
    width: 30px;
    height: auto;
    /*margin-right: 20px;*/
    flex-shrink: 0;
}

.why-features .text-wrapper {
    display: flex;
    flex-direction: column;
}

.why-features .text-wrapper span {
    font-weight: 700;
    font-size: 16px;
    color: #222222;
    margin-bottom: 8px;
    line-height: 1.2;
}

.why-features .text-wrapper p {
    margin: 0;
    font-size: 14px;
    color: #777777;
    font-weight: 100;
    line-height: 1.4;
}

.footer-image {
    width: 650px;
    height: 464px;
    border-radius: 14px;
}

.footer-section {
    background: #212529;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-details {
    padding: 20px 15px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo .logo {
    height: 61px;
    width: 95px;
}

.footer-text {
    flex: 1;
}

.footer-text p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.terms-text {
    font-size: 14px;
    color: #666;
}

.partner-desc-primary {
    font-size: 18px;
    font-weight: bold;
}


@media (max-width: 768px) {

    .membership-stc-card{
        height: auto;
    }
    .feature-name::before {
       margin-right: 10px;
    }
    /* Header Adjustments */
    header {
        padding: 20px;
        position: absolute;
        width: 100%;
        top: 0;
    }

    .logo {
        height: 45px;
        width: 70px;
    }

    .service-card {
        margin-bottom: 20px;
    }

    /* Hero Section */
    .stc-hero {
        height: 380px !important;
        background-size: inherit;
        background-image: url("../img/stc-home-photo-mobile.png") !important;

    }

    .hero {
        height: auto !important;
        min-height: 396px;
        background-position: inherit;
        background-size: 125% auto;
        align-items: center;
        background-image: url("../img/header-mobile.svg") !important;
        /*padding-top: 60px;*/
    }

    .hero-content {
        width: inherit !important;
        margin-top: 17vh;
        margin-bottom: 10vh;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Services Section - Convert Flex Row to Column */
    .services-section > div {
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: -20px !important;
    }

    .partner-details {
        min-width: 100% !important;
        max-width: 100%;
        min-height: auto;
        padding: 30px 20px;
    }

    .feature-name {
        display: flex;
        align-items: center;
        gap: 0;
        font-weight: normal;
        font-size: 16px;
    }

    .membership-list .feature-name {
        display: flex;
        align-items: center;
        gap: 0;
        font-weight: normal;
        font-size: 16px;
        margin-top: 7px;
    }

    /* Plans Section */
    .plans-section {
        padding: 40px 15px;
    }

    .why-section h2 {
        font-size: 36px;
        margin-bottom: 6px;
    }

    .why-features .text-wrapper span {
        margin-bottom: 4px !important;
    }

    .why-features .icon {
        margin-right: 10px;
    }

    .why-features li {
        gap: 0;
    }

        .membership-section {
        padding: 40px 30px !important;
    }

    .section-title {
        font-size: 24px !important;
    }

    .plans-section h2 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .plans-section .subtitle {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .stc-membership-card {
        width: 350px !important;
        height: fit-content !important;
        padding: 30px 20px;
    }

    .price {
        font-size: 36px;
        margin-top: 20px !important;
    }

    .price-period {
        font-size: 16px;
    }

    .features-list li {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
        padding: 13px 0;
    }

    .service-desc {
        align-self: flex-start;
        margin-left: 30px;
        padding: 10px;
        font-size: 13px;
    }


    /* Services Section */
    .services-section {
        padding: 40px 15px;
    }

    .services-section h2 {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Why Section */
    .why-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-image {
        height: 300px;
        background: 0;
    }

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

    /* Footer */
    .footer-section {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-bottom: 20px;
    }

    .footer-text p {
        font-size: 14px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    /* Promo Code Section */
    .promo-code-section {
        gap: 0;
        padding: 0;
        margin: 0 auto 20px;
    }

    .invoice-box {
        padding: 0 !important;
        background-color: inherit !important;
    }

    .terms-text {
        text-align: left;
    }

    .pop-up-header {
        font-size: 20px;
        margin-bottom: 6px;
    }

    /*.promo-code-section label {*/
    /*    display: none;*/
    /*}*/

    /* ========== MODAL RESPONSIVE ========== */
    .modal-content {
        max-width: 90%;
        padding: 30px 20px;
        margin: 20px;
        max-height: 90vh;
        overflow-y: auto;
        width: 350px;
    }

    .modal-content h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .modal-content p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    /* Phone Input */
    .phone-input-container input {
        padding: 12px;
        font-size: 14px;
    }

    /* OTP Inputs */
    .otp-grid {
        gap: 8px;
    }

    .otp-input-box {
        width: 45px;
        height: 50px;
        font-size: 20px;
    }

    /* Modal Actions - Stack Vertically */
    .modal-actions {
        flex-direction: row;
        gap: 10px;
    }

    .btn-modal {
        width: 100%;
        font-size: 15px;
    }

    /* Vehicle Modal Specific */
    #vehicleVerifyModal .modal-content {
        max-width: 90% !important;
    }

    .form-group {
        margin-bottom: 15px !important;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 8px !important;
    }

    .form-group input,
    .form-control {
        padding: 10px !important;
        font-size: 13px !important;
    }

    #vehicleInfoDisplay {
        padding: 15px !important;
        margin-top: 15px !important;
    }

    #vehicleInfoDisplay h4 {
        font-size: 16px;
        margin-bottom: 12px !important;
    }

    .vehicle-info-grid {
        font-size: 13px !important;
        gap: 8px !important;
    }

    /* Payment Modal Specific */
    #paymentConfirmModal .modal-content {
        max-width: 90% !important;
    }

    .subscription-details {
        margin: 20px 0 !important;
    }

    .subscription-details > div {
        padding: 12px 0 !important;
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 5px;
    }

    #paymentPrice {
        font-size: 18px !important;
    }

    .payment-method {
        padding: 15px !important;
        margin-bottom: 20px !important;
    }

    .payment-method h4 {
        font-size: 16px;
        margin-bottom: 12px !important;
    }

    .payment-method > div {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .payment-method img {
        height: 30px !important;
    }

    .payment-method strong {
        font-size: 14px;
    }

    .payment-method p {
        font-size: 12px !important;
    }

    .terms-section {
        margin-bottom: 20px !important;
    }

    .terms-section label {
        font-size: 13px;
    }

    .terms-section label span {
        font-size: 12px !important;
    }

    /* Success Modal */
    #successModal .modal-content > div > div:first-child {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 15px !important;
    }

    #successModal .modal-content svg {
        width: 30px !important;
        height: 30px !important;
    }

    #successModal h3 {
        font-size: 18px;
        margin-bottom: 12px !important;
    }

    #successModal p {
        margin-bottom: 20px !important;
    }

    .membership-card {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        padding: 30px 20px;
        margin: 0 auto;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .plans-section-text-container {
        overflow-wrap: break-word;
    }

    .promo-code-section input {
        width: auto;
        border-radius: 5px 0 0 5px;
    }

    .promo-code-section button {
        border-radius: 0 5px 5px 0;
        width: 30%;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .plans-section h2,
    .services-section h2 {
        font-size: 24px;
    }

    .hero-content {
        width: inherit !important;
    }

    .stc-hero {
        height: 350px;
    }

    .partner-details {
        padding: 20px 15px;
    }

    .partner-desc-primary {
        font-size: 16px;
        font-weight: bold;
    }

    .partner-desc-secondary {
        font-size: 14px;
    }

    .stc-membership-card {
        padding: 25px 15px;
    }

    .price {
        font-size: 32px;
    }

    .features-list li {
        font-size: 14px;
    }

    .otp-input-box {
        width: 40px;
        height: 45px;
        font-size: 18px;
    }

    .btn-modal {
        font-size: 14px;
    }

    .modal-content {
        padding: 25px 15px;
    }

    .plans-section-text-container {
        overflow-wrap: break-word;
    }

    .promo-code-section input {
        width: auto;
    }
}

/* Landscape Mode for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .stc-hero {
        height: 300px;
    }

    .hero {
        height: 40vh;
    }

    .modal-content {
        max-height: 85vh;
        overflow-y: auto;
    }

    .hero-content {
        width: inherit !important;
    }
}
