/* Agency Cards Enhancements */
.agency-card {
    background: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    /* Improved Card Layout */
    display: flex;
    flex-direction: column;
    min-height: 420px;
    max-height: 420px;
    height: 420px;
}

.agency-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

.agency-card .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.agency-card .rating-badge {
    animation: fadeIn 0.5s ease-in;
}

.agency-card .service-tag {
    transition: all 0.2s ease;
}

.agency-card .service-tag:hover {
    transform: scale(1.05);
}

/* Loading States */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.loading-spinner i {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Enhanced Agency Grid */
.agencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
    padding: 20px 0;
    align-items: stretch; /* Ensures all cards have equal height */
}

.agency-card .agency-header {
    flex-shrink: 0;
}

.agency-card .agency-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.agency-card .agency-actions {
    flex-shrink: 0;
    margin-top: auto;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
}

.agencies-list .agency-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 20px;
}

.agencies-list .agency-header {
    flex: 0 0 auto;
    margin-right: 24px;
}

.agencies-list .agency-body {
    flex: 1;
    margin-top: 0;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .agencies-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 0;
    }
    
    .agency-card {
        margin: 0 !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }
    
    .agency-card .agency-header {
        gap: 16px !important;
        margin-bottom: 16px !important;
    }
    
    .agency-card .agency-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    
    .agency-card .agency-actions > div {
        width: 100% !important;
        justify-content: center !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .agency-card .btn {
        flex: 1 !important;
        min-width: 120px !important;
    }
}

@media (max-width: 480px) {
    .agencies-grid {
        gap: 12px;
        padding: 12px 0;
    }
    
    .agency-card {
        padding: 16px !important;
    }
    
    .agency-card .agency-actions > div {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .agency-card .btn {
        width: 100% !important;
        min-width: auto !important;
        justify-content: center !important;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile-first container adjustments */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Mobile Typography */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.125rem; }
    h4 { font-size: 1rem; }
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    line-height: 1;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    border-color: #1d4ed8;
}

/* Mobile button optimizations */
@media (max-width: 768px) {
    .btn {
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 48px; /* Better touch targets on mobile */
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 16px 18px;
        width: 100%;
        justify-content: center;
    }
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-medium);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 16px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 20px;
        border-bottom: none !important;
        transition: all 0.2s ease;
    }
    
    .nav-link:hover {
        background: var(--bg-light);
        color: var(--primary-color);
    }
    
    /* Hamburger animation */
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0 40px;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 120px);
}

.hero-content {
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    line-height: 1.1;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #475569;
    line-height: 1.6;
    max-width: 500px;
}

.hero-image {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
    transition: all 0.5s ease;
}

.hero-image-container:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.hero-image-container:hover .hero-main-image {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 15%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    left: -8%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(-2deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

/* Hero stats and search styling */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile Hero Adjustments */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        height: 400px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }
    
    .hero-container {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .hero-image-container {
        transform: rotate(0deg);
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-stats {
        gap: 1.5rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

.hero-search {
    margin-bottom: 3rem;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-heavy);
}

.search-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
    padding: 12px 16px;
}

#hero-search {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.search-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
}

.search-btn:hover {
    transform: scale(1.05);
}

/* Mobile Search Optimizations */
@media (max-width: 768px) {
    .hero-search {
        margin-bottom: 2rem;
        padding: 0 16px;
    }
    
    .search-container {
        max-width: 100%;
        padding: 6px;
    }
    
    .search-icon {
        padding: 14px 12px;
        font-size: 1.1rem;
    }
    
    #hero-search {
        padding: 14px 8px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .search-btn {
        padding: 14px 20px;
        min-height: 48px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-search {
        padding: 0 20px;
    }
    
    .search-container {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }
    
    .search-icon {
        display: none;
    }
    
    #hero-search {
        padding: 16px 12px;
        border: 2px solid var(--border-light);
        border-radius: var(--border-radius);
        font-size: 16px;
    }
    
    .search-btn {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
        font-weight: 600;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Mobile Hero Stats */
@media (max-width: 768px) {
    .hero-stats {
        gap: 2rem;
        margin-bottom: 1.5rem;
        padding: 0 16px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .stat-item {
        background: rgba(255, 255, 255, 0.1);
        padding: 1rem;
        border-radius: var(--border-radius);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Page Headers */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.about-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(30, 64, 175, 0.8) 100%),
                url('../img/happy-family-unloading-luggage-from-the-car-for-royalty-free-image-1656517251.jpg') center/cover;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.agencies-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.8) 0%, rgba(5, 150, 105, 0.8) 100%),
                url('../img/iStock-185040770_0.jpg') center/cover;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.services-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(79, 70, 229, 0.8) 100%),
                url('../img/head-banner.jpg') center/cover;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.contact-header {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.8) 0%, rgba(220, 38, 38, 0.8) 100%),
                url('../img/15558009181_15c88cdba3_c.jpg') center/cover;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.85) 0%, rgba(30, 64, 175, 0.85) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white !important;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 1;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
}

/* Page header text styling with proper contrast */
.page-header-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.85) 0%, rgba(30, 64, 175, 0.85) 100%);
}

.page-header-content {
    color: white;
}

.page-header-content h1,
.page-header-content h2,
.page-header-content h3,
.page-header-content h4,
.page-header-content p {
    color: white !important;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Hero section text styling */
.hero-content,
.hero-text {
    color: white;
}

.hero-title,
.hero-subtitle {
    color: white !important;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Featured Services */
.featured-services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 0.8rem;
}

/* Top Agencies */
.top-agencies {
    padding: 100px 0;
}

.agencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.agency-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.agency-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.agency-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.agency-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.agency-details h3 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.agency-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.agency-body {
    padding: 1.5rem;
}

.agency-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.agency-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--secondary-color);
}

.rating-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.agency-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    min-height: 24px; /* Ensure minimum height even when empty */
}

.service-tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--border-light);
}

.agency-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step-card {
    text-align: center;
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.step-image {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.step-card:hover .step-image img {
    transform: scale(1.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.step-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Cities Section */
.cities-section {
    padding: 100px 0;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.city-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-light);
}

.city-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.city-image {
    height: 150px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.city-info {
    padding: 1.5rem;
}

.city-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.city-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Featured Destinations */
.featured-destinations {
    padding: 100px 0;
    background: var(--bg-light);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.destination-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.destination-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.destination-card:hover .destination-image img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.8) 0%, rgba(30, 64, 175, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: var(--transition);
}

.destination-card:hover .destination-overlay {
    opacity: 0.95;
}

.destination-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.destination-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.destination-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.destination-link {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.destination-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .destination-content h3 {
        font-size: 1.5rem;
    }
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.9) 100%),
                url('../img/head-banner.jpg') center/cover;
    color: white;
    text-align: center;
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(30, 64, 175, 0.8) 100%);
}

.newsletter .container {
    position: relative;
    z-index: 2;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.contact-info {
    margin-top: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Mobile Footer Optimizations */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo a {
        justify-content: center;
        font-size: 1.3rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section {
        padding: 0 20px;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* Search and Filter Section */
.search-filter-section {
    padding: 2rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.search-filter-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-box {
    position: relative;
    max-width: 500px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-controls select {
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    background: white;
    font-size: 0.9rem;
    min-width: 150px;
}

.clear-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    padding: 10px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
}

.clear-btn:hover {
    background: var(--bg-light);
    border-color: var(--text-muted);
}

/* Mobile Filter Optimizations */
@media (max-width: 768px) {
    .search-filter-section {
        padding: 1.5rem 0;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .search-box input {
        padding: 14px 16px 14px 48px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: var(--border-radius-lg);
    }
    
    .filter-controls {
        justify-content: stretch;
    }
    
    .filter-controls select {
        flex: 1;
        min-width: auto;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: var(--border-radius-lg);
    }
    
    .clear-btn {
        flex: 0 0 auto;
        padding: 12px 20px;
        font-size: 0.9rem;
        border-radius: var(--border-radius-lg);
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .search-filter-container {
        gap: 12px;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-controls select,
    .clear-btn {
        width: 100%;
        text-align: center;
    }
    
    .clear-btn {
        order: 1;
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }
}

.results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 0 1rem 0;
}

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    background: white;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Results Summary */
@media (max-width: 768px) {
    .results-summary {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 12px;
        padding: 0 0 16px 0;
    }
    
    .view-options {
        order: 2;
    }
    
    .view-btn {
        padding: 10px 16px;
        min-height: 48px;
        min-width: 48px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .results-summary {
        gap: 16px;
        padding: 0 0 20px 0;
    }
    
    .view-options {
        width: 100%;
        justify-content: center;
        gap: 12px;
    }
    
    .view-btn {
        flex: 1;
        max-width: 120px;
        padding: 12px 16px;
    }
}

.view-btn.active,
.view-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Agencies Listing */
.agencies-listing {
    padding: 2rem 0 4rem;
}

.agencies-container {
    min-height: 400px;
}

.loading-spinner {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-muted);
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* List View */
.agencies-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agency-card.list-view {
    display: flex;
    align-items: center;
    padding: 1.5rem;
}

.agency-card.list-view .agency-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.agency-card.list-view .agency-actions {
    margin-left: auto;
}

/* Pagination */
.pagination-container {
    margin-top: 3rem;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.page-number.active,
.page-number:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Pagination */
@media (max-width: 768px) {
    .pagination-container {
        margin-top: 2rem;
    }
    
    .pagination {
        gap: 8px;
    }
    
    .pagination-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 48px;
    }
    
    .page-number {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }
    
    .page-info {
        margin-top: 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 6px;
        padding: 0 10px;
    }
    
    .pagination-btn {
        flex: 1;
        max-width: 120px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .page-numbers {
        gap: 4px;
        max-width: 100%;
        overflow-x: auto;
        padding: 8px 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .page-number {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        font-size: 0.85rem;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-body {
    padding: 0;
    overflow-y: auto;
    max-height: calc(90vh - 60px);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #64748b;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #ef4444;
    background: #fef2f2;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.modal-success {
    text-align: center;
    padding: 2rem;
}

.modal-success i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.modal-success h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Mobile Modal Optimizations */
@media (max-width: 768px) {
    .modal {
        padding: 16px;
        align-items: flex-start;
        padding-top: 40px;
    }
    
    .modal-content {
        max-height: 85vh;
        width: 100%;
        margin: 0;
        border-radius: var(--border-radius);
    }
    
    .modal-close {
        top: 12px;
        right: 16px;
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-success {
        padding: 1.5rem;
    }
    
    .modal-success i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 8px;
        padding-top: 20px;
    }
    
    .modal-content {
        max-height: 90vh;
        border-radius: var(--border-radius);
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-success {
        padding: 1rem;
    }
    
    .modal-success i {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-success h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
}

/* Mobile Performance & Touch Optimizations */
@media (max-width: 768px) {
    /* Improve touch interaction */
    * {
        -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
        -webkit-touch-callout: none;
    }
    
    /* Smooth scrolling */
    html {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent zoom on form inputs */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
        -webkit-appearance: none;
        appearance: none;
        border-radius: var(--border-radius);
    }
    
    /* Better focus states for mobile */
    input:focus,
    textarea:focus,
    select:focus,
    button:focus {
        outline: 3px solid rgba(37, 99, 235, 0.3);
        outline-offset: 2px;
    }
    
    /* Improve image loading */
    img {
        will-change: transform;
        backface-visibility: hidden;
    }
}

/* Mobile-First Utility Classes */
.mobile-hidden {
    display: none;
}

@media (min-width: 769px) {
    .mobile-hidden {
        display: initial;
    }
    
    .desktop-hidden {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-hidden {
        display: initial;
    }
}

/* Safe Area Support for Notched Devices */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .navbar {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    .hero-content {
        padding-left: max(2rem, env(safe-area-inset-left));
        padding-right: max(2rem, env(safe-area-inset-right));
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-scroll a {
        animation: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.3);
        --shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.4);
    }
    
    .agency-card {
        border: 2px solid var(--text-dark);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* ===== END MOBILE OPTIMIZATIONS ===== */

/* Services Detail Page */
.services-overview {
    padding: 4rem 0;
    background: var(--bg-light);
}

.service-detail-card {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.service-detail-card .service-icon {
    margin: 0 0 2rem 0;
}

.service-features {
    list-style: none;
    margin: 2rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.service-features i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Service Statistics */
.service-stats {
    padding: 4rem 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.stat-info p {
    color: var(--text-muted);
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.why-choose-us {
    padding: 4rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.our-story {
    padding: 4rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.story-stats .stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: white !important;
    border-radius: var(--border-radius-lg);
}

.story-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white !important;
}

.story-stats .stat-label {
    font-size: 0.9rem;
    color: white !important;
    opacity: 0.95;
}

.our-values {
    padding: 4rem 0;
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.team-section {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    text-align: center;
    border: 1px solid var(--border-light);
}

.member-photo {
    height: 300px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.member-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--primary-color);
    color: white;
}

.cta-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.cta-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cta-feature i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.cta-feature span {
    font-weight: 500;
    color: white;
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.cta-buttons .btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-buttons .btn-secondary:hover {
    background: transparent;
    color: white;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-stat {
    color: white;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-stat strong {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.25rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

/* Find Us Section Styles */
.find-us-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.find-us-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.find-us-section .section-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.find-us-section .section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Address Information Section */
.address-info {
    margin-bottom: 3rem;
}

.address-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    max-width: 800px;
    margin: 0 auto;
    transition: var(--transition);
}

.address-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.address-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.address-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.address-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.address-title p {
    color: var(--text-light);
    margin: 0;
}

.address-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.address-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.address-text h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.address-text p {
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.address-text .location-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.hours-info p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.hours-info p strong {
    color: var(--text-dark);
}

.quick-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.quick-actions .btn {
    min-width: 150px;
}

/* Map Container */
.map-container {
    margin-bottom: 3rem;
}

.map-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: white;
    padding: 1rem;
}

.google-map {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.google-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

.map-info-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.map-marker {
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.map-marker i {
    font-size: 1.2rem;
}

.map-marker span {
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Office Features */
.office-features {
    text-align: center;
}

.office-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.office-features .feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.office-features .feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: var(--gradient-primary);
    color: white;
}

.office-features .feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.office-features .feature-item:hover i {
    color: white;
}

.office-features .feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.office-features .feature-item:hover span {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form-container h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-info-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
}

.contact-info-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-text p {
    color: var(--text-light);
    margin: 0;
}

.social-contact h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-faq {
    padding: 4rem 0;
    background: var(--bg-light);
}

.map-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.map-container {
    margin-top: 2rem;
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-info {
    display: flex;
    flex-direction: column;
}

.location-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    padding: 2rem;
    border: 1px solid var(--border-light);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.location-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.location-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.location-title p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.location-details h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.location-details p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.location-details i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.business-hours {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.business-hours h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.business-hours i {
    color: var(--secondary-color);
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.hour-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: var(--text-dark);
}

.time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.location-features {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.location-features h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.location-features i {
    color: var(--accent-color);
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.contact-methods {
    margin: 1rem 0;
}

.contact-methods p {
    margin-bottom: 0.75rem;
}

.contact-methods a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-methods a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.map-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.map-marker {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.map-marker i {
    font-size: 1.3rem;
}

.marker-info {
    display: flex;
    flex-direction: column;
}

.marker-info strong {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.marker-info span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.map-visual {
    display: flex;
    justify-content: center;
}

.live-map {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
}

.live-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.map-marker {
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.map-marker i {
    font-size: 1.2rem;
}

.map-marker span {
    font-size: 0.9rem;
    white-space: nowrap;
}

.view-all-btn {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        justify-content: center;
    }

    .search-filter-container {
        align-items: stretch;
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-controls select,
    .clear-btn {
        width: 100%;
    }

    .results-summary {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .agencies-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .newsletter-form {
        flex-direction: column;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .search-container {
        padding: 4px;
    }

    .service-card,
    .agency-card {
        padding: 1.5rem;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .modal-content {
        margin: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero,
    .newsletter,
    .footer {
        display: none;
    }
    
    .page-header {
        background: none;
        color: var(--text-dark);
        padding: 2rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border-light: #000000;
        --text-light: #000000;
        --text-muted: #333333;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Enhanced hover animations */
.service-card:hover .service-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Professional Design Enhancements */
.professional-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.professional-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.professional-card:hover::before {
    opacity: 1;
}

.professional-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 25px rgba(0, 0, 0, 0.1),
        0 10px 10px rgba(0, 0, 0, 0.04);
}

/* Modern Typography */
.modern-heading {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.modern-subheading {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Premium Button Styles */
.btn-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(102, 126, 234, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-premium::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: left 0.5s;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(102, 126, 234, 0.4);
}

/* Elegant Shadows */
.shadow-elegant {
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.shadow-soft {
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
}

.dark-glass {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

/* Animated Background Gradients */
.animated-bg {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Premium Card Layout */
.premium-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 50%, #7c3aed 100%);
    border-radius: 20px 20px 0 0;
}

.premium-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Loading skeleton improvements */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Enhanced About Page Styles */
.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.about-image-container:hover {
    transform: translateY(-10px) scale(1.02);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.section-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.trust-statement {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.06);
    position: relative;
    overflow: hidden;
}

.trust-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 50%, #3b82f6 100%);
}

.trust-statement i {
    color: var(--primary-color);
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(59, 130, 246, 0.2));
}

.trust-statement span {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.highlight-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.testimonial-content {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.testimonial-stars {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    font-size: 2rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.member-photo {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.member-social {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .member-social {
    opacity: 1;
}

.member-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile About Adjustments */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image img {
        height: 250px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .highlight-item {
        font-size: 0.9rem;
    }

    .testimonials-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .member-photo {
        height: 250px;
    }

    .member-social {
        opacity: 1;
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
