/* ==================== Root Variables ==================== */
:root {
    --primary-dark: #8b1377;
    --primary: #c44bba;
    --primary-light: #e600c0; 
    --primary-gradient: linear-gradient(135deg, #c44bba 0%, #dc7ae9 100%);
    
    /* Secondary Colors - From Logo */
    --secondary-dark: #25D366;
    --secondary: #07f713ad;
    --secondary-light: #5b8619; 
    --secondary-gradient: linear-gradient(135deg, #54f754 0%, #54d871 100%);
    
    /* Tertiary Colors - From Logo */
    --tertiary-dark: #1E90FF; 
    --tertiary: #87CEEB;
    --tertiary-light: #B0E0E6;
    --tertiary-gradient: linear-gradient(135deg, #1E90FF 0%, #87CEEB 100%);
    
    /* Supporting Colors */
    --success: #7efc00a9;
    --info: #87CEEB;
    --warning: #CD5C5C;
    --danger: #CD5C5C;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gray: #95a5a6;
    --white: #ffffff;
    --black: #000000;
    
    /* Background Colors */
    --bg-light: #f9f9f9;
    --bg-dark: #2c3e50;
    
    /* Text Colors */
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --text-muted: #7f8c8d;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-repeat:no-repeat;
    background-attachment:cover;
    
}

body {
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* ==================== Top Bar ==================== */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    position: relative;
    z-index: 1000;
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-info a:hover {
    color: var(--secondary-dark);
    transform: translateY(-1px);
}

.contact-info i {
    font-size: 0.9rem;
}

/* Top Marquee Styles */
.top-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.marquee-content:hover {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-bar {
        padding: 5px 0;
    }
    
    .marquee-content {
        font-size: 0.75rem;
    }
    
    .contact-info {
        gap: 10px;
        font-size: 0.7rem;
    }
    
    .contact-info a {
        padding: 0 5px;
    }
}

@media (max-width: 576px) {
    .marquee-content {
        font-size: 0.75rem;
    }
    
    .marquee-content i {
        font-size: 0.75rem;
    }
}

/* For very small screens, hide icons in contact info */
@media (max-width: 480px) {
    .contact-info i {
        display: none;
    }
}
/* ==================== Mobile Navigation Styles (Hide desktop navigation on mobile) ==================== */
@media (max-width: 991px) {
    .navbar-collapse {
        display: none !important;
    }
    
    .navbar-toggler {
        display: block !important;
    }
}

/* Show desktop navigation on desktop */
@media (min-width: 992px) {
    .navbar-toggler,
    .mobile-nav-overlay,
    .mobile-nav-menu {
        display: none !important;
    }
    
    .navbar-collapse {
        display: flex !important;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    color: var(--secondary);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation Menu (Slides from left) */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: auto;
    height: 100%;
    background: var(--dark);
    z-index: 2001;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.mobile-nav-menu.active {
    left: 0;
}

/* Mobile Navigation Header */
.mobile-nav-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-gradient);
}

.mobile-nav-header h4 {
    margin: 0;
    color: white;
    font-size: 1.2rem;
}

.mobile-nav-header h4 i {
    margin-right: 10px;
}

.mobile-nav-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Mobile Navigation Links */
.mobile-nav-links {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-link {
    display: block;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border-left: 3px solid transparent;
}

.mobile-nav-link i {
    margin-right: 12px;
    width: 25px;
    text-align: center;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
    color: var(--secondary);
}

.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--secondary);
    color: var(--secondary);
}

/* Mobile Navigation Footer */
.mobile-nav-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-nav-footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.mobile-nav-footer .social-icons a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.mobile-nav-footer .social-icons a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.mobile-nav-footer p {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== Dropdown Menu Styling ==================== */
.dropdown-menu {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    margin-top: 12px;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    transform: rotate(45deg);
    border-radius: 3px;
}

.dropdown-item {
    color: #ecf0f1;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #c44bba 0%, #dc7ae9 100%);
    color: white;
    padding-left: 28px;
}

.dropdown-item i {
    width: 20px;
    transition: transform 0.3s ease;
}

.dropdown-item:hover i {
    transform: translateX(3px);
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* Navbar dropdown toggle styling */
.nav-item.dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item.dropdown .dropdown-toggle i {
    font-size: 14px;
}

.nav-item.dropdown .dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.nav-item.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Hover effect for dropdown - shows on hover instead of click */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-nav .dropdown-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Mobile menu staff section styling */
.mobile-nav-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    margin: 15px 20px;
}

.mobile-nav-link i {
    width: 25px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .dropdown-menu {
        background: rgba(44, 62, 80, 0.95);
        backdrop-filter: blur(10px);
        margin-top: 0;
    }
    
    .dropdown-item {
        padding: 12px 24px;
    }
    
    .dropdown-menu::before {
        display: none;
    }
}

/* ==================== Hover Dropdown Menu for Desktop ==================== */

/* Desktop view only (992px and above) */
@media (min-width: 992px) {
    /* Make dropdown appear on hover */
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
    }
    
    /* Initially hide dropdown menu */
    .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        margin-top: 10px;
        pointer-events: none;
    }
    
    /* Make dropdown menu clickable when visible */
    .navbar-nav .dropdown:hover .dropdown-menu {
        pointer-events: auto;
    }
    
    /* Rotate the dropdown arrow on hover */
    .navbar-nav .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }
    
    /* Smooth transition for the dropdown toggle */
    .navbar-nav .dropdown .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    /* Optional: Add a delay to prevent accidental hovers */
    .navbar-nav .dropdown-menu {
        transition-delay: 0.1s;
    }
    
    /* Keep dropdown visible when moving mouse to the dropdown menu */
    .navbar-nav .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* Mobile/Tablet view - keep click behavior for touch devices */
@media (max-width: 991px) {
    .navbar-nav .dropdown .dropdown-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        position: static;
        float: none;
        background: rgba(44, 62, 80, 0.95);
        margin-top: 0;
    }
    
    .navbar-nav .dropdown.show .dropdown-menu {
        display: block;
    }
    
    .navbar-nav .dropdown .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .navbar-nav .dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ==================== Hero Buttons Hide on Mobile ==================== */
/* Hide hero buttons on mobile and tablet devices */
@media (max-width: 768px) {
    .hero-btn {
        display: none !important;
    }
    
    .hero-content .btn {
        display: none !important;
    }
    
    .hero-content .btn:first-child {
        display: inline-block !important;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .hero-btn {
        display: none !important;
    }
    
    .hero-content .btn {
        display: none !important;
    }
}

/* For tablets in landscape mode, you might want to show smaller buttons */
@media (min-width: 993px) {
    .hero-btn {
        display: inline-block !important;
    }
}

/* Alternative: Make buttons smaller on tablets if you want to keep them */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content .btn {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
}

/* ==================== Navbar Search Input ==================== */
.search-nav-item {
    margin-left: 10px;
}

.navbar-search-form {
    display: flex;
    align-items: center;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-search-input {
    padding: 3px 35px 3px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.85rem;
    width: 180px;
    transition: all 0.3s ease;
}

.navbar-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.navbar-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary);
    width: 220px;
}

.navbar-search-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    font-size: 0.85rem;
}

.navbar-search-btn:hover {
    color: var(--secondary);
}

/* Responsive search input */
@media (max-width: 1200px) {
    .navbar-search-input {
        width: 150px;
    }
    
    .navbar-search-input:focus {
        width: 170px;
    }
}

@media (max-width: 992px) {
    .search-nav-item {
        display: none !important;
    }
}

/* ==================== Mobile Search ==================== */
.mobile-search-wrapper {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-search-form {
    width: 100%;
}

.mobile-search-group {
    position: relative;
    width: 100%;
}

.mobile-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
}

.mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mobile-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary);
}

.mobile-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-search-btn:hover {
    color: var(--secondary);
}

/* ==================== Search Results Styles ==================== */
.search-category-section {
    margin-bottom: 50px;
}

.search-category-section h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.search-result-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.result-category {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.result-category.news {
    background: #e3f2fd;
    color: #1976d2;
}

.result-category.service {
    background: #f3e5f5;
    color: var(--primary);
}

.search-result-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.search-result-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-result-card h3 a:hover {
    color: var(--primary);
}

.search-result-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.result-meta span {
    font-size: 0.8rem;
    color: #999;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-dark);
    gap: 5px;
}

.no-results {
    padding: 60px 20px;
}

.no-results i {
    opacity: 0.5;
}

.search-form-inline .search-input-group {
    display: flex;
    gap: 10px;
}

.search-form-inline .form-control {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
}

.search-form-inline .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 75, 186, 0.1);
}

.search-form-inline .btn-primary {
    padding: 12px 30px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .search-category-section h2 {
        font-size: 1.3rem;
    }
    
    .search-result-card {
        padding: 15px;
    }
    
    .result-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-form-inline .search-input-group {
        flex-direction: column;
    }
    
    .search-form-inline .btn-primary {
        width: 100%;
    }
}

.navbar{background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);}

/* ==================== Logo Styles ==================== */
.navbar-brand {
    padding: 5px 0;
    transition: all 0.3s ease;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    letter-spacing: 0.5px;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--secondary-light);
    letter-spacing: 0.3px;
}

/* Hover effect */
.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.navbar-brand:hover .brand-name {
    color: var(--secondary);
}

/* ==================== Mobile Logo Styles ==================== */
.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-gradient);
}

.mobile-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
}

.mobile-logo-wrapper h4 {
    margin: 0;
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

.mobile-tagline {
    margin: 0;
    font-size: 0.65rem;
    color: var(--secondary-light);
}

/* ==================== Footer Logo Styles ==================== */
.footer-logo-wrapper {
    text-align: left;
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo-wrapper h5 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* ==================== Responsive Logo Styles ==================== */
@media (max-width: 768px) {
    .navbar-logo {
        height: 35px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .brand-tagline {
        font-size: 0.6rem;
    }
    
    .logo-wrapper {
        gap: 8px;
    }
    
    .footer-logo {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 30px;
    }
    
    .brand-name {
        font-size: 0.9rem;
    }
    
    .brand-tagline {
        font-size: 0.55rem;
    }
    
    .logo-wrapper {
        gap: 6px;
    }
    
    .mobile-logo {
        width: 35px;
        height: 35px;
    }
    
    .mobile-logo-wrapper h4 {
        font-size: 0.9rem;
    }
    
    .mobile-tagline {
        font-size: 0.6rem;
    }
}

/* For tablets */
@media (min-width: 769px) and (max-width: 992px) {
    .navbar-logo {
        height: 40px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
}

/* Animation for logo */
@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.navbar-brand {
    animation: fadeInLogo 0.5s ease-out;
}
/* ==================== Hero Slider - Mobile Optimized ==================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    text-align: center;
    height: 100vh;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Hero content styling */
.hero-content {
    color: white;
    animation: fadeInUp 1s ease-out;
    width: 100%;
    padding: 0 15px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ==================== Mobile Hero Fixes ==================== */
@media (max-width: 992px) {
    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-slide {
        height: 80vh;
        background-attachment: scroll !important;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 400px;
        max-height: 550px;
    }
    
    .hero-slide {
        height: 70vh;
        max-height: 550px;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 60vh;
        min-height: 350px;
        max-height: 450px;
    }
    
    .hero-slide {
        height: 60vh;
        max-height: 450px;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .hero-slider,
    .hero-slide {
        background-attachment: scroll;
        height: 70vh;
    }
    
    @media (max-width: 768px) {
        .hero-slider,
        .hero-slide {
            height: 60vh;
        }
    }
}

/* Fix for landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-slider {
        height: 100vh;
        min-height: 350px;
        max-height: 450px;
    }
    
    .hero-slide {
        height: 100vh;
        max-height: 450px;
    }
    
    .hero-content h1 {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 0.75rem;
    }
}

/* Hero Navigation */
.hero-prev, .hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(205,92,92,0.5);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.5rem;
}

.hero-prev:hover, .hero-next:hover {
    background: var(--secondary);
    color: white;
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary);
    width: 30px;
    border-radius: 10px;
}

/* ==================== Section with Background ==================== */
.section-with-bg {
    background-size: cover;
    background-position: center;
    background-attachment: scroll !important;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
    width: 100%;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-with-bg.visible {
    opacity: 1;
    transform: translateY(0);
}
.section-with-bg.dark-overlay {
    position: relative;
}

.section-with-bg.dark-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.section-with-bg.dark-overlay .container {
    position: relative;
    z-index: 1;
}
.section-header {
    margin-bottom: 50px;
}

/* Service Cards */
.service-card {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.service-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.service-description {
    color: #666;
    margin-bottom: 20px;
}

/* Mission & Vision Cards */
.mission-card, .vision-card {
    background: rgba(255,255,255,0.95);
    max-width: auto;
    border-radius: 15px;
    padding: 40px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Impact Counters */
.impact-counter {
    text-align: center;
    color: white;
    padding: 30px;
    background: rgba(0,0,0,0.5);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.impact-counter:hover {
    transform: scale(1.05);
    background: rgba(0,0,0,0.7);
}

.counter-number {
    font-size: 3rem;
    font-weight: bold;
    margin: 10px 0;
}

/* Call to Action Section */
/* .cta-section {
    background: var(--primary-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1%, transparent 1%);
    background-size: 50px 50px;
    animation: shimmer 20s linear infinite;
} */

@keyframes shimmer {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* ==================== Partners Section ==================== */
.partners-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    padding: 80px 0;
}

.partner-slider {
    margin: 0 -15px;
}

.partner-item {
    padding: 15px;
    transition: all 0.3s ease;
}

.partner-logo-wrapper {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.partner-logo-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.partner-logo {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-item h6 {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 10px;
}

/* Slick Carousel Custom Styles */
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.slick-prev:hover, .slick-next:hover {
    background: var(--secondary);
}

.slick-prev:before, .slick-next:before {
    font-size: 20px;
    color: white;
}

.slick-prev {
    left: -50px;
}

.slick-next {
    right: -50px;
}

/* ==================== Page Hero Section ==================== */

.page-hero {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    margin-top: 0;
}

/* Mobile-specific fixes for page hero */
@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .page-hero .hero-content {
        padding: 60px 0;
    }
    
    .page-hero .display-3 {
        font-size: 1.8rem;
    }
    
    .page-hero .lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        min-height: 250px;
    }
    
    .page-hero .hero-content {
        padding: 40px 0;
    }
    
    .page-hero .display-3 {
        font-size: 1.5rem;
    }
    
    .page-hero .lead {
        font-size: 0.9rem;
    }
    
    .page-hero .breadcrumb {
        font-size: 0.8rem;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .page-hero {
        background-attachment: scroll;
        min-height: 350px;
    }
}

.page-hero .hero-content {
    padding: 80px 0;
}

.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-top: 20px;
}

.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-hero .breadcrumb-item a:hover {
    color: var(--secondary);
}

.page-hero .breadcrumb-item.active {
    color: var(--secondary);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
    content: "›";
}

/*========== Story Section =========== */
.story-section-minimal {
    padding: 100px 0;
    width: 100%;
    overflow-x: hidden;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.story-content-minimal {
    max-width: 1200px;
    margin: 0 auto; 
    padding: 0 20px;
}

.story-content-minimal-full {
    width: 100%;
    padding: 0 40px; /
}

.story-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    text-align: center;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.story-text-minimal {
    text-align: justify;
    line-height: 1.8;
    color: #555;
    width: 100%;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.story-quote {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    width: 100%;
}

.story-quote i {
    color: var(--primary);
    opacity: 0.5;
    font-size: 1.5rem;
}

.story-quote i:first-child {
    margin-right: 15px;
    vertical-align: middle;
}

.story-quote i:last-child {
    margin-left: 15px;
    vertical-align: middle;
}

.story-quote p {
    display: inline;
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
    margin: 0;
}

.story-section-minimal.full-width-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Responsive design */
@media (max-width: 768px) {
    .story-section-minimal {
        padding: 60px 0;
    }
    
    .story-content-minimal {
        padding: 0 15px;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .story-quote p {
        font-size: 1rem;
        display: block;
        margin: 15px 0;
    }
    
    .story-quote i:first-child,
    .story-quote i:last-child {
        display: block;
        margin: 10px 0;
    }
}

/*============== Responsive ===================*/
@media (min-width: 1400px) {
    .story-content-minimal {
        max-width: 1400px;
    }
}

/* ==================== What We Do Section ==================== */
.what-we-do-section {
    padding: 80px 0;
}

.program-area {
    margin-bottom: 80px;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.program-area:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.program-icon {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.program-content h3 {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.program-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.initiative-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid var(--primary);
}

.initiative-box h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.initiative-box h4 i {
    margin-right: 10px;
}

.program-list {
    list-style: none;
    padding: 0;
}

.program-list li {
    padding: 8px 0;
    color: #555;
}

.program-list li i {
    color: var(--primary);
    margin-right: 10px;
}

.program-highlights {
    margin: 20px 0;
}

.highlight-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 10px;
}

.program-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .program-area {
        margin-bottom: 40px;
    }
    
    .program-content h3 {
        font-size: 1.5rem;
        margin-top: 20px;
    }
    
    .program-image {
        margin-bottom: 20px;
    }
    
}

/* ==================== Mission & Vision Cards ==================== */
.mission-card, .vision-card {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 40px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    margin-bottom: 20px;
    color: var(--primary);
}

.stat-box i{
    color: var(--primary);
}
.mission-points p, .vision-points p {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .experience-badge {
        font-size: 0.5rem;
        bottom: -20px;
        right: -10px;
    }
}

/* ==================== Values Cards ==================== */
.value-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.value-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ==================== Team Slider Styles ==================== */
.team-slider {
    margin: 0 -15px;
    position: relative;
}

.team-slide {
    padding: 15px;
    transition: all 0.3s ease;
}

/* Slick Carousel customization for team slider */
.team-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.team-slider .slick-slide {
    height: auto;
}

.team-slider .slick-slide > div {
    height: 100%;
}

/* Team slider navigation arrows */
.team-slider .slick-prev,
.team-slider .slick-next {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.team-slider .slick-prev:hover,
.team-slider .slick-next:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.team-slider .slick-prev:before,
.team-slider .slick-next:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 20px;
    color: white;
    opacity: 1;
}

.team-slider .slick-prev:before {
    content: '\f053';
}

.team-slider .slick-next:before {
    content: '\f054';
}

.team-slider .slick-prev {
    left: -25px;
}

.team-slider .slick-next {
    right: -25px;
}

/* Team slider dots */
.team-slider .slick-dots {
    bottom: -40px;
}

.team-slider .slick-dots li button:before {
    font-size: 12px;
    color: white;
    opacity: 0.5;
}

.team-slider .slick-dots li.slick-active button:before {
    color: var(--secondary);
    opacity: 1;
}

/* Responsive adjustments for team slider */
@media (max-width: 1200px) {
    .team-slider .slick-prev {
        left: -15px;
    }
    
    .team-slider .slick-next {
        right: -15px;
    }
}

@media (max-width: 992px) {
    .team-slider .slick-prev,
    .team-slider .slick-next {
        width: 35px;
        height: 35px;
    }
    
    .team-slider .slick-prev:before,
    .team-slider .slick-next:before {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .team-slider .slick-prev {
        left: -10px;
    }
    
    .team-slider .slick-next {
        right: -10px;
    }
    
    .team-slider .slick-prev,
    .team-slider .slick-next {
        width: 30px;
        height: 30px;
    }
    
    .team-slider .slick-prev:before,
    .team-slider .slick-next:before {
        font-size: 14px;
    }
    
    .team-slider .slick-dots {
        bottom: -30px;
    }
}

/* ==================== Team Cards ==================== */
.team-card {
   background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.team-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.default-avatar {
    background: var(--primary-gradient);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    padding: 10px;
    text-align: center;
    transition: bottom 0.3s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: white;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--secondary);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-info .position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-info .bio {
    color: #666;
    font-size: 0.9rem;
}

/* ==================== Service Detailed Cards ==================== */
.service-detailed-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.service-detailed-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-icon-large {
    color: var(--primary);
    margin-bottom: 20px;
}

.service-features ul {
    text-align: left;
    margin-top: 20px;
}

.service-features li {
    margin-bottom: 10px;
    color: #666;
}

/* ==================== Process Steps ==================== */
.process-step {
    position: relative;
    padding: 30px 20px;
    background: rgba(205,92,92,0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    background: rgba(124,252,0,0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
}

.step-icon {
    color: var(--secondary);
    margin-bottom: 20px;
}

.process-step h4 {
    margin: 15px 0;
    color: white;
}

.process-step p {
    color: rgba(255,255,255,0.8);
}

/*======= Executive Section Specific Styles =========*/
.executive-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: justify;
}

.executive-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.executive-card:hover {
    transform: translateY(-5px);
}

.executive-image-wrapper {
    position: relative;
}

.executive-img {
    width: 100%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.executive-img:hover {
    transform: scale(1.02);
}

.executive-title-card {
    border-left: 4px solid var(--primary-color, #0d6efd);
    transition: all 0.3s ease;
}

.executive-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.executive-position {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.executive-message {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.message-opening .lead {
    font-size: 1.35rem;
    line-height: 1.5;
    color: #334155;
}

.message-body p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
}

.executive-signature {
    font-style: normal;
}

.signature-name {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Georgia', serif;
    color: #1e293b;
    letter-spacing: 0.5px;
}

.signature-title {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 4px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .executive-card {
        padding: 30px;
    }
    
    .executive-name {
        font-size: 1.3rem;
    }
    
    .message-opening .lead {
        font-size: 1.2rem;
    }
    
    .message-body p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .executive-section {
        padding: 60px 0;
    }
    
    .executive-card {
        padding: 25px;
    }
    
    .executive-image-wrapper {
        max-width: 300px;
        margin: 0 auto 20px auto;
    }
    
    .executive-title-card {
        margin-top: 1rem !important;
    }
    
    .message-opening .lead {
        font-size: 1.1rem;
    }
    
    .signature-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .executive-card {
        padding: 20px;
    }
    
    .section-header .display-4 {
        font-size: 2rem;
    }
}

/* Animation for AOS */
[data-aos="fade-right"] {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-aos="fade-left"] {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==================== Testimonial Cards ==================== */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.author-avatar {
    color: var(--primary);
}

.author-info h5 {
    margin: 0;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

/* ==================== Contact Cards ==================== */
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.contact-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 15px;
}

/* ==================== Contact Form ==================== */
.contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    height: 720px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.office-hours {
    margin: 30px 0;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.hours-item .day {
    font-weight: 500;
}

.hours-item .time {
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.emergency-phone {
    font-size: 1.2rem;
    font-weight: 500;
}

/* ==================== Map Section ==================== */
.map-section iframe {
    display: block;
    width: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.map-section iframe:hover {
    filter: grayscale(0%);
}

/* ==================== Responsive Adjustments ==================== */
@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
    }
    
    .page-hero .hero-content {
        padding: 60px 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .story-section, .section-with-bg {
        padding: 60px 0;
    }
    
    .experience-badge {
        width: 70px;
        height: 70px;
    }
    
    .experience-badge h3 {
        font-size: 1.2rem;
    }
    
    .experience-badge p {
        font-size: 0.6rem;
    }
    
    .contact-form-card, .contact-info-card {
        padding: 30px;
    }
    .contact-info-card{
        height: auto;
    }
     .team-image {
         aspect-ratio: 4 / 3;
    }
    .hero-content a{
        display:hidden;
    }
}

@media (max-width: 576px) {
    .mission-card, .vision-card {
        padding: 30px;
    }
    
    .value-card {
        padding: 20px;
    }
    
    .process-step {
        padding: 20px;
    }
    .team-image {
        aspect-ratio: 1 / 1;
    }
}

@supports not (aspect-ratio: 4/3) {
    .team-image {
        padding-bottom: 75%; /* 4:3 fallback */
    }
    .team-image img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

/* ==================== Who We Are Section ==================== */
.who-we-are-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Gradient background wrapper for the image column */
.who-we-are-image-wrapper {
    position: relative;
    padding: 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(196, 75, 186, 0.1) 0%, rgba(220, 122, 233, 0.1) 50%, rgba(84, 247, 19, 0.05) 100%);
    transition: all 0.4s ease;
}

.who-we-are-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #c44bba, #dc7ae9, #54f754, #1E90FF);
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.who-we-are-image-wrapper:hover::before {
    opacity: 1;
}

.who-we-are-image-wrapper:hover {
    transform: translateY(-5px);
}

.who-we-are-image {
    position: relative;
    text-align: center;
    background: white;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.who-we-are-image img {
    max-width: 80%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.who-we-are-image img:hover {
    transform: scale(1.02);
}

.established-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #c44bba, #dc7ae9);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 3;
}

.established-badge i {
    margin-right: 8px;
}

.who-we-are-content {
    padding: 20px;
    text-align: justify;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #c44bba, #dc7ae9);
    margin-top: 10px;
    border-radius: 2px;
}

.who-we-are-stats {
    margin-top: 30px;
}

.stat-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 75, 186, 0.1), rgba(220, 122, 233, 0.1));
    transition: left 0.3s ease;
    z-index: 0;
}

.stat-item:hover::before {
    left: 0;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #c44bba;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Decorative elements */
.who-we-are-image-wrapper::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(196, 75, 186, 0.1), transparent);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    pointer-events: none;
}

/* Gradient text effect for headings */
.who-we-are-content .section-header {
    background: linear-gradient(135deg, #00000094, #00000086);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .who-we-are-section {
        padding: 50px 0;
    }
    
    .who-we-are-image-wrapper {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .who-we-are-image img {
        max-width: 100%;
    }
    
    .established-badge {
        bottom: 20px;
        right: 20px;
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .who-we-are-content {
        text-align: justify;
        padding: 0;
    }
    
    .section-header.text-start {
        text-align: center !important;
    }
    
    .title-underline {
        margin: 10px auto;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}

/* Animation delays for stats */
.who-we-are-stats .col-4:nth-child(1) .stat-item {
    animation-delay: 0.1s;
}

.who-we-are-stats .col-4:nth-child(2) .stat-item {
    animation-delay: 0.2s;
}

.who-we-are-stats .col-4:nth-child(3) .stat-item {
    animation-delay: 0.3s;
}

/* Additional gradient variations on hover */
.who-we-are-image-wrapper:hover .who-we-are-image {
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(245,245,245,1));
}

/* Floating animation for the image */
@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.who-we-are-image-wrapper {
    animation: floatImage 4s ease-in-out infinite;
}

/* ==================== WhatsApp Button ==================== */
.whatsapp-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background: #128C7E;
    color: white;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
/* ==================== Donation Page Styles ==================== */
.impact-card {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.donation-form-card,
.donation-info-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    height: 100%;
}

.payment-option {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-option:hover {
    border-color: var(--primary);
    background: rgba(196, 75, 186, 0.05);
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option input[type="radio"]:checked + .payment-label {
    color: var(--primary);
}

.payment-label {
    cursor: pointer;
    margin: 0;
    width: 100%;
    display: block;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-item, .impact-card i{
    color: var(--primary);
}

.donor-slider {
    margin: 0 -15px;
}

.donor-item {
    padding: 20px;
    text-align: center;
}

.donor-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Payment method cards */
.btn-check:checked + .btn-outline-primary {
    background: var(--primary);
    color: white;
}

.api-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
    
/* Responsive */
@media (max-width: 768px) {
    .donation-form-card,
    .donation-info-card {
        padding: 25px;
    }
    
    .impact-card {
        padding: 20px;
    }
    
    .impact-card h3 {
        font-size: 1.2rem;
    }
}

/* ==================== Footer Styles ==================== */
footer {
    background: #1a1a2e !important;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--primary);;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: white;
}

.footer-links li a,
.footer-contact li span {
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}
.footer-contact i{
    color: var(--primary);
}
.newsletter-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.newsletter-form .form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--primary);
    box-shadow: none;
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .btn-primary {
    background: var(--primary);
    border: none;
}

.newsletter-form .btn-primary:hover {
    background: var(--secondary);
}

hr.bg-secondary {
    opacity: 0.2;
}

/* Staff email link styling */
.footer-contact li i.fa-user-tie {
    color: var(--secondary);
}

.contact-info a i.fa-user-tie {
    color: var(--secondary);
}

/* Staff resources section */
.footer-links li a i {
    transition: transform 0.3s ease;
}

.footer-links li a:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-info {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .contact-info a {
        font-size: 0.7rem;
    }
}

/* Responsive adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 80px;
        right: 20px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .footer-logo {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 24px;
        bottom: 70px;
        right: 15px;
    }
}

/* ===== CHATBOT STYLES ===== */
.chatbot-btn {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: none;
    color: white;
    font-size: 28px;
}

.chatbot-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.chatbot-btn .notification-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 170px;
    left: 30px;
    width: 360px;
    max-width: calc(100vw - 40px);
    height: 380px;
    max-height: calc(100vh - 200px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 10000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chat-widget.open {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #1a5f7a, #0d3b4f);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.chat-header-text h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-header-text p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.chat-close:hover {
    transform: scale(1.1);
}

/* Messages Area */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    display: flex;
    animation: messageIn 0.3s ease;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-bot {
    justify-content: flex-start;
}

.message-user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.message-bot .message-bubble {
    background: white;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.message-user .message-bubble {
    background: #075e54;
    color: white;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 10px;
    margin-top: 4px;
    opacity: 0.6;
    display: block;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    background: white;
    border-radius: 18px;
    width: fit-content;
    border-bottom-left-radius: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* Chat Input Area */
.chat-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 10px 15px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: #075e54;
}

.chat-send-btn {
    background: #075e54;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-send-btn:hover {
    background: #0a6b5f;
}

.chat-send-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Quick Reply Buttons */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply-btn {
    background: #e9ecef;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.quick-reply-btn:hover {
    background: #dee2e6;
}

/* Responsive */
@media (max-width: 768px) {
    .chat-widget {
        width: auto;
        right: 20px;
        bottom: 140px;
        height: auto;
    }
    
    .chatbot-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 70px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .chat-widget {
        width: auto;
        right: 20px;
        bottom: 145px;
        height: auto;
    }
    
    .chatbot-btn {
        width: 44px;
        height: 44px;
        font-size: 24px;
        bottom: 70px;
        right: 15px;
    }
}
/* ==================== Loading Spinner ==================== */
#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.spinner-container {
    text-align: center;
    animation: fadeInScale 0.3s ease;
}

.spinner-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

.spinner-logo img {
    width: 100%;
    height: auto;
}

.spinner-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.spinner-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--primary) transparent transparent transparent;
}

.spinner-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.spinner-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.spinner-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

.spinner-text {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 20px;
    letter-spacing: 2px;
    animation: fadeInUp 0.5s ease;
}

.spinner-dots {
    display: inline-flex;
    gap: 4px;
    margin-left: 5px;
}

.spinner-dots span {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite;
}

.spinner-dots span:nth-child(1) { animation-delay: 0s; }
.spinner-dots span:nth-child(2) { animation-delay: 0.2s; }
.spinner-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.3;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

#loading-spinner.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Page transition fade */
.page-transition {
    animation: pageFade 0.5s ease;
}

@keyframes pageFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== Back to Top Button ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.back-to-top.show {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1200px) {
    .slick-prev {
        left: -30px;
    }
    
    .slick-next {
        right: -30px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-with-bg {
        padding: 60px 0;
    }
    
    .mission-card, .vision-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }
    
     .hero-slide {
        height: 70vh;
        background-size: cover;
        background-position: center center;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-prev, .hero-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .section-with-bg {
        background-attachment: scroll;
    }
    
    .slick-prev, .slick-next {
        width: 30px;
        height: 30px;
    }
    
    .slick-prev {
        left: -20px;
    }
    
    .slick-next {
        right: -20px;
    }
    .section-with-bg {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content .btn {
        display: block;
        width: 80%;
        margin: 10px auto;
    }
    
    .counter-number {
        font-size: 1.5rem;
    }
    
    .impact-counter {
        padding: 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

@supports (-webkit-touch-callout: none) {
    .section-with-bg,
    .impact-section,
    .mission-section,
    .hero-slide,
    .page-hero {
        background-attachment: scroll !important;
    }
}

p{
    text-align:justify;
    text-justify: inter-word;
    etter-spacing: -0.3px; /* Reduce letter spacing */
    word-spacing: -1px; 
}

.lead{
    text-align:inherit;
}


/* ==================== Fix Section Spacing ==================== */
.section-with-bg {
    padding: 60px 0;
    margin: 0;
    position: relative;
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}

.section-with-bg:first-of-type {
    padding-top: 60px;
}

.section-with-bg:last-of-type {
    padding-bottom: 60px;
}

/* Remove extra margins from specific sections */
.services-section,
.mission-section,
.impact-section,
.story-section,
.mission-vision-section,
.values-section,
.team-section,
.services-overview,
.process-section,
.testimonials-section,
.contact-info-section,
.contact-form-section,
.donation-impact,
.donation-form-section,
.recent-donors-section,
.partners-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

/* Adjust container spacing */
.container {
    padding-top: 0;
    padding-bottom: 0;
}

/* Fix hero section spacing */
.hero-slider {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Remove double margins from rows */
.row {
    margin-top: 0;
    margin-bottom: 0;
}

/* Fix card margins */
.service-card,
.mission-card,
.vision-card,
.value-card,
.team-card,
.testimonial-card,
.contact-card {
    margin-bottom: 0;
}

/* Remove extra spacing from last child */
.section-with-bg:last-child {
    padding-bottom: 60px;
}

/* Adjust page hero spacing */
.page-hero {
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-hero .hero-content {
    padding: 60px 0;
}

/* ==================== News Section Styles ==================== */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.news-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px;
    min-width: 50px;
}

.news-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-dark);
}

.news-excerpt {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.news-meta span {
    font-size: 0.8rem;
    color: #999;
}

.news-meta i {
    margin-right: 5px;
    color: var(--primary);
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    color: var(--secondary);
    gap: 10px;
}

.btn-outline-primary, .btn-primary{
    color: var(--bg-light);
    border-color: #8b1377;
    background-color: var(--primary);
}

.btn-outline-primary:hover {
    color: var(--bg-light);
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-primary:hover{
    color: var(--bg-light);
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* ==================== Responsive Buttons ==================== */
/* Make btn-lg responsive on mobile */
@media (max-width: 768px) {
    .btn-lg {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        border-radius: 8px !important;
    }
    
    /* Hero section buttons */
    .hero-content .btn-lg {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        margin: 0 5px !important;
    }
    
    /* View All buttons */
    .text-center .btn-lg {
        padding: 8px 20px !important;
        font-size: 0.85rem !important;
    }
    
    /* Donate page buttons */
    .donation-form-card .btn-lg,
    .contact-form-card .btn-lg {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    /* CTA section button */
    .cta-section .btn-lg {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
    }
    
    /* Submit buttons */
    button[type="submit"].btn-lg {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* For very small devices */
@media (max-width: 576px) {
    .btn-lg {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
    
    /* Stack buttons on mobile */
    .hero-content .btn-lg {
        display: none !important;
        width: 25% !important;
        margin: 8px auto !important;
    }
    
    .hero-content .btn-lg.ms-2 {
        margin-left: auto !important;
    }
    
    /* Center buttons in cards */
    .service-card .btn-read-more,
    .news-card .btn-read-more {
        display: inline-flex;
        justify-content: center;
    }
    
    /* Make buttons full width on very small screens */
    .donation-form-card .btn-lg,
    .contact-form-card .btn-lg,
    .cta-section .btn-lg {
        width: 100% !important;
    }
}

/* For tablets */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-content .btn-lg {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
    
    .hero-content .btn-lg.ms-2 {
        margin-left: 10px !important;
    }
}

/* For landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-content .btn-lg {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }
    
    .hero-content h1 {
        font-size: 1.5rem !important;
    }
    
    .hero-content p {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
    }
}

/* Button hover effects for touch devices */
@media (hover: none) and (pointer: coarse) {
    .btn-lg:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* News Detail Page */
.news-detail-card {
    background: white;
    text-align: justify;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-detail-image {
    margin-bottom: 30px;
}

.news-detail-image img {
    width: 100%;
    border-radius: 10px;
}

.news-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-detail-meta span {
    color: #666;
    font-size: 0.9rem;
}

.news-detail-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.news-detail-content {
    line-height: 1.8;
    color: #444;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-buttons span {
    color: #666;
}

.share-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-detail-card {
        padding: 25px;
        text-align: justify;
    }
    
    .news-detail-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .news-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .news-card {
        margin-bottom: 20px;
    }
    
    .news-title {
        font-size: 1rem;
    }
}

/* ==================== Pagination Styles ==================== */
.pagination-wrapper {
    margin-top: 40px;
}

.pagination {
    gap: 8px;
    flex-wrap: wrap;
}

.page-item {
    margin: 0;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: white;
    border: 1px solid #e0e0e0;
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.pagination-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .page-link {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
    
    .pagination {
        gap: 5px;
    }
}

@media (max-width: 576px) {
    .page-link {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .pagination-wrapper {
        margin-top: 30px;
    }
    
    .pagination-info p {
        font-size: 0.8rem;
    }
}


/* ==================== Toast Notification Styles ==================== */
.toast-notification-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    max-width: 380px;
    width: 100%;
}

.toast-notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    overflow: hidden;
    animation: slideInRight 0.3s ease forwards;
    border-left: 4px solid;
    position: relative;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-notification.hiding {
    animation: slideOutRight 0.3s ease forwards;
}

/* Toast types */
.toast-notification.success {
    border-left-color: #28a745;
}

.toast-notification.success .toast-icon {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.toast-notification.error {
    border-left-color: #dc3545;
}

.toast-notification.error .toast-icon {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.toast-notification.warning {
    border-left-color: #ffc107;
}

.toast-notification.warning .toast-icon {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.toast-notification.info {
    border-left-color: #17a2b8;
}

.toast-notification.info .toast-icon {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

/* Toast content */
.toast-content {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    gap: 12px;
}

.toast-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.toast-message {
    flex: 1;
}

.toast-message h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.toast-message p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.toast-close:hover {
    color: #333;
}

/* Progress bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    background: var(--primary);
    animation: progress 3s linear forwards;
}

@keyframes progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .toast-notification-container {
        top: 70px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast-notification {
        margin-bottom: 10px;
    }
    
    .toast-content {
        padding: 12px;
    }
    
    .toast-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .toast-message h4 {
        font-size: 0.9rem;
    }
    
    .toast-message p {
        font-size: 0.8rem;
    }
}
/* Gallery Section Styles */
.gallery-section {
    overflow: hidden;
}

.gallery-item {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-view-btn {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b1377;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.gallery-item:hover .gallery-view-btn {
    transform: scale(1);
}

.gallery-view-btn:hover {
    background: #c44bba;;
    color: white;
    transform: scale(1.1);
}

.gallery-caption {
    font-size: 0.85rem;
    padding: 8px 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-section {
        padding: 50px 0;
    }
    
    .gallery-view-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        margin-bottom: 10px;
    }
}