:root {
    --primary-blue: #1a365d;
    --secondary-blue: #2d3748;
    --accent-gold: #d4af37;
    --light-bg: #f8f9fa;
    --dark-text: #2d3748;
    --light-text: #f8f9fa;
    --border-color: #e2e8f0;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: white;
    padding-top: 76px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.small {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

/* Navigation */
.navbar {
    background-color: var(--primary-blue);
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-size: 1.25rem;
}

.navbar-brand small {
    font-size: 0.875rem;
    opacity: 0.9;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    font-size: 1rem;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-blue);
    color: white;
    padding: 1rem;
    z-index: 1050;
    display: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/images/pattern.png');
    opacity: 0.1;
}

/* Practice Areas */
.practice-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--accent-gold);
}

.practice-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Team Section */
.team-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.team-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Blog Cards */
.blog-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Forms */
.form-control, .form-select {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

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

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--secondary-blue);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #e2e8f0;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer .disclaimer-text {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 1rem;

}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 66px;
        font-size: 14px;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .practice-card, .team-card, .blog-card {
        margin-bottom: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .practice-card, .team-card {
        padding: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 400px) {
    body {
        font-size: 13px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
}

/* 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: 0;
}

:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar, .footer, .cookie-banner {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        font-size: 12pt;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
}





/* Add these to your existing style.css */

/* Disclaimer Modal Styles */
.disclaimer-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border-bottom: none;
}

.disclaimer-modal .modal-title {
    font-family: 'Playfair Display', serif;
}

.disclaimer-content {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    line-height: 1.6;
}

.disclaimer-content::-webkit-scrollbar {
    width: 6px;
}

.disclaimer-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.disclaimer-content::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.disclaimer-modal .modal-footer {
    border-top: 1px solid var(--border-color);
    background: var(--light-bg);
}

.disclaimer-modal .btn-agree {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border: none;
    padding: 10px 30px;
    font-weight: 500;
    transition: var(--transition);
}

.disclaimer-modal .btn-agree:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.disclaimer-modal .btn-disagree {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 10px 30px;
    font-weight: 500;
    transition: var(--transition);
}

.disclaimer-modal .btn-disagree:hover {
    background: var(--primary-blue);
    color: white;
}

.disclaimer-highlight {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 5px 5px 0;
}

.disclaimer-list {
    list-style: none;
    padding-left: 0;
}

.disclaimer-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
}

.disclaimer-list li:last-child {
    border-bottom: none;
}

.disclaimer-list li:before {
    content: "⚖️";
    margin-right: 10px;
    margin-top: 2px;
}

.disclaimer-modal .modal-dialog {
    max-width: 700px;
}

/* Toast notifications */
.disclaimer-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    z-index: 1060;
    max-width: 300px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* For smaller screens */
@media (max-width: 768px) {
    .disclaimer-modal .modal-dialog {
        margin: 10px;
    }
    
    .disclaimer-content {
        max-height: 300px;
    }
    
    .disclaimer-modal .btn-agree,
    .disclaimer-modal .btn-disagree {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

.checkbox-error {
    outline: 2px solid #dc3545;
    outline-offset: 3px;
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
    position: relative;
}

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

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid #e0e0e0;
}

.whatsapp-tooltip:before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid white;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

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

/* WhatsApp Modal Styles */
.whatsapp-modal .modal-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-bottom: none;
}

.whatsapp-modal .modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-modal .modal-body {
    padding: 30px;
}

.whatsapp-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.whatsapp-option {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.whatsapp-option:hover {
    border-color: #25D366;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp-option.selected {
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.05);
}

.whatsapp-option i {
    font-size: 40px;
    color: #25D366;
    margin-bottom: 15px;
}

.whatsapp-option h6 {
    color: #333;
    margin-bottom: 10px;
}

.whatsapp-option p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

/* WhatsApp Chat Modal */
.whatsapp-chat-modal .modal-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    color: white;
}

.whatsapp-chat-modal .modal-body {
    padding: 30px;
}

.message-preview {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #25D366;
}

.message-preview h6 {
    color: #333;
    margin-bottom: 10px;
}

.message-preview p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

.message-form .form-label {
    font-weight: 500;
    color: #333;
}

.message-form .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.message-form .form-control:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 0.25rem rgba(37, 211, 102, 0.25);
}

.message-counter {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-top: 5px;
}

.message-counter.warning {
    color: #ff9800;
}

.message-counter.danger {
    color: #f44336;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .whatsapp-options {
        grid-template-columns: 1fr;
    }
}