/* ==========================================================================
   Project: Green Community College Towards Sustainability (Uthai Thani CC)
   Refined Modern Eco-Green Sustainability Design System (Balanced Typography & UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Prompt:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600&display=swap');

:root {
    --primary: #15803d;        /* Emerald Forest Green */
    --primary-light: #22c55e;  /* Fresh Leaf Green */
    --primary-dark: #14532d;   /* Deep Evergreen */
    --secondary: #059669;      /* Jade Teal */
    --accent: #f59e0b;         /* Solar Amber / Gold (Uthai Thani Accent) */
    --accent-light: #fef3c7;
    --dark: #0f172a;           /* Slate 900 */
    --dark-muted: #475569;     /* Slate 600 */
    --gray-bg: #f8fafc;        /* Slate 50 */
    --gray-border: #e2e8f0;    /* Slate 200 */
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 10px 25px rgba(22, 101, 52, 0.1);
    --shadow-xl: 0 16px 32px rgba(15, 23, 42, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', 'Kanit', sans-serif;
    color: var(--dark);
    background-color: var(--gray-bg);
    font-size: 0.95rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.85rem; }

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* SVG Icon Sizing & Display Helpers */
svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.w-3 { width: 12px; }
.h-3 { height: 12px; }
.w-3\.5, .w-3-5 { width: 14px; }
.h-3\.5, .h-3-5 { height: 14px; }
.w-4 { width: 16px; }
.h-4 { height: 16px; }
.w-4\.5, .w-4-5 { width: 18px; }
.h-4\.5, .h-4-5 { height: 18px; }
.w-5 { width: 20px; }
.h-5 { height: 20px; }
.w-6 { width: 24px; }
.h-6 { height: 24px; }
.w-7 { width: 28px; }
.h-7 { height: 28px; }
.w-8 { width: 32px; }
.h-8 { height: 32px; }
.w-10 { width: 40px; }
.h-10 { height: 40px; }
.w-12 { width: 48px; }
.h-12 { height: 48px; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    font-size: 0.82rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.92);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 0.7rem;
    transition: var(--transition);
}

.top-bar-social a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-1px);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-border);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.97);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 3px 10px rgba(22, 101, 52, 0.25);
    flex-shrink: 0;
}

.brand-text h1 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin: 0;
}

.brand-text p {
    font-size: 0.74rem;
    color: var(--dark-muted);
    font-weight: 400;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.2rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-muted);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(22, 163, 74, 0.08);
}

.nav-link.active {
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    background: rgba(15, 23, 42, 0.04);
    color: var(--dark-muted);
    border: 1px solid var(--gray-border);
}

.btn-admin:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.35rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 275px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    padding: 1.25rem;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
}

.drawer-overlay.active {
    display: block;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-border);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--dark-muted);
    font-weight: 500;
    font-size: 0.92rem;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
    background: rgba(22, 163, 74, 0.09);
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 35%, #047857 70%, #059669 100%);
    color: var(--white);
    padding: 3.5rem 0 4.25rem;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: radial-gradient(#ffffff 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-blob-1 {
    background: rgba(74, 222, 128, 0.22);
    top: -80px;
    right: -40px;
}

.hero-blob-2 {
    background: rgba(245, 158, 11, 0.12);
    bottom: -80px;
    left: 10%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #a7f3d0;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hero-title span {
    color: #6ee7b7;
    background: linear-gradient(90deg, #a7f3d0, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.75rem;
    line-height: 1.65;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.62rem 1.35rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.45);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero Stats Card */
.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-card-title {
    font-size: 0.98rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.2);
    color: #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    font-family: 'Kanit', sans-serif;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 0.25rem;
}

/* ==========================================================================
   Section Components & Layouts
   ========================================================================== */

.section {
    padding: 3.5rem 0;
}

.section-gray {
    background-color: #f1f5f9;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--dark-muted);
    line-height: 1.6;
}

/* 6 Green Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

.pillar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    opacity: 0;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(22, 163, 74, 0.3);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon-box {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(5, 150, 105, 0.18));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: scale(1.04);
}

.pillar-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
    width: fit-content;
}

.pillar-title {
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.pillar-desc {
    font-size: 0.88rem;
    color: var(--dark-muted);
    line-height: 1.55;
    flex-grow: 1;
}

/* ==========================================================================
   News & Activities Cards
   ========================================================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-media {
    position: relative;
    height: 185px;
    background: #e2e8f0;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-media img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.65rem;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(6px);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
}

.card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.6rem;
}

.card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.38;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a:hover {
    color: var(--primary);
}

.card-text {
    font-size: 0.86rem;
    color: var(--dark-muted);
    line-height: 1.55;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-border);
    margin-top: auto;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary);
}

.link-more:hover {
    gap: 0.55rem;
    color: var(--primary-dark);
}

/* ==========================================================================
   Photo Gallery Grid & Lightbox
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    height: 160px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    font-size: 1.25rem;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(12px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 88vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 0.75rem;
    font-size: 0.95rem;
    text-align: center;
    max-width: 580px;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: var(--transition);
}

.lightbox-btn:hover {
    background: var(--primary);
    transform: scale(1.08);
}

.lightbox-close {
    top: 1.25rem;
    right: 1.25rem;
}

.lightbox-prev {
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ==========================================================================
   Document Downloads List
   ========================================================================== */

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.doc-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    border: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.doc-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(3px);
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.doc-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-icon.pdf { background: #fee2e2; color: #dc2626; }
.doc-icon.docx, .doc-icon.doc { background: #dbeafe; color: #2563eb; }
.doc-icon.xlsx, .doc-icon.xls { background: #dcfce7; color: #16a34a; }

.doc-details h4 {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.doc-meta {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    gap: 0.85rem;
}

/* ==========================================================================
   Social Media Banner & Integration
   ========================================================================== */

.social-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.social-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.social-banner-text h3 {
    font-size: 1.45rem;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.social-banner-text p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}

.social-banner-btns {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-fb {
    background: #1877f2;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-fb:hover {
    background: #0d6efd;
    transform: translateY(-1px);
}

.btn-line {
    background: #06c755;
    color: var(--white);
}

.btn-line:hover {
    background: #05a646;
    transform: translateY(-1px);
}

/* ==========================================================================
   Forms & Inputs
   ========================================================================== */

.form-group {
    margin-bottom: 1.1rem;
}

.form-label {
    display: block;
    font-size: 0.86rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-family: inherit;
    font-size: 0.9rem;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    background-color: var(--white);
    color: var(--dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

/* Alert Notification */
.alert {
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.alert-success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3.5rem 0 0;
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.18rem;
    margin-bottom: 0.65rem;
}

.footer-brand p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.4rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2.5px;
    background: var(--primary-light);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #4ade80;
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    line-height: 1.45;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu, .btn-admin {
        display: none;
    }

    .btn-mobile-toggle {
        display: block;
    }

    .top-bar-contact {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .social-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem 1.25rem;
    }

    .social-banner-btns {
        justify-content: center;
    }

    .doc-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }
}
