/**
 * CSWD Public Portal - Custom Stylesheet
 * City Social Welfare and Development Department
 * Cagayan de Oro City
 * 
 * Theme: Green Gradient (RISE CDO Inspired)
 * Framework: Bootstrap 5
 */

/* ============================================
   CSS VARIABLES - GREEN GRADIENT THEME
   ============================================ */
:root {
    /* Primary Green Gradient */
    --cswd-green-dark: #0d5c3f;
    --cswd-green-primary: #198754;
    --cswd-green-light: #20c997;
    --cswd-green-pale: #d1f7e5;
    
    /* Accent Colors */
    --cswd-gold: #d4a539;
    --cswd-gold-light: #f0d68a;
    --cswd-teal: #0dcaf0;
    
    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, var(--cswd-green-dark) 0%, var(--cswd-green-primary) 50%, var(--cswd-green-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(13, 92, 63, 0.95) 0%, rgba(25, 135, 84, 0.9) 50%, rgba(32, 201, 151, 0.85) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(241,248,245,1) 100%);
    --gradient-button: linear-gradient(135deg, var(--cswd-green-primary) 0%, var(--cswd-green-light) 100%);
    
    /* Neutral Colors */
    --cswd-dark: #1a2e28;
    --cswd-gray-dark: #2d4a40;
    --cswd-gray: #5c7a6e;
    --cswd-gray-light: #a8c4b8;
    --cswd-light: #f4f9f7;
    --cswd-white: #ffffff;
    
    /* Service Colors */
    --color-pwd: #0d6efd;
    --color-solo-parent: #198754;
    --color-senior: #ffc107;
    --color-education: #0dcaf0;
    --color-disaster: #dc3545;
    --color-psychosocial: #20c997;
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(13, 92, 63, 0.08);
    --shadow-md: 0 4px 12px rgba(13, 92, 63, 0.12);
    --shadow-lg: 0 8px 24px rgba(13, 92, 63, 0.16);
    --shadow-xl: 0 12px 48px rgba(13, 92, 63, 0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--cswd-dark);
    background-color: var(--cswd-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--cswd-dark);
}

a {
    color: var(--cswd-green-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--cswd-green-dark);
}

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

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--cswd-green-dark);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: 0;
    color: white;
}

/* ============================================
   BILINGUAL LANGUAGE TOGGLE
   ============================================ */
.ceb {
    display: none !important;
}

body.lang-ceb .en {
    display: none !important;
}

body.lang-ceb .ceb {
    display: inline !important;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--cswd-green-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-info i {
    color: var(--cswd-green-light);
}

.top-bar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   MAIN HEADER WITH DUAL LOGOS
   ============================================ */
.main-header {
    background: var(--cswd-white);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo {
    flex: 0 0 auto;
}

.header-logo .logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: var(--transition-normal);
}

.header-logo:hover .logo-img {
    transform: scale(1.05);
}

.header-center {
    flex: 1;
    text-align: center;
}

.header-subtitle {
    font-size: 12px;
    color: var(--cswd-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.header-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
}

.header-location {
    font-size: 14px;
    color: var(--cswd-gray);
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    background: var(--gradient-button);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

@media (max-width: 991.98px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header-logo .logo-img {
        width: 60px;
        height: 60px;
    }
    
    .header-title {
        font-size: 1.1rem;
    }
    
    .header-subtitle,
    .header-location {
        font-size: 11px;
    }
}

@media (max-width: 575.98px) {
    .header-logo-left,
    .header-logo-right {
        display: none;
    }
    
    .header-title {
        font-size: 1rem;
    }
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.main-nav {
    background: var(--gradient-primary);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
    border-radius: 0;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-link i {
    font-size: 18px;
}

/* Dropdown Menu */
.nav-item.dropdown .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    min-width: 260px;
    margin-top: 0;
}

.nav-item.dropdown .dropdown-item {
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition-fast);
}

.nav-item.dropdown .dropdown-item:hover {
    background: var(--cswd-green-pale);
    color: var(--cswd-green-dark);
}

.nav-item.dropdown .dropdown-item i {
    font-size: 18px;
}

@media (max-width: 991.98px) {
    .main-nav {
        display: none;
    }
}

/* ============================================
   MOBILE OFFCANVAS MENU
   ============================================ */
.offcanvas {
    max-width: 300px;
}

.bg-gradient-green {
    background: var(--gradient-primary) !important;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--cswd-dark);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.mobile-nav-menu li a:hover {
    background: var(--cswd-green-pale);
    color: var(--cswd-green-dark);
}

.mobile-nav-menu .nav-section-title {
    padding: 15px 15px 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cswd-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav-menu .nav-divider {
    height: 1px;
    background: var(--cswd-gray-light);
    margin: 10px 15px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    background-color: var(--cswd-green-dark);
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 40px 0;
}

.hero-seal {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title .text-gold {
    color: var(--cswd-gold-light);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-style: italic;
    opacity: 0.95;
    margin-bottom: 10px;
}

.hero-subtitle .ceb {
    font-size: 1rem;
    opacity: 0.85;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.hero-description .ceb {
    font-size: 0.95rem;
    font-style: italic;
}

.hero-buttons {
    margin-top: 30px;
}

.hero-buttons .btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

/* Button Styles */
.btn-gold {
    background: linear-gradient(135deg, var(--cswd-gold) 0%, var(--cswd-gold-light) 100%);
    border: none;
    color: var(--cswd-dark);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--cswd-gold-light) 0%, var(--cswd-gold) 100%);
    color: var(--cswd-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-gradient-green {
    background: var(--gradient-button);
    border: none;
    color: white;
}

.btn-gradient-green:hover {
    background: linear-gradient(135deg, var(--cswd-green-light) 0%, var(--cswd-green-primary) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-seal {
        width: 90px;
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--cswd-white);
    position: relative;
    margin-top: -30px;
    z-index: 10;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: var(--shadow-lg);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 28px;
}

.bg-primary-soft { background: rgba(13, 110, 253, 0.12); }
.bg-success-soft { background: rgba(25, 135, 84, 0.12); }
.bg-warning-soft { background: rgba(255, 193, 7, 0.12); }
.bg-info-soft { background: rgba(13, 202, 240, 0.12); }
.bg-danger-soft { background: rgba(220, 53, 69, 0.12); }
.bg-teal-soft { background: rgba(32, 201, 151, 0.12); }

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--cswd-dark);
    line-height: 1.2;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 13px;
    color: var(--cswd-gray);
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 575.98px) {
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--cswd-light);
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cswd-dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-button);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--cswd-gray);
    max-width: 600px;
    margin: 15px auto 0;
}

/* Service Cards */
.service-card {
    background: var(--cswd-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card-header {
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-slow);
}

.service-card:hover .service-card-header::before {
    transform: scale(2);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 36px;
    color: white;
    position: relative;
    z-index: 1;
}

.service-card-body {
    padding: 25px;
    flex: 1;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cswd-dark);
    margin-bottom: 12px;
}

.service-description {
    font-size: 14px;
    color: var(--cswd-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.service-requirements li {
    padding: 6px 0 6px 22px;
    position: relative;
    color: var(--cswd-gray-dark);
}

.service-requirements li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--cswd-green-primary);
}

.service-card-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-footer .btn {
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-normal);
}

.service-card-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Teal color for Psychosocial */
.bg-teal {
    background-color: var(--color-psychosocial) !important;
}

.btn-teal {
    background-color: var(--color-psychosocial);
    border-color: var(--color-psychosocial);
    color: white;
}

.btn-teal:hover {
    background-color: #1aa179;
    border-color: #1aa179;
    color: white;
}

.text-teal {
    color: var(--color-psychosocial) !important;
}

/* ============================================
   STATUS CHECK SECTION
   ============================================ */
.status-section {
    background: var(--cswd-green-pale);
}

.status-check-card {
    background: var(--cswd-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.status-check-header {
    padding: 30px;
    background: var(--gradient-card);
}

.status-check-header i {
    color: var(--cswd-green-primary);
}

.status-check-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 15px;
}

.status-check-body {
    padding: 30px;
}

.status-check-form .form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--cswd-dark);
}

.status-check-form .form-control,
.status-check-form .form-select {
    border-radius: var(--radius-md);
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    transition: var(--transition-fast);
}

.status-check-form .form-control:focus,
.status-check-form .form-select:focus {
    border-color: var(--cswd-green-primary);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.1);
}

.status-result .alert {
    border-radius: var(--radius-md);
    border: none;
}

/* ============================================
   DISTRICT OFFICES SECTION
   ============================================ */
.districts-section {
    background: var(--cswd-white);
}

.district-card {
    background: var(--cswd-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
    height: 100%;
}

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

.district-card.main-office {
    border: 2px solid var(--cswd-green-primary);
}

.district-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--cswd-green-pale);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.district-badge {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-button);
    color: white;
    font-weight: 800;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.district-badge.bg-gold {
    background: linear-gradient(135deg, var(--cswd-gold) 0%, var(--cswd-gold-light) 100%) !important;
    color: var(--cswd-dark);
}

.district-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cswd-dark);
    margin: 0;
}

.district-body {
    padding: 20px;
}

.district-body p {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--cswd-gray-dark);
}

.district-body i {
    width: 20px;
}

.district-barangays {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.district-barangays small {
    line-height: 1.6;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--gradient-primary);
}

.contact-section h2 {
    color: white;
    font-size: 2rem;
    font-weight: 800;
}

.contact-section .lead {
    opacity: 0.9;
}

.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 20px;
    color: var(--cswd-gold-light);
    margin-top: 3px;
}

.contact-form-card {
    background: var(--cswd-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-xl);
}

.contact-form-card h4 {
    font-weight: 700;
    color: var(--cswd-dark);
}

.contact-form-card .form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--cswd-dark);
}

.contact-form-card .form-control {
    border-radius: var(--radius-md);
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    transition: var(--transition-fast);
}

.contact-form-card .form-control:focus {
    border-color: var(--cswd-green-primary);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.1);
}

.captcha-display {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    background: linear-gradient(45deg, #333, #666);
    color: white;
    user-select: none;
}

/* ============================================
   QUICK LINKS SECTION
   ============================================ */
.quick-links-section {
    background: var(--cswd-light);
}

.quick-link-card {
    background: var(--cswd-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.quick-link-card i {
    color: var(--cswd-green-primary);
}

.quick-link-card h5 {
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 10px;
}

.quick-link-card p {
    font-size: 14px;
    color: var(--cswd-gray);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: var(--cswd-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-logos {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-tagline {
    color: var(--cswd-green-light);
    font-style: italic;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
}

.footer-heading {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--cswd-green-light);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--cswd-green-light);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--cswd-green-light);
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius-md);
    font-size: 18px;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--cswd-green-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    font-size: 13px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
}

.dev-credit {
    color: rgba(255, 255, 255, 0.5);
}

.dev-credit strong {
    color: var(--cswd-green-light);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-button);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

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

.btn-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 92, 63, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.loading-text {
    font-size: 16px;
    font-weight: 500;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.min-vh-50 {
    min-height: 50vh;
}

.text-gold {
    color: var(--cswd-gold) !important;
}

.bg-light-green {
    background: var(--cswd-green-pale) !important;
}

/* ============================================
   FORM STYLES (Global)
   ============================================ */
.form-control,
.form-select {
    border-radius: var(--radius-md);
    padding: 10px 16px;
    border: 2px solid #e9ecef;
    transition: var(--transition-fast);
    font-size: 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--cswd-green-primary);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.1);
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--cswd-dark);
    margin-bottom: 6px;
}

.form-text {
    font-size: 12px;
    color: var(--cswd-gray);
}

.invalid-feedback {
    font-size: 12px;
}

/* Required field indicator */
.required::after {
    content: ' *';
    color: var(--color-disaster);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-heading {
        margin-top: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .top-bar {
        text-align: center;
    }
    
    .top-bar-info {
        justify-content: center;
    }
    
    .top-bar-actions {
        justify-content: center;
        margin-top: 8px;
    }
    
    .btn-back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .top-bar,
    .main-nav,
    .mobile-menu-toggle,
    .btn-back-to-top,
    .hero-buttons,
    .service-card-footer,
    .main-footer {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        background: none;
        color: black;
    }
    
    .hero-overlay {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
}