/* ============================================================
   COMPREHENSIVE STYLING FOR IRONVALE LEGAL CONSULT WEBSITE
   ============================================================ */

/* ============ ROOT VARIABLES ============ */
:root {
    --primary-dark: #0f1f35;
    --primary-gold: #c9a34e;
    --primary-light: #f5f5f5;
    --primary-white: #ffffff;
    --primary-red: #e74c3c;
    --text-dark: #333333;
    --text-gray: #666666;
    --border-light: #e0e0e0;
}

/* ============ GLOBAL STYLES ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--primary-light);
    overflow-x: hidden;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

h4 {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
}

p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-gray);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ============ CONTAINER ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 max(20px, 2vw);
    width: 100%;
}

.container-fluid {
    width: 100%;
    padding: 0 max(20px, 2vw);
}

/* ============ BUTTONS ============ */
.btn {
    padding: clamp(10px, 2vw, 12px) clamp(20px, 3vw, 30px);
    border: none;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    letter-spacing: 1px;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--primary-white);
}

.btn-primary:hover {
    background-color: #d63447;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-white);
    color: var(--primary-dark);
}

/* ============ HEADER & NAVIGATION ============ */
.header {
    background-color: var(--primary-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(15px, 3vw, 20px) 0;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    flex: 0 0 auto;
}

.logo-placeholder {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: clamp(15px, 3vw, 40px);
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    transition: 0.3s;
    display: block;
}

/* ============ HERO SECTION ============ */
.hero-section {
    position: relative;
    height: clamp(300px, 60vh, 600px);
    overflow: hidden;
    margin-top: 60px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover !important;
    background-position: center !important;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: var(--primary-white);
    z-index: 2;
    animation: fadeInUp 1s ease;
    padding: clamp(20px, 5vw, 40px);
    max-width: 100%;
}

.hero-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin-bottom: clamp(15px, 3vw, 20px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: clamp(20px, 3vw, 30px);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: clamp(10px, 2vw, 20px);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-controls {
    position: absolute;
    bottom: clamp(15px, 3vw, 30px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(8px, 2vw, 15px);
    z-index: 5;
}

.hero-prev, .hero-next {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-prev:hover, .hero-next:hover {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
}

/* ============ RECOGNITION SECTION ============ */
.recognition-section {
    padding: clamp(50px, 10vw, 100px) 0;
    background-color: var(--primary-white);
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: clamp(15px, 3vw, 20px);
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: clamp(30px, 8vw, 60px);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(20px, 4vw, 40px);
}

.recognition-box {
    text-align: center;
    padding: clamp(20px, 4vw, 30px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.recognition-box:hover {
    transform: translateY(-10px);
}

.recognition-icon {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    margin: 0 auto clamp(15px, 3vw, 20px);
    background-color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    transition: all 0.3s ease;
}

.recognition-box:hover .recognition-icon {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.recognition-box h3 {
    color: var(--primary-dark);
    margin-bottom: clamp(10px, 2vw, 15px);
}

/* ============ PRACTICE AREAS SECTION ============ */
.practice-areas-section {
    padding: clamp(50px, 10vw, 100px) 0;
    background-color: var(--primary-light);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 40px);
}

.practice-card {
    background-color: var(--primary-white);
    padding: clamp(25px, 4vw, 40px);
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.practice-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.practice-icon {
    width: clamp(55px, 11vw, 70px);
    height: clamp(55px, 11vw, 70px);
    margin: 0 auto clamp(15px, 3vw, 20px);
    background-color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    transition: all 0.3s ease;
}

.practice-card:hover .practice-icon {
    background-color: var(--primary-red);
    transform: scale(1.15);
}

.practice-card h3 {
    color: var(--primary-dark);
    margin-bottom: clamp(10px, 2vw, 15px);
}

.practice-card p {
    margin-bottom: clamp(15px, 2vw, 20px);
    color: var(--text-gray);
}

.read-more {
    color: var(--primary-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
}

.read-more:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

/* ============ SOLUTIONS SECTION ============ */
.solutions-section {
    padding: clamp(50px, 10vw, 100px) 0;
    background-color: var(--primary-red);
}

.solutions-section .section-title {
    color: var(--primary-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(15px, 3vw, 30px);
}

.solution-card {
    overflow: hidden;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.solution-card:hover {
    transform: scale(1.05);
}

.solution-image-placeholder {
    width: 100%;
    height: clamp(150px, 30vw, 200px);
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.1);
}

.solution-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-image-placeholder img {
    transform: scale(1.1);
}

/* ============ ABOUT SECTION ============ */
.about-content-section {
    padding: clamp(50px, 10vw, 100px) 0;
    background-color: var(--primary-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 6vw, 60px);
    align-items: center;
}

.about-text h2 {
    color: var(--primary-dark);
    margin-bottom: clamp(15px, 3vw, 20px);
}

.about-text p {
    margin-bottom: clamp(15px, 2vw, 20px);
    line-height: 1.8;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(15px, 2vw, 20px);
}

.about-image-placeholder {
    width: 100%;
    height: clamp(200px, 40vw, 250px);
    background-color: var(--primary-light);
    border-radius: 5px;
    overflow: hidden;
}

.about-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============ SERVICES SECTION ============ */
.services-section {
    padding: clamp(50px, 10vw, 100px) 0;
    background-color: var(--primary-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 40px);
}

.service-card {
    background-color: var(--primary-white);
    padding: clamp(25px, 4vw, 40px);
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    margin: 0 auto clamp(15px, 3vw, 20px);
    background-color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* ============ STATISTICS SECTION ============ */
.statistics-section {
    padding: clamp(50px, 10vw, 100px) 0;
    background-color: var(--primary-dark);
}

.statistics-section .section-title {
    color: var(--primary-white);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(30px, 6vw, 60px);
}

.stat-card {
    text-align: center;
}

.stat-circle {
    width: clamp(120px, 25vw, 150px);
    height: clamp(120px, 25vw, 150px);
    margin: 0 auto clamp(20px, 4vw, 30px);
    position: relative;
}

.stat-progress {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--primary-gold) 0deg, var(--primary-gold) 342deg, #444 342deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stat-progress::before {
    content: '';
    width: 85%;
    height: 85%;
    background-color: var(--primary-dark);
    border-radius: 50%;
    position: absolute;
}

.stat-number {
    position: relative;
    z-index: 1;
    color: var(--primary-gold);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
}

.stat-card h3 {
    color: var(--primary-white);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
}

/* ============ HERO BANNER ============ */
.hero-banner {
    height: clamp(250px, 40vh, 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    margin-top: 60px;
}

.hero-banner-content {
    text-align: center;
    color: var(--primary-white);
    z-index: 2;
    padding: clamp(20px, 5vw, 40px);
}

.hero-banner-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: clamp(15px, 2vw, 20px);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 2vw, 10px);
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-white);
}

/* ============ PRACTICE IMAGE CARDS ============ */
.practice-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 40px);
}

.practice-image-card {
    background-color: var(--primary-white);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.practice-image-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.practice-image-placeholder {
    width: 100%;
    height: clamp(150px, 30vw, 200px);
    overflow: hidden;
    background-color: var(--primary-light);
}

.practice-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.practice-image-card:hover .practice-image-placeholder img {
    transform: scale(1.1);
}

.practice-image-content {
    padding: clamp(20px, 3vw, 30px);
}

.practice-image-content h3 {
    color: var(--primary-dark);
    margin-bottom: clamp(8px, 1.5vw, 10px);
}

.practice-image-content p {
    color: var(--text-gray);
    margin-bottom: clamp(12px, 2vw, 15px);
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.read-more-link {
    color: var(--primary-gold);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
}

.read-more-link:hover {
    color: var(--primary-red);
}

/* ============ ATTORNEYS SECTION ============ */
.attorneys-section {
    padding: clamp(50px, 10vw, 100px) 0;
    background-color: var(--primary-white);
}

.attorneys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(20px, 4vw, 40px);
}

.attorney-card {
    background-color: var(--primary-light);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.attorney-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.attorney-image-placeholder {
    width: 100%;
    height: clamp(250px, 50vw, 300px);
    background-color: var(--primary-gold);
    overflow: hidden;
}

.attorney-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attorney-info {
    padding: clamp(20px, 3vw, 30px);
    text-align: center;
}

.attorney-info h3 {
    color: var(--primary-dark);
    margin-bottom: clamp(5px, 1vw, 5px);
}

.attorney-position {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    margin-bottom: clamp(15px, 2vw, 20px) !important;
}

.attorney-social {
    display: flex;
    gap: clamp(10px, 2vw, 15px);
    justify-content: center;
    flex-wrap: wrap;
}

.attorney-social a {
    width: clamp(35px, 7vw, 40px);
    height: clamp(35px, 7vw, 40px);
    border-radius: 50%;
    background-color: var(--primary-gold);
    color: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.attorney-social a:hover {
    background-color: var(--primary-red);
    transform: scale(1.2);
}

/* ============ NEWS SECTION ============ */
.news-section {
    padding: clamp(50px, 10vw, 100px) 0;
    background-color: var(--primary-white);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(30px, 6vw, 50px);
}

.news-posts {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 40px);
}

.blog-post {
    background-color: var(--primary-light);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-post:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.blog-image-placeholder {
    width: 100%;
    height: clamp(180px, 35vw, 250px);
    overflow: hidden;
    background-color: var(--primary-gold);
}

.blog-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .blog-image-placeholder img {
    transform: scale(1.05);
}

.blog-content {
    padding: clamp(20px, 3vw, 30px);
}

.blog-meta {
    display: flex;
    gap: clamp(15px, 3vw, 20px);
    margin-bottom: clamp(12px, 2vw, 15px);
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    color: var(--text-gray);
    flex-wrap: wrap;
}

.blog-date,
.blog-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-date i,
.blog-author i {
    color: var(--primary-gold);
}

.blog-post h2 {
    margin-bottom: clamp(12px, 2vw, 15px);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.blog-post h2 a {
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

.blog-post h2 a:hover {
    color: var(--primary-gold);
}

.blog-post p {
    margin-bottom: clamp(15px, 2vw, 20px);
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.read-more-btn {
    display: inline-block;
    color: var(--primary-gold);
    font-weight: 600;
    padding: clamp(8px, 1vw, 10px) 0;
    border-bottom: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
}

.read-more-btn:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

/* ============ SIDEBAR ============ */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 30px);
}

.sidebar-widget {
    background-color: var(--primary-light);
    padding: clamp(20px, 3vw, 30px);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    color: var(--primary-dark);
    margin-bottom: clamp(15px, 2vw, 20px);
    padding-bottom: clamp(12px, 2vw, 15px);
    border-bottom: 2px solid var(--primary-gold);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.sidebar-search {
    display: flex;
    gap: clamp(8px, 1.5vw, 10px);
}

.sidebar-search input {
    flex: 1;
    min-width: 0;
    padding: clamp(8px, 1.5vw, 10px) clamp(10px, 2vw, 15px);
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    transition: all 0.3s ease;
}

.sidebar-search input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201, 163, 78, 0.1);
}

.sidebar-search button {
    padding: clamp(8px, 1.5vw, 10px) clamp(12px, 2vw, 15px);
    background-color: var(--primary-gold);
    color: var(--primary-white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    white-space: nowrap;
}

.sidebar-search button:hover {
    background-color: var(--primary-red);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: clamp(10px, 1.5vw, 12px);
    padding-bottom: clamp(10px, 1.5vw, 12px);
    border-bottom: 1px solid var(--border-light);
}

.category-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-list a {
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
}

.category-list a:hover {
    color: var(--primary-gold);
    padding-left: 10px;
}

.recent-stories {
    list-style: none;
}

.recent-stories li {
    margin-bottom: clamp(15px, 2vw, 20px);
    padding-bottom: clamp(15px, 2vw, 20px);
    border-bottom: 1px solid var(--border-light);
}

.recent-stories li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-stories h4 {
    margin-bottom: clamp(6px, 1vw, 8px);
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.recent-stories a {
    color: var(--primary-dark);
    transition: color 0.3s ease;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.recent-stories a:hover {
    color: var(--primary-gold);
}

.post-date {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    color: var(--text-gray);
}

.promo-widget {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-red));
    color: var(--primary-white);
    text-align: center;
}

.promo-widget h3 {
    color: var(--primary-white);
    border-bottom-color: var(--primary-gold);
}

.promo-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(15px, 2vw, 20px);
    font-size: clamp(0.85rem, 1.8vw, 1rem);
}

.promo-widget .btn {
    width: 100%;
}

/* ============ NEWSLETTER SECTION ============ */
.newsletter-section {
    padding: clamp(50px, 10vw, 80px) 0;
    background-color: var(--primary-dark);
    text-align: center;
    color: var(--primary-white);
}

.newsletter-section h2 {
    color: var(--primary-white);
    margin-bottom: clamp(10px, 2vw, 10px);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: clamp(20px, 4vw, 30px);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.newsletter-form {
    display: flex;
    gap: clamp(8px, 1.5vw, 10px);
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    min-width: clamp(200px, 70vw, 250px);
    padding: clamp(10px, 1.5vw, 12px) clamp(15px, 2vw, 20px);
    border: none;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

/* ============ CONTACT SECTION ============ */
.contact-info-section {
    padding: clamp(50px, 10vw, 100px) 0;
    background-color: var(--primary-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(30px, 6vw, 50px);
}

.contact-info-card {
    text-align: center;
    padding: clamp(25px, 4vw, 40px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    margin: 0 auto clamp(15px, 2vw, 20px);
    background-color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    background-color: var(--primary-red);
    transform: scale(1.1);
}

.contact-info-card h3 {
    color: var(--primary-dark);
    margin-bottom: clamp(12px, 2vw, 15px);
}

.contact-info-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

/* ============ CONTACT FORM SECTION ============ */
.contact-form-section {
    padding: clamp(50px, 10vw, 100px) 0;
    background-color: var(--primary-light);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(15px, 3vw, 20px);
    margin-bottom: clamp(15px, 2vw, 20px);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: clamp(8px, 1.5vw, 10px);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: clamp(0.85rem, 1.8vw, 1rem);
}

.form-group input,
.form-group textarea {
    padding: clamp(10px, 1.5vw, 12px) clamp(12px, 2vw, 15px);
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201, 163, 78, 0.1);
}

.contact-form .btn {
    width: 100%;
    margin-top: clamp(10px, 1.5vw, 10px);
}

/* ============ MAP SECTION ============ */
.map-section {
    width: 100%;
    height: clamp(300px, 50vh, 500px);
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
}

.map-placeholder img,
.map-placeholder iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============ FOOTER ============ */
.footer {
    background-color: var(--primary-dark);
    color: var(--primary-white);
    padding: clamp(50px, 10vw, 80px) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(30px, 6vw, 50px);
    margin-bottom: clamp(30px, 5vw, 50px);
}

.footer-col h4 {
    color: var(--primary-white);
    margin-bottom: clamp(15px, 2vw, 20px);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 2px;
    margin-bottom: clamp(12px, 2vw, 15px);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: clamp(8px, 1.5vw, 10px);
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: clamp(8px, 1.5vw, 10px);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-map-placeholder {
    width: 100%;
    height: clamp(120px, 20vw, 150px);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.footer-map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: clamp(20px, 3vw, 30px) 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
}

/* ============ TEXT UTILITY CLASSES ============ */
.text-white {
    color: var(--primary-white) !important;
}

.text-center {
    text-align: center;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============ RESPONSIVE DESIGN - TABLET (768px and below) ============ */
@media (max-width: 768px) {
    body {
        margin-top: 0;
    }

    .header.sticky-header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1001;
    }

    .navbar {
        padding: 15px 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-light);
        display: block;
    }

    .hero-section {
        margin-top: 0;
    }

    .hero-banner {
        margin-top: 0;
    }

    .about-grid,
    .form-row,
    .news-grid {
        grid-template-columns: 1fr;
        gap: clamp(20px, 5vw, 30px);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        order: 2;
    }

    .news-posts {
        order: 1;
    }

    .recognition-grid,
    .practice-grid,
    .services-grid,
    .statistics-grid,
    .practice-image-grid,
    .attorneys-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: clamp(20px, 4vw, 30px);
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(15px, 3vw, 20px);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .map-section {
        height: clamp(250px, 40vh, 300px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: clamp(20px, 4vw, 30px);
    }

    .footer-col {
        text-align: center;
    }

    .blog-meta {
        flex-direction: column;
        gap: clamp(8px, 1.5vw, 10px);
    }
}

/* ============ RESPONSIVE DESIGN - MOBILE (480px and below) ============ */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .logo-placeholder {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .navbar {
        padding: 12px 0;
        gap: 10px;
    }

    .nav-menu {
        max-height: 0;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .hero-title {
        font-size: clamp(1.3rem, 3vw, 1.8rem);
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 2vw, 1rem);
    }

    .section-title {
        font-size: clamp(1.3rem, 3vw, 1.8rem);
    }

    .container {
        padding: 0 15px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-search {
        flex-direction: column;
    }

    .sidebar-search input,
    .sidebar-search button {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: clamp(10px, 2vw, 15px);
    }

    .hero-controls {
        bottom: clamp(10px, 2vw, 15px);
        gap: clamp(5px, 1.5vw, 10px);
    }

    .hero-prev, .hero-next {
        width: clamp(35px, 6vw, 40px);
        height: clamp(35px, 6vw, 40px);
        font-size: clamp(0.8rem, 1.5vw, 1rem);
    }

    .practice-card,
    .service-card,
    .contact-info-card {
        padding: clamp(15px, 3vw, 20px);
    }

    .stat-circle {
        width: clamp(100px, 20vw, 120px);
        height: clamp(100px, 20vw, 120px);
    }

    .attorney-image-placeholder {
        height: clamp(200px, 40vw, 250px);
    }

    footer .container {
        padding: 0 15px;
    }

    .footer-logo {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }
}

/* ============ EXTRA SMALL DEVICES (320px) ============ */
@media (max-width: 320px) {
    html {
        font-size: 12px;
    }

    .logo-placeholder {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        letter-spacing: 1px;
    }

    .navbar {
        gap: 5px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-search {
        gap: 5px;
    }

    .recognition-icon,
    .practice-icon,
    .service-icon,
    .contact-icon {
        width: clamp(50px, 10vw, 60px);
        height: clamp(50px, 10vw, 60px);
        font-size: clamp(1rem, 2.5vw, 1.5rem);
    }
}