/* =================================
   ALYABIS LAW FIRM - CUSTOM STYLES
   ================================= */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    direction: rtl;
}

/* =================================
   HEADER & NAVIGATION STYLES
   ================================= */

.header-blur {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(184, 149, 109, 0.1);
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(184, 149, 109, 0.2);
}

/* Logo Styles */
.logo, .header-logo, .hero-logo, .footer-logo {
    transition: transform 0.3s ease;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.logo:hover, .header-logo:hover {
    transform: scale(1.05);
}

.footer-logo {
    transition: opacity 0.3s ease;
}

/* Navigation Links */
.nav-link {
    position: relative;
    padding: 10px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #B8956D, #6B7A3E);
    transition: all 0.3s ease;
    transform: translateX(50%);
    border-radius: 1px;
}

.nav-link:hover::before {
    width: 85%;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(184, 149, 109, 0.1), rgba(107, 122, 62, 0.05));
    color: #B8956D;
    transform: translateY(-2px);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(184, 149, 109, 0.15), rgba(107, 122, 62, 0.1));
    color: #B8956D;
}

.nav-link.active::before {
    width: 85%;
}

/* Mobile Menu */
.mobile-menu {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-item {
    padding: 14px 24px;
    margin: 10px 0;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-menu-item:hover {
    background: linear-gradient(135deg, rgba(184, 149, 109, 0.1), rgba(107, 122, 62, 0.05));
    transform: translateX(-10px);
    border-color: rgba(184, 149, 109, 0.2);
}

/* =================================
   HERO SECTION STYLES
   ================================= */

.hero-gradient {
    background: linear-gradient(135deg, rgba(27,27,27,0.85) 0%, rgba(107,122,62,0.7) 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #B8956D 0%, #D4C5A0 50%, #B8956D 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-logo {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Feature Items with Bullets */
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-bullet {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #B8956D, #D4C5A0);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.feature-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(184, 149, 109, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 20;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: scroll-indicator 2s ease-in-out infinite;
}

.scroll-arrow:hover {
    background: rgba(184, 149, 109, 0.2);
    border-color: #B8956D;
    transform: scale(1.1);
}

.scroll-arrow svg {
    animation: bounce-arrow 2s ease-in-out infinite;
}

/* =================================
   CONTENT SECTIONS
   ================================= */

/* Quote Block */
.quote-block {
    position: relative;
    background: linear-gradient(135deg, rgba(184, 149, 109, 0.08) 0%, rgba(107, 122, 62, 0.08) 100%);
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: 16px;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    box-shadow: 0 8px 25px rgba(184, 149, 109, 0.1);
    border: none;
    backdrop-filter: blur(5px);
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: -15px;
    right: 25px;
    font-size: 5rem;
    color: #B8956D;
    font-family: serif;
    opacity: 0.2;
}

.quote-block::after {
    content: '"';
    position: absolute;
    bottom: -35px;
    left: 25px;
    font-size: 5rem;
    color: #B8956D;
    font-family: serif;
    opacity: 0.2;
}

/* Content Cards */
.content-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 248, 248, 0.8));
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Doctor Card */
.doctor-card {
    background: linear-gradient(135deg, #B8956D 0%, #D4C5A0 50%, #6B7A3E 100%);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(184, 149, 109, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.doctor-card .content {
    position: relative;
    z-index: 2;
}

/* Team Icon */
.team-icon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #B8956D 0%, #6B7A3E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: white;
    box-shadow: 0 15px 40px rgba(184, 149, 109, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.team-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #B8956D, #6B7A3E);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-icon:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(184, 149, 109, 0.5);
}

.team-icon:hover::before {
    opacity: 1;
}

/* =================================
   SERVICES SECTION (UPDATED)
   ================================= */

.services-bg {
    background-image: linear-gradient(rgba(27, 27, 27, 0.87), rgba(107, 122, 62, 0.77)), url('../img/10.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.services-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(184, 149, 109, 0.1) 0%, rgba(107, 122, 62, 0.1) 100%);
    pointer-events: none;
}

/* Service Cards - Enhanced with better transparency */
.service-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(184, 149, 109, 0.2);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(184, 149, 109, 0.15), transparent);
    transition: right 0.6s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(184, 149, 109, 0.05) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    right: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(184, 149, 109, 0.25);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(184, 149, 109, 0.4);
    backdrop-filter: blur(25px);
}

.service-icon {
    width: 52px;
    height: 52px;
    stroke: #B8956D;
    fill: none;
    stroke-width: 2;
    margin: 0 auto 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(184, 149, 109, 0.2));
}

.service-card:hover .service-icon {
    stroke: #6B7A3E;
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(184, 149, 109, 0.3));
}

.service-card h3 {
    color: #1B1B1B;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.service-card:hover h3 {
    color: #6B7A3E;
}

/* Enhanced grid layout for services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* =================================
   FLIP CARDS
   ================================= */

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 300px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.flip-card-front {
    background: linear-gradient(135deg, #B8956D 0%, #D4C5A0 100%);
    color: white;
}

.flip-card-back {
    background: linear-gradient(135deg, #6B7A3E 0%, #556B2F 100%);
    color: white;
    transform: rotateY(180deg);
}

.flip-card-icon {
    width: 72px;
    height: 72px;
    stroke: white;
    fill: none;
    stroke-width: 2.5;
    margin-bottom: 20px;
}

/* Touch support for flip cards */
.flip-card.flip-active .flip-card-inner {
    transform: rotateY(180deg);
}

@media (max-width: 1024px) {
    .flip-card:hover .flip-card-inner {
        transform: none;
    }
}

/* =================================
   CLIENTS SECTION
   ================================= */

.client-logo {
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.client-logo:hover {
    transform: translateY(-8px);
    background: rgba(184, 149, 109, 0.05);
}

.client-logo img {
    transition: all 0.3s ease;
    filter: grayscale(0.6) opacity(0.8);
    max-height: 85px;
    object-fit: contain;
}

.client-logo:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.08);
}

/* =================================
   CONTACT FORM (UPDATED)
   ================================= */

.contact-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(248, 248, 248, 0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-input {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.35);
    border-color: #B8956D;
    outline: none;
    box-shadow: 0 0 0 4px rgba(184, 149, 109, 0.3);
    transform: translateY(-2px);
}

.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.3);
}

/* Enhanced Select Dropdown */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: left 12px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-left: 40px;
    cursor: pointer;
    position: relative;
}

.form-select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23B8956D' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

/* Fix for dropdown options */
.form-select option {
    background-color: #1B1B1B;
    color: white;
    font-family: 'Tajawal', sans-serif;
    padding: 12px 16px;
    border: none;
    font-size: 1rem;
}

.form-select option:hover,
.form-select option:focus,
.form-select option:checked {
    background-color: #B8956D;
    color: white;
}

.form-select option:disabled {
    background-color: #333;
    color: #888;
}

/* Alternative styling for better browser support */
.form-select::-ms-expand {
    display: none;
}

.form-select::-webkit-scrollbar {
    width: 8px;
}

.form-select::-webkit-scrollbar-track {
    background: #1B1B1B;
}

.form-select::-webkit-scrollbar-thumb {
    background-color: #B8956D;
    border-radius: 4px;
}

/* Enhanced form field containers */
.form-field {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-field.focused .form-input {
    background: rgba(255, 255, 255, 0.35);
    border-color: #B8956D;
}

/* Custom dropdown arrow container */
.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 12px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.8);
    transform: translateY(-50%);
    pointer-events: none;
    transition: all 0.3s ease;
}

.select-wrapper:focus-within::after {
    border-top-color: #B8956D;
    transform: translateY(-50%) rotate(180deg);
}

/* =================================
   BUTTONS
   ================================= */

.btn-primary {
    background: linear-gradient(135deg, #B8956D 0%, #D4C5A0 100%);
    border: none;
    border-radius: 16px;
    padding: 16px 36px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(184, 149, 109, 0.4);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(184, 149, 109, 0.5);
}

/* =================================
   SECTION TITLES
   ================================= */

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 48px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: 50%;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #B8956D, #6B7A3E);
    transform: translateX(50%);
    border-radius: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 50%;
    width: 120px;
    height: 12px;
    background: linear-gradient(90deg, rgba(184, 149, 109, 0.2), rgba(107, 122, 62, 0.2));
    transform: translateX(50%);
    border-radius: 6px;
    z-index: -1;
}

/* =================================
   ANIMATIONS
   ================================= */

@keyframes fadeInUp {
    0% { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideIn {
    0% { 
        transform: translateX(100%); 
    }
    100% { 
        transform: translateX(0); 
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0); 
    }
    40% { 
        transform: translateY(-10px); 
    }
    60% { 
        transform: translateY(-5px); 
    }
}

@keyframes scroll-indicator {
    0% { 
        opacity: 0.4; 
        transform: translateY(0px); 
    }
    50% { 
        opacity: 1; 
        transform: translateY(10px); 
    }
    100% { 
        opacity: 0.4; 
        transform: translateY(0px); 
    }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.7; 
    }
    50% { 
        opacity: 1; 
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in {
    animation: slideIn 0.5s ease-out forwards;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.bounce-arrow {
    animation: bounce-arrow 2s ease-in-out infinite;
}

.scroll-indicator-anim {
    animation: scroll-indicator 2s ease-in-out infinite;
}

/* =================================
   UTILITY CLASSES
   ================================= */

.text-shadow {
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.glass-effect {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.interactive-element {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
    transform: translateY(-2px);
}

.loading {
    opacity: 0.7;
    animation: pulse 1.5s ease-in-out infinite;
}

/* =================================
   PRINT STYLES
   ================================= */

.printing {
    background: white !important;
    color: black !important;
}

.printing .header-blur,
.printing .mobile-menu {
    display: none !important;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */

@media (max-width: 768px) {
    .flip-card {
        height: 260px;
    }
    
    .services-bg {
        background-attachment: scroll;
    }
    
    .service-icon {
        width: 44px;
        height: 44px;
    }
    
    .flip-card-icon {
        width: 56px;
        height: 56px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .mobile-menu {
        width: 300px;
    }

    .team-icon {
        width: 110px;
        height: 110px;
        font-size: 3.5rem;
    }

    .quote-block {
        padding: 2rem;
        font-size: 1rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-arrow {
        width: 35px;
        height: 35px;
    }

    .content-card {
        padding: 2rem;
    }

    .doctor-card {
        padding: 2.5rem;
    }
}

@media (max-width: 640px) {
    .flip-card {
        height: 220px;
    }
    
    .service-card {
        padding: 20px;
    }

    .team-icon {
        width: 90px;
        height: 90px;
        font-size: 3rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* =================================
   PERFORMANCE OPTIMIZATIONS
   ================================= */

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: auto;
}

.container {
    will-change: auto;
}

p, h1, h2, h3, h4, h5, h6 {
    text-rendering: optimizeLegibility;
}

/* Smooth transitions */
* {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* =================================
   ACCESSIBILITY ENHANCEMENTS
   ================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators */
.nav-link:focus,
.mobile-menu-item:focus,
.btn-primary:focus,
.form-input:focus {
    outline: 2px solid #B8956D;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-arrow {
        animation: none;
    }
    
    .feature-bullet::before {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-link,
    .btn-primary,
    .service-card {
        border: 2px solid currentColor;
    }
}

/* =================================
   DARK MODE SUPPORT (OPTIONAL)
   ================================= */

@media (prefers-color-scheme: dark) {
    /* Add dark mode styles if needed */
}

/* =================================
   ADDITIONAL ENHANCEMENTS
   ================================= */

/* Enhanced glass morphism effect */
.glass-enhanced {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Improved text contrast on glass elements */
.glass-text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced button hover effects */
.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(184, 149, 109, 0.5);
}

/* Smooth transitions for all interactive elements */
.interactive-element {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced focus states for accessibility */
.form-input:focus,
.form-select:focus {
    outline: 2px solid #B8956D;
    outline-offset: 2px;
}

/* Custom scrollbar for the entire page */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #B8956D, #6B7A3E);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6B7A3E, #B8956D);
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .service-card {
        padding: 20px;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        width: 44px;
        height: 44px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-select {
        background-size: 14px 10px;
        padding-left: 35px;
    }
}

@media (max-width: 640px) {
    .service-card {
        padding: 18px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}


/* =================================
   END OF STYLES
   ================================= */

   

