/* =========================================
   GUANDARU THUITA LAW - MODERN PREMIUM THEME
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #C0392B;
    /* Deep Burgundy */
    --primary-dark: #A93226;
    /* Darker Burgundy for hover */
    --secondary-color: #2C3E50;
    /* Slate Blue/Grey */
    --text-color: #444444;
    /* Softer Black */
    --light-bg: #F9FAFB;
    /* Very light grey for sections */
    --border-color: #E5E7EB;
    --font-family: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- Typography & Base --- */
body {
    font-family: var(--font-family) !important;
    color: var(--text-color);
    line-height: 1.7;
    /* Increased for better readability */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.text-theme-colored,
.text-theme-color-2,
.widget-title {
    font-family: var(--font-family) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    color: var(--secondary-color) !important;
}

/* Force Primary Color Attributes */
.text-theme-colored {
    color: var(--primary-color) !important;
}

.bg-theme-colored {
    background-color: var(--primary-color) !important;
}

/* --- Navigation --- */
.header-nav-wrapper {
    background: #ffffff !important;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.menuzord-menu>li>a {
    font-weight: 600 !important;
    text-transform: capitalize !important;
    font-size: 15px !important;
    color: var(--secondary-color);
}

/* Menu Color Overrides (Burgundy) */
.menuzord.red .menuzord-menu>li.active>a,
.menuzord.red .menuzord-menu>li:hover>a,
.menuzord.red .menuzord-menu ul.dropdown li:hover>a,
.menuzord .menuzord-menu>li.active>a,
.menuzord .menuzord-menu>li:hover>a,
.menuzord-menu ul.dropdown li:hover>a {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

/* --- Hero & Section Titles --- */
.section-title h2 {
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* --- Buttons (Premium Flat Style) --- */
.btn {
    border-radius: 4px !important;
    /* Slight rounding */
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em;
    padding: 12px 28px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm) !important;
    border: none !important;
}

.btn-theme-colored {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-theme-colored:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md) !important;
}

/* --- Cards & Feature Boxes (The "Lift" Effect) --- */
.icon-box,
.widget,
.attorney .content,
.gallery-item .thumb {
    background: #ffffff;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    height: 100%;
}

.icon-box:hover,
.attorney:hover .content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent !important;
}

.icon-box i {
    color: var(--primary-color) !important;
    transition: transform 0.3s ease;
}

.icon-box:hover i {
    transform: scale(1.1);
}

/* Remove default widget borders if they clash */
.widget {
    border: none !important;
    box-shadow: none;
}

.widget.dark {
    background: transparent;
    border: none !important;
}

/* --- Footer (Dark & Elegant) --- */
#footer {
    background: #111827 !important;
    /* Rich Dark Charcoal */
    color: #9CA3AF !important;
    padding-top: 60px;
}

#footer .widget-title {
    color: #ffffff !important;
    border-bottom-color: var(--primary-color);
}

#footer a {
    color: #D1D5DB;
}

#footer a:hover {
    color: var(--primary-color);
}

/* Footer Inputs */
#footer .form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 4px !important;
}

#footer .form-control:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-color) !important;
}

/* --- Forms (Global) --- */
.form-control {
    border-radius: 4px !important;
    border: 1px solid #D1D5DB !important;
    padding: 12px 16px !important;
    height: auto !important;
    box-shadow: none !important;
    font-size: 15px;
}

.form-control:focus {
    border-color: var(--primary-color) !important;
    ring: 2px solid rgba(192, 57, 43, 0.2);
}

/* --- Utilities --- */
.bg-silver-light {
    background-color: var(--light-bg) !important;
}

/* Fix Revolution Slider Caption Fonts to match */
.tp-caption {
    font-family: var(--font-family) !important;
}