/**
 * Main Stylesheet
 * We Believe 2 CIC Website
 */

@import 'variables.css';

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}


/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.top-bar {
    background-color: var(--blue);
    color: white;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    position: relative;
    z-index: 1001;
}

.logo-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 var(--container-padding) 15px;
    position: relative;
    height: 90px;
}

.logo {
    display: block;
    position: relative;
    z-index: 10;
    padding-top: 0;
}

.logo-container {
    position: relative;
    background-color: white;
    border-radius: 8px;
    padding: 12px;
}

.logo img {
    height: 100px;
    display: block;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark);
}

.logo-text span {
    color: var(--green);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    position: absolute;
    right: var(--container-padding);
    top: 50%;
    transform: translateY(-50%);
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 3px 0;
    transition: var(--transition-standard);
    border-radius: 2px;
}

/* Hamburger animation */
.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation Styles */
nav {
    margin-left: auto;
    padding-top: 30px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color var(--transition-standard);
}

nav ul li a:hover {
    color: var(--green);
}

nav ul li a.active {
    color: var(--green);
    font-weight: bold;
}

.cta-button {
    background-color: var(--orange);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color var(--transition-standard);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--green);
    color: white;
}
/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../imgs/We-Believe-2-home-banner.jpg') top/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 130px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Section Styles */
section {
    padding: 100px var(--container-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
}

/* Mission Section */
.mission-section {
    text-align: center;
}

.mission-section h2 {
    color: var(--green);
}

.mission-statement {
    font-size: 24px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.value-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 30px;
    width: 300px;
    transition: transform var(--transition-standard);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--green);
}

/* Services Section */
.services-section {
    background-color: var(--blue);
}

.services-section h2 {
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 20px;
}

.service-title {
    color: var(--green);
    margin-bottom: 15px;
}

/* Impact Section */
.impact-section {
    text-align: center;
}

.impact-section h2 {
    color: var(--orange);
    margin-bottom: 50px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.stat-card {
    width: 200px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--green);
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--green);
    color: white;
    text-align: center;
}

.testimonials-section h2 {
    margin-bottom: 50px;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    padding: 0 20px;
}

.testimonial-text {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
}

/* Team Section */
.team-section h2 {
    text-align: center;
    color: var(--green);
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    margin: 0 auto 20px;
}

.team-name {
    color: var(--dark);
    font-weight: bold;
    margin-bottom: 10px;
}

.team-title {
    color: var(--green);
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background-color: var(--orange);
    color: white;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 30px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
}

.white-button {
    background-color: white;
    color: var(--orange);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    transition: transform var(--transition-standard);
}

.white-button:hover {
    transform: translateY(-5px);
}

/* Sponsor Section */
.sponsor-section {
    padding: 50px var(--container-padding);
    text-align: center;
    background-color: var(--light);
}

.sponsor-section h2 {
    color: var(--dark);
    margin-bottom: 30px;
}

.sponsor-logo {
    max-width: 200px;
    height: auto;
    margin: 15px;
}

/* Footer Styles */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px var(--container-padding) 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

/* REPLACE THE FOOTER LOGO STYLES IN YOUR style.css WITH THIS */

/* REPLACE THE FOOTER LOGO STYLES IN YOUR style.css WITH THIS */

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: white;
    padding: 12px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: fit-content;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--green);
}

.footer-logo-text span {
    color: var(--green);
}

.footer-logo-text {
    font-size: 24px;
    font-weight: bold;
}

.footer-logo-text span {
    color: var(--green);
}

.footer-logo-text {
    font-size: 24px;
    font-weight: bold;
}

.footer-logo-text span {
    color: var(--green);
}

.footer-links h3 {
    margin-bottom: 20px;
    color: var(--blue);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-standard);
}

.footer-links ul li a:hover {
    color: var(--blue);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    text-decoration: none;
    transition: background-color var(--transition-standard);
}

.social-icon:hover {
    background-color: var(--blue);
    color: white;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}
/* ADD THIS TO YOUR style.css TO FIX PAGE BANNER POSITIONING */

/* Page banner styles - for pages other than home */
.hero[style*="height: 50vh"] {
    background-position: center 30% !important; /* Moves image down so main part is visible */
    background-attachment: scroll; /* Ensures consistent behavior */
}

/* Alternative approach - you can use this instead if the above doesn't work well */
.page-hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/imgs/We-Believe-2-home-banner.jpg') center 30%/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 130px;
    background-position: center 40% !important; /* Adjust for mobile */
}

/* Mobile adjustments for page banners */
@media (max-width: 768px) {
    .hero[style*="height: 50vh"] {
        background-position: center 40% !important; /* Adjust for mobile */
        padding-top: 140px;
    }
    
    .page-hero {
        background-position: center 40%;
        padding-top: 140px;
    }
}

@media (max-width: 480px) {
    .hero[style*="height: 50vh"] {
        background-position: center 45% !important;
        padding-top: 120px;
    }
    
    .page-hero {
        background-position: center 45%;
        padding-top: 120px;
    }
}

/* ADD THIS TO YOUR style.css - Cookie Banner Styles */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid var(--green);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hide {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    color: var(--green);
    margin-bottom: 8px;
    font-size: 18px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-text a {
    color: var(--blue);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: white;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}

.cookie-btn.accept {
    background-color: var(--green);
    color: white;
}

.cookie-btn.accept:hover {
    background-color: #2d8f32;
    transform: translateY(-2px);
}

.cookie-btn.decline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn.decline:hover {
    background-color: white;
    color: var(--dark);
}

.cookie-btn.settings {
    background-color: var(--orange);
    color: white;
}

.cookie-btn.settings:hover {
    background-color: #d4891a;
}

/* Mobile styles */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-text {
        min-width: unset;
    }
    
    .cookie-text h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-btn {
        width: 100%;
    }
}
/* ADD THIS TO YOUR style.css - Cookie Settings Modal Styles */

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background-color: white;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.cookie-modal-header h3 {
    margin: 0;
    color: var(--green);
    font-size: 20px;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    color: var(--dark);
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-modal-body > p {
    margin-bottom: 20px;
    color: var(--dark);
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.cookie-toggle {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 15px;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.cookie-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    transition: background-color 0.3s;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-slider:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: var(--green);
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-slider {
    background-color: var(--blue);
    opacity: 0.7;
}

.cookie-info strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
}

.cookie-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.cookie-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Mobile styles for modal */
@media (max-width: 768px) {
    .cookie-modal {
        padding: 10px;
    }
    
    .cookie-modal-content {
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 15px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-toggle {
        gap: 10px;
    }
    
    .cookie-info strong {
        font-size: 14px;
    }
    
    .cookie-info p {
        font-size: 13px;
    }
}