/* 
  Lexassist Solutions Limited - Custom CSS
  Fonts: Playfair Display (Serif) & Inter (Sans-serif)
*/

:root {
    --primary-color: #4868dc;
    /* Gold accent */
    --primary-hover: #c48e3a;
    --teal-color: #0eb0c5;
    /* Button in FAQ section */
    --teal-hover: #0c9bae;
    --dark-bg: #1a1512;
    /* Dark brown/black */
    --dark-grey: #5b5c5e;
    /* FAQ headers */
    --text-color: #333333;
    --text-muted: #666666;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --border-color: #e5e5e5;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: #051757;
    color: var(--white);
}

.btn-primary:hover {
    background-color: #4868dc;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 162, 72, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-teal {
    background-color: var(--teal-color);
    color: var(--white);
}

.btn-teal:hover {
    background-color: var(--teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(14, 176, 197, 0.3);
}

.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--primary-color);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-title {
    font-size: 36px;
    color: var(--text-color);
    margin-top: 15px;
}

/* Header */
.header {
    background-color: #01010d;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    margin-right: 30px;
}

.main-nav ul li {
    margin-left: 25px;
    position: relative;
}

.main-nav ul li a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.dropdown-toggle i {
    font-size: 10px;
    margin-left: 4px;
}

.main-nav ul .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 260px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    flex-direction: column;
    margin-right: 0;
    z-index: 1001;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.main-nav ul li.dropdown:hover .dropdown-menu {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.main-nav ul .dropdown-menu li {
    margin: 0;
}

.main-nav ul .dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    font-weight: 500;
    font-size: 14px;
}

.main-nav ul .dropdown-menu li a:hover {
    background-color: var(--light-bg);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient mapping text on the right side over dark part in layout */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1) 0%, rgb(7 14 39) 60%, #01010d 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 50%;
    /* Push to the right side where background is dark */
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 5px;
}

.hero-subtitle {
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 16px;
    max-width: 500px;
    margin-bottom: 30px;
    font-family: var(--font-body);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 10px;
}

/* Cards (Middle Part 1) */
.cards-container-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 500;
}

.card-title span {
    font-weight: 700;
}

.card-text {
    color: var(--text-muted);
    font-size: 15px;
}

/* Features Grid (Middle Part 2) */
.cards-container-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 1px solid var(--border-color);
}

.card-feature:hover {
    border-color: var(--primary-color);
}

.card-feature-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-feature-title {
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 400;
    color: #000000;
}

/* FAQ Accordion (Middle Part 3) */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category-group {
    margin-bottom: 50px;
}

.faq-category-title {
    font-size: 24px;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.faq-category-title i {
    margin-right: 15px;
    font-size: 20px;
    color: var(--teal-color);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(220, 162, 72, 0.3);
}

.accordion-header {
    width: 100%;
    padding: 22px 25px;
    background-color: transparent;
    color: var(--text-color);
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-header.active {
    color: var(--primary-color);
    background-color: rgba(249, 249, 249, 0.5);
}

.accordion-title {
    padding-right: 20px;
    line-height: 1.4;
}

.accordion-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.accordion-icon {
    color: var(--text-color);
    font-size: 14px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.accordion-header:hover .accordion-icon-wrap {
    background-color: rgba(220, 162, 72, 0.1);
}

.accordion-header:hover .accordion-icon {
    color: var(--primary-color);
}

.accordion-header.active .accordion-icon-wrap {
    background-color: var(--primary-color);
}

.accordion-header.active .accordion-icon {
    color: var(--white);
    transform: rotate(180deg);
}

.accordion-content {
    background-color: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.accordion-content p {
    padding: 0 25px 25px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.faq-action {
    text-align: center;
    margin-top: 50px;
}

/* Footer Section */
.footer {
    background-color: #070e27;
    color: var(--white);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    /* Invert logo for dark background if it's black text */
    /*filter: brightness(0) invert(1);*/
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 15px;
    max-width: 350px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-heading {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom-content .disclaimer {
    font-size: 12px;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.4);
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-widget:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: var(--white);
}

/* Services / Compliance Card Content */
.card-content {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 48px 48px 42px;
    max-width: 1100px;
    margin: 40px auto 60px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.card-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.card-main-title {
    font-size: 32px;
    margin-bottom: 8px;
}

.card-lead {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 26px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    margin-top: 24px;
}

.service-column h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 6px;
}

.service-column h4 {
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dark-grey);
    margin-top: 18px;
    margin-bottom: 10px;
}

.service-tagline {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.card-content p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 15px;
}

.stacked-lines {
    margin: 10px 0 14px;
}

.stacked-lines span {
    display: block;
    font-size: 14px;
    color: var(--text-color);
}

.card-content ul {
    margin-left: 1.2rem;
    margin-bottom: 10px;
    padding-left: 0.2rem;
    list-style: disc;
}

.card-content ul li {
    color: var(--text-color);
    margin-bottom: 6px;
    font-size: 14px;
}

.card-content ul li::marker {
    color: var(--primary-color);
}

.two-column-list {
    columns: 2;
    column-gap: 30px;
}

.service-divider {
    border-top: 1px solid var(--border-color);
    margin: 32px 0 24px;
}

.disclaimer-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* About Us page */
.about-image-placeholder {
    width: 100%;
    min-height: 280px;
    background-color: var(--light-bg);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 992px) {
    .card-content {
        padding: 32px 26px 30px;
        margin: 32px auto 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .two-column-list {
        columns: 1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {

    .cards-container-3,
    .cards-container-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        padding-left: 10%;
        background-color: rgba(26, 21, 18, 0.7);
        padding: 40px;
        margin: 0 20px;
        border-radius: 8px;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.5);
        /* Flat overlay for small screens to ensure text readability */
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* simple hidden state for mobile, could be a hamburger menu */
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cards-container-3,
    .cards-container-6 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 30px;
    }

    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}



@media (max-width: 768px) {
 .main-nav ul li a {
    font-size: 14px;
    font-weight: 600;
    color: #1a1512;
}   
}

}}}