:root {
    --primary-color: #f8ae3a;
    --secondary-color: #f8ae3a;
    --background-color: #feebcc;
    --text-color: black;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: var(--text-color);
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* Header */

.top-bar {
    display: grid;
    grid-template: 1fr/repeat(2, 1fr);
    background-color: var(--primary-color);
}

.header {
    position: relative;
    z-index: 100;
}

.top-bar {
    position: relative;
    z-index: 200;
}

.left {
    display: flex;
    gap: 10px;
    margin-left: 50px;
}

.left h4 {
    margin-top: 20px;
    color: white;
}

.left img {
    width: 25px;
    height: 25px;
    margin: 15px;
}

.right {
    display: flex;
    gap: 10px;
    margin-left: 100px;
}

.right h4 {
    margin-top: 20px;
    color: white;
}

.right img {
    width: 25px;
    height: 25px;
    margin: 15px;
}

.divider {
    color: black;
}

.bottom-bar {
    display: grid;
    width: 100%;
    height: 100px;
    grid-template-columns: auto 1fr auto;
    justify-content: center;
    align-content: center;
    background-color: black;
    position: relative;
}

.logo {
    margin-left: 100px;
    justify-content: center;
    align-content: center;
    height: 80%;
    width: 150%;
}

li {
    padding-top: 20px;
    font-size: 18px;
    list-style: none;
}

.menus {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-content: center;
}

.menus a {
    color: white !important;
    text-decoration: none;
    padding: 20px;
    font-weight: bold;
}

.menus a:hover {
    text-decoration: none;
    background-image: linear-gradient(to right, #f8ae3a, #ffffff) !important;
    border-radius: 20px;
    color: black !important;
    padding: 20px;
}

.active {
    background-image: linear-gradient(to right, #f8ae3a, #ffffff) !important;
    border-radius: 20px;
}

.menus a.active {
    color: black !important;
}

.contact-button {
    background-color: var(--primary-color);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 20px;
}

.contact-button a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.contact-button a:hover {
    text-decoration: none;
    color: white;
}

.contact {
    margin-right: 100px;
    align-content: center;
}


/* 1. The Container (li) */


/* Essential: This keeps the dropdown anchored to this specific menu item */

li {
    position: relative;
    list-style: none;
    display: inline-block;
    /* Or flex, depending on your nav bar */
}


/* 2. The Main "Business" Link */

.business {
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.business a {
    color: white;
}


/* 3. The Dropdown Menu (Hidden by default) */

.submenu {
    display: none;
    /* Hidden by default */
    position: absolute;
    /* FULL WIDTH MAGIC */
    left: 0;
    width: 100%;
    /* Spans 100% of the .bottom-bar width */
    top: 80px;
    /* Push it down to clear the header height */
    background-color: black;
    /* Deep black/grey background */
    padding: 30px 10%;
    /* 10% side padding to align text with your logo */
    box-sizing: border-box;
    /* Ensures padding doesn't break the width */
    z-index: 999;
    /* Optional: The Gold top border seen in some designs */
    /* Layout: 2 Columns like the screenshot */
    grid-template-columns: 250px 250px;
    gap: 15px;
    align-content: center;
    justify-content: center;
    border-top: 2px solid #fdb913;
}


/* 4. The Hover Effect ( The Trigger ) */


/* When you hover the 'li', display the '.submenu' as a grid */

li:hover .submenu {
    display: grid;
}


/* Keep the main "Business" link yellow while the menu is open */

li:hover .business {
    color: var(--primary-color);
}


/* 5. Styling the Links INSIDE the dropdown */

.submenu a {
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.2s;
    font-weight: bold;
}


/* Hover color for the dropdown items */

.submenu a:hover {
    background-image: linear-gradient(to right, #f8ae3a, #ffffff);
    width: fit-content;
    padding: 15px;
    color: black !important;
    border-radius: 20px;
    /* Gold/Yellow accent */
}

.menus li {
    position: static;
}


/* Header Mobile view */


/* =========================
MOBILE OFFCANVAS MENU
========================= */

.mb-menu {
    display: none;
}


/* Hamburger */

.menu-btn {
    width: 30px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 3px;
    background: white;
    margin: 6px 0;
}


/* Overlay - Fixed to prevent body scroll */

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.offcanvas-overlay.mactive {
    opacity: 1;
    visibility: visible;
}


/* Offcanvas Menu - Fixed positioning and scrolling */

.offcanvas-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    /* Full viewport height */
    background-color: var(--primary-color);
    z-index: 1001;
    transition: left 0.4s ease;
    overflow: hidden;
    /* Prevent outer scroll */
    display: flex;
    flex-direction: column;
}

.offcanvas-menu.mactive {
    left: 0;
}


/* Header */

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    flex-shrink: 0;
    /* Prevent header from scrolling */
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.offcanvas-header img {
    width: 150px;
}

.close-btn {
    font-size: 28px;
    color: white;
    cursor: pointer;
    line-height: 0.6;
    padding: 8px;
    background: black;
    border-radius: 100%;
}


/* Links Container - This is the scrollable part */

.offcanvas-links {
    list-style: none;
    margin: 0;
    padding: 20px;
    flex: 1;
    /* Take remaining space */
    overflow-y: auto;
    /* Enable vertical scroll ONLY on menu items */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    display: flex;
    flex-direction: column;
}

.has-submenu {
    overflow: visible;
}


/* Custom scrollbar for offcanvas menu */

.offcanvas-links::-webkit-scrollbar {
    width: 6px;
}

.offcanvas-links::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.offcanvas-links::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.offcanvas-links::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

.offcanvas-links li {
    margin-top: -20px;
}

.offcanvas-links a,
.submenu-toggle {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    padding: 10px 0;
}


/* Prevent body scroll when menu is open */

body.menu-open {
    overflow: hidden;
    position: fixed;
}


/* Submenu */

.mobile-submenu {
    display: none;
    margin-top: 10px;
    padding-left: 15px;
    overflow: scroll;
}

.mobile-submenu.mactive {
    display: block;
}

.mobile-submenu li {
    display: flex;
    flex-direction: column;
}

.mobile-submenu li a {
    font-size: 14px;
    font-weight: normal;
    color: black;
    padding: 8px 0;
}


/* Contact Button */

.contact-mobile {
    background: black;
    color: white !important;
    padding: 10px;
    border-radius: 20px;
    margin-top: 10px;
    text-align: center;
}


/* MOBILE ONLY */

@media (max-width: 768px) {
    .menus,
    .contact {
        display: none;
    }
    .mb-menu {
        display: block;
        position: absolute;
        right: 30px;
        top: 46px;
    }
    .top-bar {
        display: none;
    }
    .bottom-bar {
        display: flex;
        flex-direction: row;
        margin-top: -30px;
        ;
    }
    .logo {
        margin-right: 300px;
        height: 130px;
        width: 150px;
        padding: 20px;
    }
}


/* Body */


/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
} */

.contact-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px;
}

.contact-card {
    background: white;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    margin-bottom: 25px;
    color: #999;
    transition: all 0.3s ease;
}

.contact-card[data-category="media"] .card-icon {
    color: #FF6B35;
}

.contact-card[data-category="media"]:hover .card-icon {
    color: #ff5722;
    transform: scale(1.1);
}

.contact-card[data-category="investors"] .card-icon {
    color: #999;
}

.contact-card[data-category="investors"]:hover .card-icon {
    color: #666;
    transform: scale(1.1);
}

.contact-card[data-category="careers"] .card-icon {
    color: #999;
}

.contact-card[data-category="careers"]:hover .card-icon {
    color: #666;
    transform: scale(1.1);
}

.contact-card[data-category="others"] .card-icon {
    color: #999;
}

.contact-card[data-category="others"]:hover .card-icon {
    color: #666;
    transform: scale(1.1);
}

.card-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.contact-card[data-category="media"] .card-title {
    color: #FF6B35;
}

.contact-card[data-category="investors"] .card-title {
    color: #999;
}

.contact-card[data-category="careers"] .card-title {
    color: #999;
}

.contact-card[data-category="others"] .card-title {
    color: #999;
}

.card-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}


/* Mobile: horizontal list layout */

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .contact-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
        padding: 20px;
        gap: 18px;
        min-height: unset;
    }
    .card-icon {
        flex-shrink: 0;
        margin-bottom: 0;
        /* override vertical spacing */
    }
    .card-icon svg {
        width: 36px;
        height: 36px;
    }
}


/* Modal Styles */


/* .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-overlay.factive {
    display: flex;
}

.modal-container {
    background: white;
    border-radius: 12px;
    padding: 50px 60px;
    max-width: 600px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #333;
    background: #f5f5f5;
    transform: rotate(90deg);
}

.modal-title {
    font-size: 36px;
    font-weight: 700;
    color: #999;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 3px;
} */


/* Form Styles */


/* .contact-form {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.form-right {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 20px;
    ;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.message-group {
    grid-row: span 4;
}

.form-input {
    padding: 18px 20px;
    border: none;
    background: #E8E8E8;
    border-radius: 8px;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    outline: none;
    background: #ddd;
}

.form-textarea {
    resize: vertical;
    min-height: 200px;
    height: 100%;
}

.submit-btn {
    padding: 18px 40px;
    background: #FFC107;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #FFB300;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
} */


/* Responsive Design */


/* @media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
    .contact-card {
        padding: 40px 30px;
    }
    .modal-container {
        padding: 40px 30px;
        width: 95%;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-group.message-group {
        grid-row: auto;
    }
    .card-title {
        font-size: 24px;
    }
    .modal-title {
        font-size: 28px;
    }
} */


/* Footer */

.footer {
    background-color: black;
}

.footer-container {
    padding: 50px;
    display: grid;
    grid-template: 1fr/repeat(4, 1fr);
    align-content: center;
    justify-content: center;
    gap: 30px;
}

.about-company h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.about-company p {
    color: white;
    line-height: 2em;
    width: 300px;
}

.about-company img {
    height: 100px;
    width: 200px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.our-business h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.quick-links {
    margin-left: 50px;
    ;
}

.quick-links h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.links li {
    display: flex;
    flex-direction: row;
    list-style: none;
}

.links li a {
    color: white;
    text-decoration: none;
}

li a:hover {
    background-image: linear-gradient(to right, #f8ae3a, #ffffff) !important;
    color: black;
    padding: 10px;
    border-radius: 20px;
    font-weight: bold;
}

.contact-details h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.contact-details li {
    display: flex;
    flex-direction: row;
    gap: 10px;
    color: white;
}

.contact-details li img {
    height: 20px;
    width: 20px;
    margin-top: 5px;
}

.contact-details li p {
    color: white;
}

.copyright p {
    color: white;
    margin-left: 600px;
    padding-bottom: 30px;
}

.mobile-copyright {
    color: #f8ae3a;
}


/* Mobile Footer */


/* Footer */

.footer {
    background-color: black;
}

.footer-container {
    padding: 50px;
    display: grid;
    grid-template: 1fr/repeat(4, 1fr);
    align-content: center;
    justify-content: center;
    gap: 30px;
}

.about-company h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.about-company p {
    color: white;
    line-height: 2em;
    width: 300px;
}

.about-company img {
    height: 100px;
    width: 200px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.our-business h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.quick-links {
    margin-left: 50px;
    ;
}

.quick-links h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.links li {
    display: flex;
    flex-direction: row;
    list-style: none;
}

.links li a {
    color: white;
    text-decoration: none;
}

li a:hover {
    background-image: linear-gradient(to right, #f8ae3a, #ffffff) !important;
    color: black;
    padding: 10px;
    border-radius: 20px;
    font-weight: bold;
}

.contact-details h3 {
    font-weight: bold;
    background-color: var(--primary-color);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.contact-details li {
    display: flex;
    flex-direction: row;
    gap: 10px;
    color: white;
}

.contact-details li img {
    height: 20px;
    width: 20px;
    margin-top: 5px;
}

.contact-details li p {
    color: white;
}

.copyright p {
    color: white;
    margin-left: 600px;
    padding-bottom: 30px;
}


/* Mobile Footer */

@media (max-width: 768px) {
    .footer-container {
        display: grid;
        grid-template: 4fr/ 1fr;
        padding: 50px;
    }
    .about-company {
        text-align: center;
    }
    .about-company h3 {
        margin-left: 90px;
    }
    .about-company p {
        font-size: 18px;
        margin-left: 30px;
    }
    .our-business li {
        font-size: 15px;
        padding-left: 20px;
    }
    .quick-links {
        margin-left: 150px;
        margin-top: -365px;
    }
    .quick-links h3 {
        margin-left: 50px;
        white-space: nowrap;
    }
    .quick-links li {
        margin-left: 100px;
        font-size: 15px;
    }
    .contact-details {
        margin-top: -20px;
        padding-left: 20px;
    }
    .contact-details h3 {
        margin-left: 20px;
    }
    .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .copyright {
        display: none;
    }
    .mobile-copyright p {
        color: white;
        padding: 10px;
    }
}