/* ========================
   GR- Maps Section Styles
   ======================== */

.gr-maps-section {
    position: relative;
}

.gr-maps-wrapper {
    position: relative;
}

.gr-maps-slider {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.gr-map-item {
    position: relative;
    height: 100%;
    border: 1px solid #3e416a;
    border-radius: 10px;
}

.gr-map-image-wrapper {
    position: relative;
    overflow: hidden;
}

.gr-map-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-top-left-radius: 10px;
    overflow: hidden;
    border-top-right-radius: 10px;
}

.gr-map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gr-map-image:hover img {
    transform: scale(1.1);
}

.gr-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gr-map-image:hover .gr-map-overlay {
    opacity: 1;
}

.gr-zoom-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
}

.gr-zoom-btn:hover {
    background: #f9a825;
    color: #fff;
    transform: scale(1.1);
}

.gr-map-content {
    padding: 20px;
}

.gr-map-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.gr-map-content .gr-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.gr-map-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ========================
   GR- CTA Section Styles
   ======================== */

.gr-cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.gr-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.gr-cta-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}

.gr-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gr-cta-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.gr-cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
}

.gr-cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #f9a825;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.gr-cta-btn:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gr-cta-icon {
    font-size: 60px;
    color: #f9a825;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .gr-cta-title {
        font-size: 32px;
    }
    
    .gr-cta-description {
        font-size: 16px;
    }
    
    .gr-map-image img {
        height: 300px;
    }
}

/* ========================
   GR- Authorities Section Styles
   ======================== */

.gr-authorities-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.gr-authorities-section .section-title {
    margin-bottom: 50px;
}

.gr-authorities-section .section-description {
    font-size: 16px;
    color: #666;
    margin-top: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.gr-authorities-wrapper {
    position: relative;
}

.gr-authority-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
}

.gr-authority-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(62, 65, 106, 0.15);
    border-color: #f9a825;
}

.gr-authority-logo-wrapper {
    position: relative;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gr-authority-logo-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(249, 168, 37, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.gr-authority-card:hover .gr-authority-logo-wrapper::before {
    top: -25%;
    right: -25%;
    background: radial-gradient(circle, rgba(249, 168, 37, 0.2) 0%, transparent 70%);
}

.gr-authority-logo {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gr-authority-logo img {
    max-width: 90%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.gr-authority-card:hover .gr-authority-logo img {
    transform: scale(1.05);
}

.gr-authority-content {
    padding: 15px 15px;
    text-align: center;
}

.gr-authority-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    line-height: 1.4;
}

.gr-authority-content p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

/* Hover Effects */
.gr-authority-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f9a825, #ff9800);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 10;
}

.gr-authority-card:hover::after {
    transform: scaleX(1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gr-authority-card {
        margin-bottom: 20px;
    }
    
    .gr-authority-content {
        padding: 20px 25px;
    }
    
    .gr-authority-logo-wrapper {
        padding: 35px 25px;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .gr-authorities-section .section-title h2 {
        font-size: 28px;
    }
    
    .gr-authorities-section .section-description {
        font-size: 14px;
    }
    
    .gr-authority-logo-wrapper {
        padding: 30px 20px;
        min-height: 180px;
    }
    
    .gr-authority-logo img {
        max-height: 120px;
    }
    
    .gr-authority-content h3 {
        font-size: 16px;
    }
    
    .gr-authority-content p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .gr-authorities-section {
        padding: 40px 0;
    }
    
    .gr-authorities-section .section-title {
        margin-bottom: 30px;
    }
    
    .gr-authority-card {
        margin-bottom: 15px;
    }
    
    .gr-authority-logo-wrapper {
        padding: 25px 15px;
        min-height: 150px;
    }
    
    .gr-authority-content {
        padding: 20px 15px;
    }
    
    .gr-authority-content h3 {
        font-size: 15px;
    }
    
    .gr-authority-content p {
        font-size: 12px;
    }
}
