/* Gram Panchayat Portal - Design Theme */

:root {
    --gp-green: #1b6b4a;
    --gp-green-dark: #0f4a32;
    --gp-green-light: #e8f5ef;
    --gp-saffron: #e8751a;
    --gp-gold: #c9a227;
    --gp-cream: #faf8f4;
    --gp-text: #1f2937;
    --gp-muted: #6b7280;
    --gp-white: #ffffff;
    --gp-shadow: 0 10px 30px rgba(15, 74, 50, 0.08);
    --gp-radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.gp-body {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    color: var(--gp-text);
    background: transparent;
    margin: 0;
    min-height: 100vh;
}

.gp-site-wrapper {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

main {
    position: relative;
    z-index: 1;
}

.gp-header,
.gp-topbar,
.gp-footer,
main a,
main button,
nav a,
nav button {
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

/* Top bar */
.gp-topbar {
    background: var(--gp-green-dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

/* Header / Nav */
.gp-header {
    background: var(--gp-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.gp-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--gp-green-dark) !important;
}

.gp-brand-icon {
    font-size: 2rem;
    line-height: 1;
}

.gp-brand-sub {
    font-size: 0.7rem;
    color: var(--gp-saffron);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gp-header .nav-link {
    color: var(--gp-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.gp-header .nav-link:hover,
.gp-header .nav-link.active {
    background: var(--gp-green-light);
    color: var(--gp-green) !important;
}

.gp-nav-cta {
    background: var(--gp-green) !important;
    color: var(--gp-white) !important;
}

.gp-nav-cta:hover {
    background: var(--gp-green-dark) !important;
    color: var(--gp-white) !important;
}

/* Hero */
.gp-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 74, 50, 0.94) 0%, rgba(27, 107, 74, 0.9) 50%, rgba(45, 138, 94, 0.88) 100%);
    color: var(--gp-white);
    padding: 5rem 0 6rem;
    overflow: hidden;
}

.gp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.gp-butterflies-app {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    touch-action: none;
    user-select: none;
    pointer-events: none !important;
}

.gp-butterflies-app * {
    pointer-events: none !important;
}

.gp-butterflies-app canvas {
    display: block;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

.gp-hero-content {
    position: relative;
    z-index: 2;
}

.gp-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.gp-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gp-hero-lead {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 560px;
    line-height: 1.7;
}

.gp-hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gp-btn-primary {
    background: var(--gp-saffron);
    border: none;
    color: var(--gp-white);
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gp-btn-primary:hover {
    background: #d66a15;
    color: var(--gp-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 117, 26, 0.35);
}

.gp-btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: var(--gp-white);
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.gp-btn-outline:hover {
    background: var(--gp-white);
    color: var(--gp-green);
}

.gp-hero-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--gp-radius);
    padding: 1.5rem;
}

.gp-hero-stat {
    text-align: center;
    padding: 1rem;
}

.gp-hero-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
}

.gp-hero-stat span {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Sections */
.gp-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.96);
}

.gp-section-alt {
    background: rgba(255, 255, 255, 0.98);
}

.gp-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.gp-section-title h2 {
    color: var(--gp-green-dark);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.gp-section-title p {
    color: var(--gp-muted);
    max-width: 600px;
    margin: 0 auto;
}

.gp-section-label {
    display: inline-block;
    color: var(--gp-saffron);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Quick services */
.gp-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991.98px) {
    .gp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .gp-services-grid {
        grid-template-columns: 1fr;
    }
}

.gp-service-card {
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: var(--gp-shadow);
    border: 1px solid rgba(27, 107, 74, 0.08);
    height: 100%;
    min-height: 190px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 3;
    pointer-events: auto;
    cursor: pointer;
    overflow: hidden;
}

.gp-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gp-green), var(--gp-saffron));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.gp-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(27, 107, 74, 0.06), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.gp-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 74, 50, 0.16);
    border-color: rgba(27, 107, 74, 0.22);
    color: inherit;
}

.gp-service-card:hover::before {
    transform: scaleX(1);
}

.gp-service-card:hover::after {
    opacity: 1;
}

.gp-service-icon {
    width: 64px;
    height: 64px;
    background: var(--gp-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    z-index: 1;
}

.gp-service-card:hover .gp-service-icon {
    transform: scale(1.12) translateY(-2px);
    background: linear-gradient(135deg, var(--gp-green-light), #c8e6d4);
    box-shadow: 0 8px 20px rgba(27, 107, 74, 0.2);
}

.gp-service-card h5 {
    color: var(--gp-green-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    transition: color 0.25s ease;
}

.gp-service-card:hover h5 {
    color: var(--gp-green);
}

.gp-service-card p {
    color: var(--gp-muted);
    font-size: 0.9rem;
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1.45;
}

/* News cards */
.gp-news-card {
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    overflow: hidden;
    box-shadow: var(--gp-shadow);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.25s;
}

.gp-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 74, 50, 0.14);
}

.gp-live-news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.gp-live-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 74, 50, 0.14);
}

.gp-tag-live {
    background: #fff3e0;
    color: #e65100;
}

.gp-news-img {
    height: 180px;
    background: linear-gradient(135deg, var(--gp-green-light), #d4edda);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
}

.gp-news-img-photo {
    padding: 0;
    background: #e5e7eb;
}

.gp-news-img-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gp-news-body {
    padding: 1.25rem;
}

.gp-news-date {
    color: var(--gp-saffron);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gp-news-body h5 {
    font-weight: 600;
    color: var(--gp-green-dark);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.gp-news-body p {
    color: var(--gp-muted);
    font-size: 0.9rem;
    margin: 0;
}

.gp-tag {
    display: inline-block;
    background: var(--gp-green-light);
    color: var(--gp-green);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.35rem;
}

/* Schemes */
.gp-scheme-card {
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--gp-saffron);
    box-shadow: var(--gp-shadow);
    height: 100%;
}

.gp-scheme-card h5 {
    color: var(--gp-green-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.gp-scheme-card p {
    color: var(--gp-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gp-scheme-link {
    color: var(--gp-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.gp-scheme-link:hover {
    color: var(--gp-saffron);
}

/* Map section */
.gp-map-wrapper {
    border-radius: var(--gp-radius);
    overflow: hidden;
    box-shadow: var(--gp-shadow);
    border: 3px solid var(--gp-white);
    height: 420px;
    background: #e5e7eb;
    position: relative;
    z-index: 5;
}

.gp-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.gp-map-info {
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    padding: 1.5rem;
    box-shadow: var(--gp-shadow);
    height: 100%;
}

.gp-map-info h5 {
    color: var(--gp-green-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.gp-info-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.gp-info-row span:first-child {
    font-size: 1.25rem;
}

/* About - team cards */
.gp-team-card {
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--gp-shadow);
}

.gp-team-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--gp-green), var(--gp-green-dark));
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.gp-team-card h5 {
    color: var(--gp-green-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gp-team-role {
    color: var(--gp-saffron);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contact form */
.gp-contact-form {
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    padding: 2rem;
    box-shadow: var(--gp-shadow);
}

.gp-contact-form .form-label {
    font-weight: 500;
    color: var(--gp-green-dark);
}

.gp-contact-form .form-control,
.gp-contact-form .form-select {
    border-radius: 10px;
    border-color: #d1d5db;
    padding: 0.65rem 1rem;
}

.gp-contact-form .form-control:focus,
.gp-contact-form .form-select:focus {
    border-color: var(--gp-green);
    box-shadow: 0 0 0 0.2rem rgba(27, 107, 74, 0.15);
}

/* Page header (inner pages) */
.gp-page-header {
    background: linear-gradient(135deg, rgba(15, 74, 50, 0.95), rgba(27, 107, 74, 0.92));
    color: var(--gp-white);
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

.gp-page-header h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gp-page-header p {
    opacity: 0.9;
    margin: 0;
}

/* News ticker */
.gp-ticker {
    background: var(--gp-saffron);
    color: var(--gp-white);
    padding: 0.6rem 0;
    overflow: hidden;
}

.gp-ticker-inner {
    display: flex;
    animation: gp-scroll 25s linear infinite;
    white-space: nowrap;
}

.gp-ticker-item {
    padding: 0 2rem;
    font-weight: 500;
    font-size: 0.9rem;
}

@keyframes gp-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer */
.gp-footer {
    background: var(--gp-green-dark);
    color: rgba(255, 255, 255, 0.85);
}

.gp-footer-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
}

.gp-footer-links li {
    margin-bottom: 0.5rem;
}

.gp-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.gp-footer-links a:hover {
    color: var(--gp-saffron);
}

.gp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.gp-footer-designer {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
}

.gp-footer-designer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.gp-footer-designer a:hover {
    color: var(--gp-saffron);
}

.gp-footer-designer strong {
    color: #fff;
    font-weight: 600;
}

/* News page — Google Ad sidebars */
.gp-news-page-layout {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 160px;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.gp-news-page-main {
    min-width: 0;
}

.gp-ad-sidebar {
    position: sticky;
    top: 6.5rem;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 1rem;
    z-index: 2;
}

.gp-google-ad {
    width: 160px;
    min-height: 600px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.gp-google-ad-label {
    display: block;
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9aa0a6;
    background: #f8f9fa;
    border-bottom: 1px solid #e8eaed;
    padding: 0.35rem 0.25rem;
}

.gp-google-ad-slot {
    flex: 1;
    min-height: 560px;
}

.gp-google-ad-demo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0.75rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    color: #5f6368;
}

.gp-google-ad-demo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-family: Arial, sans-serif;
}

.gp-google-ad-demo-title {
    font-weight: 600;
    color: #202124;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.gp-google-ad-demo-text {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.gp-google-ad-demo small {
    font-size: 0.7rem;
    line-height: 1.4;
    color: #80868b;
}

@media (max-width: 1199.98px) {
    .gp-news-page-layout {
        display: block;
    }
}

/* Nearby places */
.gp-place-tabs .nav-link {
    color: var(--gp-green-dark);
    font-weight: 600;
    border-radius: 999px !important;
    padding: 0.5rem 1.25rem;
}

.gp-place-tabs .nav-link.active {
    background: var(--gp-green) !important;
    color: var(--gp-white) !important;
}

.gp-place-list {
    max-height: 460px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gp-place-item {
    text-align: left;
    background: var(--gp-white);
    border: 1px solid rgba(27, 107, 74, 0.12);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.gp-place-item:hover,
.gp-place-item.active {
    border-color: var(--gp-green);
    box-shadow: var(--gp-shadow);
}

.gp-place-item-title {
    font-weight: 600;
    color: var(--gp-green-dark);
    font-size: 0.95rem;
}

.gp-place-item-meta {
    color: var(--gp-muted);
    font-size: 0.82rem;
    margin-top: 0.15rem;
}

.gp-place-item-dist {
    color: var(--gp-saffron);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.35rem;
}

.gp-place-loading,
.gp-place-empty {
    background: var(--gp-white);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    color: var(--gp-muted);
    border: 1px dashed #d1d5db;
}

.gp-place-detail {
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    padding: 1.25rem;
    box-shadow: var(--gp-shadow);
    border: 2px solid var(--gp-green);
    margin-bottom: 1rem;
}

.gp-place-detail h5 {
    color: var(--gp-green-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.gp-place-detail-row {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: var(--gp-text);
}

.gp-place-detail-row span:first-child {
    flex-shrink: 0;
}

.gp-place-tabs,
.gp-place-list,
.gp-place-detail {
    position: relative;
    z-index: 5;
}

.gp-live-news-card .gp-scheme-link {
    display: inline-block;
    margin-top: 0.75rem;
}

.gp-live-news-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Breadcrumb */
.gp-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.gp-breadcrumb a {
    color: var(--gp-green);
    text-decoration: none;
}

/* Gallery */
.gp-gallery-item {
    background: var(--gp-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--gp-shadow);
    text-align: center;
}

.gp-gallery-thumb {
    height: 140px;
    background: linear-gradient(135deg, var(--gp-green-light), #d4edda);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-radius: 12px;
}

.gp-gallery-item p {
    padding: 0.65rem;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gp-green-dark);
}

.gp-gallery-video-placeholder {
    height: 180px;
    background: #1f2937;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

/* Download list */
.gp-download-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 1rem;
}

.gp-download-list li:last-child {
    border-bottom: none;
}

/* Social Media Bar - Left Center */
.gp-social-bar {
    position: fixed;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: auto;
}

.gp-social-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gp-green-dark);
    background: var(--gp-white);
    padding: 0.65rem 0.35rem;
    border-radius: 999px;
    box-shadow: var(--gp-shadow);
    border: 1px solid rgba(27, 107, 74, 0.1);
}

.gp-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gp-white);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gp-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.gp-social-link:hover {
    transform: translateX(4px) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: var(--gp-white);
}

.gp-social-facebook { background: #1877f2; }
.gp-social-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.gp-social-youtube { background: #ff0000; }
.gp-social-whatsapp { background: #25d366; }
.gp-social-twitter { background: #000000; }

/* AI Chat Widget */
.gp-ai-chat {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 9999;
    pointer-events: auto;
}

.gp-ai-chat-fab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gp-green), var(--gp-green-dark));
    color: var(--gp-white);
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 28px rgba(15, 74, 50, 0.35);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gp-ai-chat-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 74, 50, 0.4);
}

.gp-ai-chat-fab-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.gp-ai-chat-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.75rem);
    width: 360px;
    max-width: calc(100vw - 2rem);
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    box-shadow: 0 16px 48px rgba(15, 74, 50, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    border: 1px solid rgba(27, 107, 74, 0.12);
}

.gp-ai-chat-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.gp-ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, var(--gp-green-dark), var(--gp-green));
    color: var(--gp-white);
}

.gp-ai-chat-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.gp-ai-chat-title strong {
    display: block;
    font-size: 0.95rem;
}

.gp-ai-chat-title small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.85;
}

.gp-ai-chat-avatar {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.gp-ai-chat-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--gp-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}

.gp-ai-chat-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.gp-ai-chat-messages {
    height: 280px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--gp-cream);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gp-ai-msg {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.gp-ai-msg-user {
    flex-direction: row-reverse;
}

.gp-ai-msg-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--gp-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.gp-ai-msg-user .gp-ai-msg-icon {
    background: var(--gp-saffron);
}

.gp-ai-msg-bubble {
    background: var(--gp-white);
    padding: 0.65rem 0.85rem;
    border-radius: 12px 12px 12px 4px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--gp-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    max-width: 85%;
}

.gp-ai-msg-user .gp-ai-msg-bubble {
    background: var(--gp-green);
    color: var(--gp-white);
    border-radius: 12px 12px 4px 12px;
}

.gp-ai-chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.65rem 1rem 0;
    background: var(--gp-white);
}

.gp-ai-quick-btn {
    background: var(--gp-green-light);
    border: 1px solid rgba(27, 107, 74, 0.15);
    color: var(--gp-green-dark);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.gp-ai-quick-btn:hover {
    background: var(--gp-green);
    color: var(--gp-white);
    border-color: var(--gp-green);
}

.gp-ai-chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: var(--gp-white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.gp-ai-chat-input input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    outline: none;
    font-family: inherit;
}

.gp-ai-chat-input input:focus {
    border-color: var(--gp-green);
    box-shadow: 0 0 0 0.15rem rgba(27, 107, 74, 0.12);
}

.gp-ai-chat-input button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--gp-saffron);
    color: var(--gp-white);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.gp-ai-chat-input button:hover {
    background: #d66a15;
    transform: scale(1.05);
}

.gp-ai-chat-fab.is-hidden {
    display: none;
}

@media (max-width: 767px) {
    .gp-hero {
        padding: 3rem 0 4rem;
    }

    .gp-section {
        padding: 2.5rem 0;
    }

    .gp-map-wrapper {
        height: 300px;
    }

    .gp-ai-chat {
        right: 1rem;
        bottom: 1rem;
    }

    .gp-ai-chat-fab-label {
        display: none;
    }

    .gp-ai-chat-fab {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .gp-ai-chat-panel {
        width: calc(100vw - 2rem);
    }

    .gp-ai-chat-messages {
        height: 240px;
    }

    .gp-social-bar {
        left: 0.5rem;
        gap: 0.35rem;
    }

    .gp-social-label {
        display: none;
    }

    .gp-social-link {
        width: 36px;
        height: 36px;
    }

    .gp-social-link svg {
        width: 17px;
        height: 17px;
    }
}
