/* ========================================
   COMPLETE TEAM SECTION CSS - FINAL VERSION
   Al-Dahash Law Firm Website
======================================== */

:root {
    /* Primary colors - deep navy blue */
    --primary-color: #001e4c;
    --primary-light: #002a6a;
    --primary-dark: #00142e;
    
    /* Secondary colors - gold from logo */
    --secondary-color: #d4af37;
    --secondary-light: #e6c76c;
    --secondary-dark: #b39225;
    
    /* Text colors */
    --text-light: #ffffff;
    --text-dark: #333333;
    
    /* Background colors */
    --bg-light: #f8f9fa;
    --bg-dark: #001233;
    
    /* Other variables */
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --arabic-font: 'Cairo', 'Tajawal', sans-serif;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Base Section */
.attorneys-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--bg-light);
    overflow: hidden;
    direction: rtl;
}

.attorneys-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: 0;
}

.attorneys-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23002b5c' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 5v1H5z'/%3E%3Cpath d='M6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Section Header */
.attorneys-header {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
    z-index: 1;
    padding: 0 15px;
}

.attorneys-header__title {
    color: var(--primary-color);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-family: var(--arabic-font);
    line-height: 1.2;
}

.attorneys-header__line {
    position: relative;
    width: 80px;
    height: 3px;
    margin: 0 auto 20px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
}

.attorneys-header__dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.attorneys-header__subtitle {
    color: var(--primary-color);
    font-size: 18px;
    max-width: 100%;
    margin: 0 auto;
    font-family: var(--arabic-font);
    line-height: 1.6;
    padding: 0 10px;
}

/* Attorneys Grid */
.attorneys-grid {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.attorneys-grid .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.attorneys-grid .col-lg-4,
.attorneys-grid .col-md-6 {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    margin-bottom: 30px;
}

/* Attorney Card - Complete Structure */
.attorney-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.attorney-card__inner {
    position: relative;
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 43, 92, 0.05);
    margin: 0;
    padding: 0;
}

.attorney-card:hover .attorney-card__inner {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Card Image */
/* Update this existing CSS */
/* Card Image - Portrait Style (Less Zoomed) */
.attorney-card__image {
    position: relative;
    height: 400px; /* Increased height for better portrait ratio */
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    margin: 0;
    border-radius: var(--border-radius) var(--border-radius) 0 0; /* Only round top corners */
}

.attorney-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* Moved down to show more of upper body */
    transform: scale(1.15); /* Reduced zoom to show more of the image */
    transition: all 0.6s ease;
}

.attorney-card:hover .attorney-card__image img {
    transform: scale(1.2); /* Subtle zoom on hover */
}

/* Individual attorney image adjustments for better framing */
/* Attorney 1 - محمد الدهش */
.attorney-card:nth-child(1) .attorney-card__image img {
    object-position: center 30%;
    transform: scale(1.2);
}

/* Attorney 2 - صفا المعاري */
.attorney-card:nth-child(2) .attorney-card__image img {
    object-position: center 30%;
    transform: scale(1.1);
}

/* Attorney 3 - محمد المالكي */
.attorney-card:nth-child(3) .attorney-card__image img {
    object-position: center 30%; /* Moved down more */
    transform: scale(1.18);
}

/* Add subtle gradient overlay for better text contrast */
.attorney-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        transparent 50%, 
        rgba(0, 30, 76, 0.3) 80%,
        rgba(0, 30, 76, 0.6) 100%);
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .attorney-card__image {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .attorney-card__image {
        height: 280px;
    }
    
    .attorney-card__image img {
        transform: scale(1.1); /* Even less zoom on mobile */
    }
    
    /* Adjust individual images for mobile */
    .attorney-card:nth-child(1) .attorney-card__image img,
    .attorney-card:nth-child(2) .attorney-card__image img,
    .attorney-card:nth-child(3) .attorney-card__image img {
        transform: scale(1.1);
    }
}

@media (max-width: 575px) {
    .attorney-card__image {
        height: 260px;
    }
}

@media (max-width: 400px) {
    .attorney-card__image {
        height: 240px;
    }
}
.attorney-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 43, 92, 0.7) 100%);
}

/* Card Content - Fixed Layout */
.attorney-card__content {
    position: relative;
    padding: 20px 15px 0;
    text-align: center;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    margin: 0;
}

.attorney-card__name {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: all var(--transition);
    font-family: var(--arabic-font);
    line-height: 1.3;
}

.attorney-card:hover .attorney-card__name {
    color: var(--primary-light);
}

.attorney-card__position {
    color: var(--secondary-color);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: var(--arabic-font);
}

.attorney-card__license {
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
    font-family: var(--arabic-font);
    font-weight: 500;
    background: rgba(0, 43, 92, 0.05);
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
}

.attorney-card__divider {
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 0 auto 15px;
}

/* Contact Section - Fixed Positioning */
.attorney-card__contact {
    margin-top: auto;
    padding: 0 0 15px 0;
    margin-bottom: 0;
}

.attorney-email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
    padding: 10px 15px;
    border-radius: 25px;
    background: rgba(0, 43, 92, 0.05);
    font-family: var(--arabic-font);
    border: 1px solid rgba(0, 43, 92, 0.1);
    min-height: 40px;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.attorney-email-link:hover,
.attorney-email-link:focus {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 43, 92, 0.2);
}

.attorney-email-link i {
    font-size: 12px;
    flex-shrink: 0;
}

.attorney-email-link span {
    font-size: 11px;
    direction: ltr;
    text-align: center;
    word-break: break-all;
    line-height: 1.2;
}

/* Details Button - Fixed Position */
.attorney-card__details-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition);
    font-family: var(--arabic-font);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0;
    min-height: 50px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.attorney-card__details-btn i {
    font-size: 14px;
    transition: all var(--transition);
}

.attorney-card__details-btn:hover,
.attorney-card__details-btn:focus {
    background: var(--primary-light);
    outline: none;
}

.attorney-card__details-btn:active {
    transform: scale(0.98);
}

.attorney-card__details-btn:hover i {
    transform: translateY(3px);
}

/* Info Popup - Enhanced */
.attorney-info {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 92, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 1000;
    backdrop-filter: blur(5px);
    padding: 20px;
}

.attorney-info.active {
    opacity: 1;
    visibility: visible;
}

.attorney-info__content {
    background: rgba(0, 43, 92, 0.98);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: right;
    color: #fff;
    max-height: 85vh;
    overflow-y: auto;
    width: 100%;
    max-width: 600px;
    border: 2px solid var(--secondary-color);
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.attorney-info__title {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--arabic-font);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.attorney-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attorney-info__list li {
    position: relative;
    padding: 12px 15px 12px 40px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    font-family: var(--arabic-font);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border-right: 3px solid var(--secondary-color);
    word-wrap: break-word;
}

.attorney-info__list li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.attorney-info__close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 1;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.attorney-info__close:hover,
.attorney-info__close:focus {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: rotate(90deg);
}

/* Custom Scrollbar */
.attorney-info__content::-webkit-scrollbar {
    width: 6px;
}

.attorney-info__content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.attorney-info__content::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

/* Team Tagline */
.attorneys-tagline {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.attorneys-tagline__inner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.attorneys-tagline__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.attorneys-tagline__icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.attorneys-tagline__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-family: var(--arabic-font);
    line-height: 1.3;
}

.attorneys-tagline__text {
    font-size: 18px;
    max-width: 100%;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    font-family: var(--arabic-font);
    line-height: 1.6;
}

/* CTA Button */
.attorneys-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-family: var(--arabic-font);
    font-size: 16px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.attorneys-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s;
    z-index: 0;
}

.attorneys-cta:hover,
.attorneys-cta:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark);
}

.attorneys-cta:active {
    transform: scale(0.98);
}

.attorneys-cta:hover::before {
    right: 100%;
}

.attorneys-cta__text {
    position: relative;
    z-index: 1;
    margin-left: 8px;
}

.attorneys-cta__icon {
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}

.attorneys-cta:hover .attorneys-cta__icon {
    transform: translateX(-5px);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .attorneys-header__title {
        font-size: 38px;
    }
    
    .attorney-card__image {
        height: 280px;
    }
    
    .attorneys-tagline__title {
        font-size: 26px;
    }
    
    .attorneys-tagline__text {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .attorneys-section {
        padding: 80px 0;
    }
    
    .attorneys-header__title {
        font-size: 34px;
    }
    
    .attorney-card__image {
        height: 260px;
    }
    
    .attorneys-tagline__inner {
        padding: 40px 30px;
    }
    
    /* Ensure 2 columns on tablets */
    .attorneys-grid .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .attorneys-section {
        padding: 60px 0;
    }
    
    .attorneys-header {
        margin-bottom: 40px;
    }
    
    .attorneys-header__title {
        font-size: 30px;
        margin-bottom: 15px;
    }
    
    .attorneys-header__subtitle {
        font-size: 16px;
    }
    
    .attorney-card {
        margin-bottom: 25px;
    }
    
    .attorney-card__image {
        height: 240px;
    }
    
    .attorney-card__content {
        padding: 18px 15px 0;
    }
    
    .attorney-card__name {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .attorney-card__position {
        font-size: 15px;
    }
    
    .attorney-card__license {
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .attorney-email-link {
        font-size: 12px;
        padding: 8px 12px;
        gap: 6px;
    }
    
    .attorney-email-link span {
        font-size: 10px;
    }
    
    .attorney-card__details-btn {
        padding: 12px;
        font-size: 14px;
        min-height: 45px;
    }
    
    .attorneys-tagline__inner {
        padding: 35px 25px;
    }
    
    .attorneys-tagline__title {
        font-size: 24px;
    }
    
    .attorneys-tagline__text {
        font-size: 15px;
    }
    
    .attorneys-cta {
        padding: 10px 25px;
        font-size: 15px;
    }
    
    .attorney-info__content {
        padding: 25px 20px;
        max-height: 80vh;
    }
    
    .attorney-info__title {
        font-size: 18px;
    }
    
    .attorney-info__list li {
        font-size: 13px;
        padding: 10px 12px 10px 35px;
    }
}

@media (max-width: 575px) {
    .attorneys-section {
        padding: 50px 0;
    }
    
    .attorneys-header {
        padding: 0 10px;
        margin-bottom: 35px;
    }
    
    .attorneys-header__title {
        font-size: 26px;
    }
    
    .attorneys-header__subtitle {
        font-size: 15px;
    }
    
    .attorney-card__image {
        height: 220px;
    }
    
    .attorney-card__content {
        padding: 15px 12px 0;
    }
    
    .attorney-card__name {
        font-size: 18px;
    }
    
    .attorney-card__position {
        font-size: 14px;
    }
    
    .attorney-card__license {
        font-size: 12px;
    }
    
    .attorney-card__contact {
        padding: 0 0 12px 0;
    }
    
    .attorney-email-link {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .attorney-email-link span {
        font-size: 9px;
    }
    
    .attorney-card__details-btn {
        font-size: 13px;
        padding: 10px;
    }
    
    /* Single column on mobile */
    .attorneys-grid .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .attorneys-tagline__inner {
        padding: 30px 20px;
    }
    
    .attorneys-tagline__icon {
        font-size: 35px;
    }
    
    .attorneys-tagline__title {
        font-size: 22px;
    }
    
    .attorneys-tagline__text {
        font-size: 14px;
    }
    
    .attorney-info {
        padding: 15px;
    }
    
    .attorney-info__content {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .attorney-info__close {
        width: 35px;
        height: 35px;
        top: 10px;
        left: 10px;
    }
}

/* Extra Small Screens */
@media (max-width: 400px) {
    .attorneys-header__title {
        font-size: 24px;
    }
    
    .attorney-card__image {
        height: 200px;
    }
    
    .attorney-card__content {
        padding: 12px 10px 0;
    }
    
    .attorney-card__name {
        font-size: 17px;
    }
    
    .attorney-email-link span {
        font-size: 8px;
    }
    
    .attorneys-tagline__title {
        font-size: 20px;
    }
    
    .attorneys-tagline__text {
        font-size: 13px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .attorney-card:hover .attorney-card__inner {
        transform: none;
    }
    
    .attorney-card__inner {
        transition: transform 0.2s ease;
    }
    
    .attorney-card:active .attorney-card__inner {
        transform: scale(0.98);
    }
    
    .attorney-email-link:hover,
    .attorney-card__details-btn:hover {
        transform: none;
    }
    
    .attorney-email-link:active,
    .attorney-card__details-btn:active {
        transform: scale(0.95);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .attorney-card__inner {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    
    .attorney-info__content {
        border-width: 1px;
    }
}

/* Remove any unwanted spacing */
.attorney-card *,
.attorney-card *::before,
.attorney-card *::after {
    box-sizing: border-box;
}

.attorney-card__inner > *:last-child {
    margin-bottom: 0 !important;
}

.attorney-card__content > *:last-child {
    margin-bottom: 0 !important;
}

/* Hero Section Styles */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background-color: var(--primary);
    margin-top: -1px; /* Fix potential gap between header and hero */
}

.hero__slider {
    height: 100%;
    position: relative;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
}

.hero__slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero__slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 20, 60, 0.45); /* Subtle dark blue overlay */
    z-index: 1; /* Make sure this is above the background image but below the content */
}


.hero__content {
    position: relative;
    z-index: 2;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
}

.hero__title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero__buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    text-align: center;
}

.hero__image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    gap: 8px;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--dark);
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--dark);
    border-color: var(--dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

/* Slider Bottom Wrapper */
.hero__bottom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

/* Slider Controls */
.hero__controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero__dots {
    display: flex;
    gap: 10px;
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero__dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

.hero__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero__arrow:hover {
    background-color: var(--secondary);
    color: var(--dark);
}

/* Scroll Down Button */
.hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.hero__scroll i {
    font-size: 20px;
    animation: bounce 2s infinite;
}

.hero__scroll:hover {
    color: var(--secondary);
}

/* Hero Slide Content Animations */
.hero__slide .hero__content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero__slide.active .hero__content {
    opacity: 1;
    transform: translateY(0);
}

.hero__slide .hero__title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.hero__slide.active .hero__title {
    opacity: 1;
    transform: translateY(0);
}

.hero__slide .hero__subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s;
}

.hero__slide.active .hero__subtitle {
    opacity: 1;
    transform: translateY(0);
}

.hero__slide .hero__buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s;
}

.hero__slide.active .hero__buttons {
    opacity: 1;
    transform: translateY(0);
}

.hero__slide .hero__image {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.hero__slide.active .hero__image {
    opacity: 1;
    transform: scale(1);
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero__title {
        font-size: 2.2rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 991px) {
    .hero {
        height: 70vh;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__content {
        padding: 20px;
        margin: 0 auto;
        text-align: center;
    }
    
    .hero__buttons {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero {
        height: 90vh;
        min-height: 500px;
    }
    
    .hero__title {
        font-size: 1.8rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero__dot {
        width: 10px;
        height: 10px;
    }
    
    .hero__arrow {
        width: 36px;
        height: 36px;
    }
    
    .hero__scroll {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .hero__title {
        font-size: 1.5rem;
    }
    
    .hero__subtitle {
        font-size: 0.95rem;
    }
    
    .hero__content {
        padding: 15px;
    }
    
    .hero__buttons {
        gap: 10px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}











/* Base Section */
.about-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--primary-dark);
    overflow: hidden;
    min-height: 100vh;
}

/* Background with particles */
.about-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-color) 0%, var(--primary-dark) 70%);
    z-index: 0;
}

/* Section Title */
.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
    z-index: 1;
}

.section-title__text {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 15px var(--secondary);
}

.section-title__line {
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
    margin: 0 auto;
    position: relative;
}

.section-title__line::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--secondary);
}

/* About Cards */
.about-cards {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.about-card {
    position: relative;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(10, 77, 140, 0.5), rgba(0, 43, 92, 0.2));
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition);
    height: 100%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.about-card__icon {
    margin-bottom: 25px;
    text-align: center;
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(0, 43, 92, 0.7);
    border-radius: 50%;
    position: relative;
    transition: all var(--transition);
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), transparent 70%);
    opacity: 0.7;
    z-index: -1;
    transition: all var(--transition);
}

.icon-wrapper i {
    font-size: 32px;
    color: var(--secondary);
    transition: all var(--transition);
}

.icon-wrapper--mission {
    background-color: rgba(0, 43, 92, 0.8);
}

.icon-wrapper--vision {
    background-color: rgba(0, 43, 92, 0.9);
}

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

.about-card:hover .icon-wrapper::before {
    transform: scale(1.15);
    opacity: 1;
}

.about-card__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 20px;
}

.about-card__divider {
    width: 80px;
    height: 2px;
    background-color: var(--secondary);
    margin: 0 auto 20px;
    position: relative;
}

.about-card__divider::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-card__content {
    text-align: center;
    margin-bottom: 25px;
}

.about-card__content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
}

.about-card__expand {
    text-align: center;
}

.expand-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 14px;
}

.expand-btn span {
    margin-left: 8px;
}

.expand-btn i {
    font-size: 12px;
    transition: all var(--transition);
}

.expand-btn:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.expand-btn:hover i {
    transform: translateY(3px);
}

.about-card__shape {
    position: absolute;
    z-index: -1;
    opacity: 0.5;
    transition: all var(--transition);
}

.about-card__shape--1 {
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -40px;
    right: -40px;
}

.about-card__shape--2 {
    width: 80px;
    height: 80px;
    background-color: rgba(212, 175, 55, 0.05);
    border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%;
    bottom: -30px;
    left: 40px;
}

.about-card__shape--3 {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 60% 40% 40% 60% / 60% 40% 60% 40%;
    top: 30px;
    left: -30px;
}

.about-card__shape--4 {
    width: 70px;
    height: 70px;
    background-color: rgba(212, 175, 55, 0.05);
    border-radius: 40% 60% 60% 40% / 40% 60% 40% 60%;
    bottom: -20px;
    right: 40px;
}

.about-card:hover .about-card__shape {
    opacity: 0.8;
    transform: rotate(30deg) scale(1.1);
}

/* Expanded Content */
.expanded-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expanded-content.active {
    opacity: 1;
    visibility: visible;
}

.expanded-content__inner {
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.2);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.expanded-content.active .expanded-content__inner {
    opacity: 1;
    transform: translateY(0);
}

.expanded-content__close {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
}

.close-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.close-btn:hover {
    background-color: var(--secondary);
    color: var(--primary-dark);
    transform: rotate(90deg);
}

.expanded-content__body {
    max-height: calc(80vh - 80px);
    overflow-y: auto;
    padding-right: 15px;
}

.expanded-content__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: center;
}

.expanded-content__divider {
    width: 100px;
    height: 3px;
    background-color: var(--secondary);
    margin: 0 auto 30px;
    position: relative;
}

.expanded-content__divider::before,
.expanded-content__divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.expanded-content__divider::before {
    left: 0;
}

.expanded-content__divider::after {
    right: 0;
}

.expanded-content__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
}

.expanded-content__text p {
    margin-bottom: 20px;
}

.expanded-content__subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary);
    margin: 30px 0 20px;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.values-list__icon {
    color: var(--secondary);
    margin-left: 15px;
    font-size: 16px;
    margin-top: 3px;
}

.values-list__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
}

/* Quote Box */
.quote-box {
    position: relative;
    max-width: 800px;
    margin: 60px auto;
    z-index: 1;
}

.quote-box__inner {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 77, 140, 0.5), rgba(0, 26, 56, 0.5));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(212, 175, 55, 0.2);
    text-align: center;
    overflow: hidden;
}

.quote-box__icon {
    font-size: 30px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.quote-box__text {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

.quote-box__glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.quote-box:hover .quote-box__glow {
    opacity: 1;
}

/* CTA Button */
.about-cta {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.glow-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    background: linear-gradient(90deg, var(--secondary-dark), var(--secondary), var(--secondary-light), var(--secondary), var(--secondary-dark));
    background-size: 300% 100%;
    border-radius: 50px;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 18px;
    transition: all 0.5s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(212, 175, 55, 0.5);
    overflow: hidden;
}

.glow-button__text {
    position: relative;
    z-index: 2;
    margin-left: 10px;
}

.glow-button__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.glow-button:hover {
    background-position: 100% 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 175, 55, 0.7);
    transform: translateY(-5px);
    color: var(--primary-dark);
}

.glow-button:hover .glow-button__icon {
    animation: iconBounce 1s ease infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Scrollbar Styling */
.expanded-content__body::-webkit-scrollbar {
    width: 6px;
}

.expanded-content__body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.expanded-content__body::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .section-title__text {
        font-size: 38px;
    }
    
    .quote-box__text {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .about-section {
        padding: 80px 0;
    }
    
    .section-title__text {
        font-size: 34px;
    }
    
    .about-card {
        padding: 30px 25px;
        margin-bottom: 30px;
    }
    
    .quote-box__text {
        font-size: 22px;
    }
    
    .expanded-content__inner {
        padding: 30px;
        width: 95%;
    }
}

@media (max-width: 767px) {
    .about-section {
        padding: 60px 0;
    }
    
    .section-title__text {
        font-size: 30px;
    }
    
    .about-card__title {
        font-size: 22px;
    }
    
    .quote-box__inner {
        padding: 30px;
    }
    
    .quote-box__text {
        font-size: 20px;
    }
    
    .glow-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .expanded-content__title {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .about-section {
        padding: 50px 0;
    }
    
    .section-title__text {
        font-size: 26px;
    }
    
    .about-card {
        padding: 25px 20px;
    }
    
    .icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .icon-wrapper i {
        font-size: 28px;
    }
    
    .quote-box__inner {
        padding: 25px 20px;
    }
    
    .quote-box__text {
        font-size: 18px;
    }
    
    .expanded-content__inner {
        padding: 25px;
    }
}




/* Base Section */
.services-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--primary-dark);
    overflow: hidden;
}

/* Background */
.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    opacity: 0.8;
    z-index: 0;
}

.services-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 30%),
        radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 50% 90%, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 30%);
    z-index: -1;
}

/* Section Title */
.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
    z-index: 1;
}

.section-title__text {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.section-title__line {
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.section-title__line::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--secondary);
}

/* Services Grid */
.services-grid {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

/* Service Card */
.service-card {
    height: 100%;
    perspective: 1000px;
}

.service-card__inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition);
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-card__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    z-index: -1;
}

.service-card:hover .service-card__inner {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card__icon {
    position: relative;
    width: 70px;
    height: 70px;
    background: rgba(0, 30, 76, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    z-index: 1;
    transition: all var(--transition);
}


.service-card__icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.3;
    z-index: -1;
    transition: all var(--transition);
}


.service-card__icon i {
    font-size: 28px;
    color: var(--secondary-color);
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    background: rgba(0, 30, 76, 0.5);
    transform: scale(1.1);
}

.service-card:hover .service-card__icon::before {
    opacity: 0.7;
}

.service-card:hover .service-card__icon i {
    color: var(--secondary-light);
}


.service-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    transition: all var(--transition);
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card__divider {
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
    margin: 0 auto;
    position: relative;
    transition: all var(--transition);
}

.service-card:hover .service-card__divider {
    width: 70px;
    background-color: var(--secondary-light);
}

/* Overlay for details */
.service-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 92, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 2;
    border-radius: 15px;
}

.service-card:hover .service-card__overlay {
    opacity: 1;
    visibility: visible;
}

.service-card__details {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    transform: translateY(20px);
    transition: all var(--transition);
}

.service-card:hover .service-card__details {
    transform: translateY(0);
}

/* Services Footer */
.services-footer {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* Glow Button */
.glow-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    background: linear-gradient(90deg, var(--secondary-dark), var(--secondary), var(--secondary-light), var(--secondary), var(--secondary-dark));
    background-size: 300% 100%;
    border-radius: 50px;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 18px;
    transition: all 0.5s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(212, 175, 55, 0.5);
    overflow: hidden;
}

.glow-button__text {
    position: relative;
    z-index: 2;
    margin-left: 10px;
}

.glow-button__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.glow-button:hover {
    background-position: 100% 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 175, 55, 0.7);
    transform: translateY(-5px);
    color: var(--primary-dark);
}

.glow-button:hover .glow-button__icon {
    animation: iconBounce 1s ease infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .section-title__text {
        font-size: 38px;
    }
    
    .service-card__inner {
        padding: 25px;
    }
    
    .service-card__title {
        font-size: 17px;
    }
}

@media (max-width: 991px) {
    .services-section {
        padding: 80px 0;
    }
    
    .section-title__text {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .services-section {
        padding: 60px 0;
    }
    
    .section-title__text {
        font-size: 30px;
    }
    
    .service-card__inner {
        padding: 20px;
        min-height: 200px;
    }
    
    .service-card__icon {
        width: 60px;
        height: 60px;
    }
    
    .service-card__icon i {
        font-size: 26px;
    }
    
    .service-card__title {
        font-size: 16px;
        min-height: 48px;
    }
    
    .glow-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .services-section {
        padding: 50px 0;
    }
    
    .section-title__text {
        font-size: 26px;
    }
    
    /* Force 2 cards per row on extra small screens */
    .row > .col-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    
    .service-card__inner {
        padding: 15px;
        min-height: 180px;
    }
    
    .service-card__icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .service-card__icon i {
        font-size: 20px;
    }
    
    .service-card__title {
        font-size: 14px;
        min-height: 42px;
        margin-bottom: 10px;
    }
    
    .service-card__overlay {
        padding: 15px;
    }
    
    .service-card__details {
        font-size: 13px;
    }
    
    .glow-button {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* Extra small screen optimization */
@media (max-width: 400px) {
    .service-card__inner {
        padding: 12px;
        min-height: 160px;
    }
    
    .service-card__icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .service-card__icon i {
        font-size: 18px;
    }
    
    .service-card__title {
        font-size: 12px;
        min-height: 36px;
    }
}


/* Base Section */
.practice-areas {
    position: relative;
    padding: 100px 0;
    background-color: var(--primary-dark);
    overflow: hidden;
}

/* Background */
.practice-areas__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    background-image: radial-gradient(circle at 10% 10%, rgba(10, 77, 140, 0.4) 0%, rgba(0, 26, 56, 0) 70%),
                      radial-gradient(circle at 90% 90%, rgba(10, 77, 140, 0.3) 0%, rgba(0, 26, 56, 0) 70%);
    z-index: 0;
}

.practice-areas__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='400' cy='400' r='1' fill='%23d4af37' fill-opacity='0.2'/%3E%3C/svg%3E");
    background-size: 30px 30px;
    opacity: 0.3;
}

/* Section Heading */
.section-heading {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
    z-index: 1;
}

.section-heading__title {
    color: var(--text-light);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.section-heading__line {
    position: relative;
    width: 100px;
    height: 2px;
    margin: 0 auto;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
}

.section-heading__dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--secondary);
}

/* Areas Slider */
.areas-slider {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.areas-slider__container {
    padding: 20px 40px;
}

/* Area Card */
.area-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: all var(--transition);
    z-index: 0;
}

.area-card:hover, 
.area-card.active {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.area-card:hover::before, 
.area-card.active::before {
    opacity: 1;
}

.area-card__icon {
    position: relative;
    width: 70px;
    height: 70px;
    background: rgba(0, 43, 92, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    z-index: 1;
    transition: all var(--transition);
}

.area-card__icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), transparent 70%);
    opacity: 0.3;
    z-index: -1;
    transition: all var(--transition);
}

.area-card__icon i {
    font-size: 28px;
    color: var(--secondary);
    transition: all var(--transition);
}

.area-card:hover .area-card__icon,
.area-card.active .area-card__icon {
    background: rgba(0, 43, 92, 0.5);
    transform: scale(1.1);
}

.area-card:hover .area-card__icon::after,
.area-card.active .area-card__icon::after {
    opacity: 0.7;
}

.area-card:hover .area-card__icon i,
.area-card.active .area-card__icon i {
    color: var(--secondary-light);
}

.area-card__title {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0;
    transition: all var(--transition);
    z-index: 1;
}

.area-card:hover .area-card__title,
.area-card.active .area-card__title {
    color: var(--secondary-light);
}

.area-card__indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--secondary);
    opacity: 0;
    transition: all var(--transition);
}

.area-card:hover .area-card__indicator,
.area-card.active .area-card__indicator {
    opacity: 1;
    width: 50px;
}

/* Swiper Customization */
.swiper-pagination {
    position: relative;
    bottom: -20px !important;
    width: 100%;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    background: var(--secondary);
    transform: scale(1.2);
}

.custom-nav {
    color: var(--secondary) !important;
}

.custom-nav::after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-button-next.custom-nav {
    right: 10px;
}

.swiper-button-prev.custom-nav {
    left: 10px;
}

/* Info Display */
.area-info {
    position: relative;
    z-index: 1;
    margin: 60px auto 50px;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
}

.area-info.active {
    opacity: 1;
    transform: translateY(0);
}

.area-info__content {
    background: rgba(0, 43, 92, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.area-info__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    z-index: 0;
}

.area-info__icon {
    position: relative;
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
    z-index: 1;
}

.area-info__title {
    position: relative;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    z-index: 1;
}

.area-info__divider {
    position: relative;
    width: 80px;
    height: 3px;
    margin: 0 auto 30px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
    z-index: 1;
}

.area-info__description {
    position: relative;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0;
    z-index: 1;
}

/* CTA Button */
.areas-cta {
    position: relative;
    text-align: center;
    margin-top: 40px;
    z-index: 1;
}

.areas-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    background: linear-gradient(to right, rgba(0, 43, 92, 0.5), rgba(0, 43, 92, 0.8), rgba(0, 43, 92, 0.5));
    border: 2px solid var(--secondary);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.areas-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
}

.areas-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: var(--secondary);
}

.areas-button:hover::before {
    left: 100%;
}

.areas-button__text {
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

.areas-button__line {
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
    transition: all var(--transition);
}

.areas-button:hover .areas-button__line {
    width: 40px;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .section-heading__title {
        font-size: 38px;
    }
}

@media (max-width: 991px) {
    .practice-areas {
        padding: 80px 0;
    }
    
    .section-heading__title {
        font-size: 34px;
    }
    
    .area-card {
        min-height: 200px;
        padding: 25px 15px;
    }
    
    .area-card__icon {
        width: 60px;
        height: 60px;
    }
    
    .area-card__icon i {
        font-size: 24px;
    }
    
    .area-info__content {
        padding: 30px 25px;
    }
    
    .area-info__title {
        font-size: 24px;
    }
    
    .area-info__description {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .practice-areas {
        padding: 60px 0;
    }
    
    .section-heading__title {
        font-size: 30px;
    }
    
    .area-card {
        min-height: 180px;
    }
    
    .areas-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .area-info__content {
        padding: 25px 20px;
    }
}

@media (max-width: 575px) {
    .practice-areas {
        padding: 50px 0;
    }
    
    .section-heading__title {
        font-size: 26px;
    }
    
    .area-card {
        min-height: 160px;
        padding: 20px 15px;
    }
    
    .area-card__icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .area-card__icon i {
        font-size: 20px;
    }
    
    .area-card__title {
        font-size: 16px;
    }
    
    .area-info__icon {
        font-size: 30px;
    }
    
    .area-info__title {
        font-size: 22px;
    }
    
    .area-info__description {
        font-size: 15px;
    }
    
    .areas-button {
        padding: 10px 25px;
        font-size: 15px;
    }
    
    .areas-button__line {
        width: 20px;
    }
}

/* Base Section */
.contact-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--primary-dark);
    overflow: hidden;
}

/* Background with particles */
.contact-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(10, 77, 140, 0.4) 0%, rgba(0, 26, 56, 0) 70%),
        radial-gradient(circle at 90% 90%, rgba(10, 77, 140, 0.3) 0%, rgba(0, 26, 56, 0) 70%);
    z-index: 0;
}

/* Section Heading */
.section-heading {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
    z-index: 1;
}

.section-heading__title {
    color: var(--text-light);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.section-heading__line {
    position: relative;
    width: 100px;
    height: 2px;
    margin: 0 auto;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
}

.section-heading__dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--secondary);
}

.section-heading__subtitle {
    color: var(--text-light);
    font-size: 18px;
    max-width: 700px;
    margin: 20px auto 0;
    opacity: 0.9;
}

/* Contact Content */
.contact-content {
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
}

/* Contact Info */
.contact-info {
    height: 100%;
}

.contact-info__inner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all var(--transition);
}

.contact-info__inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.contact-info__header {
    text-align: center;
    margin-bottom: 20px;
}

.contact-info__icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 43, 92, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.contact-info__icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), transparent 70%);
    opacity: 0.7;
    z-index: -1;
}

.contact-info__icon i {
    font-size: 30px;
    color: var(--secondary);
}

.contact-info__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.contact-info__subtitle {
    font-size: 16px;
    color: var(--text-light);
    opacity: 0.8;
}

.contact-info__divider {
    width: 80px;
    height: 2px;
    background: var(--secondary);
    margin: 0 auto 30px;
    position: relative;
}

.contact-info__divider::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-info__items {
    margin-top: 30px;
}

/* Info Item */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    transition: all var(--transition);
}

.info-item:hover {
    transform: translateX(-5px);
}

.info-item__icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    flex-shrink: 0;
    transition: all var(--transition);
}

.info-item:hover .info-item__icon {
    background: var(--secondary);
}

.info-item__icon i {
    font-size: 20px;
    color: var(--secondary);
    transition: all var(--transition);
}

.info-item:hover .info-item__icon i {
    color: var(--primary-dark);
}

.info-item__content {
    flex-grow: 1;
}

.info-item__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.info-item__text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.6;
    opacity: 0.8;
}

.info-item__link {
    font-size: 16px;
    color: var(--secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: all var(--transition);
}

.info-item__link:hover {
    color: var(--secondary-light);
    transform: translateX(-5px);
}

.info-item__map-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.info-item__map-link:hover {
    color: var(--secondary-light);
    transform: translateX(-5px);
}

/* Contact Social */
.contact-social {
    margin-top: 40px;
}

.contact-social__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: center;
}

.contact-social__links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

.social-link i {
    font-size: 18px;
}

/* Contact Form */
.contact-form {
    height: 100%;
}

.contact-form__inner {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all var(--transition);
}

.contact-form__inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.contact-form__header {
    text-align: center;
    margin-bottom: 20px;
}

.contact-form__icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 43, 92, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.contact-form__icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), transparent 70%);
    opacity: 0.7;
    z-index: -1;
}

.contact-form__icon i {
    font-size: 30px;
    color: var(--secondary);
}

.contact-form__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.contact-form__subtitle {
    font-size: 16px;
    color: var(--text-light);
    opacity: 0.8;
}

.contact-form__divider {
    width: 80px;
    height: 2px;
    background: var(--secondary);
    margin: 0 auto 30px;
    position: relative;
}

.contact-form__divider::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-form__fields {
    margin-top: 30px;
}


/* Map Section */
.map-section {
    position: relative;
    z-index: 1;
    margin-top: 80px;
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.map-card {
    background: rgba(0, 43, 92, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    max-width: 350px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
}

.map-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.map-card__icon i {
    font-size: 24px;
    color: var(--secondary);
}

.map-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.map-card__address {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.map-card__link {
    display: inline-flex;
    align-items: center;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
}

.map-card__link span {
    margin-left: 8px;
}

.map-card__link:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .section-heading__title {
        font-size: 38px;
    }
    
    .contact-info__inner,
    .contact-form__inner {
        padding: 30px 25px;
    }
}

@media (max-width: 991px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .section-heading__title {
        font-size: 34px;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .section-heading__title {
        font-size: 30px;
    }
    
    .section-heading__subtitle {
        font-size: 16px;
    }
    
    .contact-info__title,
    .contact-form__title {
        font-size: 22px;
    }
    
    .info-item__icon {
        margin-left: 15px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .map-card {
        padding: 25px;
        max-width: 300px;
    }
}

@media (max-width: 575px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .section-heading__title {
        font-size: 26px;
    }
    
    .contact-info__inner,
    .contact-form__inner {
        padding: 25px 20px;
    }
    
    .contact-info__icon,
    .contact-form__icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-info__icon i,
    .contact-form__icon i {
        font-size: 24px;
    }
    
    .info-item {
        align-items: flex-start;
    }
    
    .info-item__icon {
        width: 40px;
        height: 40px;
        margin-left: 12px;
    }
    
    .info-item__icon i {
        font-size: 16px;
    }
    
    .info-item__title {
        font-size: 16px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-card {
        padding: 20px;
        max-width: 250px;
    }
    
    .map-card__icon {
        width: 50px;
        height: 50px;
    }
    
    .map-card__icon i {
        font-size: 20px;
    }
    
    .map-card__title {
        font-size: 18px;
    }
    
    .map-card__address {
        font-size: 14px;
    }
}

/* ========================================
   Contact Form 7 - Complete Styling
   Law Firm Website Theme
======================================== */

/* Form Container */
.wpcf7 {
    direction: rtl;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.wpcf7-form {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.wpcf7-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Form Paragraphs */
.wpcf7-form p {
    margin-bottom: 20px;
    position: relative;
}

.wpcf7-form p:last-child {
    margin-bottom: 0;
}

/* Labels */
.wpcf7-form label {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.wpcf7-form label .required {
    color: #d4af37;
    margin-left: 3px;
}

/* Input Fields */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="password"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Focus States */
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* Textarea Specific */
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Select Dropdown */
.wpcf7-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 20px;
    padding-left: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Checkbox and Radio Buttons */
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
    width: auto;
    margin-left: 8px;
    margin-bottom: 0;
    accent-color: #d4af37;
    transform: scale(1.2);
}

.wpcf7-form .wpcf7-list-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 15px;
}

.wpcf7-form .wpcf7-list-item label {
    margin-bottom: 0;
    margin-right: 8px;
    font-weight: normal;
}

/* File Upload */
.wpcf7-form input[type="file"] {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="file"]:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

/* Submit Button */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"],
.wpcf7-submit {
    background: linear-gradient(135deg, #d4af37, #b39225);
    color: #001e4c;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    min-width: 180px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpcf7-submit::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s;
    z-index: 0;
}

.wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #e6c76c, #d4af37);
}

.wpcf7-submit:hover::before {
    right: 100%;
}

.wpcf7-submit:active {
    transform: translateY(-1px);
}

/* Loading State */
.wpcf7-form.submitting .wpcf7-submit {
    pointer-events: none;
    opacity: 0.7;
    background: #999;
}

/* Response Messages */
.wpcf7-response-output {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border: none;
    font-family: inherit;
}

/* Success Message */
.wpcf7-mail-sent-ok {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

/* Error Messages */
.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam-blocked {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.2);
}

/* Validation Error Message */
.wpcf7-validation-errors {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

/* Individual Field Validation */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #f44336 !important;
    background: rgba(244, 67, 54, 0.1) !important;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2) !important;
}

.wpcf7-not-valid-tip {
    color: #f44336;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
    background: rgba(244, 67, 54, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    border-right: 3px solid #f44336;
}

/* Spinner */
.wpcf7-spinner {
    visibility: hidden;
    display: inline-block;
    background-color: #d4af37;
    opacity: 0.75;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.wpcf7-form.submitting .wpcf7-spinner {
    visibility: visible;
    animation: wpcf7-spin 1s linear infinite;
}

@keyframes wpcf7-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Multi-step Forms */
.wpcf7-form .step {
    display: none;
}

.wpcf7-form .step.active {
    display: block;
}

.wpcf7-form .step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.wpcf7-form .step-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 120px;
}

.wpcf7-form .step-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

/* Progress Bar */
.wpcf7-form .progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.wpcf7-form .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #e6c76c);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Two Column Layout */
.wpcf7-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.wpcf7-form .form-col {
    flex: 1;
}

.wpcf7-form .form-col p {
    margin-bottom: 0;
}

/* Special Field Types */
.wpcf7-form .quiz-label {
    background: rgba(212, 175, 55, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    border-right: 4px solid #d4af37;
    margin-bottom: 15px;
}

.wpcf7-form .acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpcf7-form {
        padding: 20px;
    }
    
    .wpcf7-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .wpcf7-submit {
        width: 100%;
        padding: 12px 30px;
        font-size: 15px;
    }
    
    .wpcf7-form input,
    .wpcf7-form select,
    .wpcf7-form textarea {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .wpcf7-form label {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .wpcf7-form {
        padding: 15px;
    }
    
    .wpcf7-submit {
        padding: 10px 25px;
        font-size: 14px;
        min-width: 150px;
    }
    
    .wpcf7-form input,
    .wpcf7-form select,
    .wpcf7-form textarea {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .wpcf7-form textarea {
        min-height: 100px;
    }
}

/* Dark Theme Adjustments */
@media (prefers-color-scheme: dark) {
    .wpcf7-form input,
    .wpcf7-form select,
    .wpcf7-form textarea {
        background: rgba(255, 255, 255, 0.12);
    }
    
    .wpcf7-form input:focus,
    .wpcf7-form select:focus,
    .wpcf7-form textarea:focus {
        background: rgba(255, 255, 255, 0.16);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .wpcf7-form input,
    .wpcf7-form select,
    .wpcf7-form textarea {
        border-width: 3px;
    }
    
    .wpcf7-submit {
        border: 2px solid #d4af37;
    }
}

/* Animation for form appearance */
.wpcf7-form {
    animation: formFadeIn 0.6s ease-out;
}

@keyframes formFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom CF7 Extensions Support */
.wpcf7-form .wpcf7-date,
.wpcf7-form .wpcf7-number,
.wpcf7-form .wpcf7-range {
    width: 100%;
}

.wpcf7-form .wpcf7-range {
    accent-color: #d4af37;
}

/* CAPTCHA Styling */
.wpcf7-form .wpcf7-captcha {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.wpcf7-form .wpcf7-captchac {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* reCAPTCHA Styling */
.wpcf7-form .g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}
