/* church.css - Complete Stylesheet for PCGT Gosheni Church */
:root {
    /* Enhanced Primary Colors */
    --primary: #023047;
    --primary-dark: #022b3a;
    --primary-light: #034c6e;
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    
    /* Enhanced Secondary Colors */
    --secondary: #8ecae6;
    --secondary-dark: #6ba8c9;
    --secondary-light: #a8d4f0;
    --secondary-50: #f0fdff;
    
    /* Enhanced Accent Colors */
    --accent: #5d6366;
    --accent-dark: #cfc9b8;
    --accent-light: #807d76;
    --accent-50: #fff9e6;
    
    /* Enhanced Neutral Colors */
    --dark: #1b263b;
    --light: #ffffff;
    --gray-50: #fafbfc;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --gray-900: #1a1d23;
    
    /* Semantic Colors */
    --success: #28a745;
    --success-light: #d4edda;
    --danger: #dc3545;
    --danger-light: #f8d7da;
    --warning: #ffc107;
    --warning-light: #fff3cd;
    --info: #17a2b8;
    --info-light: #d1ecf1;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Enhanced Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --spacing-xxxl: 4rem;
    
    /* Enhanced Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius: 0.5rem;
    --border-radius-md: 0.625rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 10px -1px rgba(0, 0, 0, 0.1), 0 2px 6px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-nav: linear-gradient(135deg, var(--primary), var(--primary-dark));
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

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

body {
    font-family: var(--font-family);
    color: var(--gray-800);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: var(--gradient-nav);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.navbar.sticky {
    padding: var(--spacing-sm) 0;
}

/* MAKE MENU ICON WHITE - Hamburger menu button */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* ============================================ */
/* FIX: Logo text positioning - Text in front of logo, not behind */
/* ============================================ */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 10;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 5;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--light);
    position: relative;
    z-index: 6;
    white-space: nowrap;
}

.brand-highlight {
    color: var(--secondary);
}

/* Fix navbar container on small devices */
.navbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* ============================================ */
/* FIX: Navbar links all on left on small devices */
/* ============================================ */
@media (max-width: 991.98px) {
    /* Make navbar collapse take full width and align left */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gradient-nav);
        padding: var(--spacing-md);
        border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    /* Force navbar nav to stack vertically and align left */
    .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    /* Each nav item takes full width and aligns left */
    .navbar-nav .nav-item {
        width: 100%;
        text-align: left;
        margin: var(--spacing-xs) 0;
    }
    
    .navbar-nav .nav-link {
        display: inline-block;
        width: auto;
        text-align: left;
        padding: var(--spacing-sm) 0;
        margin: 0;
    }
    
    /* Remove the underline pseudo-element positioning issue */
    .navbar-nav .nav-link::after {
        bottom: -2px;
        left: 0;
        transform: none;
    }
    
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 30px;
    }
    
    /* WhatsApp button in mobile menu - align left */
    .navbar-nav .btn-wa-nav {
        display: inline-block;
        margin-top: var(--spacing-sm);
        text-align: center;
    }
    
    /* Fix brand text on small devices - ensure it's not truncated */
    .brand-text {
        font-size: 1.1rem;
        white-space: normal;
        line-height: 1.3;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .brand-text {
        font-size: 0.9rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .navbar-brand {
        gap: 6px;
    }
}

/* Ensure navbar-brand doesn't get squished */
@media (max-width: 380px) {
    .brand-text {
        font-size: 0.8rem;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
}

.navbar-nav .nav-link {
    color: var(--light);
    font-weight: var(--font-weight-medium);
    margin: 0 var(--spacing-sm);
    transition: var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.btn-wa-nav {
    background: #25D366;
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-fast);
    display: inline-block;
}

.btn-wa-nav:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('images/1000315092.jpg') center/cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(2,48,71,0.92) 0%, rgba(2,43,58,0.85) 100%);
}

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

.hero-badge {
    background: rgba(142,202,230,0.2);
    backdrop-filter: blur(10px);
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-xl);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 1px;
}

.hero-verse {
    color: var(--secondary);
}

/* Section Styles */
.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

.title-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: var(--spacing-md) auto 0;
    border-radius: var(--border-radius);
}

/* Pastors Section */
.pastors-section {
    padding: var(--spacing-xxxl) 0;
    background: var(--gray-50);
}

.pastor-card {
    background: var(--light);
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.pastor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.pastor-img-wrapper {
    overflow: hidden;
    height: 350px;
}

.pastor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.pastor-info {
    padding: var(--spacing-xl);
}

.pastor-info h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
}

.pastor-title {
    color: var(--primary);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
}

.pastor-social a {
    display: inline-block;
    margin: 0 var(--spacing-sm);
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition-fast);
}

.pastor-social a:hover {
    color: var(--primary);
}

/* Location Section */
.location-section {
    padding: var(--spacing-xxxl) 0;
}

.location-content h2 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
}

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

.info-item {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.info-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    color: var(--primary);
    font-size: 1.2rem;
}

/* Events Section */
.events-section {
    padding: var(--spacing-xxxl) 0;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--light) 100%);
}

.card-event {
    background: var(--light);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.event-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.event-icon i {
    font-size: 2rem;
    color: var(--light);
}

.event-list {
    list-style: none;
    padding: 0;
    margin-top: var(--spacing-lg);
}

.event-list li {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.event-list li i {
    width: 30px;
    color: var(--primary);
}

.btn-call, .btn-wa {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    margin-right: var(--spacing-md);
    transition: var(--transition-fast);
}

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

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

.btn-wa {
    background: #25D366;
    color: white;
}

.btn-wa:hover {
    background: #128C7E;
    color: white;
}

/* Gallery Preview */
.gallery-preview {
    padding: var(--spacing-xxxl) 0;
}

.gallery-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-normal);
    cursor: pointer;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ============================================ */
/* PACKAGES & GALLARY SECTIONS - COMPLETE FIXES */
/* ============================================ */

/* Packages Section (Leadership/Team Cards) */
.packages {
    padding: var(--spacing-xxxl) 0;
    background: var(--gray-50);
}

.packages .main-txt {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.packages .main-txt h1 {
    font-size: 2.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-md);
}

.packages .main-txt h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
}

.packages .card {
    border: none;
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    background: var(--light);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
}

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

.packages .card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.packages .card-body {
    padding: var(--spacing-xl);
    text-align: center;
}

.packages .card-body h3 {
    font-size: 1.35rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.packages .card-body p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}


/* ============================================ */
/* IMAGE CLARITY FIXES FOR SMALL DEVICES        */
/* ============================================ */

/* Base image optimization - ensures crisp images on all devices */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Maintain aspect ratio and prevent distortion */
    object-fit: cover;
}

/* Force high-quality image rendering */
.packages .card img,
.gallary .card img,
.pastor-img,
.gallery-thumb,
.hero-section {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
}

/* Specific fix for small devices - improves image clarity */
@media (max-width: 768px) {
    /* Prevent image scaling that causes blurriness */
    .packages .card img,
    .gallary .card img,
    .pastor-img,
    .gallery-thumb {
        width: 100%;
        height: auto;
        min-height: 180px;
        object-fit: cover;
        /* Force hardware acceleration for smoother rendering */
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    /* Ensure hero background image is crisp */
    .hero-section {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll; /* Better than fixed on mobile */
    }
    
    /* Fix for any distorted images in cards */
    .card img {
        width: 100%;
        height: auto;
        min-height: 160px;
        object-fit: cover;
    }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    /* Optimize image display for very small screens */
    .packages .card img {
        min-height: 160px;
        /* Use contain for very small screens if cover cuts off important content */
        object-fit: cover;
    }
    
    .gallary .card img {
        min-height: 140px;
        object-fit: cover;
    }
    
    .pastor-img-wrapper {
        height: auto;
        max-height: 280px;
    }
    
    .pastor-img {
        height: auto;
        min-height: 220px;
        object-fit: cover;
    }
    
    /* Improve gallery thumbnails on mobile */
    .gallery-thumb {
        height: auto;
        min-height: 120px;
        object-fit: cover;
    }
}

/* Tablet devices (768px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .packages .card img {
        height: 240px;
        object-fit: cover;
    }
    
    .pastor-img-wrapper {
        height: 300px;
    }
}

/* High-DPI (Retina) screens - serve crisper images */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .packages .card img,
    .gallary .card img,
    .pastor-img,
    .gallery-thumb {
        /* Hint for browsers to use higher quality scaling */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Prevent layout shift and ensure images load properly */
picture,
img {
    display: block;
}

/* Lazy loading images get proper sizing */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

/* Fix for gallery preview images */
.gallery-preview .row [class*="col-"] {
    margin-bottom: var(--spacing-md);
}

/* Ensure consistent image sizing across all cards */
.card-img-top {
    width: 100%;
    object-fit: cover;
}

/* Responsive adjustments for Packages and Gallary */
@media (max-width: 768px) {
    .packages .main-txt h1,
    .gallary .main-txt h1 {
        font-size: 1.6rem;
    }
    
    .packages .card-body {
        padding: var(--spacing-lg);
    }
    
    .packages .card-body h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .packages .main-txt h1,
    .gallary .main-txt h1 {
        font-size: 1.4rem;
    }
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding-top: var(--spacing-xxxl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
}

.footer h4, .footer h5 {
    color: var(--light);
    margin-bottom: var(--spacing-lg);
}

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

.footer-links li, .footer-contact li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: var(--spacing-sm);
}

.footer-contact i {
    width: 30px;
    margin-right: var(--spacing-sm);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    text-align: center;
    line-height: 40px;
    margin-right: var(--spacing-sm);
    color: var(--light);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-hr {
    border-color: rgba(255,255,255,0.1);
    margin: var(--spacing-xl) 0;
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: var(--transition-normal);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

.whatsapp-icon {
    font-size: 2rem;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 75px;
}

/* ============================================ */
/* MOBILE LINK STYLES - SMALLER ON SMALL DEVICES */
/* ============================================ */

/* Base link styles - normal size by default */
a:not(.btn):not(.nav-link):not(.social-icons a):not(.whatsapp-float):not(.btn-wa-nav):not(.btn-call):not(.btn-wa) {
    font-size: 1rem;
    transition: var(--transition-fast);
}

/* Make links smaller on mobile devices */
@media (max-width: 768px) {
    a:not(.btn):not(.nav-link):not(.social-icons a):not(.whatsapp-float):not(.btn-wa-nav):not(.btn-call):not(.btn-wa) {
        font-size: 0.875rem;
    }
    
    /* Footer links specifically */
    .footer-links a {
        font-size: 0.875rem;
    }
    
    /* Pastor social links */
    .pastor-social a {
        font-size: 0.875rem;
    }
    
    /* Event list links */
    .event-list a {
        font-size: 0.875rem;
    }
    
    /* Info item links */
    .info-item a {
        font-size: 0.875rem;
    }
}

/* Even smaller on very small devices */
@media (max-width: 480px) {
    a:not(.btn):not(.nav-link):not(.social-icons a):not(.whatsapp-float):not(.btn-wa-nav):not(.btn-call):not(.btn-wa) {
        font-size: 0.8125rem;
    }
    
    .footer-links a {
        font-size: 0.8125rem;
    }
}

/* Keep buttons at appropriate size (not affected by the above) */
.btn, 
.btn-call, 
.btn-wa, 
.btn-wa-nav,
.whatsapp-float,
.nav-link,
.social-icons a {
    font-size: inherit; /* Maintain their own font sizes */
}

/* Keep WhatsApp tooltip readable */
.whatsapp-tooltip {
    font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .pastor-info h3 {
        font-size: 1.2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        font-size: 1.5rem;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Page Header for inner pages */
.page-header {
    background: var(--gradient-primary);
    padding: var(--spacing-xxxl) 0;
    color: var(--light);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--spacing-md);
}

/* Content Cards */
.content-card {
    background: var(--light);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-fast);
}

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

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-fast);
}

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

/* Container fixes for Bootstrap compatibility */
.container {
    max-width: 1200px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Row fix for Bootstrap columns */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

/* Column padding fix */
[class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}

/* Ensure cards in packages section have consistent height */
.packages .col-md-4,
.gallary .col-md-4 {
    display: flex;
    margin-bottom: var(--spacing-lg);
}

.packages .col-md-4 .card,
.gallary .col-md-4 .card {
    width: 100%;
}

/* Fix for card image overflow */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--light);
    background-clip: border-box;
}

.card img {
    flex-shrink: 0;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-light);
}

/* Utility classes */
.text-center {
    text-align: center;
}

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

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.mb-3 {
    margin-bottom: var(--spacing-md) !important;
}

.mb-4 {
    margin-bottom: var(--spacing-lg) !important;
}

.mb-5 {
    margin-bottom: var(--spacing-xxl) !important;
}

.mt-4 {
    margin-top: var(--spacing-lg) !important;
}

.mt-5 {
    margin-top: var(--spacing-xxl) !important;
}

.py-3 {
    padding-top: var(--spacing-md) !important;
    padding-bottom: var(--spacing-md) !important;
}

/* Image placeholder fallback */
img {
    max-width: 100%;
    height: auto;
}

/* Current year script support */
.current-year {
    display: inline-block;
}