/* === GLOBAL STYLES - SAPCMTY THEME === */

/* General Body & Typography */
:root {
    --primary-color: #1a1a1a; --secondary-color: #fdfdfd; --background-color: #fdfdfd;
    --light-bg-color: #f7f7f7; --text-color: #1a1a1a; --accent-color: #4a4a4a;
    --font-family: 'Inter', sans-serif; --border-radius: 12px;
    --transition-smooth: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); margin: 0; background-color: var(--background-color); color: var(--text-color); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-weight: 900; margin-top: 0; line-height: 1.2; }
p { margin-bottom: 20px; font-size: 1.05rem; color: var(--accent-color); }
.text-center { text-align: center; }
.section-title { font-size: clamp(2.2rem, 5vw, 2.8rem); margin-bottom: 20px; color: var(--text-color); }
.section-title-light { color: var(--secondary-color); font-size: clamp(2.2rem, 5vw, 2.8rem); margin-bottom: 20px; }
.section-subtitle { max-width: 600px; margin: 0 auto 60px auto; font-size: 1.1rem; }

/* Header & Navigation */
.main-header { background: var(--background-color); padding: 15px 0; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: box-shadow 0.4s ease, background-color 0.4s ease; }
.main-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; display: block; }
.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; }
.main-nav ul li { margin-left: 35px; }
.main-nav a { color: var(--text-color); text-decoration: none; font-size: 16px; font-weight: 700; position: relative; padding-bottom: 5px; }
.main-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; transform: translateX(-50%); background-color: var(--primary-color); transition: var(--transition-smooth); }
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 15px; }
.cta-button { background: var(--primary-color); color: var(--secondary-color); border: 2px solid var(--primary-color); padding: 10px 25px; text-decoration: none; font-weight: 700; border-radius: var(--border-radius); transition: var(--transition-smooth); display: inline-block; white-space: nowrap; }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.cta-button.secondary { background: transparent; color: var(--primary-color); }
.cta-button.secondary:hover { background: var(--primary-color); color: var(--secondary-color); }

/* Hero Sections */
.hero-section { min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 80px 20px; }
.hero-prefix { font-size: 0.9rem; font-weight: 700; color: var(--accent-color); margin-bottom: 15px; letter-spacing: 1.5px; text-transform: uppercase; }
.hero-headline { font-size: clamp(2.8rem, 6vw, 4.2rem); font-weight: 900; margin-bottom: 25px; color: var(--text-color); }
.hero-intro { max-width: 600px; margin: 0 auto 40px auto; font-size: clamp(1.1rem, 2.5vw, 1.2rem); }
.cta-button-main { background: var(--primary-color); color: var(--secondary-color); border: 2px solid var(--primary-color); padding: 16px 38px; text-decoration: none; font-size: 1.1rem; font-weight: 700; border-radius: var(--border-radius); display: inline-block; transition: var(--transition-smooth); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.cta-button-main:hover { background: #000; border-color: #000; transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.page-hero { background-color: var(--light-bg-color); padding: 120px 0 60px 0; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 4rem); }

/* General Page Content & Cards */
.page-content { padding: 80px 0; }
.about-section { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-image img { width: 100%; border-radius: var(--border-radius); }
.about-content h3 { font-size: 1.8rem; margin-bottom: 15px; }
.about-content p { font-size: 1.1rem; line-height: 1.8; }
.why-change-section { padding: 100px 0; background-color: var(--primary-color); }
.why-change-quote { font-size: clamp(1.3rem, 3vw, 1.8rem); max-width: 800px; margin: 0 auto; line-height: 1.6; font-weight: 700; color: var(--secondary-color); opacity: 0.9; }
.initiatives-section { padding: 100px 0; background-color: var(--light-bg-color); }
.initiatives-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.initiative-card { background: var(--secondary-color); border-radius: var(--border-radius); overflow: hidden; transition: var(--transition-smooth); border: 1px solid #e8e8e8; display: flex; flex-direction: column; }
.initiative-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.card-image-container { height: 220px; padding: 20px; background-color: #fff; display: flex; align-items: center; justify-content: center; }
.initiative-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
.card-content { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.card-content h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--text-color); }
.card-content p { flex-grow: 1; }
.card-button { margin-top: 20px; border: 2px solid #e0e0e0; padding: 12px 20px; border-radius: var(--border-radius); text-align: center; text-decoration: none; font-weight: 700; color: var(--accent-color); transition: var(--transition-smooth); }
.card-button:hover { background-color: var(--primary-color); border-color: var(--primary-color); color: var(--secondary-color); }

/* Volunteer & Coverage Sections */
.volunteer-section { position: relative; padding: 120px 0; background: url('https://images.unsplash.com/photo-1593113646773-028c64a8f1b8?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover; color: var(--secondary-color); }
.volunteer-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); }
.volunteer-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.volunteer-title { font-size: clamp(2.5rem, 5vw, 3rem); margin-bottom: 20px; }
.volunteer-content p { color: #e0e0e0; font-size: 1.1rem; margin-bottom: 40px; }
.volunteer-cta { background-color: var(--secondary-color); color: var(--primary-color); border-color: var(--secondary-color); }
.volunteer-cta:hover { background-color: transparent; color: var(--secondary-color); }
.coverage-section { padding: 100px 0; }
.coverage-section.home-coverage { border-top: 1px solid #e8e8e8; }
.coverage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.coverage-card { background: var(--light-bg-color); padding: 40px 20px; border-radius: var(--border-radius); text-align: center; border: 2px solid transparent; transition: var(--transition-smooth); }
.coverage-card:hover { transform: translateY(-8px); border-color: var(--primary-color); }
.coverage-card h3 { font-size: 1.5rem; color: var(--text-color); margin: 0; }
.coverage-card.special { background-color: var(--primary-color); border-color: var(--primary-color); }
.coverage-card.special h3 { color: var(--secondary-color); }
.volunteer-hero-section { position: relative; padding: 160px 0; color: var(--secondary-color); background: url('https://images.unsplash.com/photo-1626352784439-30751e1273e3?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover; }
.volunteer-hero-title { font-size: clamp(3rem, 6vw, 4.5rem); }
.volunteer-hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.3rem); color: #e0e0e0; max-width: 600px; margin: 20px auto 0 auto; }
.mission-section { padding: 100px 0; background-color: var(--light-bg-color); }
.mission-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.mission-image img { width: 100%; border-radius: var(--border-radius); }
.gain-section { padding: 100px 0; }
.gain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.gain-card { padding: 30px; border: 1px solid #e8e8e8; border-radius: var(--border-radius); text-align: center; transition: var(--transition-smooth); }
.gain-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: transparent; }
.gain-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.join-section { padding: 100px 0; background-color: var(--light-bg-color); }
.join-box { max-width: 700px; margin: auto; background-color: var(--secondary-color); padding: 50px; border-radius: var(--border-radius); border: 1px solid #e8e8e8; }
.join-box h2 { font-size: 2rem; }
.join-box .social-icons { justify-content: center; margin-top: 20px; }

/* Footer & Contact */
.main-contact-section { padding: 100px 0 40px 0; background-color: var(--light-bg-color); border-top: 1px solid #e8e8e8; }
.contact-header { margin-bottom: 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: flex-start; }
.contact-details h3 { font-size: 1.5rem; margin-bottom: 20px; }
.contact-details ul { list-style: none; padding: 0; margin: 0; }
.contact-details li { margin-bottom: 15px; font-size: 1rem; line-height: 1.8; }
.contact-details li strong { color: var(--text-color); }
.contact-details a { color: var(--accent-color); text-decoration: none; transition: color 0.3s ease; }
.contact-details a:hover { color: var(--primary-color); }
.social-icons { margin-top: 30px; display: flex; gap: 15px; }
.social-icons a { color: var(--accent-color); display: block; }
.social-icons svg { width: 28px; height: 28px; transition: var(--transition-smooth); }
.social-icons a:hover svg { transform: scale(1.1) translateY(-2px); color: var(--primary-color); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 8px; font-family: var(--font-family); font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; box-sizing: border-box; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0,0,0,0.1); }
.footer-bottom { border-top: 1px solid #e0e0e0; margin-top: 80px; padding-top: 40px; }
.copyright { font-size: 0.9rem; color: #888; }

/* Animation & Mobile */
.animate-on-scroll { opacity: 0; transform: translateY(50px); transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; } .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; } .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
.menu-burger, .mobile-nav { display: none; }
@media (max-width: 992px) {
    .main-nav, .hide-on-mobile { display: none; }
    .menu-burger { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; cursor: pointer; z-index: 1002; }
    .menu-burger span { width: 100%; height: 3px; background-color: var(--primary-color); border-radius: 3px; transition: all 0.3s ease-in-out; }
    .menu-burger.open span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); } .menu-burger.open span:nth-child(2) { opacity: 0; } .menu-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
    .mobile-nav { position: fixed; top: 0; left: 100%; width: 100%; height: 100%; background-color: var(--secondary-color); z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1); }
    .mobile-nav.open { left: 0; }
    body.no-scroll { overflow: hidden; }
    .mobile-nav a { font-size: 2rem; color: var(--primary-color); text-decoration: none; font-weight: 900; margin: 20px 0; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; }
    .mobile-nav.open a { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
    .about-grid, .mission-grid, .contact-grid, .gain-grid { grid-template-columns: 1fr; }
    .about-image, .mission-image { display: none; }
    .gain-grid { gap: 20px; }
}
@media (max-width: 768px) {
    .initiatives-grid, .coverage-grid { grid-template-columns: 1fr; }
}