/* Areas Dropdown Specific Styles */
.areas-dropdown {
    min-width: 250px; /* Wider dropdown for area names */
    max-height: 300px; /* Limit height for scrolling if needed */
    overflow-y: auto; /* Enable scrolling if too many items */
    columns: 2; /* Split into 2 columns for better layout */
    column-gap: 0; /* No gap between columns */
}

.areas-dropdown a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 0.6rem 1rem; /* Slightly smaller padding for more items */
    transition: all 0.3s ease;
    border-radius: 6px; /* Smaller border radius */
    margin: 0.2rem; /* Smaller margin */
    font-weight: 500;
    font-size: 0.95rem; /* Slightly smaller font */
    break-inside: avoid; /* Prevent breaking across columns */
}

.areas-dropdown a:hover {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    transform: translateX(3px); /* Smaller transform */
}

/* Mobile adjustments for areas dropdown */
@media (max-width: 940px) {
    .areas-dropdown {
        columns: 1; /* Single column on mobile */
        max-height: none; /* Remove height limit on mobile */
    }
    
    .areas-dropdown a {
        padding: 1rem 3rem; /* Standard mobile padding */
        margin: 0; /* Remove margin on mobile */
        border-radius: 0; /* Remove border radius on mobile */
        border-bottom: 1px solid rgba(0,0,0,0.1);
        font-size: 1.1rem; /* Standard mobile font size */
    }
    
    .areas-dropdown a:hover {
        background: rgba(0,0,0,0.1);
        transform: none; /* Remove transform on mobile */
    }
}

/* Enhanced dropdown for better visibility */
.nav-item:hover .areas-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Optional: Add icons to area links */
.areas-dropdown a::before {
    content: "📍 ";
    margin-right: 0.5rem;
    opacity: 0.7;
}

.areas-dropdown a:hover::before {
    opacity: 1;
}

/* Welcome Section Styles (keeping all existing styles) */
.welcome-section {
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="1" fill="%23000" opacity="0.02"/><circle cx="10" cy="60" r="1" fill="%23000" opacity="0.02"/><circle cx="90" cy="40" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.welcome-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.welcome-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #3b82f6;
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: Arial, sans-serif;
}

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

.content-block {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    border-radius: 20px 20px 0 0;
}

.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.highlight-block {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
    text-align: center;
}

.highlight-block::before {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #f59e0b);
    height: 6px;
}

.block-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-family: Arial, sans-serif;
    position: relative;
}

.block-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1rem;
    text-align: justify;
    font-family: Arial, sans-serif;
}

.block-text strong {
    color: #1e293b;
    font-weight: 700;
}

.closing-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0;
    text-align: center;
    font-family: Arial, sans-serif;
}

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

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: Arial, sans-serif;
    border: 2px solid transparent;
    min-width: 180px;
    justify-content: center;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

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

.cta-btn.secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Services Block Styles */
.services-block {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.services-block::before {
    background: linear-gradient(90deg, #10b981, #06b6d4, #3b82f6);
    height: 6px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    font-family: Arial, sans-serif;
    display: block;
    line-height: 1.3;
}

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

    .welcome-container {
        padding: 0 1rem;
    }

    .welcome-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .welcome-subtitle {
        font-size: 1.4rem;
        margin-bottom: 3rem;
    }

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

        .content-block {
        padding: 2rem;
    }

    .block-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .block-text {
        font-size: 1rem;
        text-align: left;
    }

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

    .cta-btn {
        width: 100%;
        max-width: 300px;
    }

    /* Services responsive adjustments */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .service-item {
        padding: 1rem;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .service-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 2rem;
    }

    .welcome-subtitle {
        font-size: 1.2rem;
    }

    .content-block {
        padding: 1.5rem;
    }

    .block-title {
        font-size: 1.2rem;
    }

    .block-text {
        font-size: 0.95rem;
    }

    /* Services mobile adjustments */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item {
        padding: 0.8rem;
    }

    .service-icon {
        font-size: 1.8rem;
    }

    .service-name {
        font-size: 0.9rem;
    }
}