@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Custom Utility Classes */
:root {
    --primary: #4E0000;
    --navy-overlay: #1F2C47;
    --color-navy: #1F2C47;
    --color-maroon: #4E0000;
    --color-maroon-hover: #3b0000;
    --color-gold: #C09D59;
    --color-amber: #fbbf24;
}

body {
    font-family: 'Inter', sans-serif;
}

.font-heading {
    font-family: 'Montserrat', sans-serif;
}

.bg-primary {
    background-color: var(--primary);
}

.text-primary {
    color: var(--primary);
}

.hover\:bg-red-950:hover {
    background-color: #3b0000;
}

.bg-navyOverlay {
    background-color: var(--navy-overlay);
}

/* Custom Background & Text Helpers */
.bg-navy {
  background-color: var(--color-navy);
}

.bg-maroon {
  background-color: var(--color-maroon);
}

.text-navy {
  color: var(--color-navy);
}

.text-maroon {
  color: var(--color-maroon);
}

/* News Image Zoom Hover Effect */
.news-card-img {
  transition: transform 0.3s ease-in-out;
}

.news-card:hover .news-card-img {
  transform: scale(1.05);
}

/* Digital Magazine Banner Gradient */
.magazine-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #3d1116 50%, #630000 100%);
}

/* Line Clamping for Multi-line Summaries */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Service Card Transitions */
.service-card {
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(78, 0, 0, 0.08);
}

/* Pilgrim House Image Overlay */
.pilgrim-card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
}

/*home page  Media Gallery*/
.gallery-card-img {
  transition: transform 0.4s ease-in-out;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.05);
}

.gallery-caption-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
}
/* CTA Banner */
.cta-banner-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.82) 0%, rgba(31, 44, 71, 0.85) 50%, rgba(78, 0, 0, 0.8) 100%);
}

/* Footer Background Color */
.bg-footer {
  background-color: #13273F;
}

/* Subscription Field Focus Effects */
footer input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}


/*About us page*/
.about-img-card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.about-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.12);
}


/*Vision, Mission & Organizational Chart Section*/

/* Left Navy Block Styling */
.vision-mission-bg {
  background-color: #13273F;
}

/* Right Off-White Card Container */
.org-chart-bg {
  background-color: #FAFAF8;
}

/* Image Frame Shadow Effects */
.org-chart-frame {
  background-color: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease-in-out;
}

.org-chart-frame:hover {
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
}


/* Our Officials Section Styles */

/* Card hover animation */
.official-card {
  transition: transform 0.25s ease-in-out;
}

.official-card:hover {
  transform: translateY(-4px);
}

.official-img-wrapper {
  background-color: #c8a468; /* Golden tan backdrop matching the screenshot */
  transition: shadow 0.25s ease-in-out;
}

.official-card:hover .official-img-wrapper {
  box-shadow: 0 10px 20px -5px rgba(78, 0, 0, 0.15);
}

/* Maroon Outlined Social/Contact Action Buttons */
.official-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #4E0000;
  border-radius: 4px;
  color: #4E0000;
  font-size: 11px;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}

.official-social-btn:hover {
  background-color: #4E0000;
  color: #ffffff;
}

/* How We Operate Tab Styles */

.tab-btn {
  cursor: pointer;
  outline: none;
  border: none;
}

.tab-btn:focus {
  outline: none;
}

/* Bullet item hover effect */
.tab-content .flex:hover span:first-child {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}

/*----------church and school-----------*/
/* Tab Switching Buttons */
.tab-btn {
    cursor: pointer;
    outline: none;
    transition: all 0.25s ease-in-out;
}

.tab-btn.active {
    background-color: #13273F;
    color: #ffffff;
}

.tab-btn:not(.active) {
    background-color: transparent;
    color: #4b5563;
}

.tab-btn:not(.active):hover {
    color: #111827;
}

/* Custom Table Styles */
.data-table-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.data-table th {
    background-color: #13273F;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 14px 16px;
    text-align: left;
}

.data-table td {
    padding: 12px 16px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.data-table tr:hover {
    background-color: #f9fafb;
}

/* PDF Download Icon */
.pdf-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dc2626; /* Red PDF Icon */
    font-size: 18px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.pdf-icon-btn:hover {
    transform: scale(1.15);
    color: #b91c1c;
}

/*Pasam Lathoni Page*/

/* Sidebar Component - Videos */
.pasam-video-card {
    transition: transform 0.2s ease-in-out;
}

.pasam-video-card:hover {
    transform: translateX(4px);
}

.pasam-thumbnail {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.pasam-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease;
}

.pasam-video-card:hover .pasam-thumbnail::after {
    background: rgba(0, 0, 0, 0.0);
}

/* Sidebar Component - Books */
.pasam-book-card {
    transition: transform 0.2s ease;
}

.pasam-book-card:hover {
    transform: translateY(-2px);
}

/* Sidebar Component - Accordion / Group List */
.pasam-group-item {
    transition: all 0.2s ease-in-out;
}

.pasam-group-item.active {
    background-color: #13273F;
    color: #ffffff;
}

.pasam-group-item:not(.active) {
    background-color: #ffffff;
    color: #1f2937;
    border-color: #f3f4f6;
}

.pasam-group-item:not(.active):hover {
    background-color: #f9fafb;
    color: #4E0000;
}

/*-----------------Pasam Lathoni Competition Page-----------------------------*/
/* Notice / Application Box Styles */
.deadline-card {
    border: 1px solid rgba(229, 231, 235, 0.8);
    background-color: #ffffff;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

.deadline-header {
    background-color: #4E0000;
}

/* Chevron Bullet Styling */
.competition-rules-list li {
    position: relative;
    padding-left: 1.5rem;
}

.competition-rules-list li::before {
    content: "\f054"; /* FontAwesome chevron-right icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-size: 0.65rem;
    color: #4E0000;
}

/* Sidebar Video Card Hover Effects */
.pasam-video-card {
    transition: transform 0.2s ease-in-out;
}

.pasam-video-card:hover {
    transform: translateX(4px);
}

.pasam-thumbnail {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

/* Sidebar Book Card Hover Effects */
.pasam-book-card {
    transition: transform 0.2s ease;
}

.pasam-book-card:hover {
    transform: translateY(-2px);
}

/*-----------News Page----------*/
/* News Grid Card Styles */
.news-card {
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
}

.news-card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.news-card-img-wrapper img {
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img-wrapper img {
    transform: scale(1.05);
}

/* Featured Banner Box (Digital Easter Edition) */
.easter-edition-card {
    background: linear-gradient(135deg, #3B0000 0%, #1A0000 100%);
    position: relative;
    overflow: hidden;
}

/* Official Notices Widget Styles */
.notices-widget-header {
    background-color: #13273F;
}

.notice-date-badge {
    background-color: #F8F4EC;
    color: #927238;
}

.notice-item {
    transition: background-color 0.2s ease;
}

.notice-item:hover {
    background-color: #FAFAF8;
}

/*-------------------Downloads Page--------------------*/
/* Document Table Container */
.downloads-table-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

/* Table Header */
.downloads-table th {
    background-color: #13273F;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 16px 20px;
}

/* Table Rows & Cells */
.downloads-table td {
    padding: 18px 20px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.downloads-table tbody tr {
    transition: background-color 0.2s ease;
}

.downloads-table tbody tr:hover {
    background-color: #f9fafb;
}

.downloads-table tbody tr:last-child td {
    border-bottom: none;
}

/* PDF Action Icon */
.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    font-size: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.pdf-download-btn:hover {
    transform: scale(1.15);
    color: #b91c1c;
}

/* Filter Input Custom Focus */
.downloads-input:focus {
    border-color: #4E0000;
    box-shadow: 0 0 0 3px rgba(78, 0, 0, 0.08);
}

/*-------------Visa.php--------------------*/
/* Document Table Container */
.visa-table-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

/* Table Header */
.visa-table th {
    background-color: #13273F;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 16px 20px;
}

/* Table Rows & Cells */
.visa-table td {
    padding: 18px 20px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.visa-table tbody tr {
    transition: background-color 0.2s ease;
}

.visa-table tbody tr:hover {
    background-color: #f9fafb;
}

.visa-table tbody tr:last-child td {
    border-bottom: none;
}



/*----------Catholic and Christian Churches download page-------------*/

/* Document Table Container */
.churches-download-table-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

/* Table Header */
.churches-download-table th {
    background-color: #13273F;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 16px 20px;
}

/* Table Rows & Cells */
.churches-download-table td {
    padding: 18px 20px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.churches-download-table tbody tr {
    transition: background-color 0.2s ease;
}

.churches-download-table tbody tr:hover {
    background-color: #f9fafb;
}

.churches-download-table tbody tr:last-child td {
    border-bottom: none;
}



/*-----------Gallery-------------*/
/* Gallery Card Hover Effects */
.gallery-card {
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.1);
}

.gallery-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-img-wrapper img {
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.05);
}

/* Search Bar Focus Custom Styling */
.gallery-search-input:focus {
    border-color: #4E0000;
    box-shadow: 0 0 0 3px rgba(78, 0, 0, 0.08);
}

/* Pagination Control Button Styles */
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 8px;
    background-color: #e5e7eb;
    color: #4b5563;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination-btn.active {
    background-color: #927238;
    color: #ffffff;
}

.pagination-btn:hover:not(.active) {
    background-color: #d1d5db;
    color: #111827;
}



/*--------------Gallery Videos-------------------*/

/* Video Card Hover & Thumbnail Overlay Styles */
.video-card {
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.1);
}

.video-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.video-img-wrapper img {
    transition: transform 0.4s ease;
}

.video-card:hover .video-img-wrapper img {
    transform: scale(1.05);
}

/* Play Button Overlay on Hover */
.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-icon-circle {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4E0000;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.video-card:hover .play-icon-circle {
    transform: scale(1.1);
}

/* Search Bar Focus Custom Styling */
.video-search-input:focus {
    border-color: #4E0000;
    box-shadow: 0 0 0 3px rgba(78, 0, 0, 0.08);
}




/*--------------Contact Us-------------------*/

/* Contact Details Info Styling */
.contact-info-label {
    color: #927238;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    display: block;
}

/* Form Container Card */
.contact-form-card {
    background-color: #FAFAF8;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
}

/* Form Input Focus States */
.contact-input {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease-in-out;
}

.contact-input:focus {
    border-color: #4E0000;
    box-shadow: 0 0 0 3px rgba(78, 0, 0, 0.08);
    outline: none;
}

/* Submit Button Hover State */
.submit-btn {
    background-color: #4E0000;
    transition: all 0.2s ease-in-out;
}

.submit-btn:hover {
    background-color: #3b0000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(78, 0, 0, 0.2);
}

/*---------------Pilgrim House Downloads Page----------------*/
/* Document Table Container Card */
.pilgrim-table-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

/* Table Header */
.pilgrim-table th {
    background-color: #13273F;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 16px 20px;
}

/* Table Rows & Cells */
.pilgrim-table td {
    padding: 18px 20px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.pilgrim-table tbody tr {
    transition: background-color 0.2s ease;
}

.pilgrim-table tbody tr:hover {
    background-color: #f9fafb;
}

.pilgrim-table tbody tr:last-child td {
    border-bottom: none;
}


/*------------Publications Downloads Page-------------*/
/* Document Table Container Card */
.publications-table-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

/* Table Header */
.publications-table th {
    background-color: #13273F;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 16px 20px;
}

/* Table Rows & Cells */
.publications-table td {
    padding: 18px 20px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.publications-table tbody tr {
    transition: background-color 0.2s ease;
}

.publications-table tbody tr:hover {
    background-color: #f9fafb;
}

.publications-table tbody tr:last-child td {
    border-bottom: none;
}

/*--------------Others Downloads Page----------------*/
/* Document Table Container Card */
.others-table-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

/* Table Header */
.others-table th {
    background-color: #13273F;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 16px 20px;
}

/* Table Rows & Cells */
.others-table td {
    padding: 18px 20px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.others-table tbody tr {
    transition: background-color 0.2s ease;
}

.others-table tbody tr:hover {
    background-color: #f9fafb;
}

.others-table tbody tr:last-child td {
    border-bottom: none;
}


/*----------------------Thalawila Pilgrim House Page---------------------*/
/* Section Container Cards */
.resort-card {
    background-color: #FAFAF8;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
}

/* Sidebar Booking Widget */
.booking-widget-card {
    background-color: #FAFAF8;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    padding: 24px;
}

/* Availability Badge */
.badge-available {
    background-color: #d1fae5;
    color: #065f46;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.badge-ac {
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-free {
    background-color: #d1fae5;
    color: #065f46;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Buttons */
.btn-check-avail {
    border: 1px solid #4E0000;
    color: #4E0000;
    background-color: transparent;
    transition: all 0.2s ease;
}

.btn-check-avail:hover {
    background-color: #4E0000;
    color: #ffffff;
}

.btn-reserve {
    background-color: #4E0000;
    color: #ffffff;
    transition: background-color 0.2s ease;
}

.btn-reserve:hover {
    background-color: #3b0000;
}

/* Facilities Pills */
.facility-pill {
    background-color: #e5e7eb;
    color: #374151;
    font-size: 11px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    text-align: center;
}

/* Table Styles */
.rates-table-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.rates-table th {
    background-color: #13273F;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    padding: 12px 16px;
}

.rates-table td {
    padding: 14px 16px;
    font-size: 12px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

/* Payment Radio Options */
.payment-box {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}

/*--------------Navbar Active--------------*/
/* Active style for top-level menu items */
.nav-active {
    color: #4E0000 !important;
    font-weight: 700 !important;
    position: relative;
}

/* Optional subtle underline indicator for desktop active item */
.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4E0000;
    border-radius: 2px;
}

/* Active style for dropdown menu items */
.dropdown-active {
    color: #4E0000 !important;
    background-color: #F9FAFB !important;
    font-weight: 700 !important;
}

/* Active style for mobile menu items */
.mobile-active {
    color: #4E0000 !important;
    font-weight: 700 !important;
}

@media (max-width: 639px) {
  .about-img-card {
    height: 180px;
  }
}

/* Sub-Footer Link Divider Styling for Mobile */
@media (max-width: 639px) {
  .sub-footer-links {
    justify-content: center;
    text-align: center;
  }
}


/* Mobile Adjustments for Small Screens */
@media (max-width: 639px) {
  .news-card-img-container {
    height: 180px;
  }
}





