* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #1a0b0b 0%, #2d1810 50%, #1a0b0b 100%);
    color: #f4f4f4;
    line-height: 1.6;
    overflow-x: hidden;
}

.spooky-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 49%, rgba(255, 69, 0, 0.02) 50%, transparent 51%);
    z-index: -1;
    animation: spookyFloat 20s ease-in-out infinite;
}

@keyframes spookyFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #ff4500;
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: clamp(150px, 10vw, 100px);
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.logo-image {
    height: clamp(40px, 5vw, 60px);
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #f4f4f4;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    background: rgba(255, 69, 0, 0.2);
    color: #ffa500;
    transform: translateY(-2px);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cobweb" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0,10 L20,10 M10,0 L10,20 M0,0 L20,20 M0,20 L20,0" stroke="%23333" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23cobweb)"/></svg>');
    position: relative;
}

.logo-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo in navigation */
.logo-image {
    height: clamp(40px, 5vw, 60px);
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

/* Hero logo */
.hero-logo {
    max-width: 100%;
    height: auto;
    width: clamp(300px, 50vw, 600px);
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.8));
    animation: flicker 3s ease-in-out infinite alternate;
}

@keyframes flicker {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.9; }
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ffa500;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #ff4500, #ffa500);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.6);
}

.section {
    padding: 80px 0;
    position: relative;
}

.section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    color: #ff4500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-card {
    background: rgba(20, 10, 5, 0.9);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #8b4513;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.program-card:hover {
    transform: translateY(-5px) rotate(1deg);
    border-color: #ff4500;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.3);
}

.program-card h3 {
    color: #ffa500;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.program-card .number {
    font-size: 3rem;
    color: #ff4500;
    font-weight: bold;
    float: right;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.map-container {
    background: rgba(20, 10, 5, 0.9);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #8b4513;
    margin: 40px 0;
}

.map-frame {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #ff4500;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
    margin-bottom: 20px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: 
        hue-rotate(25deg) 
        saturate(0.7) 
        brightness(0.8)
        contrast(1.1);
    transition: filter 0.3s ease;
}

.map-frame:hover iframe {
    filter: 
        hue-rotate(25deg) 
        saturate(1) 
        brightness(1)
        contrast(1.2);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #2d1810, #1a0b0b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ff4500;
    margin-bottom: 20px;
}

.map-placeholder p {
    color: #ffa500;
    font-size: 1.2rem;
    text-align: center;
}

.directions {
    background: rgba(139, 69, 19, 0.2);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #ff4500;
}

.directions h3 {
    color: #ffa500;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.directions ul {
    list-style: none;
    padding-left: 0;
}

.directions li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.directions li:before {
    content: "🎃";
    position: absolute;
    left: 0;
}

footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid #ff4500;
}

.partners-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.partner-category {
    background: rgba(20, 10, 5, 0.7);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #8b4513;
    transition: all 0.3s ease;
}

.partner-category:hover {
    border-color: #ff4500;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.2);
}

.partner-category h3 {
    color: #ffa500;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.partner-card {
    background: rgba(10, 5, 2, 0.8);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #654321;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #ff4500;
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
}

.partner-logo-placeholder {
    width: 120px;
    height: 80px;
    background: linear-gradient(45deg, #2d1810, #1a0b0b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 2px dashed #8b4513;
    overflow: hidden;
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: brightness(1.1) contrast(1.2);
}

.partner-logo-placeholder::before {
    content: "🏢";
    font-size: 2rem;
    color: #8b4513;
    position: absolute;
}

.partner-logo-placeholder:has(img)::before {
    display: none;
}

.partner-card h4 {
    color: #ffa500;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.partner-card p {
    color: #ccc;
    font-size: 0.9rem;
    font-style: italic;
}

.become-partner {
    background: linear-gradient(45deg, rgba(255, 69, 0, 0.1), rgba(255, 165, 0, 0.1));
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #ff4500;
    text-align: center;
    margin-top: 50px;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 69, 0, 0.5); }
}

.become-partner h3 {
    color: #ff4500;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.become-partner p {
    color: #ffa500;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.partner-cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, #ff4500, #ffa500);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.6);
    background: linear-gradient(45deg, #ffa500, #ff4500);
}

@media (max-width: 768px) {
    .partner-logos {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .partner-category {
        padding: 25px;
    }
    
    .partner-category h3 {
        font-size: 1.5rem;
    }
    
    .become-partner {
        padding: 25px;
    }
    
    .become-partner h3 {
        font-size: 1.5rem;
    }
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.contact-card {
    background: rgba(20, 10, 5, 0.7);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #8b4513;
}

.contact-card h4 {
    color: #ffa500;
    margin-bottom: 10px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ff4500;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        padding: 15px 30px;
        border-radius: 10px;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        border-color: #ff4500;
        background: rgba(255, 69, 0, 0.2);
        transform: scale(1.05);
    }
    
    .hero-logo {
        width: clamp(250px, 80vw, 400px);
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffa500;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}
@media all and (max-width: 768px) {
 .section {
    padding-block: 40px !important;
}

@media all and(max-width: 768px) {
 section#home {
     height: fit-content;
     padding: 140px 20px;
 }
}

.section + .section {
    padding-top: 0px !important;
}

.section h2 {
    margin-bottom: 25px;
}
    .program-card {
        padding: 20px;
    }
    .program-card h3 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    .program-card p {
        font-size: 1rem;
    }

    #location .map-container {
        padding: 20px;
        margin-bottom: 0;
    }
    #location .directions {
        background-color: unset;
        border-left: 0;
        padding: 0 ;
    }
    #location .directions > div {
        display: block !important;
    }
    #location .directions > div ul li:last-child {
        margin-bottom: 0;
    }
    #location .directions > div div:not(:last-child) {
        margin-bottom: 20px;
    }
    #location .map-frame {
        height: 250px;
    }
}