/* ===================================
   Legal Group Website - Custom CSS
   ===================================  */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Dark Navy/Slate Blue */
    --primary-color: rgb(45, 62, 80);
    /* #2d3e50 - Main dark blue */
    --primary-dark: rgb(26, 37, 47);
    /* #1a252f - Darker shade */
    --primary-light: rgb(52, 73, 94);
    /* #34495e - Lighter shade */

    /* Accent Colors - Golden/Yellow */
    --accent-color: rgb(212, 175, 100);
    /* #d4af64 - Main golden */
    --accent-light: rgb(201, 169, 97);
    /* #c9a961 - Light golden */
    --accent-dark: rgb(184, 134, 64);
    /* #b88640 - Dark golden */

    /* Background Colors */
    --background-color: rgb(250, 250, 248);
    /* #fafaf8 - Light background */
    --background-dark: rgb(32, 44, 56);
    /* #202c38 - Dark background */
    --surface-color: rgb(255, 255, 255);
    /* #ffffff - White surface */
    --surface-dark: rgb(45, 62, 80);
    /* #2d3e50 - Dark surface */

    /* Text Colors */
    --text-color: rgb(26, 26, 26);
    /* #1a1a1a - Dark text */
    --text-light: rgb(115, 115, 115);
    /* #737373 - Light text */
    --text-on-dark: rgb(255, 255, 255);
    /* #ffffff - Text on dark background */
    --text-golden: rgb(212, 175, 100);
    /* #d4af64 - Golden text */

    /* Border Colors */
    --border-color: rgb(230, 230, 230);
    /* #e6e6e6 - Light border */
    --border-dark: rgb(52, 73, 94);
    /* #34495e - Dark border */

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-golden: 0 4px 15px rgba(212, 175, 100, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fs-4.fw-bold.mb-3 {
    direction: ltr;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

a,
a:hover {
    text-decoration: none !important;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* ===== Utility Classes ===== */
.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.z-1 {
    z-index: 1;
}

.z-2 {
    z-index: 2;
}

/* ===== Button Styles ===== */
.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== Header & Navigation ===== */
#header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    z-index: 1000;
}

/* Top Header */
.top-header {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.top-header i {
    color: var(--accent-color);
    width: 14px;
    height: 14px;
    margin-left: 8px;
}

.info-item {
    display: flex;
    align-items: center;
}

.info-item span {
    margin-right: 5px;
}

.top-header .social-link {
    color: var(--accent-color);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.top-header .social-link:hover {
    color: white;
    transform: translateY(-2px);
}

.top-header .social-link i {
    color: inherit;
    width: 16px;
    height: 16px;
    margin-left: 0;
}

#header.scrolled .top-header {
    margin-top: -40px;
    opacity: 0;
    pointer-events: none;
}

#header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.logo-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

/* ===== Offcanvas Mobile Menu Styling (Full Screen) ===== */
.offcanvas {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
    color: white;
    border: none !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 2000;
}

/* Slide in from right in RTL */
.offcanvas.offcanvas-start {
    transform: translateX(100%);
}

.offcanvas.show {
    transform: none !important;
}

.offcanvas-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.offcanvas-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.9;
    padding: 1.25rem;
    background-size: 1.2rem;
    transition: all 0.3s;
}

.offcanvas-header .btn-close:hover {
    transform: rotate(90deg);
    opacity: 1;
}

.offcanvas-header .logo-title {
    color: white;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.offcanvas-header .logo-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.offcanvas-body {
    padding: 0 !important;
    background: transparent;
    overflow-y: auto;
    padding-bottom: 100px;
    /* Space for CTA */
}

/* Nav Link Styling in Offcanvas */
.offcanvas .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 1.25rem 2rem !important;
    font-size: 1.15rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link.active {
    background: rgba(212, 175, 100, 0.12);
    color: var(--accent-color) !important;
    padding-right: 2.5rem !important;
}

/* Dropdown Arrow in Offcanvas */
.offcanvas .dropdown-toggle::after {
    display: none !important;
    /* Hide default Bootstrap arrow */
}

.offcanvas .nav-item.menu-item-has-children>.nav-link::before {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23d4af64' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    order: 2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas .nav-item.menu-item-has-children>.nav-link.show::before {
    transform: rotate(180deg);
}

.offcanvas .nav-item.open>.nav-link::before {
    transform: rotate(180deg);
}

/* Submenu/Dropdown styling in Offcanvas */
.offcanvas .dropdown-menu {
    background: rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    display: none;
}

.offcanvas .dropdown-menu.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offcanvas .dropdown-item {
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 1rem 3rem !important;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}

.offcanvas .dropdown-item:hover {
    background: rgba(212, 175, 100, 0.08) !important;
    color: white !important;
    padding-right: 3.5rem !important;
}

/* Sticky Bottom Button */
.offcanvas .nav-cta {
    position: sticky;
    bottom: 0;
    background: var(--primary-dark);
    padding: 2rem !important;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.offcanvas .nav-cta .btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 100, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas .nav-cta .btn-accent:active {
    transform: scale(0.96);
}

/* Backdrop */
.offcanvas-backdrop {
    background-color: var(--primary-dark);
}

.offcanvas-backdrop.show {
    opacity: 0.85;
    backdrop-filter: blur(5px);
}

/* ===== Desktop Menu (Keep current colors) ===== */
@media (min-width: 992px) {
    .nav-link {
        color: var(--text-color);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent-color);
    }

    .nav-cta .btn-accent {
        background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
        color: white;
    }

    /* Desktop dropdown (optional styling) */
    .nav-item .sub-menu,
    .nav-item .dropdown-menu {
        background: white;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }

    .nav-item .sub-menu .nav-link,
    .nav-item .dropdown-menu .dropdown-item {
        color: var(--text-color) !important;
    }

    .nav-item .sub-menu .nav-link:hover,
    .nav-item .dropdown-menu .dropdown-item:hover {
        color: var(--accent-color) !important;
        background: rgba(212, 175, 100, 0.1);
    }
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Background Slider Wrapper */
.hero-bg-slider {
    position: absolute;
    inset: 0;
}

/* Individual Slide */
.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.hero-bg-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 35, 58, 0.85), rgba(28, 52, 84, 0.75));
    z-index: 1;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    opacity: 0.1;
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: white;
    opacity: 0.05;
    bottom: -100px;
    left: -100px;
    animation-delay: 1s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-light);
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-badge span {
    color: var(--accent-light);
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ===== Archive Hero (Category Pages) ===== */
.archive-hero {
    position: relative;
    padding: 180px 0 120px;
    background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    width: 100%;
}

.archive-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(18, 35, 58, 0.92), rgba(28, 52, 84, 0.85));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.archive-hero .hero-content {
    position: relative;
    z-index: 2;
}

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

.archive-hero .breadcrumb-item {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.archive-hero .breadcrumb-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-hero .breadcrumb-item a:hover {
    color: white;
}

.archive-hero .breadcrumb-item.active {
    color: white;
}

.archive-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
    content: "/";
    padding: 0 10px;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white !important;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
    color: white !important;
}

.btn-whatsapp i {
    width: 24px;
    height: 24px;
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image-wrapper {
    position: relative;
    padding: 2rem;
}

.hero-main-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.hero-main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-2xl);
}

.play-button:hover {
    background: var(--accent-color);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.stats-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    position: absolute;
}

.stats-card-bottom {
    bottom: -20px;
    left: -20px;
}

.stats-card-top {
    top: -20px;
    right: -20px;
}

.stats-icon {
    width: 48px;
    height: 48px;
    background: rgba(184, 134, 64, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.stats-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stats-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== Section Styles ===== */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(184, 134, 64, 0.1);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-badge span {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== About Section ===== */
.about-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 33%;
    height: 100%;
    background: linear-gradient(to left, var(--background-color), transparent);
    opacity: 0.5;
    z-index: 0;
}

.about-images {
    height: 600px;
    position: relative;
}

.about-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    z-index: 2;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-img-main:hover img {
    transform: scale(1.05);
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 40%;
    z-index: 3;
    border: 4px solid white;
    border-radius: 1rem;
    overflow: hidden;
}

.about-img-third {
    position: absolute;
    top: 25%;
    left: 0;
    width: 40%;
    height: 33%;
    z-index: 2;
    border: 4px solid white;
    border-radius: 1rem;
    overflow: hidden;
}

.about-experience-badge {
    position: absolute;
    bottom: 33%;
    right: 0;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-2xl);
    z-index: 4;
    text-align: center;
    transition: transform var(--transition-normal);
}

.about-experience-badge:hover {
    transform: scale(1.1);
}

.badge-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.badge-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
}

.badge-sublabel {
    font-size: 0.75rem;
    color: var(--text-light);
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--background-color), white);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== Values & Vision Section (Sophisticated Minimalist) ===== */
.premium-values-section {
    background: #fafaf8;
    position: relative;
}

.sophisticated-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid #f1f1f1;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    z-index: 1;
}

.sophisticated-card:hover {
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(184, 134, 64, 0.08);
    transform: translateY(-5px);
}

.sophisticated-icon-box {
    width: 90px;
    height: 90px;
    background: #fafaf8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    transition: all 0.4s ease;
}

.sophisticated-icon-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.sophisticated-card:hover .sophisticated-icon-box {
    background: var(--primary-color);
}

.sophisticated-card:hover .sophisticated-icon-box i,
.sophisticated-card:hover .sophisticated-icon-box svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.sophisticated-icon-box::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px dashed var(--accent-light);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
}

.sophisticated-card:hover .sophisticated-icon-box::after {
    opacity: 1;
    transform: rotate(45deg);
}

.sophisticated-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.sophisticated-desc {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.divider-gold {
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    margin: 1.5rem auto;
    transition: width 0.4s ease;
}

.sophisticated-card:hover .divider-gold {
    width: 80px;
}

.section-title-alt {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title-alt::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
}

/* ===== Methodology Section (Modern) ===== */
.methodology-section {
    background: #f7f7f7;
    position: relative;
}

.step-card {
    padding: 3rem;
    border-radius: 2.5rem;
    background: #fafafb;
    border: 1px solid #f0f0f2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    background: white;
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(28, 52, 84, 0.1);
    border-color: var(--accent-light);
}

.step-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.05;
    position: absolute;
    top: -1rem;
    left: 1rem;
    line-height: 1;
    transition: all 0.5s ease;
}

.step-card:hover .step-number {
    opacity: 0.1;
    transform: scale(1.1);
}

.step-icon-wrapper {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.step-desc {
    color: var(--text-light);
    line-height: 1.8;
}

.method-line {
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-light), transparent);
    z-index: 0;
    opacity: 0.3;
}

/* ===== Video Showcase Section ===== */
.video-section {
    background: white;
    position: relative;
}

.video-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.video-wrapper img {
    height: 500px;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 35, 58, 0.8), rgba(28, 52, 84, 0.4), transparent);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-2xl);
}

.video-play-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
    width: 112px;
    height: 112px;
}

.video-corner {
    position: absolute;
    width: 64px;
    height: 64px;
    border: 4px solid var(--accent-color);
}

.video-corner-top {
    top: 16px;
    right: 16px;
    border-bottom: none;
    border-left: none;
    border-top-right-radius: 1rem;
}

.video-corner-bottom {
    bottom: 16px;
    left: 16px;
    border-top: none;
    border-right: none;
    border-bottom-left-radius: 1rem;
}

.floating-img {
    position: absolute;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid white;
    animation: floatImage 3s ease-in-out infinite;
}

.floating-img-1 {
    top: -32px;
    right: -32px;
    width: 128px;
    height: 128px;
}

.floating-img-2 {
    bottom: -32px;
    left: -32px;
    width: 160px;
    height: 160px;
    animation-delay: 1s;
}

@media (max-width: 992px) {
    .floating-img {
        display: none;
    }
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.highlight-card {
    background: var(--background-color);
    border-radius: 1rem;
    padding: 1rem;
    transition: all var(--transition-normal);
}

.highlight-card:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: rgba(184, 134, 64, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--accent-color);
    font-size: 1.25rem;
}

.highlight-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.highlight-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== Services Section ===== */
.services-section {
    background: #f7f7f7;
}

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    transition: all var(--transition-slow);
    cursor: pointer;
}

.service-card:hover {
    box-shadow: var(--shadow-2xl);
    border-color: var(--accent-color);
}

.service-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(37, 99, 235, 0.2));
    transition: opacity var(--transition-normal);
}

.service-img-overlay.overlay-purple {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(147, 51, 234, 0.2));
}

.service-img-overlay.overlay-green {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(34, 197, 94, 0.2));
}

.service-img-overlay.overlay-orange {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(249, 115, 22, 0.2));
}

.service-img-overlay.overlay-red {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(239, 68, 68, 0.2));
}

.service-img-overlay.overlay-teal {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(20, 184, 166, 0.2));
}

.service-img-overlay.overlay-indigo {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(99, 102, 241, 0.2));
}

.service-img-overlay.overlay-pink {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(236, 72, 153, 0.2));
}

.service-card:hover .service-img-overlay {
    opacity: 0.5;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    transition: color var(--transition-normal);
}

.service-card:hover .service-title {
    color: var(--accent-color);
}

.service-desc {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.875rem;
    opacity: 0;
    transition: all var(--transition-normal);
}

.service-card:hover .service-link {
    opacity: 1;
}

.service-link:hover i {
    transform: translateX(-4px);
}

/* ===== Why Choose Us Section ===== */
.why-section {
    background: #fafafb;
    position: relative;
    overflow: hidden;
}

.decorative-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.decorative-line .line {
    width: 64px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color));
}

.decorative-line .line:last-child {
    background: linear-gradient(to left, transparent, var(--accent-color));
}

.decorative-line .ornament {
    font-size: 1.5rem;
}

.fancy-badge {
    background: linear-gradient(90deg, rgba(184, 134, 64, 0.1), rgba(184, 134, 64, 0.05), rgba(184, 134, 64, 0.1));
    border: 1px solid rgba(184, 134, 64, 0.2);
    padding: 0.75rem 1.5rem;
}

.decorative-curve {
    width: 200px;
    height: 20px;
    position: relative;
}

.decorative-curve::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    top: 50%;
    transform: translate(50%, -50%);
}

.decorative-curve::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.reason-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    opacity: 0.1;
    border-bottom-left-radius: 100%;
}

.reason-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(315deg, var(--accent-color), transparent);
    opacity: 0.1;
    border-top-right-radius: 100%;
}

.reason-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-2xl);
}

.reason-icon-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
    position: relative;
}

.reason-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(184, 134, 64, 0.2);
    border-radius: 50%;
    right: -5px;
    top: -5px;
    transition: transform var(--transition-slow);
}

.reason-card:hover .reason-icon-wrapper::before {
    transform: scale(1.1);
}

.reason-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    position: relative;
}

.reason-icon::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 2px solid white;
    top: -4px;
    right: -4px;
}

.reason-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 50%;
    border: 2px solid white;
    bottom: -4px;
    left: -4px;
}

.reason-card:hover .reason-icon {
    transform: scale(1.1);
}

.reason-title {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    transition: color var(--transition-normal);
}

.reason-card:hover .reason-title {
    color: var(--accent-color);
}

.reason-divider {
    width: 64px;
    height: 2px;
    background: linear-gradient(to left, var(--accent-color), transparent);
    margin-left: auto;
    margin-bottom: 0.75rem;
    transition: width var(--transition-slow);
}

.reason-card:hover .reason-divider {
    width: 96px;
}

.reason-desc {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.8;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='25' fill='none' stroke='white' stroke-width='1'/%3E%3Ccircle cx='40' cy='40' r='15' fill='none' stroke='white' stroke-width='0.5'/%3E%3C/svg%3E");
}

.cta-ornament {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--accent-light);
    font-size: 1.5rem;
}

.cta-title {
    color: white;
    font-size: 1.75rem;
}

.cta-divider {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    position: relative;
}

.cta-divider::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-light);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.cta-desc {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.cta-btn {
    border: 2px solid rgba(212, 175, 127, 0.3);
}

.cta-btn:hover {
    box-shadow: 0 0 30px rgba(184, 134, 64, 0.5);
}

/* ===== Team Section ===== */
.team-section {
    background: var(--background-color);
}

.team-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.team-card:hover {
    box-shadow: var(--shadow-2xl);
}

.team-img {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 35, 58, 0.8), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    font-size: 20px;
}

.social-link:hover {
    background: var(--accent-color);
    color: white;
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-specialty {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: #fafaf8;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: white;
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin: 1rem 0;
}

.testimonial-card:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
    transform: translateY(-10px);
    border-color: var(--accent-light);
}

.testimonial-quote {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(184, 134, 64, 0.05);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 2rem;
    z-index: 0;
}

.testimonial-rating {
    display: flex;
    gap: 6px;
    margin-bottom: 2rem;
}

.testimonial-rating i,
.testimonial-rating svg {
    color: #ffc107;
    fill: #ffc107;
    width: 22px;
    height: 22px;
}

.testimonial-content {
    color: var(--primary-color);
    font-size: 1.25rem;
    line-height: 2;
    margin-bottom: 2.5rem;
    font-style: italic;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 1.5rem;
}

.author-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.75rem;
    box-shadow: 0 10px 20px rgba(28, 52, 84, 0.2);
}

.author-info {
    flex: 1;
}

.author-name {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.author-role {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.author-company {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Custom Carousel Controls for Testimonials */
.testimonials-section .carousel-indicators {
    bottom: -4rem;
}

.testimonials-section .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: none;
    transition: all 0.3s ease;
}

.testimonials-section .carousel-indicators .active {
    background-color: var(--accent-color);
    width: 40px;
    border-radius: 10px;
}

.testimonial-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* ===== Contact Section ===== */
.contact-section {
    background: #f4f4f1;
}

.contact-section iframe {
    width: 100% !important;
}

.contact-form-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    padding-bottom: 0;
    box-shadow: var(--shadow-lg);
}

.form-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    text-align: right;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(184, 134, 64, 0.1);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-info-card:hover {
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-main {
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.contact-sub {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.map-placeholder {
    background: linear-gradient(135deg, rgba(28, 52, 84, 0.1), rgba(184, 134, 64, 0.1));
    border-radius: 1rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 3rem;
    box-shadow: var(--shadow-md);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding-top: 6rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.footer-title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
}

.footer-subtitle {
    font-size: 0.75rem;
    opacity: 0.7;
}

.footer-desc {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background: var(--accent-color);
    color: white;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-newsletter-text {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(184, 134, 64, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0;
}

.copyright {
    font-size: 0.875rem;
    opacity: 0.7;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: white;
}

/* ===== Animations ===== */
@keyframes pulse {

    0%,
    100% {
        opacity: 0.1;
        transform: scale(1);
    }

    50% {
        opacity: 0.15;
        transform: scale(1.05);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out both;
}

.animate-slide-right.delay-1 {
    animation-delay: 0.2s;
}

.animate-slide-right.delay-2 {
    animation-delay: 0.4s;
}

.animate-slide-right.delay-3 {
    animation-delay: 0.6s;
}

.animate-slide-right.delay-4 {
    animation-delay: 0.8s;
}

.animate-float {
    animation: floatImage 3s ease-in-out infinite;
}

.animate-float-up {
    animation: floatUp 0.8s ease-out both;
}

.animate-float-up.delay-1 {
    animation-delay: 0.3s;
}

.animate-fade-up {
    animation: floatUp 0.8s ease-out both;
}

.animate-fade-up.delay-1 {
    animation-delay: 0.2s;
}

.animate-fade-up.delay-2 {
    animation-delay: 0.4s;
}

.animate-fade-up.delay-3 {
    animation-delay: 0.6s;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .about-images {
        height: 400px;
        margin-bottom: 3rem;
    }

    .about-img-main,
    .about-img-secondary,
    .about-img-third {
        position: relative;
        width: 100%;
        height: 300px;
        margin-bottom: 1rem;
    }

    .about-experience-badge {
        position: relative;
        margin: 1rem auto;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-card {
        position: relative;
        margin: 1rem auto;
    }

    .footer-bottom .row {
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* ===== Scroll Animation Observer ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Page Hero (Internal Pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://faisallawyer.com/wp-content/uploads/2026/01/photorealistic-lawyer-environment-scaled.jpg') center/cover;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.page-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.breadcrumb-custom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    opacity: 0.8;
}

.breadcrumb-custom a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-custom a:hover {
    color: var(--accent-light);
}

.breadcrumb-custom span {
    color: var(--accent-color);
}

/* ===== Service Details Page ===== */
.service-details-content img {
    border-radius: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.service-main-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.service-features-list li:hover {
    transform: translateX(-5px);
    background: white;
    box-shadow: var(--shadow-sm);
}

.service-features-list i {
    color: var(--accent-color);
    background: rgba(197, 168, 124, 0.1);
    padding: 10px;
    border-radius: 50%;
    font-size: 1.25rem;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f1f1;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.sidebar-services-list {
    list-style: none;
    padding: 0;
}

.sidebar-services-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
}

.sidebar-post-thumb img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    display: block;
}

.sidebar-post-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-services-list li a:hover,
.sidebar-services-list li a.active {
    background: var(--primary-color);
    color: white;
}

.sidebar-cta {
    background: var(--primary-dark);
    color: white;
    text-align: center;
}

.category-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.category-pill:hover,
.category-pill.active {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(184, 134, 64, 0.2);
    border-color: var(--accent-color);
}

.sidebar-cta i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.sidebar-cta h4 {
    margin-bottom: 1rem;
}

/* WhatsApp Button */
.btn-whatsapp {
    background-color: #25d366;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.page-hero-desc {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Premium CTA Box */
.cta-premium-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    padding: 3rem;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: var(--shadow-lg);
    border-right: 5px solid var(--accent-color);
}

.cta-premium-box::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-premium-box h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-premium-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Full Width CTA Section */
.cta-full-section {
    position: relative;
    padding: 100px 0;
    background: url('https://faisallawyer.com/wp-content/uploads/2026/01/photorealistic-lawyer-environment-scaled.jpg') no-repeat center center / cover;
    background-attachment: fixed;
    overflow: hidden;
}

.cta-full-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 35, 58, 0.9), rgba(28, 52, 84, 0.85));
    z-index: 1;
}

.cta-full-section .container {
    position: relative;
    z-index: 2;
}

.cta-full-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-full-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-full-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-full-section .cta-ornament {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--accent-color);
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .cta-full-title {
        font-size: 2.25rem;
    }

    .cta-full-section {
        padding: 60px 0;
    }
}

/* ===== Blog Section ===== */
.blog-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f1f1f1;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.blog-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

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

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-body {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--accent-color);
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* Single Blog */
.post-content {
    line-height: 1.8;
    color: var(--text-color);
}

.post-content h2,
.post-content h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.tag {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: none;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Contact Info Cards */
.contact-info-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: white;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: rgba(197, 168, 124, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.contact-info-icon svg {
    width: 2rem;
    height: 2rem;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    padding-bottom: 0;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
}

.whatsapp-float {
    display: flex;
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 100%;
    color: #fff;
    background: #40cf61;
    font-size: 36px;
    box-shadow: 1px 6px 24px 0 rgba(7, 94, 84, .24);
}

.page-numbers {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.page-numbers li {
    margin: 0;
}

.page-numbers a,
.page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #c9a458;
    /* الذهبي */
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.page-numbers a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}

/* الصفحة الحالية */
.page-numbers .current {
    background: #23240f;
    /* الغامق */
}

/* زر التالي / السابق */
.page-numbers .next,
.page-numbers .prev {
    font-size: 13px;
}