/* 
          Estilos Premium para Diosesis de Willemstad
          Inspirados en diseños institucionales religiosos modernos
        */

        :root {
            /* Color Palette */
            --clr-primary: #0f172a;
            /* Dark Blue - Institucional */
            --clr-primary-light: #1e293b;
            --clr-accent: #eab308;
            /* Gold/Yellow - Eclesiástico */
            --clr-accent-hover: #ca8a04;
            --clr-bg: #f8fafc;
            --clr-surface: #ffffff;
            --clr-text: #334155;
            --clr-text-light: #64748b;
            --clr-text-dark: #0f172a;
            --clr-border: #e2e8f0;

            /* Typography */
            --font-heading: 'Cinzel', serif;
            --font-body: 'Inter', sans-serif;

            /* Spacing & Sizes */
            --max-width: 1200px;
            --section-padding: 5rem 0;
            --border-radius: 12px;

            /* Effects */
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            color: var(--clr-text);
            background-color: var(--clr-bg);
            line-height: 1.6;
            overflow-x: hidden;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: var(--font-heading);
            color: var(--clr-text-dark);
            font-weight: 700;
            line-height: 1.2;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container {
            width: 90%;
            max-width: var(--max-width);
            margin: 0 auto;
        }

        .text-center {
            text-align: center;
        }

        /* Typography Utilities */
        .section-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--clr-primary);
        }

        .section-subtitle {
            color: var(--clr-text-light);
            font-size: 1.125rem;
            max-width: 600px;
            margin: 0 auto 2rem;
        }

        .title-underline {
            width: 60px;
            height: 4px;
            background-color: var(--clr-accent);
            margin-bottom: 2rem;
            border-radius: 2px;
        }

        .title-underline.center {
            margin-left: auto;
            margin-right: auto;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 1.5rem;
            border-radius: var(--border-radius);
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            border: 2px solid transparent;
        }

        .btn-primary {
            background-color: var(--clr-accent);
            color: var(--clr-primary);
            font-weight: 600;
        }

        .btn-primary:hover {
            background-color: var(--clr-accent-hover);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .btn-secondary {
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            border-color: white;
            -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
        }

        .btn-secondary:hover {
            background-color: white;
            color: var(--clr-primary);
            transform: translateY(-2px);
        }

        .btn-outline {
            border-color: var(--clr-accent);
            color: var(--clr-accent);
        }

        .btn-outline:hover {
            background-color: var(--clr-accent);
            color: var(--clr-primary);
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            transition: var(--transition);
            padding: 1.25rem 0;
            background: transparent;
        }

        .navbar.scrolled {
            background: rgba(255, 255, 255, 0.95);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow-sm);
            padding: 0.75rem 0;
        }

        .nav-container {
            width: 90%;
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            transition: var(--transition);
        }

        .navbar.scrolled .logo {
            color: var(--clr-primary);
        }

        .logo-img {
            height: 45px;
            width: 45px;
            object-fit: cover;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.2);
            background-color: white;
            transition: var(--transition);
        }

        .navbar.scrolled .logo-img {
            border-color: var(--clr-accent);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.9);
            font-weight: 600;
            font-size: 1.2rem;
            position: relative;
        }

        .navbar.scrolled .nav-link {
            color: var(--clr-text);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--clr-accent);
            transition: var(--transition);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .nav-link.btn-primary {
            color: var(--clr-primary) !important;
        }

        .nav-link.btn-primary::after {
            display: none;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            position: relative;
            width: 28px;
            height: 18px;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            z-index: 1001;
        }

        .hamburger-line {
            display: block;
            width: 100%;
            height: 3px;
            background-color: white;
            border-radius: 2px;
            transition: var(--transition);
        }

        .navbar.scrolled .hamburger-line {
            background-color: var(--clr-primary);
        }

        /* Hero Section (Full-width) */
        .hero-section {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: background-image 0.8s ease-in-out;
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.55));
        }

        .hero-indicators {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }

        .indicator-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator-dot.active {
            background-color: var(--clr-accent);
            transform: scale(1.2);
            width: 24px;
            border-radius: 5px;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 800px;
            padding: 0 2rem;
        }

        .hero-subtitle {
            display: block;
            font-family: var(--font-body);
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--clr-accent);
            margin-bottom: 1rem;
            text-align: center;
        }

        .hero-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            color: white;
            margin-bottom: 1.5rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            text-align: center;
        }

        .hero-text {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.85);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
            text-align: center;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }

        /* About Section */
        .section {
            padding: var(--section-padding);
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
            padding-top: 3rem;
            border-top: 1px solid var(--clr-border);
        }

        .stat-item {
            text-align: center;
        }

        .stat-icon {
            color: var(--clr-accent);
            width: 32px;
            height: 32px;
            margin-bottom: 0.5rem;
        }

        .stat-number {
            display: block;
            font-size: 2rem;
            font-family: var(--font-heading);
            font-weight: 700;
            color: var(--clr-primary);
        }

        .stat-label {
            font-size: 0.875rem;
            color: var(--clr-text-light);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .about-image-wrapper {
            position: relative;
        }

        .about-image {
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-lg);
            position: relative;
            z-index: 2;
        }

        .image-accent {
            position: absolute;
            top: -20px;
            right: -20px;
            width: 100%;
            height: 100%;
            border: 2px solid var(--clr-accent);
            border-radius: var(--border-radius);
            z-index: 1;
        }

        /* Parishes Section */
        .parishes-section {
            background-color: var(--clr-surface);
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .card {
            background: var(--clr-surface);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            border: 1px solid var(--clr-border);
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
            border-color: var(--clr-accent);
        }

        .card-img-wrapper {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .card:hover .card-img {
            transform: scale(1.1);
        }

        .card-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--clr-accent);
            color: var(--clr-primary);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 2;
        }

        .card-content {
            padding: 1.5rem;
        }

        .card-content h3 {
            margin-bottom: 0.75rem;
            font-size: 1.5rem;
        }

        .card-content p {
            color: var(--clr-text-light);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }

        .card-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--clr-primary);
            font-weight: 600;
        }

        .card-link:hover {
            color: var(--clr-accent-hover);
        }

        /* Bishop Section */
        .bishop-section {
            background-color: var(--clr-primary);
            color: white;
        }

        .bishop-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 4rem;
            background: var(--clr-primary-light);
            padding: 4rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
        }

        .bishop-content {
            flex: 1;
            z-index: 2;
        }

        .bishop-subtitle {
            color: var(--clr-accent);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: block;
        }

        .bishop-content h2 {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 2.5rem;
        }

        .bishop-content p {
            margin-bottom: 2rem;
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.125rem;
        }

        .bishop-icon-wrapper {
            flex: 0 0 auto;
            z-index: 2;
        }

        .bishop-large-icon {
            width: 120px;
            height: 120px;
            color: var(--clr-accent);
            opacity: 0.8;
        }

        /* Footer */
        .footer {
            background-color: #0b1120;
            color: white;
            padding: 4rem 0 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-family: var(--font-heading);
            font-size: 1.5rem;
            color: var(--clr-accent);
            margin-bottom: 1.5rem;
        }

        .footer-text {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.95rem;
        }

        .footer-col h3 {
            color: white;
            font-size: 1.25rem;
            margin-bottom: 1.5rem;
            font-family: var(--font-body);
        }

        .footer-links li,
        .footer-contact li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.6);
        }

        .footer-links a:hover {
            color: var(--clr-accent);
        }

        .footer-contact li {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .footer-contact i {
            color: var(--clr-accent);
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: var(--transition);
        }

        .social-links a:hover {
            background: var(--clr-accent);
            color: var(--clr-primary);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.875rem;
        }

        /* Animations */
        .reveal,
        .reveal-up,
        .reveal-left,
        .reveal-right {
            opacity: 0;
            visibility: hidden;
        }

        .reveal.active {
            animation: fadeIn 1s ease forwards;
            visibility: visible;
        }

        .reveal-up.active {
            animation: fadeInUp 0.8s ease forwards;
            visibility: visible;
            animation-delay: var(--delay, 0s);
        }

        .reveal-left.active {
            animation: fadeInLeft 1s ease forwards;
            visibility: visible;
        }

        .reveal-right.active {
            animation: fadeInRight 1s ease forwards;
            visibility: visible;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Accordion Styles */
        .island-accordion {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 2rem;
        }

        .accordion-item {
            background: var(--clr-surface);
            border: 1px solid var(--clr-border);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .accordion-item:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--clr-accent);
        }

        .accordion-header {
            width: 100%;
            text-align: left;
            padding: 1.5rem;
            background: none;
            border: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: var(--transition);
        }

        .accordion-header h3 {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin: 0;
            font-size: 1.25rem;
            color: var(--clr-primary);
        }

        .accordion-icon {
            transition: transform 0.3s ease;
            color: var(--clr-accent);
        }

        .accordion-item.active .accordion-icon {
            transform: rotate(180deg);
        }

        .accordion-item.active .accordion-header {
            background: var(--clr-bg);
        }

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out;
        }

        .accordion-item.active .accordion-content {
            max-height: 3000px;
        }

        .parish-list {
            padding: 0 1.5rem 1.5rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .parish-item {
            background: var(--clr-surface);
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transition: var(--transition);
            cursor: pointer;
        }

        .parish-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: var(--clr-accent);
        }

        .parish-img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }

        .parish-info {
            padding: 1.25rem;
            border-top: 3px solid var(--clr-accent);
            flex: 1;
        }

        .parish-info h4 {
            font-family: var(--font-body);
            font-size: 1.05rem;
            margin-bottom: 0.5rem;
            color: var(--clr-primary);
            font-weight: 600;
        }

        .parish-info p {
            font-size: 0.9rem;
            color: var(--clr-text-light);
            margin: 0;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.show {
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 1;
        }

        .modal-content {
            background-color: var(--clr-surface);
            margin: auto;
            border-radius: 12px;
            width: 90%;
            max-width: 480px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            position: relative;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }

        .modal.show .modal-content {
            transform: translateY(0);
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 10;
            transition: background 0.3s ease;
        }

        .close-modal:hover {
            background: var(--clr-primary);
        }

        .modal-img {
            width: 100%;
            height: 220px;
            object-fit: contain;
            background-color: #f1f5f9;
        }

        .modal-body {
            padding: 2rem;
        }

        .modal-body h3 {
            color: var(--clr-primary);
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .modal-location {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--clr-accent);
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .modal-desc {
            color: var(--clr-text);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .modal-info-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            background: var(--clr-bg);
            padding: 1.5rem;
            border-radius: 8px;
        }

        .modal-info-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .modal-info-item i {
            color: var(--clr-accent);
            margin-top: 2px;
        }

        .modal-info-item p {
            margin: 0;
            color: var(--clr-text-light);
            font-size: 0.9rem;
        }

        .modal-info-item strong {
            color: var(--clr-primary);
            display: block;
            margin-bottom: 0.2rem;
        }

        .maps-link {
            color: var(--clr-accent);
            font-weight: 600;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
        }

        .maps-link:hover {
            color: var(--clr-accent-hover);
            text-decoration: underline;
        }

        /* Attribution Bar */
        .attribution-bar {
            background-color: #080d1a;
            padding: 1rem 0;
            text-align: center;
        }

        .attribution-bar p {
            color: rgba(255, 255, 255, 0.35);
            font-size: 0.8rem;
            margin: 0;
        }

        .attribution-bar a {
            color: rgba(255, 255, 255, 0.5);
            text-decoration: underline;
            transition: var(--transition);
        }

        .attribution-bar a:hover {
            color: var(--clr-accent);
        }

        /* Responsive */
        @media (max-width: 992px) {
            .about-grid {
                grid-template-columns: 1fr;
            }

            .about-image-wrapper {
                order: -1;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }

            .bishop-card {
                flex-direction: column;
                text-align: center;
                padding: 3rem 2rem;
            }
        }

        @media (max-width: 768px) {
            .hero-buttons {
                flex-direction: column;
            }
            .nav-container {
                flex-direction: row;
                justify-content: space-between;
                flex-wrap: wrap;
            }

            .mobile-menu-btn {
                display: flex;
            }

            /* Transform hamburger to an 'X' when active */
            .navbar:has(.nav-links.active) .hamburger-line:nth-child(1) {
                transform: translateY(7px) rotate(45deg);
                background-color: var(--clr-primary) !important;
            }

            .navbar:has(.nav-links.active) .hamburger-line:nth-child(2) {
                opacity: 0;
            }

            .navbar:has(.nav-links.active) .hamburger-line:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
                background-color: var(--clr-primary) !important;
            }

            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--clr-surface);
                padding: 1.5rem 0;
                box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
                border-top: 1px solid var(--clr-border);
                align-items: center;
                gap: 1.25rem;
                z-index: 999;
            }

            .nav-links.active {
                display: flex;
            }

            .nav-link {
                color: var(--clr-text) !important;
                font-size: 1.1rem;
                width: 100%;
                text-align: center;
                padding: 0.25rem 0;
            }

            .navbar:has(.nav-links.active) {
                background: var(--clr-surface) !important;
                box-shadow: var(--shadow-sm);
            }

            .navbar:has(.nav-links.active) .logo {
                color: var(--clr-primary) !important;
            }

            .navbar:has(.nav-links.active) .logo-img {
                border-color: var(--clr-accent) !important;
            }

            .navbar:has(.nav-links.active) .mobile-menu-btn {
                color: var(--clr-primary) !important;
            }

            .navbar.scrolled .logo {
                color: var(--clr-primary);
            }

            .hero-section {
                padding-top: 100px;
                padding-bottom: 2rem;
                min-height: auto;
            }

            .hero-card {
                grid-template-columns: 1fr;
                border-radius: 12px;
                width: 95%;
            }

            .hero-slideshow-container {
                height: 55vw;
                min-height: 200px;
            }

            .hero-card-content {
                padding: 2rem 1.5rem;
                text-align: center;
            }

            .hero-card-content .hero-title {
                font-size: clamp(1.8rem, 6vw, 2.5rem);
                margin-bottom: 1rem;
            }

            .hero-card-content .hero-text {
                font-size: 1.05rem;
                margin-bottom: 2rem;
            }

            .hero-card-content .hero-buttons {
                flex-direction: column;
                width: 100%;
                max-width: 290px;
                margin: 0 auto;
                gap: 0.75rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 420px) {
            .logo span {
                display: none;
            }
        }
    
        /* Dropdown Styles for Islands */
        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            cursor: pointer;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: var(--clr-surface);
            min-width: 160px;
            box-shadow: var(--shadow-md);
            border-radius: 8px;
            border: 1px solid var(--clr-border);
            padding: 0.5rem 0;
            z-index: 1010;
            margin-top: 0.5rem;
        }

        .dropdown-menu::before {
            content: '';
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            border-width: 6px;
            border-style: solid;
            border-color: transparent transparent var(--clr-surface) transparent;
        }

        .dropdown-menu::after {
            content: '';
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            border-width: 7px;
            border-style: solid;
            border-color: transparent transparent var(--clr-border) transparent;
            z-index: -1;
        }

        .dropdown-item {
            color: var(--clr-text);
            padding: 0.6rem 1.25rem;
            display: block;
            font-weight: 500;
            font-size: 0.9rem;
            transition: var(--transition);
            text-align: left;
        }

        .dropdown-item:hover {
            background-color: rgba(10, 37, 64, 0.05);
            color: var(--clr-primary);
        }

        .dropdown:hover .dropdown-menu {
            display: block;
        }

        .dropdown-icon {
            width: 16px;
            height: 16px;
            transition: transform var(--transition);
        }

        .dropdown:hover .dropdown-icon {
            transform: rotate(180deg);
        }

        /* Mobile Dropdown styles inside media query */
        @media (max-width: 768px) {
            .dropdown {
                width: 100%;
                text-align: center;
            }
            
            .dropdown-toggle {
                justify-content: center;
                width: 100%;
                padding: 0.25rem 0;
            }
            
            .dropdown-menu {
                display: block;
                position: static;
                transform: none;
                box-shadow: none;
                border: none;
                background: rgba(0, 0, 0, 0.02);
                width: 100%;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease-out;
                padding: 0;
                margin: 0;
            }
            
            .dropdown.open .dropdown-menu {
                max-height: 300px;
                padding: 0.5rem 0;
            }

            .dropdown-menu::before,
            .dropdown-menu::after {
                display: none;
            }

            .dropdown-item {
                text-align: center;
                padding: 0.5rem 1.25rem;
                font-size: 1rem;
                color: var(--clr-text);
            }
        }
/* Pastoral Section Styles */
.pastoral-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pastoral-card {
    background: var(--clr-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pastoral-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-accent);
}

.pastoral-img-wrapper {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.pastoral-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pastoral-card:hover .pastoral-img {
    transform: scale(1.05);
}

.pastoral-icon-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--clr-accent);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--clr-surface);
    transition: var(--transition);
    z-index: 10;
}

.pastoral-card:hover .pastoral-icon-badge {
    background-color: var(--clr-primary);
    color: var(--clr-accent);
    transform: translateY(-5px) rotate(360deg);
}

.pastoral-icon-badge i {
    width: 22px;
    height: 22px;
}

.pastoral-content {
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pastoral-content h3 {
    font-size: 1.25rem;
    color: var(--clr-primary);
    margin-bottom: 0.75rem;
}

.pastoral-content p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}