/**
 * Alissa Law Theme - Main Stylesheet
 * Consolidated from all inline styles with proper RTL support
 *
 * Table of Contents:
 * 1. CSS Variables & Design Tokens
 * 2. Base & Reset Overrides
 * 3. Global Typography
 * 4. Header & Navigation
 * 5. Footer
 * 6. Page Heroes
 * 7. Components (Buttons, Cards, Badges)
 * 8. Sections (About, Services, Partners, etc.)
 * 9. Blog & Archive
 * 10. Single Post
 * 11. 404 Page
 * 12. Utilities
 * 13. Responsive Breakpoints
 */

/* ============================================
   1. CSS VARIABLES & DESIGN TOKENS
   ============================================ */

/* Note: Core variables are defined in header.php inline styles
   This file extends and uses those variables */

/* ============================================
   2. BASE & RESET OVERRIDES
   ============================================ */

html {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
}

body.admin-bar {
    padding-top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: 46px !important;
    }
}

body.home,
body.page-template-front-page,
body.home.admin-bar,
body.page-template-front-page.admin-bar {
    padding-top: 0 !important;
}

main,
#main,
.site-content,
#content,
.site-main,
.site,
#page,
.page-wrapper,
.content-wrapper,
.entry-content {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
}

section:first-of-type,
.alaw-hero:first-child,
#hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.container:first-of-type {
    padding-top: 0 !important;
}

/* Front page specific - ensure hero sits at top */
.page-template-front-page .alaw-hero,
.home .alaw-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Override any Bootstrap spacing utilities on body/main containers */
body.home > *:first-child,
body.page-template-front-page > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Target any wrapper between header and hero */
.alaw-menu-overlay + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Bootstrap row/container resets for front page */
.home .row:first-of-type,
.page-template-front-page .row:first-of-type,
.home .container-fluid:first-of-type,
.page-template-front-page .container-fluid:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove any gaps between header and first section on mobile */
@media (max-width: 991.98px) {
    html,
    body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100vw;
    }

    body.home,
    body.page-template-front-page {
        padding-top: 0 !important;
        margin-top: 0 !important;
        overflow-x: hidden !important;
    }

    /* Make header sit flush at top with no margin */
    body.home .alaw-header,
    body.page-template-front-page .alaw-header {
        margin-bottom: 0 !important;
        padding-bottom: 0.875rem !important;
        position: fixed;
        top: 0;
    }

    body.home .alaw-header + *,
    body.page-template-front-page .alaw-header + * {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Hero section must start right at header bottom edge */
    body.home #hero,
    body.page-template-front-page #hero,
    body.home .alaw-hero,
    body.page-template-front-page .alaw-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-block-start: 0 !important;
        position: relative;
        top: 0 !important;
    }

    body.home .alaw-hero__slider,
    body.page-template-front-page .alaw-hero__slider {
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-block-start: 0 !important;
        top: 0 !important;
    }

    body.home .alaw-hero__slide,
    body.page-template-front-page .alaw-hero__slide {
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-block-start: 0 !important;
    }

    body.home .alaw-hero__slides,
    body.page-template-front-page .alaw-hero__slides {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Remove any container padding on mobile */
    body.home .alaw-hero .container:first-child,
    body.page-template-front-page .alaw-hero .container:first-child {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body.home .alaw-hero .row:first-child,
    body.page-template-front-page .alaw-hero .row:first-child {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

.alaw-text-light {
    color: var(--ct-text) !important;
}

.alaw-bg-surface {
    background: var(--ct-surface) !important;
}

.alaw-bg-secondary {
    background: var(--ct-secondary) !important;
}

/* ============================================
   3. GLOBAL TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #ae9a4f !important;
}

.display-1, .display-2, .display-3, .display-4 {
    color: #ae9a4f !important;
}

.alaw-heading-primary {
    color: #ae9a4f !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
}

.alaw-heading-secondary {
    color: #ae9a4f !important;
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
}

.alaw-heading-tertiary {
    color: #ae9a4f !important;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important;
}

/* Override display classes to be smaller */
.display-1 {
    font-size: clamp(2rem, 4.5vw, 3rem) !important;
}

.display-2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
}

.display-3 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem) !important;
}

.display-4 {
    font-size: clamp(1.35rem, 3vw, 2rem) !important;
}

/* Section titles with gold color - override Bootstrap .text-light */
.alaw-partners h2,
.alaw-services-preview h2,
.alaw-news h2,
.alaw-blog h2,
.alaw-contact h2 {
    color: #ae9a4f !important;
}

/* Make contact title one line */
.alaw-contact h2 {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .alaw-contact h2 {
        white-space: normal;
        font-size: clamp(1.2rem, 5vw, 1.75rem) !important;
    }
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

.alaw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 0.875rem 0;
    margin-bottom: 0 !important;
}

/* Dark header on front page */
body.home .alaw-header,
body.page-template-front-page .alaw-header {
    background: #121f45;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
}

body.home .alaw-header.scrolled,
body.page-template-front-page .alaw-header.scrolled {
    background: #121f45;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 0.75rem 0;
}

/* Solid header for all other pages */
.alaw-header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 0.75rem 0;
}

.alaw-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alaw-header__logo {
    height: 100px;
    width: auto;
    max-width: 300px;
    transition: all 0.3s ease;
    object-fit: contain;
}

.alaw-header.scrolled .alaw-header__logo {
    height: 80px;
    max-width: 250px;
    filter: none !important;
}

.alaw-header__brand img {
    height: 100px;
    width: auto;
    max-width: 300px;
    transition: all 0.3s ease;
    object-fit: contain;
    filter: none !important;
}

.alaw-header.scrolled .alaw-header__brand img {
    height: 80px;
    max-width: 250px;
    filter: none !important;
}

.alaw-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.alaw-nav__link {
    color: var(--ct-primary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

/* Gold nav links on dark header (front page) */
body.home .alaw-header .alaw-nav__link,
body.page-template-front-page .alaw-header .alaw-nav__link {
    color: #ac9b51;
}

/* Hover state for nav links on dark header (front page) */
body.home .alaw-header .alaw-nav__link:hover,
body.page-template-front-page .alaw-header .alaw-nav__link:hover,
body.home .alaw-header .alaw-nav__link.active,
body.page-template-front-page .alaw-header .alaw-nav__link.active {
    color: #c5a95d;
}

/* Dark/colored text when scrolled (all pages including front page) */
.alaw-header.scrolled .alaw-nav__link {
    color: var(--ct-primary);
}

.alaw-nav__link:hover,
.alaw-nav__link.active,
.alaw-header.scrolled .alaw-nav__link:hover,
.alaw-header.scrolled .alaw-nav__link.active {
    color: var(--ct-accent);
}

/* Keep gold color on front page even when scrolled */
body.home .alaw-header.scrolled .alaw-nav__link,
body.page-template-front-page .alaw-header.scrolled .alaw-nav__link {
    color: #ac9b51;
}

body.home .alaw-header.scrolled .alaw-nav__link:hover,
body.page-template-front-page .alaw-header.scrolled .alaw-nav__link:hover,
body.home .alaw-header.scrolled .alaw-nav__link.active,
body.page-template-front-page .alaw-header.scrolled .alaw-nav__link.active {
    color: #c5a95d;
}

.alaw-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--ct-accent-gradient);
    transition: width 0.3s ease;
}

.alaw-nav__link:hover::after,
.alaw-nav__link.active::after {
    width: 100%;
}

.alaw-header__cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.alaw-mobile-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--ct-accent);
    color: var(--ct-accent);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.alaw-mobile-toggle:hover {
    background: var(--ct-accent);
    color: var(--ct-text);
}

/* Gold mobile toggle on dark header (front page) */
body.home .alaw-header .alaw-mobile-toggle,
body.page-template-front-page .alaw-header .alaw-mobile-toggle {
    border-color: #ac9b51;
    color: #ac9b51;
}

body.home .alaw-header .alaw-mobile-toggle:hover,
body.page-template-front-page .alaw-header .alaw-mobile-toggle:hover {
    background: #ac9b51;
    color: #121f45;
}

/* Mobile Menu */
.alaw-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    border-left: 3px solid var(--ct-accent);
}

.alaw-mobile-menu.active {
    right: 0;
}

.alaw-mobile-menu__close {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--ct-accent);
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(180, 151, 71, 0.3);
}

.alaw-mobile-menu__close:hover {
    background: var(--ct-accent-dark);
    transform: rotate(90deg);
    box-shadow: 0 6px 16px rgba(180, 151, 71, 0.4);
}

.alaw-mobile-menu__nav {
    list-style: none;
    padding: 0;
    margin-top: 4rem;
}

.alaw-mobile-menu__nav li {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(180, 151, 71, 0.1);
}

.alaw-mobile-menu__nav li:last-child {
    border-bottom: none;
}

.alaw-mobile-menu__nav a {
    color: var(--ct-primary);
    font-size: 1.15rem;
    font-weight: 500;
    display: block;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
}

.alaw-mobile-menu__nav a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--ct-gold-gradient);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.alaw-mobile-menu__nav a:hover,
.alaw-mobile-menu__nav a.active {
    color: var(--ct-accent);
    background: rgba(180, 151, 71, 0.08);
    padding-right: 1.75rem;
}

.alaw-mobile-menu__nav a:hover::before,
.alaw-mobile-menu__nav a.active::before {
    height: 60%;
}

.alaw-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .alaw-nav {
        display: none;
    }

    .alaw-header__cta {
        display: none;
    }

    .alaw-mobile-toggle {
        display: block;
    }
}

/* ============================================
   5. FOOTER
   ============================================ */

.alaw-footer {
    background: linear-gradient(180deg, var(--ct-secondary) 0%, #e0e0e0 100%);
    padding-block-start: clamp(3rem, 6vw, 5rem);
    padding-block-end: 2rem;
    margin-block-start: 5rem;
    position: relative;
}

.alaw-footer::before {
    content: '';
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ct-accent), transparent);
}

.alaw-footer__brand h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.alaw-footer__logo-img,
.alaw-footer__brand img,
.alaw-footer__brand .custom-logo {
    max-height: 80px !important;
    height: auto !important;
    width: auto !important;
    display: block;
    margin-block-end: 1.5rem;
    filter: none !important;
}

.alaw-footer h5 {
    position: relative;
    padding-block-end: 0.75rem;
    margin-block-end: 1.5rem;
}

.alaw-footer h5::after {
    content: '';
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    width: 50px;
    height: 3px;
    background: #ae9a4f;
    border-radius: 2px;
}

.alaw-footer__social {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-block-start: 1.5rem;
}

.alaw-footer__social-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(180, 151, 71, 0.1);
    border: 1px solid var(--ct-accent);
    border-radius: 50%;
    color: var(--ct-accent);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.alaw-footer__social-link:hover {
    background: var(--ct-accent);
    color: var(--ct-text-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(180, 151, 71, 0.3);
}

.alaw-footer__bottom a:hover {
    text-decoration: underline;
}

.alaw-footer ul.list-unstyled a {
    transition: color 0.3s ease;
}

.alaw-footer ul.list-unstyled a:hover {
    color: var(--ct-accent) !important;
}

.alaw-footer h5.text-light,
.alaw-footer .text-light {
    color: var(--ct-text) !important;
}

/* Floating WhatsApp Button */
.alaw-whatsapp-float {
    position: fixed;
    inset-block-end: 30px;
    inset-inline-start: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: whatsappBounce 2s ease-in-out infinite;
}

.alaw-whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.alaw-whatsapp-float:active {
    transform: scale(0.95);
}

.alaw-whatsapp-float i {
    position: relative;
    z-index: 2;
}

.alaw-whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.6;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ============================================
   6. PAGE HEROES
   ============================================ */

.alaw-page-hero {
    margin-block-start: 0;
    padding-block-start: 4rem;
    padding-block-end: 3rem;
    background: linear-gradient(180deg, var(--ct-secondary) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.alaw-page-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--ct-primary);
    opacity: 0.3;
}

/* Archive Hero (for category, archive pages) */
.alaw-archive-hero {
    margin-block-start: 0;
    margin-top: 0 !important;
    padding-block-start: 4rem;
    padding-block-end: 4rem;
    background: linear-gradient(135deg, rgba(24, 44, 96, 0.05) 0%, rgba(180, 151, 71, 0.05) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.alaw-archive-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--ct-primary);
    opacity: 0.02;
}

.alaw-archive-hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.alaw-archive-hero header {
    width: 100%;
    text-align: center;
}

/* ============================================
   7. COMPONENTS
   ============================================ */

/* Section Badge */
.alaw-section-badge {
    display: inline-block;
    background: var(--ct-accent-gradient);
    color: var(--ct-text-light);
    padding-block: 0.5rem;
    padding-inline: 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--ct-accent-glow);
}

/* Base Card */
.alaw-card {
    background: var(--ct-surface);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(184, 115, 81, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alaw-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 115, 81, 0.15);
    border-color: var(--ct-accent);
}

.alaw-card__icon {
    width: 70px;
    height: 70px;
    background: var(--ct-accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--ct-text-light);
    box-shadow: var(--ct-accent-glow);
}

/* Methodology Card */
.alaw-methodology-card {
    background: var(--ct-surface);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(184, 115, 81, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alaw-methodology-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 115, 81, 0.15);
    border-color: var(--ct-accent);
}

.alaw-methodology-card__icon {
    width: 70px;
    height: 70px;
    background: var(--ct-accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--ct-text-light);
    box-shadow: var(--ct-accent-glow);
}

/* VMV Card */
.alaw-vmv-card {
    background: var(--ct-surface);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(184, 115, 81, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alaw-vmv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 115, 81, 0.15);
    border-color: var(--ct-accent);
}

.alaw-vmv-card__icon {
    width: 70px;
    height: 70px;
    background: var(--ct-accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--ct-text-light);
    box-shadow: var(--ct-accent-glow);
}

/* Values Card - Enhanced */
.alaw-values-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    border: 2px solid rgba(180, 151, 71, 0.15);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.alaw-values-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(180, 151, 71, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    transition: all 0.4s ease;
}

.alaw-values-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(180, 151, 71, 0.18);
    border-color: var(--ct-accent);
}

.alaw-values-card:hover::before {
    transform: translate(20%, -20%) scale(1.2);
}

.alaw-values-card__header {
    position: relative;
    margin-block-end: 2.5rem;
    padding-block-end: 1.75rem;
    border-bottom: 2px solid rgba(180, 151, 71, 0.2);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.alaw-values-card__icon {
    position: relative;
    width: 85px;
    height: 85px;
    min-width: 85px;
    background: var(--ct-gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: #ffffff;
    box-shadow: var(--ct-gold-glow);
    z-index: 2;
    flex-shrink: 0;
}

.alaw-values-card__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--ct-primary);
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

.alaw-values-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.alaw-values-card__item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.alaw-values-card__item:hover {
    background: rgba(180, 151, 71, 0.05);
    padding-right: 1.25rem;
}

.alaw-values-card__item:last-child {
    margin-block-end: 0;
}

.alaw-values-card__check {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: var(--ct-gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(180, 151, 71, 0.35);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.alaw-values-card__item:hover .alaw-values-card__check {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(180, 151, 71, 0.45);
}

.alaw-values-card__text {
    color: var(--ct-primary);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.6;
    flex: 1;
}

/* Team Card */
.alaw-team-card {
    background: var(--ct-surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(184, 115, 81, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alaw-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 115, 81, 0.15);
    border-color: var(--ct-accent);
}

.alaw-team-card__header {
    border-bottom: 1px solid rgba(184, 115, 81, 0.15);
    padding-block-end: 1rem;
}

.alaw-team-card__details {
    padding-block-start: 1rem;
}

/* Service Detail Card */
.alaw-service-detail-card {
    background: var(--ct-surface);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(184, 115, 81, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alaw-service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 115, 81, 0.15);
    border-color: var(--ct-accent);
}

.alaw-service-detail-card__icon {
    width: 70px;
    height: 70px;
    background: var(--ct-accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--ct-text-light);
    box-shadow: var(--ct-accent-glow);
}

/* General Content Boxes */
.alaw-legal-rep,
.alaw-history-content {
    border: 1px solid rgba(184, 115, 81, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alaw-additional-services {
    background: linear-gradient(135deg, rgba(24, 44, 96, 0.03) 0%, rgba(180, 151, 71, 0.05) 100%);
    border: 2px solid rgba(180, 151, 71, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.alaw-additional-services:hover {
    border-color: var(--ct-accent);
    box-shadow: 0 12px 40px rgba(180, 151, 71, 0.15);
}

.alaw-additional-services h3 {
    color: var(--ct-accent) !important;
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.alaw-additional-services h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--ct-gold-gradient);
    border-radius: 2px;
}

.alaw-additional-services h5 {
    color: var(--ct-primary) !important;
    font-size: clamp(1.1rem, 2vw, 1.25rem) !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.alaw-additional-services .d-flex {
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.alaw-additional-services .d-flex:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(-5px);
}

.alaw-additional-services .bi-check-circle-fill {
    color: var(--ct-accent) !important;
    filter: drop-shadow(0 2px 4px rgba(180, 151, 71, 0.3));
}

.alaw-additional-services p {
    color: var(--ct-muted) !important;
    line-height: 1.6;
    font-size: 0.95rem;
}

.alaw-services-cta {
    border: 2px solid var(--ct-accent);
    box-shadow: 0 10px 40px rgba(184, 115, 81, 0.3);
}

/* ============================================
   8. SECTIONS
   ============================================ */

/* Hero Section */
.alaw-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-block-start: 0;
}

.alaw-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.alaw-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24, 44, 96, 0.95) 0%, rgba(24, 44, 96, 0.85) 100%);
    z-index: 2;
}

.alaw-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alaw-hero__content {
    position: relative;
    z-index: 3;
}

.alaw-hero__title {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    margin-block-end: 1rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.alaw-hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    line-height: 1.6;
    margin-block-end: 1.5rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* Hero Slider Specific Styles */
.alaw-hero {
    padding: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding-block-start: 0 !important;
    padding-block-end: 0 !important;
    position: relative;
    top: 0 !important;
}

/* Front page hero - start at absolute top */
body.home,
body.page-template-front-page {
    padding-top: 0 !important;
}

body.home .alaw-hero,
body.page-template-front-page .alaw-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Add padding to other pages for fixed header with solid background */
body:not(.home):not(.page-template-front-page) {
    padding-top: 140px !important;
}

body:not(.home):not(.page-template-front-page) .alaw-page-hero {
    margin-top: 0 !important;
    padding-top: 3rem !important;
}

/* Category, archive, and blog pages */
body.category,
body.archive,
body.blog,
body.single-post,
body.error404 {
    padding-top: 140px !important;
}

/* Ensure first section after header has no extra margin */
body:not(.home):not(.page-template-front-page) > *:first-of-type,
body:not(.home):not(.page-template-front-page) section:first-of-type {
    margin-top: 0 !important;
}

.alaw-hero__slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 550px;
    overflow: hidden;
    border-radius: 0 0 80px 80px;
}

.alaw-hero__nav {
    display: none !important;
}

.alaw-hero__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
    padding: 0;
    margin: 0;
}

.alaw-hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.alaw-hero__dot:hover {
    background: rgba(212, 175, 55, 0.8);
    border-color: rgba(212, 175, 55, 1);
    transform: scale(1.2);
}

.alaw-hero__dot.active {
    background: var(--ct-accent);
    border-color: var(--ct-accent);
    width: 32px;
    border-radius: 6px;
}

.alaw-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.alaw-hero__slide.active {
    opacity: 1;
    z-index: 1;
}

.alaw-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(24, 44, 96, 0.72) 0%, rgba(24, 44, 96, 0.65) 100%);
    z-index: 1;
}

.alaw-hero__badge {
    margin-bottom: 1.5rem;
}

.alaw-hero__badge .badge {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem !important;
    background: var(--ct-accent) !important;
    color: #1a1a1a !important;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.alaw-hero__title-main {
    display: block;
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.alaw-hero__title-accent {
    display: block;
    color: #ffffff !important;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-top: 0.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.alaw-hero__title-sub {
    display: block;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: #ffffff !important;
    font-weight: 600;
    margin-top: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.alaw-hero__description {
    color: #ffffff !important;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.7;
    margin-top: 1rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
    max-width: 700px;
}

.alaw-hero__controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.alaw-hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--ct-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.alaw-hero__dot.active {
    background: var(--ct-accent);
    border-color: var(--ct-accent);
    width: 40px;
    border-radius: 10px;
}

/* About Section */
.alaw-about {
    padding-block: clamp(4rem, 8vw, 6rem);
}

.alaw-about-content {
    padding-block: clamp(3rem, 6vw, 5rem);
}

/* About Features List */
.alaw-about .row.g-3 {
    margin-top: 2rem;
}

.alaw-about .row.g-3 > [class*="col-"] {
    margin-bottom: 1rem;
}

.alaw-about .row.g-3 .d-flex {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(180, 151, 71, 0.08) 100%);
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    border: 2px solid rgba(180, 151, 71, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    min-height: 75px;
    align-items: center;
}

.alaw-about .row.g-3 .d-flex::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(180, 151, 71, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    transition: all 0.4s ease;
}

.alaw-about .row.g-3 .d-flex:hover {
    transform: translateY(-5px);
    border-color: var(--ct-accent);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(180, 151, 71, 0.12) 100%);
    box-shadow: 0 12px 28px rgba(180, 151, 71, 0.2);
}

.alaw-about .row.g-3 .d-flex:hover::before {
    transform: translate(20%, -20%) scale(1.3);
}

.alaw-about .row.g-3 .bi-check-circle-fill {
    font-size: 2.5rem !important;
    margin-left: 1.25rem;
    color: var(--ct-accent);
    filter: drop-shadow(0 4px 12px rgba(180, 151, 71, 0.4));
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alaw-about .row.g-3 .d-flex:hover .bi-check-circle-fill {
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 6px 16px rgba(180, 151, 71, 0.5));
}

.alaw-about .row.g-3 span {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ct-primary);
    line-height: 1.4;
    flex: 1;
}

/* Statistics Section */
.alaw-stats {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.alaw-stat__number {
    background: var(--ct-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Services Preview */
.alaw-services-preview {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

/* Services Section */
.alaw-services {
    padding-block: clamp(4rem, 8vw, 6rem);
    background: linear-gradient(180deg, transparent 0%, var(--ct-secondary) 50%, transparent 100%);
}

.alaw-services-content {
    padding-block: clamp(3rem, 6vw, 5rem);
}

.alaw-service-card {
    background: var(--ct-surface);
    border-radius: 1rem;
    padding: 2.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.alaw-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(184, 115, 81, 0.2);
    border-color: var(--ct-accent);
}

.alaw-service-card__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ct-primary) 0%, rgba(24, 44, 96, 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--ct-accent);
    margin-block-end: 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease;
}

.alaw-service-card:hover .alaw-service-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.alaw-service-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ct-text);
    margin-block-end: 1rem;
}

.alaw-service-card__description {
    color: var(--ct-muted);
    line-height: 1.8;
    margin-block-end: 1.5rem;
}

.alaw-service-card__link {
    color: var(--ct-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.alaw-service-card__link:hover {
    color: var(--ct-accent-light);
    gap: 0.75rem;
}

/* Service Detail Cards (for Services Page) */
.alaw-service-detail-card {
    background: var(--ct-surface);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.alaw-service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    border-color: var(--ct-accent);
}

.alaw-service-detail-card__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--ct-primary) 0%, rgba(24, 44, 96, 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--ct-accent);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.alaw-service-detail-card:hover .alaw-service-detail-card__icon {
    transform: scale(1.1);
    background: var(--ct-accent-gradient);
    color: var(--ct-text);
}

.alaw-service-detail-card h3 {
    color: var(--ct-text-light);
    font-weight: 700;
    margin-bottom: 1rem;
}

.alaw-service-detail-card p {
    color: var(--ct-muted);
    line-height: 1.9;
    flex-grow: 1;
}

/* Partners Section */
.alaw-partners {
    padding-block: clamp(4rem, 8vw, 6rem);
}

.alaw-partners__grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    grid-auto-flow: row !important;
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.alaw-partners__empty {
    grid-column: 1 / -1;
    width: 100%;
}

.alaw-partner-item {
    padding: 1.25rem;
    background: var(--ct-surface);
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(174, 154, 79, 0.1);
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
    float: none !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alaw-partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(174, 154, 79, 0.2);
    border-color: #ae9a4f;
}

.alaw-partner-item img {
    max-height: 100px;
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 50%;
    filter: brightness(0) saturate(100%) invert(50%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(0.9) contrast(1.1) !important;
    opacity: 0.85;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.alaw-partner-item:hover img {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(50%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(1) contrast(1.2) !important;
}

.alaw-partners-cta {
    box-shadow: 0 8px 25px rgba(184, 115, 81, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alaw-partners-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(184, 115, 81, 0.4);
}

/* Contact Section */
.alaw-contact {
    padding-block: clamp(4rem, 8vw, 6rem);
}

.alaw-contact__form,
.alaw-contact-form {
    background: var(--ct-surface);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(184, 115, 81, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alaw-contact__info,
.alaw-contact-info {
    background: transparent;
}

.alaw-contact__item,
.alaw-contact-info__item {
    background: var(--ct-surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.alaw-contact__item h5,
.alaw-contact-info__item h5 {
    color: #ae9a4f !important;
}

.alaw-contact__item:hover,
.alaw-contact-info__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    border-color: var(--ct-accent);
}

.alaw-contact__icon,
.alaw-contact-info__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ct-primary) 0%, rgba(24, 44, 96, 0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--ct-accent);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.alaw-contact__item:hover .alaw-contact__icon,
.alaw-contact-info__item:hover .alaw-contact-info__icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

/* Contact Form Fields */
.alaw-form-group {
    margin-bottom: 1.5rem;
}

.alaw-form-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ct-text);
    margin-bottom: 0.5rem;
}

.alaw-form-label i {
    color: var(--ct-accent);
}

.alaw-form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-family: 'Simplified Arabic', 'Arabic Typesetting', 'Tahoma', sans-serif;
    color: var(--ct-text);
    background: #ffffff;
    border: 2px solid rgba(174, 154, 79, 0.2);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.alaw-form-control:focus {
    outline: none;
    border-color: #ae9a4f;
    box-shadow: 0 0 0 3px rgba(174, 154, 79, 0.1);
}

.alaw-form-control::placeholder {
    color: var(--ct-muted);
    opacity: 0.7;
}

textarea.alaw-form-control {
    min-height: 150px;
    resize: vertical;
}

select.alaw-form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ae9a4f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 2.5rem;
}

/* Submit Button Enhancement */
button[type="submit"].btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ct-primary) 0%, rgba(24, 44, 96, 0.9) 100%);
    color: #ffffff;
    border: 2px solid #ae9a4f;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

button[type="submit"].btn:hover {
    background: linear-gradient(135deg, rgba(24, 44, 96, 0.9) 0%, var(--ct-primary) 100%);
    border-color: #c5a95d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(174, 154, 79, 0.3);
}

button[type="submit"].btn i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

button[type="submit"].btn:hover i {
    transform: translateX(-3px);
}

/* News Section */
.alaw-news {
    padding-block: clamp(4rem, 8vw, 6rem);
}

.alaw-news-card {
    background: var(--ct-surface);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.alaw-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--ct-accent);
}

.alaw-news-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--ct-primary);
}

.alaw-news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.alaw-news-card:hover .alaw-news-card__image img {
    transform: scale(1.1);
}

.alaw-news-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 44, 96, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alaw-news-card:hover .alaw-news-card__overlay {
    opacity: 1;
}

.alaw-news-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.alaw-news-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--ct-muted);
    margin-bottom: 0.75rem;
}

.alaw-news-card__meta i {
    color: var(--ct-accent);
}

.alaw-news-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.alaw-news-card__title a {
    color: var(--ct-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.alaw-news-card__title a:hover {
    color: var(--ct-accent);
}

.alaw-news-card__excerpt {
    color: var(--ct-muted);
    line-height: 1.6;
    flex: 1;
}

/* Blog Section */
.alaw-blog {
    padding-block: clamp(4rem, 8vw, 6rem);
}

.alaw-blog-card {
    background: var(--ct-surface);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(184, 115, 81, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.alaw-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(184, 115, 81, 0.2);
}

.alaw-blog-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.alaw-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.alaw-blog-card:hover .alaw-blog-card__image img {
    transform: scale(1.1);
}

.alaw-blog-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(184, 115, 81, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alaw-blog-card:hover .alaw-blog-card__overlay {
    opacity: 1;
}

.alaw-blog-card__content {
    padding: 1.5rem;
}

.alaw-blog-card__meta {
    font-size: 0.875rem;
    color: var(--ct-muted);
    margin-block-end: 1rem;
}

.alaw-blog-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ct-text);
    margin-block-end: 1rem;
    line-height: 1.4;
}

.alaw-blog-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.alaw-blog-card__title a:hover {
    color: var(--ct-accent);
}

.alaw-blog-card__excerpt {
    color: var(--ct-muted);
    line-height: 1.7;
    margin-block-end: 1.5rem;
}

.alaw-blog-card__link {
    color: var(--ct-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.alaw-blog-card__link:hover {
    color: var(--ct-accent-light);
    gap: 0.75rem;
}

/* ============================================
   9. BLOG & ARCHIVE
   ============================================ */

.alaw-archive-hero {
    margin-block-start: 80px;
    padding-block-start: 3rem;
    padding-block-end: 2rem;
    background: linear-gradient(180deg, var(--ct-secondary) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.alaw-archive-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--ct-primary);
    opacity: 0.3;
}

.alaw-archive-card {
    background: var(--ct-surface);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(184, 115, 81, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alaw-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 115, 81, 0.15);
}

.alaw-archive-card .text-light {
    color: var(--ct-text) !important;
}

.alaw-archive-card__image {
    position: relative;
    overflow: hidden;
}

.alaw-archive-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.alaw-archive-card:hover .alaw-archive-card__image img {
    transform: scale(1.1);
}

.alaw-archive-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(184, 115, 81, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alaw-archive-card:hover .alaw-archive-card__overlay {
    opacity: 1;
}

.alaw-archive-card .card-title a:hover {
    color: var(--ct-accent) !important;
}

/* Pagination Styles */
.pagination {
    --bs-pagination-color: var(--ct-text);
    --bs-pagination-bg: var(--ct-surface);
    --bs-pagination-border-color: rgba(184, 115, 81, 0.2);
    --bs-pagination-hover-color: var(--ct-accent);
    --bs-pagination-hover-bg: var(--ct-secondary);
    --bs-pagination-hover-border-color: var(--ct-accent);
    --bs-pagination-focus-color: var(--ct-accent);
    --bs-pagination-focus-bg: var(--ct-secondary);
    --bs-pagination-active-color: var(--ct-text-light);
    --bs-pagination-active-bg: var(--ct-accent);
    --bs-pagination-active-border-color: var(--ct-accent);
}

.pagination .page-link {
    border-radius: 0.375rem;
    margin-inline: 0.25rem;
}

/* ============================================
   10. SINGLE POST
   ============================================ */

.alaw-single-hero {
    margin-block-start: 80px;
    padding-block-start: 2rem;
    padding-block-end: 1rem;
    background: linear-gradient(180deg, var(--ct-secondary) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.alaw-single-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--ct-primary);
    opacity: 0.3;
}

.breadcrumb-ct {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-ct .breadcrumb-item + .breadcrumb-item::before {
    content: "→";
    color: var(--ct-muted);
    margin-inline: 0.5rem;
}

.breadcrumb-ct .breadcrumb-item.active {
    color: var(--ct-muted);
}

.alaw-single-post {
    background: var(--ct-surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(184, 115, 81, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alaw-single-post .text-light {
    color: var(--ct-text) !important;
}

.alaw-single-thumbnail img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.alaw-post-content {
    font-size: 1.125rem;
    line-height: 1.9;
}

.alaw-post-content h2,
.alaw-post-content h3,
.alaw-post-content h4 {
    color: var(--ct-text);
    margin-block-start: 2rem;
    margin-block-end: 1rem;
}

.alaw-post-content p {
    margin-block-end: 1.5rem;
}

.alaw-post-content a {
    color: var(--ct-accent);
    text-decoration: underline;
}

.alaw-post-content a:hover {
    color: var(--ct-accent-light);
}

.alaw-post-content ul,
.alaw-post-content ol {
    margin-block-end: 1.5rem;
    padding-inline-start: 2rem;
}

.alaw-post-content blockquote {
    border-inline-start: 4px solid var(--ct-accent);
    padding-inline-start: 1.5rem;
    margin-block: 2rem;
    font-style: italic;
    color: var(--ct-muted);
}

.alaw-sidebar {
    position: sticky;
    inset-block-start: 100px;
}

.alaw-widget {
    background: var(--ct-surface);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(184, 115, 81, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alaw-widget .text-light {
    color: var(--ct-text) !important;
}

.alaw-widget h4 {
    position: relative;
    padding-block-end: 0.75rem;
    margin-block-end: 1.5rem;
}

.alaw-widget h4::after {
    content: '';
    position: absolute;
    inset-block-end: 0;
    inset-inline-end: 0;
    width: 40px;
    height: 2px;
    background: var(--ct-accent-gradient);
}

.alaw-related-post a:hover {
    color: var(--ct-accent) !important;
}

.alaw-related-post__image img {
    transition: transform 0.3s ease;
}

.alaw-related-post__image:hover img {
    transform: scale(1.05);
}

/* ============================================
   11. 404 PAGE
   ============================================ */

.alaw-404-hero {
    margin-block-start: 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--ct-secondary) 0%, var(--ct-primary) 100%);
    position: relative;
    overflow: hidden;
}

.alaw-404-hero__bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
}

.alaw-404-hero .text-light {
    color: var(--ct-text) !important;
}

/* ============================================
   12. UTILITIES
   ============================================ */

.alaw-bg-ct-accent-gradient {
    background: var(--ct-accent-gradient) !important;
}

.alaw-text-ct-accent {
    color: var(--ct-accent) !important;
}

.alaw-text-ct-muted {
    color: var(--ct-muted) !important;
}

/* ============================================
   13. RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .alaw-partners__grid {
        grid-template-columns: repeat(7, 1fr) !important;
    }
}

/* Medium devices (tablets, 768px to 991.98px) */
@media (max-width: 991.98px) {
    .alaw-header__logo img {
        max-height: 60px;
    }

    .alaw-hero__title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    /* Hero rounded edges for tablets */
    .alaw-hero__slider {
        height: 75vh;
        min-height: 500px;
        border-radius: 0 0 60px 60px;
    }

    .alaw-hero__dots {
        bottom: 25px;
        gap: 10px;
    }

    .alaw-hero__dot {
        width: 10px;
        height: 10px;
    }

    .alaw-hero__dot.active {
        width: 28px;
    }

    /* CTA Button text sizing for tablets */
    .btn {
        font-size: 0.9rem !important;
        padding: 0.65rem 1.25rem !important;
    }

    .btn i {
        font-size: 0.85rem;
    }

    .alaw-footer__social {
        justify-content: flex-start;
        gap: 0.875rem;
    }

    .alaw-footer__social-link {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        font-size: 1.15rem;
    }

    .alaw-partners__grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .alaw-partner-item {
        border-radius: 50%;
        aspect-ratio: 1;
        max-width: 140px;
        padding: 1rem;
    }

    .alaw-partner-item img {
        max-height: 80px;
        max-width: 80px;
        border-radius: 50%;
    }

    .alaw-sidebar {
        position: static;
        margin-block-start: 3rem;
    }
}

/* Small devices (phones, 576px to 767.98px) */
@media (max-width: 767.98px) {
    /* Adjust body padding for smaller header on mobile */
    body:not(.home):not(.page-template-front-page) {
        padding-top: 110px !important;
    }

    .alaw-page-hero,
    .alaw-archive-hero {
        padding-block-start: 2rem;
        padding-block-end: 2rem;
    }

    .alaw-header {
        padding: 0.75rem 0;
    }

    .alaw-header.scrolled {
        padding: 0.5rem 0;
    }

    .alaw-page-hero {
        padding-block-start: 2rem;
        padding-block-end: 2rem;
    }

    /* Hero section mobile optimization */
    .alaw-hero {
        min-height: auto !important;
        height: auto !important;
    }

    .alaw-hero__slider {
        height: 85vh;
        max-height: 85vh;
        min-height: 550px;
        border-radius: 0 0 40px 40px;
        margin-top: 0 !important;
        padding-top: 0 !important;
        overflow: hidden;
    }

    /* Keep rounded bottom edges on front page mobile */
    body.home .alaw-hero__slider,
    body.page-template-front-page .alaw-hero__slider {
        border-radius: 0 0 40px 40px !important;
        height: 85vh;
        max-height: 85vh;
    }

    .alaw-hero__slides {
        width: 100%;
        overflow: hidden;
    }

    .alaw-hero__slide {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        width: 100%;
        overflow: hidden;
    }

    .alaw-hero__slide .container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .alaw-hero__slide .row {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .alaw-hero__slide .col-lg-8,
    .alaw-hero__slide [class*="col-"] {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        max-width: 100%;
    }

    .alaw-hero__content {
        width: 100%;
        padding: 1.5rem 0.75rem;
        text-align: center;
        overflow: hidden;
    }

    .alaw-hero__badge {
        margin-bottom: 1rem;
    }

    .alaw-hero__badge .badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem !important;
    }

    .alaw-hero__title-main {
        font-size: clamp(1.35rem, 5vw, 1.75rem) !important;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .alaw-hero__title-accent {
        font-size: clamp(1.15rem, 4.5vw, 1.5rem) !important;
        margin-top: 0.35rem;
    }

    .alaw-hero__title-sub {
        font-size: clamp(1rem, 3.5vw, 1.25rem) !important;
        margin-top: 0.5rem;
    }

    .alaw-hero__description {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem) !important;
        line-height: 1.6;
        margin-top: 0.75rem;
        padding: 0;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .alaw-hero__actions {
        margin-top: 1.25rem;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        justify-content: center;
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .alaw-hero__actions .btn {
        flex-shrink: 0;
    }

    .alaw-hero__dots {
        bottom: 20px;
        gap: 8px;
    }

    .alaw-hero__dot {
        width: 8px;
        height: 8px;
    }

    .alaw-hero__dot.active {
        width: 24px;
    }

    /* CTA Button text sizing for mobile */
    .btn {
        font-size: 0.85rem !important;
        padding: 0.6rem 1rem !important;
        white-space: nowrap;
    }

    .btn i {
        font-size: 0.8rem;
    }

    .alaw-hero__actions {
        flex-wrap: nowrap !important;
        gap: 0.5rem !important;
    }

    .alaw-methodology-card,
    .alaw-vmv-card,
    .alaw-team-card,
    .alaw-service-detail-card {
        padding: 1.5rem;
    }

    .alaw-news-card__body {
        padding: 1.25rem;
    }

    .alaw-news-card__title {
        font-size: 1rem;
    }

    .alaw-news-card__excerpt {
        font-size: 0.875rem;
    }

    .alaw-values-card {
        padding: 2rem 1.5rem;
    }

    .alaw-values-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-block-end: 2rem;
        padding-block-end: 1.5rem;
        text-align: center;
    }

    .alaw-values-card__icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
        margin: 0 auto;
    }

    .alaw-values-card__title {
        font-size: 1.85rem;
        text-align: center;
        width: 100%;
    }

    .alaw-values-card__list {
        gap: 1rem;
    }

    .alaw-values-card__item {
        padding: 0.5rem;
        gap: 1rem;
    }

    .alaw-values-card__check {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 1rem;
    }

    .alaw-values-card__text {
        font-size: 1.05rem;
    }

    /* About features mobile optimization */
    .alaw-about .row.g-3 > [class*="col-"] {
        margin-bottom: 0.75rem;
    }

    .alaw-about .row.g-3 .d-flex {
        padding: 1rem 1.25rem;
        min-height: 65px;
        border-radius: 0.875rem;
    }

    .alaw-about .row.g-3 .bi-check-circle-fill {
        font-size: 2rem !important;
        margin-left: 1rem;
        width: 2rem;
        height: 2rem;
    }

    .alaw-about .row.g-3 span {
        font-size: 1rem;
    }

    .alaw-footer {
        padding-block-end: 2rem;
    }

    .alaw-footer h5::after {
        margin-inline: auto 0;
    }

    .alaw-footer__logo-img,
    .alaw-footer__brand img,
    .alaw-footer__brand .custom-logo {
        max-height: 80px !important;
    }

    .alaw-footer__social {
        gap: 0.75rem !important;
        margin-block-start: 1.25rem;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
    }

    .alaw-footer__social-link {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 1.1rem;
    }

    .alaw-whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        inset-block-end: 20px;
        inset-inline-start: 20px;
    }

    .alaw-services-cta {
        padding: 2rem !important;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .alaw-header__logo {
        height: 70px !important;
        max-width: 200px !important;
        filter: none !important;
    }

    .alaw-header.scrolled .alaw-header__logo {
        height: 60px !important;
        max-width: 180px !important;
        filter: none !important;
    }

    .alaw-header__brand img {
        height: 70px !important;
        max-width: 200px !important;
        filter: none !important;
    }

    .alaw-header.scrolled .alaw-header__brand img {
        height: 60px !important;
        max-width: 180px !important;
        filter: none !important;
    }

    .alaw-mobile-toggle {
        padding: 0.4rem 0.6rem;
        font-size: 1.25rem;
    }

    .alaw-mobile-menu {
        width: 280px;
        padding: 1.5rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .alaw-footer__logo-img,
    .alaw-footer__brand img,
    .alaw-footer__brand .custom-logo {
        max-height: 70px !important;
    }

    .alaw-footer__social {
        gap: 0.625rem !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
    }

    .alaw-footer__social-link {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 1rem;
    }

    .alaw-footer .row>[class*="col-"] {
        margin-block-end: 2rem;
    }

    .alaw-footer .row>[class*="col-"]:last-child {
        margin-block-end: 0;
    }

    .alaw-whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        inset-block-end: 15px;
        inset-inline-start: 15px;
    }

    .alaw-partners__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .alaw-partner-item {
        border-radius: 50%;
        aspect-ratio: 1;
        padding: 0.5rem;
    }

    .alaw-partner-item img {
        max-height: 140px;
        max-width: 140px;
        border-radius: 50%;
        width: 85%;
        height: 85%;
        object-fit: contain;
    }
}

/* Extra small devices (phones, less than 360px) */
@media (max-width: 359.98px) {
    .alaw-header__logo {
        height: 60px !important;
        max-width: 180px !important;
        filter: none !important;
    }

    .alaw-header.scrolled .alaw-header__logo {
        height: 50px !important;
        max-width: 150px !important;
        filter: none !important;
    }

    .alaw-header__brand img {
        height: 60px !important;
        max-width: 180px !important;
        filter: none !important;
    }

    .alaw-header.scrolled .alaw-header__brand img {
        height: 50px !important;
        max-width: 150px !important;
        filter: none !important;
    }

    .alaw-mobile-menu {
        width: 260px;
        padding: 1.25rem;
    }

    .alaw-hero__slider {
        min-height: 550px;
        height: 100vh;
    }

    .alaw-hero__title-main {
        font-size: clamp(1.25rem, 6vw, 1.5rem) !important;
    }

    .alaw-hero__title-accent {
        font-size: clamp(1.05rem, 5vw, 1.35rem) !important;
    }

    .alaw-hero__title-sub {
        font-size: clamp(0.95rem, 4vw, 1.15rem) !important;
    }

    .alaw-hero__description {
        font-size: clamp(0.8rem, 3vw, 0.9rem) !important;
        padding: 0 0.25rem;
    }

    .alaw-hero__content {
        padding: 1rem 0.25rem;
    }

    .alaw-card,
    .alaw-methodology-card,
    .alaw-vmv-card,
    .alaw-values-card,
    .alaw-team-card {
        padding: 1.25rem;
    }
}
