/* ==========================================
   Perry & Morgan Attorneys - Main Styles
   ========================================== */

/* CSS Variables */
:root {
    --primary-blue: #1565C0;
    --secondary-blue: #1976D2;
    --light-blue: #42A5F5;
    --dark-blue: #0D47A1;
    --accent-blue: #2196F3;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #F5F5F5;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --success: #4CAF50;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Product Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--white);
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.slider-btn {
    background: rgba(21, 101, 192, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

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

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-primary-light {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-primary-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ==========================================
   Sections
   ========================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
    margin-top: 3rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* Understanding Estate Section */
.understanding-estate {
    padding: 5rem 0;
    background: var(--bg-light);
}

.understanding-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.understanding-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.understanding-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.understanding-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Importance Section */
.importance-section {
    padding: 5rem 0;
    background: var(--white);
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.importance-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.importance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.importance-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.importance-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.importance-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Practice Areas Preview */
.practice-areas-preview {
    padding: 5rem 0;
    background: var(--bg-light);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.area-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.area-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.area-card:hover .area-image {
    transform: scale(1.1);
}

.area-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: var(--white);
    text-align: center;
    transition: var(--transition);
}

.area-card:hover .area-overlay {
    background: rgba(0, 0, 0, 0.75);
}

.area-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.area-overlay h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.area-overlay p {
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.area-card:hover .area-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: var(--white);
}

.process-timeline {
    max-width: 900px;
    margin: 3rem auto 0;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    width: 2px;
    height: calc(100% + 1rem);
    background: var(--border-color);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    min-width: 70px;
    height: 70px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

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

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 101, 192, 0.85);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ==========================================
   Page Header
   ========================================== */
.page-header {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
}

/* ==========================================
   Practice Areas Detail Page
   ========================================== */
.practice-areas-detail {
    padding: 5rem 0;
}

.area-detail {
    margin-bottom: 5rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.area-detail:last-child {
    border-bottom: none;
}

.area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.area-content.reverse {
    direction: rtl;
}

.area-content.reverse > * {
    direction: ltr;
}

.area-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.area-text h2 i {
    margin-right: 0.5rem;
}

.area-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.area-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.area-text ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.area-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.area-image-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

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

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

/* ==========================================
   Team Page
   ========================================== */
.team-intro {
    padding: 5rem 0;
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.intro-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.team-members {
    padding: 5rem 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    gap: 3rem;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 300px 1fr;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-photo {
    height: 100%;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.team-info {
    padding: 2rem;
}

.team-info h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.team-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.team-credentials {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.credential {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

.credential i {
    margin-right: 0.5rem;
}

.team-bio {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.team-specialties h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-specialties ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.team-specialties li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.team-specialties li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 1.5rem;
    line-height: 1.2;
}

.support-staff {
    padding: 5rem 0;
    background: var(--white);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.staff-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.staff-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.staff-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.staff-card p {
    color: var(--text-light);
}

/* ==========================================
   Contact Page
   ========================================== */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    display: none;
    margin-top: 1rem;
}

.form-message.success {
    display: block;
    background: #E8F5E9;
    color: var(--success);
}

.form-message.error {
    display: block;
    background: #FFEBEE;
    color: #F44336;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-info-card h3 i {
    margin-right: 0.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.why-list {
    list-style: none;
}

.why-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.why-list li i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.map-section {
    padding: 5rem 0;
    background: var(--white);
}

.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-overlay {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.map-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-overlay p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.map-note {
    font-size: 1rem;
    opacity: 0.9;
}

.faq-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq-grid {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.faq-item.active .faq-icon i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

.footer-col p,
.footer-col li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

.footer-col ul li i {
    margin-right: 0.5rem;
    color: var(--light-blue);
}

.footer-col a:hover {
    color: var(--light-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Tablet */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content {
        text-align: center !important;
        align-items: center !important;
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-buttons {
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .area-content {
        grid-template-columns: 1fr;
    }

    .area-content.reverse {
        direction: ltr;
    }

    .team-card {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .understanding-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero {
        height: 500px;
    }

    .hero-content {
        height: 500px;
        text-align: center !important;
        align-items: center !important;
        max-width: 100%;
        padding: 0 1rem;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .slider-controls {
        padding: 0 10px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .features-grid,
    .areas-grid,
    .staff-grid,
    .importance-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .area-text h2 {
        font-size: 1.8rem;
    }

    .area-image-container {
        height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .team-specialties ul {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        gap: 1rem;
    }

    .step-number {
        min-width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .process-step::after {
        left: 25px;
        top: 50px;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact-form-wrapper,
    .contact-info-card {
        padding: 1.5rem;
    }

    .team-info {
        padding: 1.5rem;
    }
}

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

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

/* ==========================================
   About Firm Section
   ========================================== */
.about-firm {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

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

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   Why Us Section with Accordions
   ========================================== */
.why-us-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.why-us-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.why-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 100px;
}

.why-us-accordions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.accordion-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.accordion-question:hover {
    color: var(--primary-blue);
}

.accordion-question i {
    margin-right: 0.75rem;
    color: var(--primary-blue);
}

.accordion-icon {
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.accordion-item.active .accordion-icon i {
    transform: rotate(45deg);
}

.accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-answer {
    max-height: 500px;
}

.accordion-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================
   Why Work With Us - Tab/Bubble Layout
   ========================================== */
.why-us-tabs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tab-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.tab-button {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.tab-button i {
    font-size: 2rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.tab-button:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 5px 20px rgba(21, 101, 192, 0.15);
    transform: translateY(-3px);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.3);
}

.tab-button.active i {
    color: var(--white);
}

.tab-content-bubble {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    opacity: 1;
    animation: fadeInUp 0.5s ease;
}

.content-text h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.content-text h3 i {
    font-size: 2.5rem;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.content-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   Contact Page Updates
   ========================================== */
.contact-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.contact-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-help-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.help-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.help-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.help-card h3 i {
    margin-right: 0.5rem;
}

.help-list {
    list-style: none;
}

.help-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.help-list li i {
    color: var(--primary-blue);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.help-card p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.help-card p:last-child {
    margin-bottom: 0;
}

.what-to-expect-section {
    margin-top: 3rem;
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.expect-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
}

.expect-item strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

/* ==========================================
   Offices Section
   ========================================== */
.offices-section {
    padding: 5rem 0;
    background: var(--white);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.office-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.office-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.office-flag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.office-info {
    padding: 2rem;
}

.office-info h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.office-info h3 i {
    margin-right: 0.5rem;
}

.office-address {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.office-contact {
    margin-bottom: 1.5rem;
}

.office-contact p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.office-contact i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.office-hours {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ==========================================
   Mobile Responsive Updates
   ========================================== */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .why-us-content {
        grid-template-columns: 1fr;
    }

    .why-us-image img {
        position: static;
    }

    .offices-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
    }

    .contact-help-info {
        margin-top: 2rem;
    }

    .tab-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .tab-button {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }

    .tab-button i {
        font-size: 1.5rem;
    }

    .tab-content.active {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .content-text h3 {
        font-size: 1.5rem;
    }

    .content-text h3 i {
        font-size: 2rem;
    }

    .content-text p {
        font-size: 1rem;
    }

    .content-image img {
        height: 300px;
    }

    .expect-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
