/* Elegant White-Black Theme for JurisEdge Law Firm */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.7;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #ffffff;
}

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

/* Typography - Elegant Serif Focus */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -2px;
}

h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #000000;
    letter-spacing: -1px;
}

h3 {
    font-size: 1.8rem;
    font-weight: 400;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Elegant Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 18px 40px;
    border: none;
    border-radius: 0;
    text-decoration: none;
    font-weight: 300;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background: #000000;
    color: white;
    border: 2px solid #000000;
}

.btn-primary:hover {
    background: transparent;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.btn-secondary:hover {
    background: #000000;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #666666;
    border: 2px solid #666666;
}

.btn-outline:hover {
    background: #666666;
    color: white;
}

/* Sophisticated Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #f0f0f0;
}

/* Theme Selector - Elegant */
.theme-selector select {
    background: #000000;
    color: white;
    border: 1px solid #333;
    padding: 10px 15px;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-selector select:hover {
    background: #333;
}

.theme-selector select option {
    background: white;
    color: #333;
    font-weight: 400;
}

.navbar {
    padding: 1.8rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.3rem 0;
}

.logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.brand-name {
    font-size: 3rem;
    color: #000000;
    margin: 0;
    font-weight: 500;
    letter-spacing: -1.5px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.nav-brand:hover .brand-name {
    color: #333;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}


.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 300;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a:hover {
    color: #000000;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000000;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-emergency {
    background: #DC2626 !important;
    color: white !important;
    padding: 12px 25px !important;
    border: 2px solid #DC2626 !important;
    border-radius: 0 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
}

.btn-emergency:hover {
    background: transparent !important;
    color: #DC2626 !important;
    border-color: #DC2626 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.25) !important;
}

.btn-emergency::after {
    display: none !important;
}


.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 1px;
    background: #000000;
    margin: 4px 0;
    transition: 0.3s;
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

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

/* Background styles for each slide */
.carousel-slide[data-bg="slide1"] {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920&h=1080&fit=crop') center/cover;
}

.carousel-slide[data-bg="slide2"] {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
                url('https://images.unsplash.com/photo-1436450412740-6b988f486c6b?w=1920&h=1080&fit=crop') center/cover;
}

.carousel-slide[data-bg="slide3"] {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
                url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?w=1920&h=1080&fit=crop') center/cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 2rem 0 2rem;
}

.slide-title {
    font-size: 4.5rem;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.slide-title .highlight {
    color: #ffffff;
    font-style: italic;
    position: relative;
}

.slide-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.slide-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 1;
    font-weight: 400;
    line-height: 1.8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: #f5f5f5;
}

.slide-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

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

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 300;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin-top: 0.5rem;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.slide-cta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

/* Carousel specific button styling */
.carousel-slide .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    border: 2px solid rgba(255, 255, 255, 0.95);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.carousel-slide .btn-primary:hover {
    background: #000000;
    color: white;
    border-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.carousel-slide .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.carousel-slide .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    border-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    z-index: 3;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: white;
    border-color: white;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .hero-carousel {
        height: 100vh;
        padding-top: 100px;
    }

    .slide-content {
        padding: 30px 1rem 0 1rem;
        margin-top: 20px;
    }

    .slide-title {
        font-size: 2.5rem;
        margin-top: 20px;
        line-height: 1.2;
    }

    .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .slide-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding: 1rem 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .slide-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 6rem;
        margin-top: 2rem;
    }

    .carousel-nav {
        padding: 0 1rem;
    }

    .carousel-prev,
    .carousel-next {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }

    .carousel-indicators {
        bottom: 1.5rem;
    }
}

/* Refined Services Section */
.services {
    padding: 120px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 2rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    margin-top: 1rem;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 0;
}

.service-card {
    background: white;
    padding: 4rem 3rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.service-card:hover {
    background: #f8f8f8;
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #000000;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-weight: 300;
}

/* Sophisticated Team Section */
.team {
    padding: 120px 0;
    background: #f8f8f8;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.main-member {
    background: #ffffff;
    padding: 4rem;
    border-radius: 0;
    border: 1px solid #e0e0e0;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.main-member::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, #000000 0%, #666666 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-member:hover::before {
    opacity: 1;
}

.member-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 3rem;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #000000;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.professional-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center -50px;
    transition: all 0.4s ease;
    filter: grayscale(20%);
}

.professional-photo:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.member-info {
    text-align: center;
}

.member-info h3 {
    color: #000000;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.member-title {
    color: #666666;
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-credentials {
    color: #888;
    margin-bottom: 2rem;
    font-style: italic;
}

.member-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-btn {
    background: #000000;
    color: white;
    padding: 15px 30px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.associates-grid {
    display: grid;
    gap: 2rem;
}

.associates-grid .team-member {
    background: white;
    padding: 3rem 2rem;
    border-radius: 0;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.associates-grid .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.associates-grid .member-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-width: 2px;
    border-radius: 50%;
    border: 2px solid #000000;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}

.associates-grid .photo-placeholder {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #f8f8f8 0%, #e0e0e0 100%);
}

.associates-grid .team-member:hover .photo-placeholder {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
}

.main-member .photo-placeholder {
    background: linear-gradient(135deg, #f0f0f0 0%, #d8d8d8 100%);
}

.main-member:hover .photo-placeholder {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    transform: scale(1.02);
}

.photo-placeholder::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    right: 20%;
    bottom: 20%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.photo-placeholder i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.associates-grid h4 {
    color: #000000;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
}

.associates-grid .member-title {
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.member-specialization {
    color: #666;
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* Career Opportunities Section */
.careers {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
}

.career-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.career-text h2 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: 2.8rem;
    line-height: 1.3;
}

.career-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #cccccc;
    font-weight: 300;
    line-height: 1.8;
}

.career-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.feature-item i {
    color: #ffffff;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.feature-item span {
    color: #e0e0e0;
    font-weight: 400;
    font-size: 0.95rem;
}

.career-cta-text {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 2rem;
}

.career-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.careers::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(255,255,255,0.05)"><path d="M12 2L13.09 8.26L20 9L13.09 9.74L12 16L10.91 9.74L4 9L10.91 8.26L12 2Z"/></svg>') no-repeat center;
    background-size: contain;
    z-index: 0;
    pointer-events: none;
}

.careers {
    position: relative;
}

.career-content {
    position: relative;
    z-index: 1;
}

/* Career section specific button styling */
.btn-career-whatsapp {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-career-whatsapp:hover {
    background: transparent;
    color: #25D366;
    border-color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}


/* Responsive for careers section */
@media (max-width: 768px) {
    .careers {
        padding: 60px 0;
    }

    .career-content {
        gap: 3rem;
        padding: 0 1rem;
    }

    .career-text h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .career-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }

    .career-features {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
    }

    .feature-item {
        justify-content: center;
        text-align: center;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }

    .feature-item i {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .feature-item span {
        font-size: 0.9rem;
        font-weight: 300;
    }

    .career-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .career-cta-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .careers::before {
        width: 150px;
        height: 150px;
        top: 20px;
        right: 20px;
    }
}

/* Elegant Testimonials */
.testimonials {
    padding: 120px 0;
    background: #ffffff;
}

.google-rating {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.rating-stars {
    color: #000000;
    font-size: 1.2rem;
}

.rating-text {
    color: #666;
    font-weight: 300;
    font-style: italic;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 0;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: white;
    padding: 4rem 3rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    background: #f8f8f8;
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.client-avatar {
    margin-right: 1rem;
}

.avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.client-info {
    flex: 1;
}

.rating {
    margin-left: auto;
}

.client-info h4 {
    color: #000000;
    margin-bottom: 0.25rem;
    font-size: 1.3rem;
    font-weight: 400;
}

.client-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating {
    color: #000000;
}

.testimonial-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 300;
    font-size: 1.1rem;
}

.testimonial-date {
    color: #999;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Minimalist Location */
.location {
    padding: 120px 0;
    background: #f8f8f8;
}

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

.office-details h3 {
    color: #000000;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 300;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

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

.detail-item i {
    color: #000000;
    font-size: 1.2rem;
    width: 25px;
    margin-top: 0.3rem;
}

.detail-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.location-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.map-container {
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

#map {
    width: 100%;
    height: 100%;
}

/* Refined Contact */
.contact {
    padding: 120px 0;
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-methods {
    display: grid;
    gap: 0;
}

.contact-method {
    background: white;
    padding: 3rem;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.contact-method:hover {
    background: #f8f8f8;
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: #000000;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.3rem;
    color: white;
}

.contact-method h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 400;
}

.contact-method p {
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.method-link {
    background: none;
    border: none;
    color: #000000;
    font-weight: 300;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #000000;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.method-link:hover {
    color: #666;
    border-color: #666;
}

.quick-contact-form {
    background: #f8f8f8;
    padding: 4rem;
    border-radius: 0;
    border: 1px solid #e0e0e0;
}

.quick-contact-form h3 {
    color: #000000;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 300;
    font-size: 2rem;
}

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

.quick-contact-form input,
.quick-contact-form select,
.quick-contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    background: white;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.quick-contact-form input:focus,
.quick-contact-form select:focus,
.quick-contact-form textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Sophisticated Footer */
.footer {
    background: #000000;
    color: #cccccc;
    padding: 60px 0 20px;
}

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

/* Force 4 columns on medium screens and up */
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* Adjust for very large screens */
@media (min-width: 1200px) {
    .footer-content {
        gap: 3rem;
    }
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 2rem;
    font-weight: 300;
}

.footer-section p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #333;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #444;
}

.social-links a:hover {
    background: white;
    color: #000;
    transform: translateY(-3px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

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

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    font-weight: 300;
}

@media (min-width: 768px) {
    .contact-info {
        flex-direction: row;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .contact-info p {
        margin-bottom: 0;
        white-space: nowrap;
    }
}

.contact-info i {
    color: #666;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
    color: #888;
    font-weight: 300;
}

/* Elegant WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    width: 65px;
    height: 65px;
    background: #000000;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid #333;
}

.whatsapp-float a:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #333;
}

/* Sophisticated Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 4rem;
    border-radius: 0;
    width: 90%;
    max-width: 700px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
}

.close {
    position: absolute;
    right: 3rem;
    top: 3rem;
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000000;
}

.modal h2 {
    color: #000000;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 300;
}

/* Responsive Design - Elegant */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .nav-links.mobile-active {
        left: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.5s ease forwards;
    }

    .nav-links.mobile-active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.mobile-active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links.mobile-active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-links.mobile-active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-links.mobile-active li:nth-child(5) { animation-delay: 0.5s; }
    .nav-links.mobile-active li:nth-child(6) { animation-delay: 0.6s; }
    .nav-links.mobile-active li:nth-child(7) { animation-delay: 0.7s; }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 400;
        color: #000;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .btn-emergency {
        padding: 15px 30px !important;
        font-size: 1rem !important;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

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


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

    .service-card {
        margin-bottom: 1rem;
        padding: 2rem 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .client-avatar {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .avatar-img {
        width: 50px;
        height: 50px;
    }

    .client-info {
        order: 2;
        text-align: center;
    }

    .rating {
        order: 3;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .rating i {
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .testimonial-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: center;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .contact-methods {
        gap: 2rem;
    }

    .contact-method {
        text-align: center;
        padding: 2rem 1rem;
    }

    .quick-contact-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .location-actions {
        text-align: center;
        margin-top: 2rem;
    }

    .location-info {
        padding: 0 1rem;
        text-align: center;
    }

    .office-details {
        margin-bottom: 2rem;
    }

    .office-details h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
        padding: 1.5rem 1rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        border-bottom: none;
        gap: 0.5rem;
    }

    .detail-item i {
        font-size: 1.5rem;
        color: #000000;
        margin-bottom: 0.5rem;
        margin-top: 0;
        width: auto;
    }

    .detail-item p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #333;
        font-weight: 400;
        text-align: center;
        margin: 0;
    }

    .location-actions {
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .location-actions .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
        padding: 15px 20px;
        font-size: 1rem;
    }

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

    #map {
        height: 300px !important;
    }

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

    /* General mobile improvements */
    .services,
    .team,
    .testimonials,
    .location,
    .contact,
    .careers,
    .news-updates,
    .faq-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float a {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Mobile button improvements */
    .btn {
        padding: 15px 25px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .location-actions {
        flex-direction: column;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float a {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .member-photo {
        width: 140px;
        height: 140px;
    }

    .main-member {
        padding: 3rem 2rem;
    }

    .logo {
        width: 70px;
        height: 70px;
    }

    .brand-name {
        font-size: 2.4rem;
    }

    .nav-brand {
        gap: 1.2rem;
    }

    .navbar {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 10% auto;
        padding: 3rem 2rem;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .navbar {
        padding: 1.2rem 0;
    }

    .services {
        padding: 80px 0;
    }

    .team {
        padding: 80px 0;
    }

    .testimonials {
        padding: 80px 0;
    }

    .location {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }
}

/* Smooth transitions and animations */
.service-card,
.testimonial-card,
.contact-method,
.team-member {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Leaflet Map Styles for Elegant Theme */
.custom-marker {
    background: none !important;
    border: none !important;
}

.custom-popup .leaflet-popup-content-wrapper {
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid #e0e0e0;
}

.custom-popup .leaflet-popup-tip {
    background: white;
}

.leaflet-popup-content {
    margin: 0 !important;
    line-height: 1.4 !important;
    font-family: 'Open Sans', sans-serif !important;
}

.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-control-zoom a {
    background: white !important;
    color: #000000 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

.leaflet-control-zoom a:hover {
    background: #000000 !important;
    color: white !important;
}

.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.9) !important;
    font-size: 11px !important;
    border: 1px solid #e0e0e0 !important;
}

/* Loading animation for map */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    background: #f8f8f8;
    color: #666;
    font-size: 1.2rem;
    border: 1px solid #e0e0e0;
}

/* Print styles */
@media print {
    .header,
    .whatsapp-float,
    .modal,
    .slide-cta,
    .carousel-nav,
    .carousel-indicators,
    .location-actions,
    .contact-method {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero-carousel {
        background: white !important;
        color: black !important;
        padding: 20px 0 !important;
        height: auto !important;
    }

    .carousel-slide {
        position: static !important;
        opacity: 1 !important;
        background: white !important;
    }

    .slide-content {
        color: black !important;
    }

    .slide-title, .stat-number {
        color: black !important;
        text-shadow: none !important;
    }
}

/* =============================================
   NEWS & UPDATES SECTION
   ============================================= */

.news-updates {
    padding: 100px 0;
    background: #f8f8f8;
}

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

.news-item {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.news-date {
    background: #000000;
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.news-date .date {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.news-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    font-weight: 300;
}

.news-content-item {
    padding: 2.5rem;
}

.news-content-item h3 {
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
}

.news-content-item p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 300;
}

.read-more {
    color: #000000;
    text-decoration: none;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border-bottom: 1px solid #000000;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #666;
    border-color: #666;
}

.read-more i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* =============================================
   FAQ SECTION
   ============================================= */

.faq-section {
    padding: 100px 0;
    background: white;
}

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

.faq-item {
    padding: 2.5rem;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item:hover {
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.faq-item h3 {
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-left: 2rem;
}

.faq-item h3:before {
    content: "Q:";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #000000;
    font-size: 1rem;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
    padding-left: 2rem;
    position: relative;
}

.faq-item p:before {
    content: "A:";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #666;
    font-size: 0.9rem;
}

/* =============================================
   RESPONSIVE DESIGN FOR NEWS & FAQ
   ============================================= */

@media (max-width: 768px) {
    .news-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-updates,
    .faq-section {
        padding: 60px 0;
    }

    .news-content-item,
    .faq-item {
        padding: 2rem;
    }

    .news-item h3,
    .faq-item h3 {
        font-size: 1.1rem;
    }

    .news-date .date {
        font-size: 2rem;
    }
}