/*START OF KAMA*/
    
/* KAMA Specific Styles */
:root {
    --kama-primary: #2c3e50;    /* Navy blue - strength and stability */
    --kama-secondary: #e67e22;  /* Orange - energy and action */
    --kama-accent: #27ae60;     /* Green - growth and renewal */
    --kama-dark: #1a2530;       /* Dark blue */
    --kama-light: #ecf0f1;      /* Light background */
    --kama-card-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --kama-card-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --kama-border: #e0e0e0;
}

/* Global Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--kama-primary);
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--kama-primary), var(--kama-secondary));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Hero Section */
.kama-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(230, 126, 34, 0.8)), 
                url('{% static "image/KAMA.png" %}') center/cover no-repeat;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.kama-hero .hero-content h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.kama-hero .tagline {
    font-size: 1.4rem;
    margin-bottom: 50px;
    font-style: italic;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    text-transform: none;
    letter-spacing: 0.5px;
}

.cta-button.primary-btn {
    background: var(--kama-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.cta-button.primary-btn:hover {
    background: #1a2530;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}

.cta-button.secondary-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary-btn:hover {
    background: white;
    color: var(--kama-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* About Section */
.about-kama {
    padding: 100px 0;
    background: var(--kama-light);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.anglican-values {
    background: white;
    padding: 35px;
    border-radius: 16px;
    margin-top: 40px;
    border-left: 5px solid var(--kama-primary);
    box-shadow: var(--kama-card-shadow);
}

.anglican-values h3 {
    color: var(--kama-primary);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
}

.anglican-values ul {
    list-style: none;
    padding: 0;
}

.anglican-values li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    line-height: 1.6;
}

.anglican-values i {
    margin-right: 18px;
    color: var(--kama-primary);
    width: 22px;
    margin-top: 3px;
    flex-shrink: 0;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--kama-card-shadow);
}

/* Mission & Vision */
.mission-vision {
    padding: 100px 0;
    background: white;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.mv-card {
    background: var(--kama-light);
    padding: 45px 30px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--kama-card-shadow);
    border: 1px solid var(--kama-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kama-primary), var(--kama-secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-icon {
    font-size: 3rem;
    color: var(--kama-primary);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.mv-card:hover .mv-icon {
    transform: scale(1.1);
}

.mv-card h3 {
    color: var(--kama-primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.mv-card p {
    line-height: 1.7;
    color: #555;
    font-size: 1.05rem;
}

.motto-description {
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
    margin-top: 10px;
}

/* Pillars Section */
.kama-pillars {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.pillar-card {
    background: white;
    padding: 45px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--kama-card-shadow);
    border: 1px solid var(--kama-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kama-primary), var(--kama-secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-icon {
    font-size: 3rem;
    color: var(--kama-secondary);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1);
}

.pillar-card h3 {
    color: var(--kama-primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.pillar-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Activities Section */
.kama-activities {
    padding: 100px 0;
    background: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.activity-card {
    background: var(--kama-light);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--kama-card-shadow);
    border: 1px solid var(--kama-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kama-primary), var(--kama-secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.activity-card:hover::before {
    transform: scaleX(1);
}

.activity-icon {
    font-size: 2.8rem;
    color: var(--kama-primary);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-icon {
    transform: scale(1.1);
}

.activity-card h3 {
    color: var(--kama-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.schedule {
    color: var(--kama-secondary);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.activity-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.additional-info {
    color: #777;
    font-size: 0.95rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--kama-border);
}

.no-activities {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--kama-card-shadow);
    border: 2px dashed var(--kama-border);
}

.no-activities p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.no-activities::before {
    content: "📅";
    font-size: 3.5rem;
    display: block;
    margin-bottom: 20px;
    opacity: 0.6;
}

/* Leadership Section */
.kama-leadership {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.kama-leadership::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kama-primary), var(--kama-secondary));
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.leader-card {
    text-align: center;
    padding: 45px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--kama-card-shadow);
    border: 1px solid rgba(44, 62, 80, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kama-primary), var(--kama-secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.leader-card:hover::before {
    transform: scaleX(1);
}

.leader-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    border: 4px solid white;
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.2);
    transition: all 0.3s ease;
}

.leader-card:hover img {
    border-color: var(--kama-primary);
    transform: scale(1.05);
}

.leader-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kama-light), #d3d9df);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border: 4px solid white;
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.15);
}

.leader-placeholder i {
    font-size: 3.5rem;
    color: var(--kama-primary);
    opacity: 0.7;
}

.leader-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kama-dark);
    margin-bottom: 12px;
}

.position {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--kama-primary);
    margin-bottom: 20px;
    padding: 8px 20px;
    background: rgba(44, 62, 80, 0.1);
    border-radius: 25px;
    display: inline-block;
}

.bio {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.contact {
    font-size: 0.95rem;
    color: #777;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact i {
    color: var(--kama-primary);
    width: 18px;
}

.no-leaders {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--kama-card-shadow);
    border: 2px dashed var(--kama-border);
}

.no-leaders p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.no-leaders::before {
    content: "👥";
    font-size: 3.5rem;
    display: block;
    margin-bottom: 20px;
    opacity: 0.6;
}

/* Membership Section - Simplified without form */
.kama-membership {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--kama-border), var(--kama-primary));
    color: black;
    text-align: center;
}

.kama-membership h2 {
    color:var(--kama-dark);
    margin-bottom: 60px;
}

.kama-membership h2:after {
    background: linear-gradient(90deg, white, var(--kama-secondary));
}

.membership-content {
    max-width: 800px;
    margin: 0 auto;
}

.membership-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.membership-info h3 {
    color: black;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.membership-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    text-align: left;
}

.membership-info li {
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    color: black;
}

.membership-info li:before {
    content: "✓";
    color: var(--kama-secondary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.3rem;
}

/* Verse Section */
.kama-verse {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--kama-secondary), #d35400);
    color: white;
    text-align: center;
    position: relative;
}

.kama-verse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.kama-verse blockquote {
    font-size: 2rem;
    line-height: 1.6;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.kama-verse blockquote::before,
.kama-verse blockquote::after {
    content: '"';
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    line-height: 1;
}

.kama-verse blockquote::before {
    top: -20px;
    left: -10px;
}

.kama-verse blockquote::after {
    bottom: -40px;
    right: -10px;
}

.kama-verse cite {
    display: block;
    margin-top: 30px;
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
}

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

.mv-card,
.pillar-card,
.activity-card,
.leader-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.cta-button:focus {
    outline: 2px solid var(--kama-accent);
    outline-offset: 2px;
}

/* Alert Styles */
.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {
    .about-kama,
    .mission-vision,
    .kama-pillars,
    .kama-activities,
    .kama-leadership,
    .kama-membership,
    .kama-verse {
        padding: 80px 0;
    }
    
    .container {
        max-width: 960px;
        padding: 0 25px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .kama-hero .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .kama-hero .tagline {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .about-kama,
    .mission-vision,
    .kama-pillars,
    .kama-activities,
    .kama-leadership,
    .kama-membership,
    .kama-verse {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .kama-hero {
        height: 60vh;
        min-height: 500px;
    }
    
    .kama-hero .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .kama-hero .tagline {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 28px;
    }
    
    .mv-grid,
    .pillars-grid,
    .activities-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .mv-card,
    .pillar-card,
    .activity-card,
    .leader-card {
        padding: 35px 25px;
    }
    
    .leader-image-container,
    .leader-placeholder {
        width: 130px;
        height: 130px;
    }
    
    .anglican-values {
        padding: 30px 25px;
    }
    
    .membership-info {
        padding: 35px 25px;
    }
    
    h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 640px) {
    .about-kama,
    .mission-vision,
    .kama-pillars,
    .kama-activities,
    .kama-leadership,
    .kama-membership,
    .kama-verse {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .kama-hero .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .kama-hero .tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .anglican-values li {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .anglican-values i {
        margin-right: 0;
    }
    
    .mv-icon,
    .pillar-icon,
    .activity-icon {
        font-size: 2.5rem;
    }
    
    .leader-card {
        padding: 30px 20px;
    }
    
    .leader-card h3 {
        font-size: 1.3rem;
    }
    
    .position {
        font-size: 1rem;
        padding: 6px 16px;
    }
    
    .membership-info {
        padding: 30px 20px;
    }
    
    .membership-info li {
        font-size: 1rem;
        padding-left: 28px;
    }
    
    .kama-verse blockquote {
        font-size: 1.6rem;
        padding: 0 15px;
    }
    
    .kama-verse blockquote::before,
    .kama-verse blockquote::after {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .kama-hero {
        height: 50vh;
        min-height: 400px;
        padding: 0 15px;
    }
    
    .kama-hero .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .kama-hero .tagline {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .mv-card,
    .pillar-card,
    .activity-card {
        padding: 25px 20px;
    }
    
    .leader-card {
        padding: 25px 15px;
    }
    
    .leader-image-container,
    .leader-placeholder {
        width: 110px;
        height: 110px;
    }
    
    .leader-placeholder i {
        font-size: 2.5rem;
    }
    
    .no-activities,
    .no-leaders {
        padding: 50px 25px;
    }
    
    .no-activities p,
    .no-leaders p {
        font-size: 1.1rem;
    }
}

@media (max-width: 360px) {
    .kama-hero .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .mv-card,
    .pillar-card,
    .activity-card,
    .leader-card {
        padding: 20px 15px;
    }
    
    .membership-info {
        padding: 25px 15px;
    }
}

/* Print styles */
@media print {
    .hero-buttons {
        display: none;
    }
    
    .about-kama,
    .mission-vision,
    .kama-pillars,
    .kama-activities,
    .kama-leadership,
    .kama-membership,
    .kama-verse {
        padding: 30px 0;
    }
    
    .kama-hero {
        background: none !important;
        color: black;
        height: auto;
        min-height: auto;
    }
    
    .cta-button {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --kama-border: #000000;
        --kama-card-shadow: 0 0 0 2px #000000;
    }
    
    .mv-card,
    .pillar-card,
    .activity-card,
    .leader-card {
        border: 2px solid #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .mv-card:hover,
    .pillar-card:hover,
    .activity-card:hover,
    .leader-card:hover {
        transform: none;
    }
}











/* ===== CATHEDRAL CONNECTION SECTION ===== */
.cathedral-connection {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--kama-primary) 40%, var(--kama-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cathedral-connection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cathedral-gold), #ffffff, var(--cathedral-gold));
}

.cathedral-connection h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.4rem;
    font-weight: 700;
    color: white;
    position: relative;
}

.cathedral-connection h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--cathedral-gold);
}

.connection-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.connection-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.connection-text p {
    margin-bottom: 25px;
    opacity: 0.95;
    font-size: 1.15rem;
}

.connection-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.connection-text li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    opacity: 0.95;
    font-size: 1rem;
    line-height: 1.6;
}

.connection-text li::before {
    content: '🏛️';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    opacity: 0.9;
}

.connection-image {
    position: relative;
}

.connection-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 3px solid var(--cathedral-gold);
}

.connection-image:hover img {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.connection-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--cathedral-gold);
    border-radius: calc(var(--border-radius) + 5px);
    opacity: 0.3;
    transition: var(--transition);
}

.connection-image:hover::before {
    opacity: 0.6;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
}

/* Cathedral Pattern Overlay */
.cathedral-connection::after {
    content: '';
    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" opacity="0.03"><path fill="white" d="M50 10L60 40H40L50 10Z M30 50L60 40L50 70L30 50Z M70 50L40 40L50 70L70 50Z"/></svg>');
    background-size: 200px;
    opacity: 0.1;
    pointer-events: none;
}

/* ===== ENHANCED MISSION & VISION FOR CATHEDRAL ===== */
.mission-vision h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-dark);
    font-size: 2.4rem;
    font-weight: 700;
    position: relative;
}

.mission-vision h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--cathedral-gold);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mv-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--cathedral-gold);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.mv-card:hover::before {
    left: 100%;
}

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

.mv-icon {
    font-size: 3rem;
    color: var(--cathedral-gold);
    margin-bottom: 25px;
    transition: var(--transition);
}

.mv-card:hover .mv-icon {
    transform: scale(1.1);
    color: var(--accent-red);
}

.mv-card h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.mv-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

.motto-description {
    font-style: italic;
    color: var(--cathedral-gold);
    margin-top: 10px;
    font-size: 0.9rem;
}

/* ===== ENHANCED PILLARS SECTION ===== */
.kama-pillars h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-dark);
    font-size: 2.4rem;
    font-weight: 700;
    position: relative;
}

.kama-pillars h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--cathedral-gold);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pillar-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--cathedral-gold);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transition: left 0.6s ease;
}

.pillar-card:hover::before {
    left: 100%;
}

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

.pillar-icon {
    font-size: 2.5rem;
    color: var(--cathedral-gold);
    margin-bottom: 20px;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1);
    color: var(--accent-red);
}

.pillar-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.pillar-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* Cathedral Gold Color Variable */
:root {
    --cathedral-gold: #d4af37;
}

/* Animation for Cathedral Elements */
@keyframes cathedralGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    }
}

.connection-image:hover img {
    animation: cathedralGlow 2s ease-in-out infinite;
}

/* ===== RESPONSIVE DESIGN FOR CATHEDRAL SECTIONS ===== */
@media (max-width: 768px) {
    .connection-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .connection-text li {
        text-align: left;
    }
    
    .cathedral-connection h2,
    .mission-vision h2,
    .kama-pillars h2 {
        font-size: 2rem;
    }
    
    .connection-text p {
        font-size: 1.1rem;
    }
    
    .connection-image {
        order: -1;
    }
    
    .mv-grid,
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .cathedral-connection::after {
        background-size: 150px;
    }
}

@media (max-width: 480px) {
    .cathedral-connection h2,
    .mission-vision h2,
    .kama-pillars h2 {
        font-size: 1.8rem;
    }
    
    .connection-text li {
        padding-left: 25px;
        font-size: 0.95rem;
    }
    
    .connection-text li::before {
        font-size: 1rem;
    }
    
    .connection-image img {
        border-width: 2px;
    }
    
    .mv-card,
    .pillar-card {
        padding: 25px 20px;
    }
}
/* END OF KAMA */