/* ============================================
   GARDA KEADILAN LAW FIRM - MAIN STYLESHEET
   Bootstrap 5.3 + Custom Styles
   ============================================ */

:root {
    /* Primary Colors */
    --color-navy: #1a2942;
    --color-gold: #d4af37;
    --color-forest-green: #2d5f3f;
    --color-maroon: #8b3a3a;
    
    /* Neutral Colors */
    --color-light-gray: #f8f9fa;
    --color-text: #1a2942;
    --color-muted: #666666;
    --color-border: #e0e0e0;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--color-text);
}

body {
    background-color: var(--color-light-gray);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--color-muted);
    line-height: 1.6;
}

a {
    color: var(--color-navy);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, rgba(26, 41, 66, 0.9) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   BUTTONS & FORMS
   ============================================ */

.btn-primary {
    background-color: var(--color-navy);
    border-color: var(--color-navy);
    color: white;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-forest-green);
    border-color: var(--color-forest-green);
    color: white;
}

.btn-secondary {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #c49d2e;
    border-color: #c49d2e;
    color: var(--color-navy);
}

.btn-outline-primary {
    color: var(--color-navy);
    border-color: var(--color-navy);
    transition: var(--transition-smooth);
}

.btn-outline-primary:hover {
    background-color: var(--color-navy);
    border-color: var(--color-navy);
    color: white;
}

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

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

.form-control,
.form-select {
    border-color: var(--color-border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--color-navy) !important;
}

.nav-link {
    color: var(--color-navy) !important;
    font-weight: 500;
    transition: var(--transition-smooth);
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--color-gold) !important;
}

/* ============================================
   CARDS & COMPONENTS
   ============================================ */

.card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: 0 4px 12px rgba(26, 41, 66, 0.1);
}

.practice-card {
    background: white;
    border-left: 4px solid var(--color-gold);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    height: 100%;
}

.practice-card:hover {
    box-shadow: 0 8px 24px rgba(26, 41, 66, 0.15);
    transform: translateY(-5px);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--color-navy);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

footer h5 {
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

footer a {
    color: var(--color-gold);
}

footer a:hover {
    color: white;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    z-index: 999;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

/* ============================================
   UTILITIES
   ============================================ */

.section-title {
    color: var(--color-navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.section-subtitle {
    color: var(--color-gold);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-gold {
    color: var(--color-gold);
}

.text-navy {
    color: var(--color-navy);
}

.bg-navy {
    background-color: var(--color-navy);
}

.bg-gold {
    background-color: var(--color-gold);
}

.border-gold {
    border-color: var(--color-gold) !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .practice-card {
        padding: 1.5rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   SCROLLBAR CUSTOMIZATION
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-navy);
}
/* ========================================
   SERVICES SECTION (Landing Page)
======================================== */
.section-services {
    padding: 5rem 0;
}

.service-card-home {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #d4af37, #f4d03f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card-home:hover::before {
    transform: scaleX(1);
}

.service-card-home:hover {
    border-color: #d4af37;
    box-shadow: 0 12px 32px rgba(26,41,66,0.12);
    transform: translateY(-8px);
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a2942;
    font-weight: 700;
    font-size: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-category {
    color: #d4af37;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card-title {
    color: #1a2942;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding-right: 3rem; /* Space for number badge */
}

.service-card-description {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-card-link:hover {
    color: #1a2942;
    gap: 0.5rem;
}