/* Diocese of Bongaigaon - Modern Website Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* CSS Variables */
:root {
    --primary-color: #003d9b;
    --secondary-color: #DAA520;
    --accent-color: #CD853F;
    --success-color: #228B22;
    --warning-color: #FF8C00;
    --danger-color: #DC143C;
    --dark-color: #2F1B14;
    --light-color: #FFF8DC;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Christian Color Palette */
    --gold: #FFD700;
    --burgundy: #800020;
    --royal-blue: #4169E1;
    --cream: #FFFDD0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--gold) 100%);
    --gradient-overlay: linear-gradient(45deg, rgba(139, 69, 19, 0.8) 0%, rgba(218, 165, 32, 0.8) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(47, 27, 20, 0.8) 0%, rgba(139, 69, 19, 0.8) 100%);
    --gradient-donate: linear-gradient(135deg, #6a3f00 0%, #ffe98f 100%);

    /* 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 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
}

.slick-slide img {
    display: block;
    width: 100% !important;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: #242424;
    background-color: var(--white);
    overflow-x: hidden;
    letter-spacing: 0.5px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lora", serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 65px 0;
}

.bishop-message .section-title,
.stats-section .section-title {
    text-align: center;
}

.bishop-message .section-title h2 {
    color: #fff;
}

/* Section Titles */
.section-title {
    margin-bottom: 40px;
}

.section-title .subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    position: relative;
    font-size: 14px;
}

.section-title .subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary) !important;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.section-title .section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-donate {
    background: var(--gradient-donate);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* Top Header */
.top-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 0;
    font-size: 14px;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-info a {
    color: #fff !important;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
}

.social-links a {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 12px;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Logo Section */
.logo-section {
    background: var(--white);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
    background: url("../images/logo/header-bg.png") repeat;
    background-size: cover;

}

.diocese-logo img {
    width: 132px;
    height: 126px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);

    background-color: transparent;
}

.diocese-title h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}

.diocese-title .tagline {
    font-size: 1.1rem;
    color: #444444;
    margin-bottom: 15px;
    text-align: center;
    margin-bottom: 5px;
}

.color {
    color: #003d9b;
}

.diocese-motto {

    align-items: center;
    gap: 10px;
    color: #bb8600;
    font-weight: 500;
    text-align: center;
}

.diocese-motto i {
    font-size: 1.2rem;
}

/* Parish Stats */
.stats-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/home/quick-facts.png');

    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    box-shadow: inset 0 0 10px #ffffff;
    border-radius: 50px 30px;
}

@media (max-width: 1400px) {
    .res-hidden {
        display: none;
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Main Navigation */
.main-navigation {
    background: var(--primary-color) !important;
    padding: 0;
    box-shadow: var(--shadow-md);
}

.main-navigation .navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 13px 20px;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.main-navigation .navbar-nav .nav-link:hover,
.main-navigation .navbar-nav .nav-link.active {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

.main-navigation .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.main-navigation .navbar-nav .nav-link:hover::after,
.main-navigation .navbar-nav .nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-top: 0;
    background: var(--white);
}

.dropdown-item {
    padding: 12px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    color: var(--dark-color);
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.navbar-toggler {
    border: none;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(139, 69, 19, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-color);
    opacity: 1;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators button.active {
    background: var(--white);
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-content .lead {
    font-size: 17px;
    color: #242424;
    margin-bottom: 30px;
    font-weight: 400;
}

.about-features {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.feature-content p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.6;
}

.about-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    min-width: 120px;
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Bishop's Message */
.bishop-message {
    background-image: linear-gradient(rgb(0 0 0 / 19%), rgb(0 0 0 / 20%)), url(../images/home/bishop-img.png)
}

.bishop-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.bishop-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.bishop-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bishop-image:hover img {
    transform: scale(1.05);
}

.bishop-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bishop-content .quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

/* Programs & Events Section */
.programs-events-section {
    background: var(--gray-100);
}

.view-all a {
    background-color: #003d9b;
}

.programs-grid {
    margin-bottom: 80px;
}

.program-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.program-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.program-card:hover .program-overlay {
    opacity: 1;
}

.program-overlay i {
    font-size: 1.5rem;
    color: var(--white);
}

.program-content {
    padding: 30px;
}

.program-content h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.program-content p {
    margin-bottom: 20px;
    color: var(--gray-600);
    line-height: 1.6;
}

.program-features {
    list-style: none;
    margin: 20px 0;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--gray-600);
}

.program-features i {
    color: var(--success-color);
    font-size: 0.9rem;
}

/* Events Section */
.events-section h3 {
    color: var(--dark-color);
    margin-bottom: 40px;
    font-size: 2rem;
}

.event-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.event-content p {
    margin-bottom: 8px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-content i {
    color: var(--primary-color);
    width: 16px;
}

/* Bishop's Message Section */
.bishop-message-section {
    background: var(--white);
}

.bishop-image {
    position: relative;
    text-align: center;
}

.bishop-image img {
    width: 100%;
    max-width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.bishop-title {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: -50px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.bishop-title h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.bishop-title p {
    margin: 0;
    opacity: 0.9;
}

.bishop-content {
    padding-left: 40px;
}

.message-content blockquote {
    border: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -20px;
}

.message-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--gray-700);
    font-style: italic;
}

.bishop-signature {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--gray-200);
}

.signature {
    max-width: 150px;
    height: auto;
}

.bishop-info h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.bishop-info p {
    color: var(--gray-600);
    margin: 0;
    font-style: normal;
}

/* Donate Section */
.donate-section {
    position: relative;
    background: #fff;
    color: var(--white);
    overflow: hidden;
}

.donate-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,35 C25,25 15,25 15,35 C15,25 5,25 5,35 C5,45 25,55 25,55 C25,55 45,45 45,35 C45,25 35,25 35,35 C35,25 25,25 25,35 Z" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');
    opacity: 0.1;
}

.donate-section .section-title {
    position: relative;
    z-index: 2;
}

.donate-section .section-title .subtitle {
    color: #003d9b;
}

.donate-section .section-title .subtitle::after {
    background: var(--white);
}

.donate-section .section-title h2 {
    color: #080808;
}

.donate-section .section-desc {
    color: rgba(255, 255, 255, 0.9);
}

.donate-card {
    background: linear-gradient(135deg, #1873ff 0%, #02204e 100%);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.donate-content {
    padding: 40px;
    color: var(--dark-color);
}

.donate-content h3 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

.donation-options {
    margin-top: 30px;
}

.donation-option {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.donation-option:hover {
    background: var(--light-color);
    transform: translateX(5px);
}

.option-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.option-content h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.option-content p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.donation-form {
    padding: 40px;
    background: var(--gray-100);
    color: var(--dark-color);
}

.donation-form h3 {
    color: var(--dark-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.amount-selection {
    margin-bottom: 30px;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 15px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.custom-amount input {
    padding: 15px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    width: 100%;
    transition: var(--transition);
}

.custom-amount input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.donate-form-fields .form-control,
.donate-form-fields .form-select {
    padding: 15px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.donate-form-fields .form-control:focus,
.donate-form-fields .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.btn-donate-now {
    background: var(--gradient-donate);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-donate-now:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.payment-methods {
    margin-top: 20px;
    text-align: center;
}

.payment-methods p {
    color: var(--gray-600);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.payment-icons i {
    font-size: 2rem;
    color: var(--gray-500);
    transition: var(--transition);
}

.payment-icons i:hover {
    color: var(--primary-color);
}

/* Footer */
.main-footer {
    background: linear-gradient(480deg, #02204e 0%, #0066ff 72%);
    color: var(--white);
}

.main-footer .contact-info {
    display: block;
    gap: 30px;
    align-items: center;
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer-logo h4 {
    color: var(--white);
    margin: 0;
    font-size: 1.3rem;
}

.footer-widget h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-widget p {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding-left: 0 !important;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #012966;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: #daa520;
    transform: translateY(-3px);
    color: #fff;
}



.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 5px;
    min-width: 20px;
}

.contact-item h5 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-item p {
    color: #fff;
    margin: 0;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px dashed #e6cc77;
    padding: 25px 0;
}

.footer-bottom p {
    margin: 0;
    color: #fff;
    text-align: center;
}

.footer-bottom a {
    color: #ffcb00;
}

.footer-links-bottom {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}

.footer-links-bottom a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links li a::before {
    content: '\f101';
    /* Font Awesome double right arrow */
    font-family: 'FontAwesome';
    margin-right: 10px;
    color: var(--gray-400);
}

.footer-links-bottom a:hover {
    color: var(--secondary-color);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease;
}

.animate-zoomIn {
    animation: zoomIn 0.8s ease;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .bishop-content {
        padding-left: 20px;
    }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .diocese-title {
        text-align: center;

    }

    .logo-section {
        padding: 0px 0 !important;
    }

    .diocese-title h1 {
        font-size: 2rem;
    }

    .bishop-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .navbar-collapse {
        background: var(--primary-color);
        padding: 20px;
        border-radius: var(--border-radius);
        margin-top: 10px;
    }

    .footer-links-bottom {
        justify-content: center;
        margin-top: 20px;
    }

    .amount-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .main-navigation .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 28px;
        width: 0;
        height: 3px;
        background: var(--secondary-color);
        transition: var(--transition);
        transform: translateX(-50%);
        display: none;
    }

    .navbar-toggler-icon {
        display: inline-block;
        width: 20px;
        height: 20px;
        vertical-align: middle;
        background-image: var(--bs-navbar-toggler-icon-bg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
        position: absolute;
        top: -54px;
        right: 35px;
        background-color: #003d9b !important;
        padding: 17px;
        color: #fff !important;
    }

    .bishop-card {
        display: block !important;
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
        align-items: center;
        background: var(--white);
        padding: 3rem;
        border-radius: 20px;
        box-shadow: var(--shadow);
    }

    .bishop-image img {
        width: 100%;
        max-width: 400px;
        height: auto !important;
        object-fit: cover;
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .event-content {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .experience-badge {
        display: none !important;
    }

    .about-image {
        margin-top: 50px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .diocese-motto,
    .diocese-title .tagline,
    .top-header {
        display: none;
    }

    .diocese-logo img {
        width: 100% !important;
        height: 45px !important;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--primary-color);
        background-color: transparent;
        margin-top: 10px;
    }

    .diocese-title h1 {
        font-size: 17px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 15px;
    }

    .diocese-logo {
        text-align: center;
        margin-bottom: 20px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .experience-badge {
        position: static;
        margin-top: 20px;
        display: inline-block;
    }

    .hero-actions {
        gap: 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        align-self: center;
    }

    .donate-card .row {
        flex-direction: column-reverse;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .diocese-title h1 {
        font-size: 18px;
    }

    .diocese-motto {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .main-navigation .navbar-nav .nav-link {
        padding: 15px;
        text-align: left;
    }

    .donate-content,
    .donation-form {
        padding: 30px 20px;
    }
}

.gallery-section {
    background: linear-gradient(135deg, #00000017 0%, #ffd74e14 100%);
}

.subpage {
    padding: 50px 0;
}

.subpage p {
    font-size: 17px;
    color: #242424;
    margin-bottom: 30px;
    font-weight: 400;
}

.subpage p:last-child {
    margin-bottom: 0;
}

.breadcrumb-section {
    background-image: url(../images/slide/s3.png);
    padding: 30px 0;
    background-size: cover;
    background-position: center;
}

.gallery-card:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
}

.gallery-card .card-img-top {
    object-fit: cover;
    height: 300px;
}

.card-img-top.object-fit-cover {
    object-fit: cover;
}

.card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.card-img-top {
    border-radius: 0.5rem;
}

.gallery .card:hover {
    transform: scale(1.03);
    transition: 0.3s ease;
}

.section-breadcrumb {
    background-color: #f9f9f9;
    padding: 30px 0;
}

.breadcrumb-box {
    background-color: rgba(255, 255, 255, 0.95);
}

.section-gallery-year,
.section-gallery-items,
.section-gallery-detail {
    background-color: #fff;
    padding: 60px 0;
}

.table th,
.table td {
    vertical-align: middle;
}