/* ==========================================================================
   ACCESSIBILITY & SCREEN READERS
   ========================================================================== */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================================================
   PAGE LOADER
   ========================================================================== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d231b 0%, #4a3c2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: #ffc107;
}

.law-book-loader {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bookFloat 2s ease-in-out infinite;
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes bookFloat {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-15px) rotateY(10deg);
    }
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

/* Top Header Bar */
.top-header-bar {
    background-color: var(--primary-grey);
    color: var(--primary-white);
    padding: 10px 0;
    font-size: 14px;
}

.header-contact-info {
    display: flex;
    gap: 25px;
}

.header-contact-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-contact-info .icon,
.header-contact-info i {
    color: var(--dark-pistachio);
    font-size: 16px;
    width: 18px;
    text-align: center;
    font-weight: bold;
}

.header-contact-info a {
    color: var(--primary-white);
    text-decoration: none;
    transition: var(--transition);
}

.header-contact-info a:hover {
    color: var(--dark-pistachio);
}

.header-datetime {
    text-align: right;
    color: var(--primary-white);
}

/* Style header to ensure hamburger is on right side */
.site-header {
    background-color: var(--primary-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.site-branding .site-title {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-grey);
    font-family: var(--font-heading);
}

.site-branding .site-title a {
    color: inherit;
    text-decoration: none;
}

.site-branding .site-description {
    color: var(--text-light);
    margin: 5px 0 0 0;
    font-size: 0.9rem;
}

/* Navigation */
.main-navigation {
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px; /* Add padding for easier touch */
    width: auto; /* Let it size naturally */
    height: auto; /* Let it size naturally */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px; /* Add gap between hamburger lines */
}

.hamburger {
    width: 25px; /* Slightly smaller for better mobile UX */
    height: 3px;
    background-color: var(--primary-grey);
    transition: var(--transition);
    border-radius: 1px; /* Slight rounding */
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.primary-menu a:hover,
.primary-menu a:focus {
    color: var(--primary-grey);
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dark-pistachio);
    transition: var(--transition);
}

/* Active menu item highlighting for desktop */
.primary-menu .current-menu-item a {
    color: var(--dark-pistachio) !important;
    font-weight: 600;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after {
    width: 100%;
}

/* ==========================================================================
   Hero Slider Styles
   ========================================================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--primary-grey); /* Ensure visibility */
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-wrapper {
    height: 100%;
}

.hero-swiper .swiper-slide {
    height: 100%;
}

.hero-slide {
    position: relative;
    height: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--chocolate-brown); /* Fallback color */
}

/* Fallback gradient if image doesn't load */
.hero-slide:nth-child(1) .hero-background {
    background: linear-gradient(135deg, var(--primary-grey) 0%, var(--dark-green) 100%);
}

.hero-slide:nth-child(2) .hero-background {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-grey) 100%);
}

.hero-slide:nth-child(3) .hero-background {
    background: linear-gradient(135deg, var(--primary-grey) 0%, #2c5530 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(74, 85, 104, 0.8), rgba(45, 80, 22, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 600px;
    color: var(--primary-white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-white);
    animation: fadeInUp 1s ease-out;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
}

.btn-outline:hover {
    background-color: var(--primary-white);
    color: var(--primary-grey);
}

/* Swiper Navigation */
.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background-color: var(--dark-pistachio);
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--primary-white);
    background-color: rgba(0, 0, 0, 0.3);
    width: 30px !important; /* Same size as lawyers section */
    height: 30px !important;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 12px !important; /* Same size as lawyers section */
    font-weight: bold !important;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background-color: var(--dark-pistachio);
    color: var(--black);
    transform: scale(1.05);
}

/* ==========================================================================
   About Section Styles
   ========================================================================== */
.about-section {
    background-color: var(--primary-white);
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.experience-badge {
    background-color: var(--dark-pistachio);
    color: var(--black);
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.experience-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    padding-left: 40px;
}

.section-title {
    color: var(--primary-grey);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--dark-pistachio);
    font-style: italic;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.about-highlights {
    margin: 30px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--off-white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-grey);
    width: 60px;
    text-align: center;
}

.highlight-content h4 {
    margin: 0 0 5px 0;
    color: var(--text-dark);
}

.highlight-content p {
    margin: 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   Services Section Styles
   ========================================================================== */
.services-section {
    background-color: var(--off-white);
}

.section-header {
    margin-bottom: 60px;
}

.services-slider {
    position: relative;
}

.service-card {
    background-color: var(--primary-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: var(--transition);
    height: 400px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--dark-pistachio);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(147, 196, 125, 0.8), rgba(255, 193, 7, 0.6));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-icon {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-grey);
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--dark-pistachio);
    color: var(--black);
    transform: translateX(-50%) scale(1.1);
}

.service-content {
    padding: 50px 30px 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    color: var(--primary-grey);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-description {
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-grey);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--dark-pistachio);
    transform: translateX(5px);
}

/* Services Swiper Navigation */
.services-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--border-color);
    opacity: 1;
}

.services-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-grey);
}

.services-next,
.services-prev {
    color: var(--primary-grey) !important;
    background-color: var(--primary-white) !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.services-next::after,
.services-prev::after {
    font-size: 12px !important;
    font-weight: bold !important;
}

.services-next:hover,
.services-prev:hover {
    background-color: var(--primary-grey) !important;
    color: var(--primary-white) !important;
    transform: scale(1.05);
}

/* ==========================================================================
   Lawyers Section Styles
   ========================================================================== */
.lawyers-section {
    background-color: var(--primary-white);
}

.lawyers-slider {
    position: relative;
}

.lawyer-card {
    background-color: var(--primary-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: var(--transition);
    height: 380px;
    display: flex;
    flex-direction: column;
}

.lawyer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--dark-pistachio);
}

/* Add golden image overlay for lawyers on hover */
.lawyer-card .lawyer-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(147, 196, 125, 0.8), rgba(255, 193, 7, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.lawyer-card:hover .lawyer-image::after {
    opacity: 1;
}

.lawyer-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.lawyer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 50%;
    margin: 10px auto;
    width: 160px;
    height: 160px;
}

.lawyer-card:hover .lawyer-image img {
    transform: scale(1.05);
}

.lawyer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(74, 85, 104, 0.9));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.lawyer-card:hover .lawyer-overlay {
    opacity: 1;
}

/* Enhanced golden borders for all lawyer cards with higher specificity */
.lawyers-section .lawyer-card:hover,
.page-lawyers .lawyer-card:hover,
.our-team-section .lawyer-card:hover {
    border-color: var(--dark-pistachio) !important;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(147, 196, 125, 0.3);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.1);
    color: var(--dark-pistachio);
    border: 2px solid var(--dark-pistachio);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--dark-pistachio);
    color: var(--primary-white);
    transform: translateY(-3px);
}

.social-link.facebook:hover {
    background-color: #3b5998;
    color: var(--primary-white);
}

.social-link.twitter:hover {
    background-color: #1da1f2;
    color: var(--primary-white);
}

.social-link.linkedin:hover {
    background-color: #0077b5;
    color: var(--primary-white);
}

.lawyer-content {
    padding: 15px 25px 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.lawyer-name {
    color: var(--text-dark) !important;
    margin-bottom: 8px;
    font-size: 1.1rem; /* Reduced from 1.4rem for better web view sizing */
    font-weight: 600;
}

/* Additional specificity for lawyer names */
.lawyer-card .lawyer-name,
.swiper-slide .lawyer-name,
.lawyers-section .lawyer-name {
    color: #333333 !important;
    display: block !important;
    visibility: visible !important;
}

/* Responsive font sizing for lawyer names */
@media (min-width: 992px) {
    .lawyer-name {
        font-size: 1.0rem; /* Smaller font for desktop/larger screens */
    }
}

@media (max-width: 768px) {
    .lawyer-name {
        font-size: 1.1rem; /* Keep mobile size good as mentioned */
    }
}

.lawyer-expertise {
    color: var(--dark-pistachio);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 1rem;
}

.lawyer-experience {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lawyer-experience i {
    color: var(--primary-grey);
}

.lawyer-bio {
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.lawyer-link {
    padding: 10px 25px;
    font-size: 0.9rem;
    border: 2px solid var(--accent-color);
    color: var(--primary-white);
    background: var(--accent-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.lawyer-link:hover {
    background: var(--primary-grey);
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 85, 104, 0.3);
}

/* Golden styling for all golden buttons */
.btn-golden {
    background: var(--accent-color);
    color: var(--primary-white);
    border: 2px solid var(--accent-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-golden:hover {
    background: var(--primary-grey);
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 85, 104, 0.3);
    text-decoration: none;
}

/* Golden styling for homepage buttons */
.btn-primary {
    background: var(--accent-color);
    color: var(--primary-white);
    border: 2px solid var(--accent-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-grey);
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 85, 104, 0.3);
    text-decoration: none;
}

/* Lawyers Swiper Navigation */
.lawyers-swiper .swiper-pagination {
    margin-top: 30px !important; /* Add gap between cards and pagination */
    bottom: -30px !important; /* Position below cards with gap */
}

.lawyers-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--border-color);
    opacity: 1;
}

.lawyers-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-grey);
}

.lawyers-next,
.lawyers-prev {
    color: var(--primary-grey) !important;
    background-color: var(--primary-white) !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.lawyers-next::after,
.lawyers-prev::after {
    font-size: 12px !important;
    font-weight: bold !important;
}

.lawyers-next:hover,
.lawyers-prev:hover {
    background-color: var(--dark-pistachio) !important;
    color: var(--primary-white) !important;
    transform: scale(1.05);
}

/* ==========================================================================
   Testimonials Section Styles - Igual Design
   ========================================================================== */
.testimonials-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.testimonials-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/testimonial-bg-new.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.3) 40%, 
        rgba(0, 0, 0, 0.2) 70%, 
        rgba(0, 0, 0, 0.1) 100%);
}

.testimonials-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

.testimonials-text-area {
    max-width: 90%;
    color: var(--primary-white);
}

.testimonials-section .section-header {
    margin-bottom: 50px;
}

.testimonials-section .section-header .sub-title {
    text-align: left;
    margin-bottom: 20px;
}

.testimonials-section .subtitle-dots {
    color: var(--dark-pistachio);
}

.testimonials-section .section-title {
    color: var(--primary-white);
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 15px;
}

.testimonials-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-align: left;
    margin-bottom: 0;
}

.testimonials-slider {
    position: relative;
}

.testimonials-swiper {
    overflow: visible;
}

.testimonial-item {
    background: transparent;
    padding: 0;
    margin: 0;
}

.testimonial-layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.testimonials-swiper .swiper-slide-active .testimonial-layout {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-avatar {
    flex-shrink: 0;
    text-align: center;
}

.avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--dark-pistachio);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 3px;
}

.testimonial-rating .icon-symbol {
    color: #ffd700;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.testimonial-details {
    flex: 1;
    color: var(--primary-white);
}

.testimonial-quote {
    margin-bottom: 25px;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--dark-pistachio);
    opacity: 0.3;
    line-height: 1;
    float: left;
    margin-right: 15px;
    margin-top: -10px;
}

.testimonial-quote p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--primary-white);
    font-style: italic;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    overflow: visible;
    text-align: left;
    word-wrap: break-word;
    white-space: normal;
}

.testimonial-author {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.author-name {
    color: var(--primary-white);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.author-designation {
    color: var(--dark-pistachio);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.testimonials-navigation {
    position: absolute;
    bottom: -60px;
    left: 0;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.testimonials-next,
.testimonials-prev {
    color: var(--primary-white) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonials-next::after,
.testimonials-prev::after {
    font-size: 16px !important;
    font-weight: bold !important;
}

.testimonials-next:hover,
.testimonials-prev:hover {
    background-color: var(--dark-pistachio) !important;
    color: var(--black) !important;
    border-color: var(--dark-pistachio);
    transform: scale(1.1);
}

/* Responsive Design for Testimonials */
@media (max-width: 1024px) {
    .testimonials-bg-image {
        width: 60%;
    }
    
    .testimonials-text-area {
        max-width: 80%;
    }
    
    .testimonial-layout {
        gap: 25px;
    }
    
    .testimonials-section .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 20px 0 60px 0;
        overflow: visible;
        height: auto;
        width: 100%;
        box-sizing: border-box;
    }
    
    .testimonials-text-area {
        padding: 0 15px;
        margin: 0 auto;
        max-width: 100%;
        box-sizing: border-box;
        width: 100%;
    }
    
    .section-header {
        text-align: center;
        padding: 0 15px;
        margin-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
        word-wrap: break-word;
        width: 100%;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        word-wrap: break-word;
        width: 100%;
    }
    
    .testimonials-content {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .testimonials-swiper {
        overflow: visible;
        height: auto;
        padding: 0;
        margin-bottom: 40px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .testimonials-swiper .swiper-slide {
        height: auto;
        margin-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }
    
    .testimonial-layout {
        background: rgba(255,255,255,0.95);
        padding: 12px;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        text-align: center;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .testimonial-quote p {
        font-size: 0.85rem;
        line-height: 1.3;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        max-height: 80px;
        margin-bottom: 8px;
        width: 100%;
    }
    
    .author-name {
        font-size: 0.9rem;
        margin-bottom: 3px;
        width: 100%;
    }
    
    .author-designation {
        font-size: 0.8rem;
        width: 100%;
    }
    
    .avatar-image {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }
    
    /* Fix testimonial navigation buttons */
    .testimonials-navigation {
        position: relative;
        bottom: 0;
        justify-content: center;
        margin-top: 20px;
        gap: 15px;
        display: flex;
        width: 100%;
    }
    
    .testimonials-button-prev,
    .testimonials-button-next {
        position: static;
        transform: none;
        width: 25px !important;
        height: 25px !important;
        background-color: var(--primary-gold);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }
    
    .client-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .avatar-image {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto;
    }
    
    .author-info {
        text-align: center;
    }
    
    .testimonials-section .section-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .testimonials-section .section-subtitle {
        text-align: center;
        margin-bottom: 25px;
    }
    
    /* Fix testimonial navigation buttons */
    .testimonials-navigation {
        position: relative;
        bottom: 0;
        justify-content: center;
        margin-top: 20px;
        gap: 15px;
    }
    
    .testimonials-button-prev,
    .testimonials-button-next {
        position: static;
        transform: none;
        width: 30px !important;
        height: 30px !important;
        background-color: var(--primary-gold);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .avatar-image {
        width: 45px;
        height: 45px;
    }
    
    .testimonial-quote p {
        font-size: 0.85rem;
        -webkit-line-clamp: 3; /* Limit to 3 lines on smallest screens */
        line-clamp: 3;
        max-height: 90px;
    }
    
    .author-name {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    
    .author-designation {
        font-size: 0.8rem;
    }
    
    .testimonials-button-prev,
    .testimonials-button-next {
        width: 25px !important;
        height: 25px !important;
    }
    
    /* Make buttons even smaller on very small screens */
    .btn {
        font-size: 10px !important;
        padding: 5px 10px !important;
        white-space: nowrap;
    }
}

/* ==========================================================================
   Articles Section Styles
   ========================================================================== */
.articles-section {
    background-color: var(--off-white);
}

.articles-slider {
    position: relative;
}

.article-card {
    background-color: var(--primary-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: var(--transition);
    height: 500px;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--dark-pistachio);
}

.article-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(147, 196, 125, 0.8), rgba(255, 193, 7, 0.6));
    opacity: 0;
    transition: var(--transition);
}

.article-card:hover .article-image::after {
    opacity: 1;
}

.article-date {
    position: absolute;
    top: 10px;
    left: 5px;
    background-color: var(--primary-grey);
    color: var(--primary-white);
    border-radius: var(--border-radius);
    padding: 4px 6px;
    text-align: center;
    font-weight: 600;
    min-width: 35px;
    font-size: 0.7rem;
}


.date-day {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 2px;
}

.article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta i {
    color: var(--dark-pistachio);
    font-size: 0.8rem;
}

.article-title {
    margin-bottom: 15px;
    flex-grow: 1;
}

.article-title a {
    color: var(--primary-grey);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title a:hover {
    color: var(--dark-pistachio);
}

.article-excerpt {
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-excerpt p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-link {
    color: var(--primary-grey);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: auto;
}

.article-link:hover {
    color: var(--dark-pistachio);
}

.article-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.article-link:hover i {
    transform: translateX(3px);
}

/* Articles Swiper Navigation */
.articles-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--border-color);
    opacity: 1;
}

.articles-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-grey);
}

.articles-next,
.articles-prev {
    color: var(--primary-grey) !important;
    background-color: var(--primary-white) !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.articles-next::after,
.articles-prev::after {
    font-size: 12px !important;
    font-weight: bold !important;
}

.articles-next:hover,
.articles-prev:hover {
    background-color: var(--dark-pistachio) !important;
    color: var(--primary-white) !important;
    transform: scale(1.05);
}

/* Responsive Design for Articles */
@media (max-width: 768px) {
    .article-card {
        height: 450px;
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-title a {
        font-size: 1.1rem;
    }
    
    .article-meta {
        gap: 15px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Contact Section Styles
   ========================================================================== */
.contact-section {
    background-color: var(--primary-white);
}

/* Fix contact section spacing - reduce gap between columns */
.contact-section .row {
    margin: 0 -10px;
    display: flex;
    flex-wrap: wrap;
}

.contact-section .col-lg-6 {
    padding: 0 10px;
    flex: 0 0 50%;
    max-width: 50%;
}

/* Contact Form Messages */
.contact-message {
    margin-bottom: 30px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    border-color: var(--dark-pistachio);
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.alert-danger ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.alert-danger li {
    margin-bottom: 5px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    padding: 25px;
    background-color: var(--off-white);
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
}

.contact-item:hover {
    background-color: var(--primary-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: var(--dark-pistachio);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-grey);
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.5rem;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background-color: var(--dark-pistachio);
    transform: scale(1.1);
}

.contact-details h4 {
    color: var(--primary-grey);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
}

/* Phone icons styling in contact details */
.contact-details p .contact-icon-inline,
.contact-details p i {
    color: var(--dark-pistachio);
    margin-right: 8px;
    font-size: 16px;
    width: 18px;
    text-align: center;
    font-weight: bold;
}

.contact-details p .contact-icon-inline:nth-of-type(1) {
    color: var(--dark-pistachio); /* Phone */
}

.contact-details p .contact-icon-inline:nth-of-type(2) {
    color: var(--dark-pistachio); /* Mobile - changed from primary-grey to match theme */
}

/* Icon symbols for contact items */
.contact-icon .icon-symbol {
    font-size: 24px;
    color: var(--dark-pistachio);
    display: inline-block;
    width: 30px;
    text-align: center;
}

/* General icon symbol styling */
.icon-symbol {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Highlight items icon styling */
.highlight-item .icon-symbol {
    font-size: 2rem;
    color: var(--primary-grey);
    width: 60px;
    text-align: center;
    margin-right: 20px;
}

/* Service icon styling */
.service-icon .icon-symbol {
    font-size: 1.5rem;
    color: var(--primary-white);
}

/* Article meta icon styling */
.article-meta .icon-symbol {
    color: var(--dark-pistachio);
    font-size: 0.8rem;
}

/* Button icon styling */
.btn .icon-symbol {
    font-size: 1rem;
    margin-left: 8px;
}

/* Social link icon styling */
.social-link .icon-symbol {
    font-size: 16px;
    font-weight: bold;
}

/* Map detail icon styling */
.detail-item .icon-symbol {
    color: var(--dark-pistachio);
    width: 20px;
    text-align: center;
    font-size: 16px;
}

/* Testimonial quote styling */
.testimonial-quote .icon-symbol {
    font-size: 2.5rem;
    color: var(--dark-pistachio);
    opacity: 0.3;
}

/* Star rating styling */
.testimonial-rating .icon-symbol {
    color: #ffd700;
    font-size: 1.1rem;
    margin-right: 2px;
}

/* Lawyer experience icon styling */
.lawyer-experience .icon-symbol {
    color: var(--primary-grey);
    margin-right: 8px;
}

/* Scroll to top button icon styling */
.scroll-to-top .icon-symbol {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-white);
}

.contact-form {
    background-color: var(--off-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Form Row Container Fix */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    width: 100%;
}

.form-row .form-group {
    padding: 0 10px;
    box-sizing: border-box;
}

.form-row .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
}

.form-group {
    margin-bottom: 25px;
    width: 100%;
}

/* Fieldset and Legend for Radio Groups */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

fieldset legend.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-grey);
    margin-bottom: 10px;
    padding: 0;
    border: none;
    width: auto;
    float: none;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: var(--primary-white);
    color: var(--primary-grey);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-grey);
    box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    width: 100%;
}

.form-check-input {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0; /* Prevent checkbox from shrinking */
}

.form-check-label {
    color: var(--text-light);
    line-height: 1.5;
    cursor: pointer;
    font-size: 0.95rem;
    flex: 1;
    word-wrap: break-word;
    white-space: normal;
    max-width: calc(100% - 30px); /* Account for checkbox width + gap */
}

.privacy-link {
    color: var(--primary-grey);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.privacy-link:hover {
    color: var(--dark-pistachio);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-block i {
    font-size: 1rem;
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: var(--dark-pistachio);
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

.valid-feedback {
    display: block;
    color: var(--dark-pistachio);
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Responsive Design for Contact */
@media (max-width: 768px) {
    .contact-section .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .contact-form {
        padding: 25px 20px;
        margin-top: 30px;
    }
    
    /* Mobile Form Row Fix */
    .form-row {
        margin: 0;
        width: 100%;
    }
    
    .form-row .form-group {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .form-row .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .form-group.col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
        margin-bottom: 20px !important;
    }
    
    .contact-item {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .contact-details h4 {
        font-size: 1.1rem;
    }
    
    .form-control {
        padding: 12px 15px !important;
        font-size: 16px !important; /* Prevent zoom on iOS */
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
    }
    
    .form-control::placeholder {
        font-size: 14px !important;
        color: #999 !important;
    }
    
    /* Mobile Privacy Policy Checkbox Fix */
    .form-check {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .form-check-input {
        margin-top: 2px !important;
        width: 20px !important;
        height: 20px !important;
        flex-shrink: 0 !important;
    }
    
    .form-check-label {
        font-size: 14px !important;
        line-height: 1.4 !important;
        flex: 1 !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        max-width: calc(100% - 32px) !important;
        text-align: left !important;
    }
    
    .privacy-link {
        display: inline !important;
        white-space: nowrap !important;
    }
    
    .btn-block {
        padding: 15px 25px;
        font-size: 1rem;
        margin-top: 10px;
    }
}

/* ==========================================================================
   Contact Form Enhancement & Server Compatibility
   ========================================================================== */

/* Ensure consistent form layout across environments */
.contact-form * {
    box-sizing: border-box;
}

/* Fix form row layout for all screen sizes */
.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    width: calc(100% + 20px);
}

.contact-form .form-row .form-group {
    padding: 0 10px;
    box-sizing: border-box;
}

/* Ensure consistent field sizing */
.contact-form .form-control {
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Select dropdown specific styling */
.contact-form select.form-control {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23999" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

/* Privacy policy text improvements */
.contact-form .form-check-label {
    display: block;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Tablet specific fixes */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-form .form-row .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .form-check-label {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Small mobile fixes */
@media (max-width: 480px) {
    .contact-form {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .form-check {
        gap: 10px !important;
    }
    
    .form-check-input {
        width: 18px !important;
        height: 18px !important;
    }
    
    .form-check-label {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
    
    .privacy-link {
        word-break: break-all;
    }
}

/* Fix for different font rendering on server vs localhost */
.contact-form .form-control,
.contact-form .form-check-label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure privacy policy stays on one line for desktop */
@media (min-width: 769px) {
    .form-check-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: none;
    }
    
    /* But allow wrapping for very long text */
    .form-check-label:hover {
        white-space: normal;
        overflow: visible;
    }
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.site-footer {
    background-color: var(--primary-grey);
    color: var(--primary-white);
    padding: 60px 0 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--dark-pistachio);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-address p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #cccccc; /* Changed from default text-light to more readable light color */
}

.footer-address a {
    color: var(--primary-white);
    text-decoration: none;
}

.footer-address a:hover {
    color: var(--dark-pistachio);
}

/* Newsletter text readability fix */
.newsletter-signup p {
    color: #cccccc; /* More readable than text-light */
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Footer general text improvements */
.footer-column p {
    color: #cccccc; /* Better readability for all footer paragraphs */
}

/* Footer address labels (Phone:, Email:) */
.footer-address p strong {
    color: var(--primary-white); /* Make labels bright white for clarity */
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-column .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.1);
    color: var(--dark-pistachio);
    border: 2px solid var(--dark-pistachio);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.footer-column .social-link:hover {
    background: var(--dark-pistachio);
    color: var(--primary-white);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    max-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
    font-size: 14px;
    max-width: 250px;
}

.newsletter-form .btn {
    padding: 10px 15px;
    font-size: 14px;
    min-width: auto;
    white-space: nowrap;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.8); /* Increased opacity from 0.7 to 0.8 for better readability */
}

.footer-menu,
.legal-areas-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li,
.legal-areas-menu li {
    margin-bottom: 10px;
}

.footer-menu a,
.legal-areas-menu a {
    color: var(--primary-white);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-menu a:hover,
.legal-areas-menu a:hover {
    color: var(--dark-pistachio);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 0;
    text-align: center;
}

.copyright-section p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.heart {
    color: var(--dark-pistachio);
    font-size: 1.2rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .primary-menu {
        gap: 25px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-header-bar {
        display: none; /* Keep hidden by default */
    }
    
    /* Optional: If you want to show top header on mobile, uncomment below */
    
    .top-header-bar {
        display: block;
        padding: 8px 0;
        font-size: 12px;
    }
    
    .header-contact-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .header-datetime {
        text-align: center;
        margin-top: 8px;
    }
    
    
    /* Fix hamburger menu position - move to right corner */
    .header-content {
        justify-content: space-between;
        align-items: center;
        display: flex;
        width: 100%;
        position: relative;
    }
    
    .site-branding {
        order: 1;
        flex: 0 1 auto;
        margin-right: auto;
    }
    
    .main-navigation {
        order: 2;
        margin-left: auto;
        width: auto;
        position: relative;
        overflow: visible;
    }
    
    .menu-toggle {
        display: flex;
        margin-left: auto;
        order: 2;
        padding: 10px;
    }
    
    /* Improve mobile menu background and positioning */
    .primary-menu {
        position: absolute;
        top: 100%;
        left: -25px;
        right: -25px;
        background-color: var(--primary-white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
        padding: 0;
        border: 1px solid var(--border-color);
        border-radius: 0 0 8px 8px;
        z-index: 1000;
        width: calc(100vw - 10px);
        box-sizing: border-box;
        margin: 0;
        min-width: 320px;
    }
    
    .primary-menu.active {
        display: flex;
    }
    
    .primary-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        margin: 0;
        padding: 0;
    }
    
    .primary-menu li:last-child {
        border-bottom: none;
    }
    
    .primary-menu a {
        padding: 15px 10px !important;
        font-size: 10px !important;
        text-align: left !important;
        white-space: nowrap !important;
        word-break: normal !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        text-overflow: clip !important;
        max-width: none !important;
        min-width: 0 !important;
    }
    
    /* Remove underline effect for mobile menu items */
    .primary-menu a::after {
        display: none !important;
    }
    
    /* Mobile active menu item highlighting - Golden text, no background */
    .primary-menu .current-menu-item a {
        background-color: transparent !important;
        color: var(--dark-pistachio) !important;
        border-left: 4px solid !important;
        font-weight: 600 !important;
        margin: 2px 10px !important;
        border-radius: 6px !important;
        width: calc(100% - 20px) !important;
    }
    
    /* Fix button sizes for mobile - make them much smaller with higher specificity */
    .btn,
    .page-about .btn,
    .page-services .btn,
    .page-lawyers .btn,
    .page-contact .btn,
    .archive-page .btn,
    .single-page .btn {
        text-align: center !important;
        font-size: 11px !important; /* Much smaller font */
        padding: 6px 12px !important; /* Much smaller padding */
        border-radius: 4px !important; /* Smaller radius */
        line-height: 1.2 !important;
    }
    
    .btn-golden,
    .btn-primary,
    .page-about .btn-golden,
    .page-services .btn-golden,
    .page-lawyers .btn-golden,
    .page-contact .btn-golden {
        font-size: 11px !important;
        padding: 6px 12px !important;
    }
    
    /* Specific button fixes for homepage sections with higher specificity to override style.css and internal-pages.css */
    .about-section .btn,
    .lawyers-section .btn,
    .articles-section .btn,
    .contact-section .btn,
    .page-about .about-section .btn,
    .page-services .lawyers-section .btn,
    .page-lawyers .articles-section .btn,
    .page-contact .contact-section .btn {
        font-size: 10px !important;
        padding: 5px 10px !important;
        min-width: auto !important; /* Remove any min-width constraints */
        white-space: nowrap !important; /* Prevent text wrapping */
    }
    
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Fix lawyers pagination gap on mobile */
    .lawyers-swiper .swiper-pagination {
        margin-top: 25px !important;
        bottom: -25px !important;
    }
    
    /* Fix testimonials mobile layout */
    .testimonials-swiper {
        overflow: visible !important;
        padding: 0 15px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    
    .testimonials-swiper .swiper-wrapper {
        width: 100% !important;
        max-width: none !important;
    }
    
    .testimonials-swiper .swiper-slide {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }
    
    .testimonial-layout {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 10px;
    }
    
    .testimonial-details {
        text-align: center;
    }
    
    .quote-icon {
        float: none;
        display: block;
        text-align: center;
        margin: 0 0 10px 0;
        font-size: 3rem;
    }
    
    .testimonial-quote p {
        font-size: 0.95rem;
        text-align: center;
        line-height: 1.5;
        margin: 0;
    }
    
    /* Fix contact form width and alignment - Enhanced Mobile */
    .contact-section .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .contact-form {
        padding: 25px 20px;
        margin-top: 30px;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Enhanced Form Row Handling */
    .form-row {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .form-control {
        width: 100%;
        padding: 12px 15px;
        font-size: 16px; /* Prevent iOS zoom */
        min-width: unset;
        box-sizing: border-box;
    }
    
    /* Enhanced Privacy Checkbox for Mobile */
    .form-check {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
        text-align: left !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    .form-check-input {
        width: 20px !important;
        height: 20px !important;
        margin-top: 2px !important;
        flex-shrink: 0 !important;
    }
    
    .form-check-label {
        font-size: 14px !important;
        line-height: 1.4 !important;
        flex: 1 !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        text-align: left !important;
        max-width: calc(100% - 32px) !important;
    }
    
    /* Fix testimonials section for mobile */
    .testimonials-section {
        min-height: 70vh; /* Reduced height */
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .testimonials-content {
        padding: 40px 0; /* Reduced padding */
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .testimonial-layout {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        width: 100%;
        max-width: calc(100vw - 30px);
        margin: 0 auto;
        box-sizing: border-box;
        padding: 20px 15px;
        background: rgba(248, 248, 248, 0.95) !important; /* Light greyish background */
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .testimonial-details {
        text-align: center;
    }
    
    .quote-icon {
        float: none;
        display: block;
        text-align: center;
        margin: 0 0 15px 0;
    }
    
    .testimonial-quote p {
        font-size: 1rem; /* Reduced font size */
        text-align: center;
        line-height: 1.6;
        color: var(--primary-grey) !important; /* Dark text for better contrast */
    }
    
    .testimonials-section .section-title {
        font-size: 1.8rem; /* Reduced title size */
        text-align: center;
    }
    
    .testimonials-section .section-header .sub-title {
        text-align: center;
    }
    
    .testimonials-section .section-subtitle {
        text-align: center;
        font-size: 1rem;
    }
    
    .testimonials-navigation {
        position: relative;
        bottom: 0;
        justify-content: center;
        margin-top: 30px;
    }
    
    .testimonials-next,
    .testimonials-prev {
        width: 25px !important;
        height: 25px !important;
        font-size: 12px !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: var(--primary-white) !important;
        border-radius: 50%;
               border: 1px solid rgba(255, 255, 255, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn {
        text-align: center;
    }
    
    .about-highlights {
        margin: 20px 0;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .highlight-item i {
        margin-bottom: 10px;
    }
    
    .services-swiper .swiper-slide {
        margin-right: 20px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 280px;
        gap: 8px;
    }
    
    .newsletter-form input {
        max-width: 100%;
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .newsletter-form .btn {
        padding: 8px 12px;
        font-size: 13px;
        max-width: 120px;
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .site-branding .site-title {
        font-size: 1.8rem;
    }
    
    .hero-content {
        text-align: center;
        align-items: center;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        padding: 15px;
    }
    
    .experience-number {
        font-size: 1.5rem;
    }
    
    .service-content {
        padding: 40px 20px 20px;
    }
}

/* ==========================================================================
   Google Map Section
   ========================================================================== */

.map-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: var(--light-grey);
}

.map-container {
    position: relative;
    height: 500px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.map-container:hover {
    border-color: var(--dark-pistachio);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(184, 134, 11, 0.3);
}

.google-map {
    width: 100%;
    height: 100%;
    filter: grayscale(20%) contrast(1.2);
    transition: all 0.3s ease;
}

.google-map:hover {
    filter: grayscale(0%) contrast(1);
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 85, 104, 0.9) 0%, rgba(147, 196, 125, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 40px 0;
}

.map-section:hover .map-overlay {
    opacity: 1;
    visibility: visible;
}

.map-info-card {
    background: var(--primary-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    transform: translateX(-30px);
    transition: all 0.4s ease;
    border: 3px solid var(--dark-pistachio);
}

.map-section:hover .map-info-card {
    transform: translateX(0);
}

.map-info-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-grey);
}

.map-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-grey) 0%, var(--dark-pistachio) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 24px;
    animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(147, 196, 125, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(147, 196, 125, 0);
    }
}

.map-text h3 {
    color: var(--primary-grey);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.map-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.map-details {
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.detail-item i {
    color: var(--dark-pistachio);
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.map-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Map Animation Effects */
.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    z-index: 15;
    animation: mapShine 3s ease-in-out infinite;
}

@keyframes mapShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* Responsive Design for Map */
@media (max-width: 1200px) {
    .map-container {
        max-width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .map-section {
        padding: 30px 0;
    }
    
    .map-container {
        height: 300px;
        max-width: 100%;
        border-radius: 10px;
        margin: 0 auto;
    }
    
    /* Enable mobile map overlay with touch support */
    .map-overlay {
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        padding: 15px;
        justify-content: center;
        background: linear-gradient(135deg, rgba(147, 196, 125, 0.95) 0%, rgba(255, 193, 7, 0.95) 100%);
    }
    
    .map-container:active .map-overlay,
    .map-section:hover .map-overlay {
        opacity: 1;
        visibility: visible;
    }
    
    .map-info-card {
        max-width: 280px;
        padding: 20px;
        transform: translateX(0);
        margin: 0 auto;
    }
    
    .map-container:active .map-info-card,
    .map-section:hover .map-info-card {
        transform: translateX(0);
    }
    
    .map-info-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .map-text h3 {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .map-text p {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .map-details {
        margin-top: 8px;
        gap: 6px;
    }
    
    .map-actions {
        margin-top: 10px;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .map-section {
        padding: 20px 0;
    }
    
    .map-container {
        height: 250px;
        border-radius: 6px;
        margin: 0 auto;
    }
    
    /* Keep map overlay and info card hidden on small mobile too with higher specificity */
    .map-overlay,
    .enhanced-map-overlay,
    .contact-page .map-overlay,
    .page-contact .map-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .map-info-card,
    .enhanced-map-overlay .map-info-card,
    .contact-page .map-info-card,
    .page-contact .map-info-card {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* Hero Overlay for Background Images */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Page Headers with Background Images */
.page-header,
.about-hero-section,
.contact-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--primary-white);
    min-height: 400px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.page-header-content,
.about-hero-content,
.contact-hero-content {
    position: relative;
    z-index: 2;
}

.page-header .page-title,
.about-hero-section .page-title,
.contact-hero-section .page-title {
    color: var(--primary-white);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header .page-subtitle,
.about-hero-section .page-subtitle,
.contact-hero-section .page-subtitle {
    color: var(--primary-white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.breadcrumb-nav a,
.breadcrumb-nav .separator,
.breadcrumb-nav .current {
    color: var(--primary-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.breadcrumb-nav a:hover {
    color: var(--golden);
}

/* Responsive adjustments for hero sections */
@media (max-width: 768px) {
    .page-header .page-title,
    .about-hero-section .page-title,
    .contact-hero-section .page-title {
        font-size: 2rem;
    }
    
    .page-header .page-subtitle,
    .about-hero-section .page-subtitle,
    .contact-hero-section .page-subtitle {
        font-size: 1rem;
    }
    
    .page-header,
    .about-hero-section,
    .contact-hero-section {
        min-height: 300px;
    }
}

/* ==========================================================================
   Cookie Consent Notice
   ========================================================================== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2d231b 0%, #4a5568 100%);
    color: var(--primary-white);
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid var(--dark-pistachio);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-message {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cookie-message i {
    font-size: 2rem;
    color: var(--dark-pistachio);
    flex-shrink: 0;
}

.cookie-message p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.cookie-message a {
    color: var(--dark-pistachio);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-message a:hover {
    color: #ffc107;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: 120px;
    border-radius: 6px;
}

.cookie-actions .btn-outline {
    background: transparent;
    color: var(--primary-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-white);
}

/* Mobile Cookie Notice */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-message {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cookie-message i {
        font-size: 1.5rem;
    }
    
    .cookie-message p {
        font-size: 0.9rem;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-actions .btn {
        flex: 1;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-actions .btn {
        width: 100%;
        max-width: none;
    }
}

/* ============================
   Privacy Policy Modal Styles
   ============================ */

.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.privacy-modal-content {
    background: var(--primary-white);
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-modal-header {
    background: var(--chocolate-brown);
    color: var(--primary-white);
    padding: 20px 25px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.privacy-modal-close {
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.privacy-modal-close:hover {
    opacity: 0.7;
}

.privacy-modal-body {
    padding: 25px;
    color: var(--primary-black);
    line-height: 1.6;
}

.privacy-modal-body p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.privacy-modal-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-modal-body li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.privacy-modal-body strong {
    color: var(--chocolate-brown);
    font-weight: 600;
}

.privacy-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 15px;
    background: #f8f9fa;
    border-radius: 0 0 10px 10px;
}

.privacy-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.privacy-btn-agree {
    background: var(--dark-green);
    color: var(--primary-white);
}

.privacy-btn-agree:hover {
    background: #1e5f1e;
    transform: translateY(-1px);
}

.privacy-btn-disagree {
    background: #dc3545;
    color: var(--primary-white);
}

.privacy-btn-disagree:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Mobile Responsive for Privacy Modal */
@media (max-width: 768px) {
    .privacy-modal {
        padding: 10px;
    }
    
    .privacy-modal-content {
        max-height: 90vh;
        border-radius: 8px;
    }
    
    .privacy-modal-header {
        padding: 15px 20px;
        border-radius: 8px 8px 0 0;
    }
    
    .privacy-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .privacy-modal-body {
        padding: 20px;
    }
    
    .privacy-modal-body p,
    .privacy-modal-body li {
        font-size: 0.9rem;
    }
    
    .privacy-modal-footer {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        border-radius: 0 0 8px 8px;
    }
    
    .privacy-btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .privacy-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .privacy-modal-close {
        font-size: 1.6rem;
    }
    
    .privacy-modal-body {
        padding: 15px;
    }
    
    .privacy-modal-footer {
        padding: 15px;
    }
}

/* ============================
   Lawyer Profile Pages Styles
   ============================ */

.lawyer-profile-page .page-hero {
    background: linear-gradient(135deg, var(--chocolate-brown) 0%, var(--dark-green) 100%);
    padding: 80px 0 60px;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

/* Ensure proper spacing between hero and content */
.lawyer-profile-page .lawyer-details {
    padding-top: 80px;
    position: relative;
    z-index: 2;
}

.lawyer-profile-page .hero-title {
    font-size: 3rem;
    color: var(--primary-white);
    margin-bottom: 10px;
    font-weight: 700;
}

.lawyer-profile-page .hero-subtitle {
    font-size: 1.3rem;
    color: var(--golden);
    margin-bottom: 30px;
    font-weight: 500;
}

.lawyer-profile-page .breadcrumb {
    color: var(--primary-white);
    font-size: 1rem;
}

.lawyer-profile-page .breadcrumb a {
    color: var(--primary-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lawyer-profile-page .breadcrumb a:hover {
    color: var(--golden);
}

.lawyer-profile-page .separator {
    margin: 0 10px;
    color: var(--golden);
}

.lawyer-profile-page .current {
    color: var(--golden);
}

/* Lawyer Profile Card */
.lawyer-profile-card {
    background: var(--primary-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: sticky;
    top: 100px;
}

.lawyer-profile-card .lawyer-image {
    text-align: center;
    margin-bottom: 25px;
}

.lawyer-profile-card .lawyer-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--golden);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lawyer-basic-info .lawyer-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.lawyer-basic-info .lawyer-designation {
    font-size: 1.2rem;
    color: var(--golden);
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.lawyer-basic-info .lawyer-experience {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
}

.lawyer-basic-info .lawyer-experience i {
    color: var(--golden);
    margin-right: 8px;
}

/* Contact Info in Profile Card */
.contact-info {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: var(--golden);
    width: 20px;
    margin-right: 12px;
    font-size: 1rem;
}

/* Social Links in Profile Card */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 25px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Lawyer Details Content */
.lawyer-details-content {
    background: var(--primary-white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.content-section {
    margin-bottom: 40px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section .section-title {
    font-size: 2.2rem;
    color: var(--chocolate-brown);
    margin-bottom: 20px;
    font-weight: 700;
}

.content-section .subsection-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--golden);
    padding-bottom: 10px;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Expertise List */
.expertise-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-items li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-light);
}

.expertise-items li i {
    color: var(--dark-green);
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Education List */
.education-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.education-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--golden);
}

.education-degree h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.education-degree .institution {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

/* Achievements List */
.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--golden);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.3rem;
}

.achievement-content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.achievement-content p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.lawyer-cta {
    background: linear-gradient(135deg, var(--chocolate-brown) 0%, var(--dark-green) 100%);
}

.lawyer-cta .section-title {
    color: var(--primary-white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.lawyer-cta .section-subtitle {
    color: var(--off-white);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.cta-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-buttons .btn i {
    margin-right: 8px;
}

.cta-buttons .btn-outline {
    background: transparent;
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
}

.cta-buttons .btn-outline:hover {
    background: var(--primary-white);
    color: var(--chocolate-brown);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .lawyer-profile-card {
        position: static;
        margin-bottom: 30px;
    }
    
    .lawyer-details-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .lawyer-profile-page .hero-title {
        font-size: 2.2rem;
    }
    
    .lawyer-profile-page .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .lawyer-profile-card {
        padding: 25px;
    }
    
    .lawyer-details-content {
        padding: 25px;
    }
    
    .content-section .section-title {
        font-size: 1.8rem;
    }
    
    .content-section .subsection-title {
        font-size: 1.3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .lawyer-profile-page .page-hero {
        padding: 70px 0 50px;
    }
    
    .lawyer-profile-page .lawyer-details {
        padding-top: 60px;
    }
    
    .lawyer-profile-page .hero-title {
        font-size: 1.8rem;
    }
    
    .lawyer-profile-card {
        padding: 20px;
    }
    
    .lawyer-details-content {
        padding: 20px;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .achievement-icon {
        margin: 0 auto;
    }
}
