/**
 * TPEH Website Custom Styles
 * The Parenting Education Hub - Responsive CSS
 */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #2c5aa0;
    --primary-dark: #1e3f73;
    --primary-light: #4a7bc8;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b35;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --text-muted: #999;
    --border-color: #dee2e6;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: #999;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Header Styles */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navigation Container */
.navbar {
    padding: 0.5rem 0;
}

.navbar-brand {
    padding: 0.25rem 0;
}

/* Navbar Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 0.25rem 0;
    }
    
    .navbar-brand {
        padding: 0.1rem 0;
        flex-direction: row;
        align-items: center;
    }
    
    .navbar-brand img {
        height: 40px !important;
        margin-right: 0.5rem !important;
    }
    
    .brand-text h4 {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
    
    .brand-text small {
        font-size: 0.65rem;
        display: none; /* Hide tagline on mobile to save space */
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
        border: 1px solid var(--primary-color);
        border-radius: var(--border-radius);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
    }
}

/* Compact Navigation */
.navbar-nav {
    gap: 0.25rem;
}

.navbar-nav .nav-item:last-child .btn {
    margin-left: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.top-bar {
    font-size: 0.875rem;
}

/* Top Bar Mobile Responsiveness */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.75rem;
        padding: 0.5rem 0 !important;
    }
    
    .top-bar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .top-bar .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0;
    }
    
    .top-bar .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 0.5rem;
        text-align: center !important;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .top-bar .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .top-bar .col-md-6.text-end {
        text-align: center !important;
    }
    
    .top-bar .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
    }
    
    .top-bar .social-links {
        margin-top: 0.25rem;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
    }
    
    .top-bar .social-links a {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    .top-bar {
        font-size: 0.7rem;
        padding: 0.4rem 0 !important;
    }
    
    .top-bar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .top-bar .col-md-6 {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        margin-bottom: 0.25rem;
    }
    
    .top-bar .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        justify-content: center;
    }
    
    .top-bar .social-links {
        margin-top: 0.5rem;
        gap: 0.25rem;
        justify-content: center;
    }
    
    .top-bar .social-links a {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 0.8rem;
        margin: 0 !important;
    }
}

.navbar-brand {
    text-decoration: none;
}

.navbar-brand:hover {
    text-decoration: none;
}

.brand-text h4 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.brand-text small {
    font-size: 0.75rem;
    font-weight: 400;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    color: var(--text-color);
    transition: var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(44, 90, 160, 0.1);
    border-radius: var(--border-radius);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,100 1000,0"/></svg>') no-repeat center bottom;
    background-size: cover;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-section .lead {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-cta .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-description {
    color: #999;
    margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Compact About Section Styles */
.about-content-compact {
    padding: 0;
}

.section-title-compact {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
}

.about-lead-compact {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.5;
}

.about-description-compact {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.stats-compact {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.05) 0%, rgba(44, 90, 160, 0.02) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.stat-item-compact {
    text-align: center;
    padding: 0.5rem;
}

.stat-number-compact {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label-compact {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-image-compact {
    text-align: center;
    padding-left: 1rem;
}

.about-image-compact img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image-compact img:hover {
    transform: scale(1.02);
}

/* Mobile Responsive for Compact About Section */
@media (max-width: 768px) {
    .about-content-compact {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-title-compact {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .about-lead-compact {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .about-description-compact {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .stats-compact {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-number-compact {
        font-size: 1.5rem;
    }
    
    .stat-label-compact {
        font-size: 0.8rem;
    }
    
    .about-image-compact {
        padding-left: 0;
        margin-top: 1rem;
    }
    
    .about-image-compact img {
        max-height: 300px;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .section-title-compact {
        font-size: 1.5rem;
    }
    
    .about-lead-compact {
        font-size: 0.95rem;
    }
    
    .about-description-compact {
        font-size: 0.85rem;
    }
    
    .stats-compact {
        padding: 0.75rem;
    }
    
    .stat-number-compact {
        font-size: 1.25rem;
    }
    
    .stat-label-compact {
        font-size: 0.75rem;
    }
    
    .about-image-compact img {
        max-height: 250px;
    }
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.team-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-color);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.team-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Events Section */
.events-section {
    padding: 4rem 0;
}

.event-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: center;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.event-month {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.event-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.event-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Compact Event Card Styles */
.event-card-compact {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(44, 90, 160, 0.1);
    overflow: hidden;
}

.event-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.event-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.event-date-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.event-day-compact {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.1rem;
}

.event-month-compact {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.event-type-badge .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.event-body {
    padding: 1.25rem;
}

.event-title-compact {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta-compact {
    margin-bottom: 0.75rem;
}

.meta-item-compact {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.meta-item-compact i {
    margin-right: 0.5rem;
    width: 14px;
    font-size: 0.75rem;
}

.event-description-compact {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-footer {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}

.event-footer .btn {
    width: 100%;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* Mobile Responsive for Compact Events */
@media (max-width: 768px) {
    .event-card-compact {
        margin-bottom: 1rem;
    }
    
    .event-header {
        padding: 0.75rem;
    }
    
    .event-day-compact {
        font-size: 1.25rem;
    }
    
    .event-month-compact {
        font-size: 0.7rem;
    }
    
    .event-body {
        padding: 1rem;
    }
    
    .event-title-compact {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .meta-item-compact {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .event-description-compact {
        font-size: 0.75rem;
    }
    
    .event-footer {
        padding: 0 1rem 1rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .event-footer .btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Footer Styles */
.main-footer {
    background-color: var(--dark-color);
    color: white;
}

.footer-widget h6 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 0.75rem;
}

.footer-widget ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: white;
    padding-left: 0.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
}

/* Top-bar specific social links */
.top-bar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    line-height: 1;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

/* Bootstrap Grid Override for Top Bar Mobile */
@media (max-width: 767.98px) {
    .top-bar .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .top-bar .row > .col-md-6 {
        flex-basis: 100%;
        flex-grow: 0;
        flex-shrink: 0;
        max-width: 100%;
    }
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem 1rem;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-item i {
    width: auto;
    text-align: center;
    margin-bottom: 1rem;
    display: block;
}

.contact-item h5 {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-item p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Contact Info Section Specific Styles */
.contact-info {
    margin-top: 2rem;
}

.contact-info .row {
    margin-top: 1rem;
}

.contact-info .col-md-4 {
    margin-bottom: 1.5rem;
}

/* Mobile responsive for contact info */
@media (max-width: 768px) {
    .contact-item {
        margin-bottom: 1.5rem;
        padding: 1rem 0.5rem;
    }
    
    .contact-item i {
        margin-bottom: 0.75rem;
    }
    
    .contact-item h5 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

.shadow-sm { box-shadow: var(--shadow) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.rounded { border-radius: var(--border-radius) !important; }

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: var(--border-radius);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 4px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-text h4 {
        font-size: 1.25rem;
    }
    
    .brand-text small {
        font-size: 0.7rem;
    }
    
    /* Mobile Navigation Improvements */
    .navbar-collapse {
        background-color: white;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-lg);
        margin-top: 0.5rem;
        padding: 0.5rem;
        border: 1px solid var(--border-color);
    }
    
    .navbar-nav {
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin: 0.125rem 0;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: var(--border-radius);
        margin: 0;
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: flex-start;
        font-size: 0.9rem;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: var(--primary-color);
        color: white;
        transform: translateX(5px);
    }
    
    .navbar-nav .nav-link i {
        width: 20px;
        text-align: center;
        margin-right: 0.75rem;
    }
    
    .navbar-nav .btn {
        margin: 0.5rem 0;
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .feature-card,
    .team-card,
    .event-card {
        margin-bottom: 2rem;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Extra small screens - Ultra compact navigation */
    .navbar {
        padding: 0.2rem 0;
    }
    
    .navbar-brand {
        flex-direction: row;
        align-items: center;
    }
    
    .navbar-brand img {
        height: 35px !important;
        margin-right: 0.4rem !important;
    }
    
    .brand-text h4 {
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    .brand-text small {
        display: none;
    }
    
    .navbar-toggler {
        padding: 0.2rem 0.4rem;
        font-size: 0.9rem;
    }
    
    .navbar-collapse {
        margin-top: 0.25rem;
        padding: 0.25rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .navbar-nav .nav-link i {
        width: 18px;
        margin-right: 0.6rem;
    }
    
    .navbar-nav .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        margin: 0.4rem 0;
    }
    
    .feature-card,
    .team-card,
    .event-card {
        padding: 1.5rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
}

/* Medium screens - Better spacing */
@media (min-width: 769px) and (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .navbar-nav .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Large screens - Optimal spacing */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .navbar-nav .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    .main-header {
        position: relative;
    }
    
    .navbar {
        position: relative;
    }
    
    .navbar-collapse.show {
        display: block !important;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Improved mobile navigation */
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem;
        border-radius: 0;
        margin: 0;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: var(--primary-color);
        color: white;
        border-left-color: var(--accent-color);
        transform: translateX(5px);
    }
    
    .navbar-nav .btn {
        margin: 0.5rem 1rem;
        border-radius: var(--border-radius);
        text-align: center;
    }
    
    /* Mobile hero improvements */
    .hero-section {
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        padding: 0.75rem 1rem;
    }
    
    /* Mobile card improvements */
    .feature-card,
    .team-card,
    .event-card,
    .counselor-card,
    .childcare-card,
    .government-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    /* Mobile form improvements */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Mobile modal improvements */
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-content {
        border-radius: var(--border-radius);
    }
    
    /* Mobile table improvements */
    .table-responsive {
        border: none;
    }
    
    .table {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .main-header,
    .main-footer,
    .btn,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .feature-card,
    .team-card,
    .event-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Enhanced fade-in for hero text elements */
.hero-section .fade-in {
    animation: heroFadeIn 0.8s ease-out;
}

@keyframes heroFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Page-specific Styles */

/* About Page Styles */

/* Philosophy Section - Compact Design */
.philosophy-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

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

/* Main Philosophy Card - Compact */
.philosophy-main-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.philosophy-main-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

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

.philosophy-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.philosophy-main-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.philosophy-main-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.philosophy-quote {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.philosophy-quote i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    opacity: 0.8;
}

.philosophy-quote span {
    font-style: italic;
    font-size: 1rem;
    font-weight: 500;
}

/* Philosophy Principles Grid */
.philosophy-principles {
    position: relative;
    z-index: 1;
}

.philosophy-principle-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.philosophy-principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.philosophy-principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.principle-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.philosophy-principle-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.philosophy-principle-card p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

.founder-card, .committee-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.founder-card:hover, .committee-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.founder-photo, .committee-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.75rem;
    display: block;
}

.founder-social, .committee-social {
    margin-top: 0.75rem;
}

/* Compact Founders Section */
.founders-section .founder-card {
    padding: 1.25rem;
}

.founders-section .founder-name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.founders-section .founder-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.founders-section .founder-bio {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.social-link {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.partner-logo {
    max-height: 80px;
    width: auto;
    margin: 0 auto 1rem;
    display: block;
}

.ethics-content ul {
    list-style: none;
    padding-left: 0;
}

.ethics-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.ethics-content li:last-child {
    border-bottom: none;
}

/* Being a Parent Page Styles */
.approach-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: var(--transition);
}

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

.approach-card ul {
    list-style: none;
    padding-left: 0;
}

.approach-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.approach-card li:last-child {
    border-bottom: none;
}

.role-card, .worry-card, .growth-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.role-card:hover, .worry-card:hover, .growth-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.role-icon, .worry-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.resource-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

/* Community Page Styles */
.community-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.volunteer-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.volunteer-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.volunteer-requirements ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.testimonial-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.join-option-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.join-option-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Events Page Styles */
.events-filter {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.event-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

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

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.event-content {
    padding: 1.5rem;
    display: flex;
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: center;
    border-radius: var(--border-radius);
    margin-right: 1rem;
    min-width: 80px;
}

.event-day {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-details {
    flex: 1;
}

.event-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.event-meta {
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #999;
    font-size: 0.9rem;
}

.meta-item i {
    margin-right: 0.5rem;
    width: 16px;
}

.event-description {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-price {
    font-weight: bold;
    color: var(--primary-color);
}

.past-event .event-image {
    opacity: 0.8;
}

.event-feedback .rating {
    margin-bottom: 0.5rem;
}

.rating-text {
    font-size: 0.9rem;
    color: #999;
}

.calendar-container {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(44, 90, 160, 0.1);
}

/* Event Calendar Styles - Ultra Compact */
.calendar-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.calendar-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.calendar-grid {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.weekday {
    padding: 0.4rem 0.2rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.weekday:last-child {
    border-right: none;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #f8f9fa;
}

.calendar-day {
    background: white;
    min-height: 45px;
    padding: 0.2rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.calendar-day:hover {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(44, 90, 160, 0.05) 100%);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.15);
}

.calendar-day.other-month {
    background: #f8f9fa;
    color: #adb5bd;
    opacity: 0.6;
}

.calendar-day.today {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
}

.calendar-day.today .day-number {
    color: white;
}

.calendar-day.has-events {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.08) 0%, rgba(44, 90, 160, 0.03) 100%);
    border-left: 3px solid var(--primary-color);
}

.day-number {
    font-weight: 700;
    margin-bottom: 0.05rem;
    font-size: 0.7rem;
    line-height: 1;
    color: var(--dark-color);
}

.day-events {
    margin-top: 0.05rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem;
}

.event-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    margin: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.event-dot.workshop {
    background: var(--primary-color);
}

.event-dot.seminar {
    background: var(--success-color);
}

.event-dot.online {
    background: var(--info-color);
}

.event-dot.community {
    background: var(--warning-color);
}

.event-title-small {
    font-size: 0.7rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-legend {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.legend-color {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.3rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.calendar-stats {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.stat-item i {
    margin-right: 0.3rem;
    width: 12px;
    color: var(--primary-color);
}

/* Mobile Calendar Styles - Ultra Compact */
@media (max-width: 768px) {
    .calendar-container {
        padding: 0.5rem;
    }
    
    .calendar-header {
        padding-bottom: 0.4rem;
        margin-bottom: 0.5rem;
    }
    
    .calendar-day {
        min-height: 35px;
        padding: 0.1rem;
    }
    
    .day-number {
        font-size: 0.65rem;
    }
    
    .event-dot {
        width: 3px;
        height: 3px;
    }
    
    .event-title-small {
        font-size: 0.55rem;
    }
    
    .weekday {
        padding: 0.3rem 0.15rem;
        font-size: 0.7rem;
    }
    
    .legend-items {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .calendar-stats {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .calendar-legend {
        padding: 0.5rem;
    }
    
    .stat-item {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
}

/* Privacy Policy, Terms of Service, and Sitemap Styles */
.privacy-content, .terms-content, .sitemap-content {
    line-height: 1.8;
}

.privacy-section h2, .terms-section h2, .sitemap-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.privacy-section h4, .terms-section h4, .sitemap-section h4 {
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.privacy-section ul, .terms-section ul, .sitemap-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.privacy-section li, .terms-section li, .sitemap-section li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: var(--primary-color);
}

/* Sitemap Specific Styles */
.sitemap-category {
    margin-bottom: 2rem;
}

.sitemap-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.sitemap-list {
    list-style: none;
    padding: 0;
}

.sitemap-list li {
    margin-bottom: 0.5rem;
}

.sitemap-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.sitemap-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.sitemap-list a i {
    margin-right: 0.5rem;
    width: 16px;
}

.search-box {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.quick-link-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.quick-link-card h5 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.quick-link-card h5 i {
    margin-right: 0.5rem;
}

.quick-link-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Legal Page Specific Styles */
.terms-content .terms-section h2 {
    counter-increment: section;
}

.terms-content .terms-section h2::before {
    content: counter(section) ". ";
    color: var(--primary-color);
}

.terms-content {
    counter-reset: section;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .privacy-content, .terms-content, .sitemap-content {
        font-size: 0.9rem;
    }
    
    .privacy-section h2, .terms-section h2, .sitemap-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h4, .terms-section h4, .sitemap-section h4 {
        font-size: 1.1rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .quick-link-card {
        margin-bottom: 1rem;
    }
}

/* I Need Help Page Styles */
.service-search-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.service-category-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.service-count {
    margin: 1rem 0;
}

.counselor-card, .childcare-card, .government-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.counselor-card:hover, .childcare-card:hover, .government-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.counselor-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
}

.counselor-details, .childcare-details, .government-details {
    margin: 1rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #999;
    font-size: 0.9rem;
}

.detail-item i {
    margin-right: 0.5rem;
    width: 16px;
}

.counselor-rating {
    margin: 1rem 0;
}

.stars {
    display: inline-block;
    margin-right: 0.5rem;
}

.childcare-image {
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.childcare-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.childcare-features {
    margin: 1rem 0;
}

.feature-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.25rem;
}

.government-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.government-programs ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .event-content {
        flex-direction: column;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: flex-start;
    }
    
    .event-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .event-footer .btn {
        margin-top: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-photo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Override Bootstrap width: 66.66666667% */
.col-lg-8,
[class*="col-lg-8"],
[style*="width: 66.66666667%"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Additional missing CSS classes */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-on-scroll.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Additional missing classes for new elements */
.growth-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.partner-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.partner-type {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.founder-name, .committee-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.founder-title, .committee-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.founder-bio, .committee-role {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-count {
    margin: 1rem 0;
}

.service-count .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.counselor-name, .childcare-name, .government-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.counselor-title, .childcare-type {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.counselor-specialization {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.counselor-details, .childcare-details, .government-details {
    margin: 1rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-item i {
    margin-right: 0.5rem;
    width: 16px;
    color: var(--primary-color);
}

.counselor-rating {
    margin: 1rem 0;
}

.stars {
    display: inline-block;
    margin-right: 0.5rem;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.childcare-image {
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.childcare-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.childcare-features {
    margin: 1rem 0;
}

.feature-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.25rem;
}

.government-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.government-programs ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.government-programs li {
    padding: 0.25rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.service-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .py-4 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* Mobile-specific improvements for new elements */
    .growth-card,
    .partner-card,
    .founder-card,
    .committee-card,
    .service-category-card,
    .volunteer-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .founder-photo,
    .committee-photo {
        width: 100px;
        height: 100px;
    }
    
    /* Philosophy Section Mobile - Compact */
    .philosophy-main-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .philosophy-main-title {
        font-size: 1.4rem;
    }
    
    .philosophy-main-text {
        font-size: 0.95rem;
    }
    
    .philosophy-icon {
        font-size: 2rem;
    }
    
    .philosophy-quote {
        padding: 0.75rem;
    }
    
    .philosophy-quote span {
        font-size: 0.9rem;
    }
    
    .philosophy-principle-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .principle-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .philosophy-principle-card h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .philosophy-principle-card p {
        font-size: 0.85rem;
    }
    
    .service-icon,
    .volunteer-icon,
    .government-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .counselor-photo {
        width: 100px;
        height: 100px;
    }
    
    .childcare-image {
        height: 150px;
    }
    
    .detail-item {
        font-size: 0.85rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
    
    /* Mobile modal improvements */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: var(--border-radius);
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
    }
    
    /* Mobile button improvements */
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Mobile text improvements */
    .lead {
        font-size: 1rem;
    }
    
    .small {
        font-size: 0.8rem;
    }
    
    /* Mobile spacing improvements */
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .px-3 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .px-4 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    .px-5 {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* Redesigned CTA Section Styles */
.cta-section-redesigned {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

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

.cta-wrapper {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-content-redesigned {
    padding-right: 2rem;
}

.cta-title-redesigned {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description-redesigned {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-stats-redesigned {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat-item-redesigned {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number-redesigned {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label-redesigned {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-actions-redesigned {
    text-align: center;
}

.cta-buttons-redesigned {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.trust-item i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile Responsive for Redesigned CTA Section */
@media (max-width: 992px) {
    .cta-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .cta-content-redesigned {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .cta-title-redesigned {
        font-size: 2rem;
        text-align: center;
    }
    
    .cta-description-redesigned {
        text-align: center;
    }
    
    .cta-stats-redesigned {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cta-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .cta-title-redesigned {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-description-redesigned {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-stats-redesigned {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .stat-number-redesigned {
        font-size: 1.5rem;
    }
    
    .stat-label-redesigned {
        font-size: 0.8rem;
    }
    
    .cta-buttons-redesigned {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .cta-trust-indicators {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trust-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .cta-title-redesigned {
        font-size: 1.5rem;
    }
    
    .cta-description-redesigned {
        font-size: 0.9rem;
    }
    
    .cta-stats-redesigned {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stat-item-redesigned {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .stat-number-redesigned {
        font-size: 1.25rem;
        margin-bottom: 0;
    }
    
    .stat-label-redesigned {
        font-size: 0.75rem;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .cta-trust-indicators {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Newsletter Form Styles for Events Page */
.newsletter-form-redesigned {
    margin-bottom: 1.5rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive for Newsletter Form */
@media (max-width: 768px) {
    .newsletter-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .newsletter-input {
        font-size: 0.85rem;
        padding: 0.7rem 0.9rem;
    }
    
    .newsletter-btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Compact Contact Section Styles */
.contact-section-compact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.contact-wrapper-compact {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-title-compact {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-subtitle-compact {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-info-compact {
    margin-top: 1rem;
}

.contact-item-compact {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(44, 90, 160, 0.02);
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.contact-item-compact:hover {
    background: rgba(44, 90, 160, 0.05);
    border-color: rgba(44, 90, 160, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-item-compact i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-details h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.contact-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

.contact-action-compact {
    text-align: center;
}

.contact-action-compact .btn {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-action-compact .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.3);
}

/* Mobile Responsive for Compact Contact Section */
@media (max-width: 992px) {
    .contact-wrapper-compact {
        padding: 1.5rem;
    }
    
    .contact-content-compact {
        margin-bottom: 1.5rem;
    }
    
    .contact-title-compact {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .contact-subtitle-compact {
        text-align: center;
    }
    
    .contact-action-compact {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .contact-wrapper-compact {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    .contact-title-compact {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-subtitle-compact {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .contact-item-compact {
        padding: 0.6rem;
        gap: 0.5rem;
    }
    
    .contact-item-compact i {
        font-size: 1.1rem;
    }
    
    .contact-details h6 {
        font-size: 0.85rem;
    }
    
    .contact-details p {
        font-size: 0.8rem;
    }
    
    .contact-action-compact .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .contact-wrapper-compact {
        padding: 1rem;
    }
    
    .contact-title-compact {
        font-size: 1.1rem;
    }
    
    .contact-subtitle-compact {
        font-size: 0.85rem;
    }
    
    .contact-item-compact {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem 0.5rem;
    }
    
    .contact-item-compact i {
        margin-top: 0;
        margin-bottom: 0.25rem;
    }
    
    .contact-details h6 {
        font-size: 0.8rem;
    }
    
    .contact-details p {
        font-size: 0.75rem;
    }
}

/* Override Bootstrap col-lg-10 width */
@media (min-width: 992px) {
    .col-lg-10 {
        flex: 0 0 auto;
        width: 100% !important;
    }
}
