/* ============================================
   KENYAN PEASANTS LEAGUE - COMPLETE STYLESHEET
   WITH CUSTOM MODIFICATIONS:
   - No border-radius on any sections or buttons
   - Header is NOT sticky (no sticky positioning)
   - Bottom ticker line removed
   ============================================ */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f00000;
    --secondary-color: #239600;
    --dark-color: #000000;
    --green-dark: #006b0b;
    --gray-light: #e1e8ed;
    --gray-bg: #f2f5f7;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0px 12px 18px -6px rgba(34, 56, 101, 0.04);
    --shadow-dropdown: 0px 10px 20px rgba(41, 51, 61, 0.1);
    --shadow-hover: 0px 20px 30px -10px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--black);
    background-color: var(--gray-bg);
}

.container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 20px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.5;
}

h1 { font-size: 40px; }
h2 { font-size: 35px; }
h3 { font-size: 30px; }
h4 { font-size: 25px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--green-dark);
}

/* ---------- BUTTONS (0px border-radius) ---------- */
.btn {
    display: inline-block;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    font-size: 14px;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
}

.btn-youtube {
    background-color: #FF0000;
    color: var(--white);
}

.btn-youtube:hover {
    background-color: #cc0000;
    color: var(--white);
}

/* ============================================
   TOP BAR - FIXED (NON-FLOATING) DESIGN
   (BOTTOM TICKER LINE REMOVED)
   ============================================ */

.top-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 8px 0;
    position: relative;
    z-index: 101;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    float: none;
    clear: both;
}

/* REMOVED: animated gradient border (bottom ticker line) */
.top-bar::before {
    display: none;  /* MODIFIED: removes the sliding border line */
}

@keyframes borderSlide {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    float: none;
    clear: both;
}

/* Header Contact */
.header-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.header-contact a i {
    font-size: 13px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.header-contact a:hover {
    color: var(--white);
}

.header-contact a:hover i {
    transform: translateX(3px);
}

/* Header Socials */
.header-socials {
    display: flex;
    gap: 8px;
}

.header-socials a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Social icons hover effect */
.header-socials a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    z-index: -1;
}

.header-socials a:hover::before {
    transform: scale(1);
}

.header-socials a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* Pulse animation for social icons on hover */
.header-socials a:hover i {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive Top Bar */
@media (max-width: 768px) {
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }
    
    .header-contact a {
        font-size: 12px;
    }
    
    .header-socials {
        gap: 12px;
    }
    
    .header-socials a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Alternative Minimal Top Bar Design (can be added as a class) */
.top-bar.minimal {
    background: var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.top-bar.minimal .header-contact a {
    color: var(--black);
}

.top-bar.minimal .header-contact a i {
    color: var(--primary-color);
}

.top-bar.minimal .header-socials a {
    background: transparent;
    color: var(--dark-color);
}

.top-bar.minimal .header-socials a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.top-bar.minimal .header-socials a::before {
    display: none;
}

/* ---------- HEADER STYLES (NOT STICKY) ---------- */
.site-header {
    background-color: var(--white);
    position: relative;  /* MODIFIED: was 'sticky', now 'relative' - NOT sticky */
    width: 100%;
    float: none;
    clear: both;
    top: auto;  /* MODIFIED: removes any sticky positioning */
}

.site-header.header-scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.site-header.header-scrolled .main-header {
    height: 80px;
}

/* Main Header */
.main-header {
    height: 120px;
    display: flex;
    align-items: center;
    background-color: var(--white);
    float: none;
    clear: both;
}

.main-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    float: none;
}

/* Navigation Menu */
.main-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    float: none;
}

.main-menu > li {
    position: relative;
    float: none;
}

.main-menu > li > a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--black);
    padding: 10px 0;
    display: block;
    position: relative;
}

.main-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.main-menu > li > a:hover::after,
.main-menu > li.current-menu-item > a::after {
    width: 100%;
}

.main-menu > li > a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--green-dark);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    padding: 10px 0;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    box-shadow: var(--shadow-dropdown);
    z-index: 100;
}

.main-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.sub-menu li {
    position: relative;
}

.sub-menu li a {
    display: block;
    padding: 8px 20px;
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.sub-menu li:last-child a {
    border-bottom: none;
}

.sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 25px;
}

/* Nested Submenu */
.sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

/* Site Branding */
.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    max-height: 74px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover img {
    transform: scale(1.02);
}

.site-title {
    font-size: 25px;
    font-weight: 500;
    color: var(--green-dark);
    display: block;
}

.site-description {
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
}

/* Search Button */
.header-search button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--black);
    transition: transform 0.3s ease;
}

.header-search button:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

/* Mobile Header */
.mobile-header {
    display: none;
    height: 70px;
    align-items: center;
    background-color: var(--white);
}

.mobile-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-toggle,
.search-toggle-mobile {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover,
.search-toggle-mobile:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

.cta-button-small {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    font-size: 14px;
}

/* ============================================
   MOBILE OFFCANVAS MENU - WHITE BACKGROUND
   ============================================ */

.mobile-offcanvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 500px;
    max-width: 85vw;
    height: 100%;
    background-color: #ffffff;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-offcanvas.active {
    right: 0;
}

.offcanvas-inner {
    padding: 30px 25px;
    color: var(--black);
}

.offcanvas-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: var(--black);
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.offcanvas-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.offcanvas-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.offcanvas-branding img {
    width: 50px;
    height: auto;
}

.offcanvas-branding .site-title {
    color: var(--green-dark);
    font-size: 18px;
}

.offcanvas-branding p {
    font-size: 11px;
    opacity: 0.7;
    color: var(--black);
}

/* Mobile Menu Styles - White Background */
.mobile-menu {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-menu > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu > li > a {
    display: block;
    padding: 15px 0;
    color: var(--black);
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-menu > li > a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.mobile-menu .current > a {
    color: var(--primary-color);
}

/* Submenu Styles - White Background */
.mobile-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.02);
    box-shadow: none;
    padding: 0 0 0 20px;
    display: none;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    margin-bottom: 10px;
}

.mobile-menu .sub-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu .sub-menu li:last-child {
    border-bottom: none;
}

.mobile-menu .sub-menu li a {
    display: block;
    padding: 12px 0;
    color: var(--black);
    font-size: 15px;
    font-weight: 400;
}

.mobile-menu .sub-menu li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Menu item with children indicator */
.mobile-menu .menu-item-has-children > a {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu .menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    opacity: 0.7;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.mobile-menu .menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

/* Offcanvas Contact - White Background */
.offcanvas-contact {
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.offcanvas-contact a {
    color: var(--black);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.offcanvas-contact a:hover {
    color: var(--primary-color);
}

.offcanvas-contact a::before {
    content: '\f0e0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    color: var(--secondary-color);
}

/* Offcanvas Socials - White Background */
.offcanvas-socials {
    display: flex;
    gap: 20px;
}

.offcanvas-socials a {
    color: var(--black);
    font-size: 18px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.offcanvas-socials a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Scrollbar styling for offcanvas - White theme */
.mobile-offcanvas::-webkit-scrollbar {
    width: 4px;
}

.mobile-offcanvas::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-offcanvas::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
}

/* Responsive adjustments for offcanvas */
@media (max-width: 768px) {
    .mobile-offcanvas {
        width: 85vw;
    }
    
    .offcanvas-inner {
        padding: 20px;
    }
    
    .mobile-menu > li > a {
        font-size: 16px;
        padding: 12px 0;
    }
    
    .mobile-menu .sub-menu li a {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .offcanvas-branding .site-title {
        font-size: 16px;
    }
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 21, 25, 0.98);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-inner {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 16px;
}

.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-form button {
    background-color: var(--primary-color);
    border: none;
    padding: 0 25px;
    color: var(--white);
    cursor: pointer;
}

/* ---------- HERO SECTION (0px border-radius) ---------- */
.hero-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-bg) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(240, 0, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-left: 15px;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
}

.hero-content h1 {
    font-size: 48px;
    margin: 20px 0;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content h1 span {
    color: var(--primary-color);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.hero-content p {
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    background: url('https://i0.wp.com/kenyanpeasantsleague.org/wp-content/uploads/2021/04/icon.png?fit=847%2C848&amp;ssl=1') center/contain no-repeat;
    min-height: 400px;
}

/* ---------- CTA SECTION (0px border-radius) ---------- */
.cta-section {
    padding: 60px 0;
    background-color: var(--white);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cta-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-bg) 100%);
    padding: 30px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: left 0.5s ease;
}

.cta-card:hover::before {
    left: 0;
}

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

.cta-card h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cta-card h2 {
    font-size: 28px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff4444 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
}

.cta-card p {
    margin-bottom: 20px;
    font-size: 14px;
}

/* ---------- ABOUT SECTION (0px border-radius) ---------- */
.about-section {
    padding: 60px 0;
    background-color: var(--gray-bg);
    position: relative;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-media {
    position: relative;
}

.main-image img {
    width: 100%;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
}

.floating-image {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 250px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating-image img {
    width: 100%;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
}

.ticker-widget {
    background-color: var(--white);
    padding: 15px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticker-badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    font-size: 12px;
    white-space: nowrap;
}

.ticker-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.ticker-slides {
    overflow: hidden;
    flex: 1;
}

.ticker-slide a {
    color: var(--black);
    font-size: 14px;
}

.ticker-nav {
    display: flex;
    gap: 5px;
}

.ticker-nav button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.about-content h2 {
    margin: 15px 0 20px;
}

.info-box {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-box:hover {
    transform: translateX(10px);
    border-color: rgba(240, 0, 0, 0.2);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: all 0.3s ease;
}

.info-box:hover .info-icon {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.info-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ---------- SOCIAL MEDIA SECTION (0px border-radius) ---------- */
.social-media-section {
    padding: 60px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto 0;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.social-card {
    background-color: var(--gray-bg);
    padding: 40px 30px;
    text-align: center;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.social-card:hover::after {
    transform: scaleX(1);
}

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

.social-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    transition: all 0.3s ease;
}

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

.social-card.facebook .social-icon { color: #1877f2; }
.social-card.twitter .social-icon { color: #1da1f2; }
.social-card.linkedin .social-icon { color: #0077b5; }
.social-card.vimeo .social-icon { color: #1ab7ea; }
.social-card.soundcloud .social-icon { color: #ff7700; }
.social-card.youtube .social-icon { color: #ff0000; }

.social-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.social-card p {
    margin-bottom: 20px;
    font-size: 14px;
}

.social-link {
    color: var(--primary-color);
    font-weight: 600;
}

.social-link i {
    transition: var(--transition);
}

.social-link:hover i {
    transform: translateX(5px);
}

/* ---------- TESTIMONIALS SECTION (0px border-radius) ---------- */
.testimonials-section {
    padding: 60px 0;
    background-color: var(--gray-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.testimonials-slider {
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 40px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonials-slider::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    color: rgba(240, 0, 0, 0.05);
    font-family: serif;
    pointer-events: none;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.testimonial-author::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.testimonial-tags {
    font-size: 12px;
    color: #666;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.slider-nav button {
    width: 40px;
    height: 40px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-nav button:hover {
    background-color: var(--secondary-color);
}

/* ---------- VIDEOS SECTION (0px border-radius) ---------- */
.videos-section {
    padding: 60px 0;
    background-color: var(--white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.video-card {
    background-color: var(--gray-bg);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

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

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    transition: var(--transition);
}

.play-btn:hover {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card h3 {
    font-size: 16px;
    padding: 15px;
    margin: 0;
}

.subscribe-btn-wrapper {
    text-align: center;
}

/* ---------- EVENTS SECTION (0px border-radius) ---------- */
.events-section {
    padding: 60px 0;
    background-color: var(--gray-bg);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.calendar-placeholder {
    background-color: var(--white);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.calendar-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(240, 0, 0, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.event-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--gray-light);
    transition: all 0.3s ease;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
}

.event-item:hover {
    background-color: rgba(240, 0, 0, 0.03);
    transform: translateX(5px);
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-left: 20px;
}

.event-date::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
}

.event-title {
    color: var(--black);
}

.events-info {
    background-color: var(--white);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    padding: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   FOOTER STYLES WITH ANIMATIONS (0px border-radius)
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, var(--gray-bg) 0%, #e8ecef 100%);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
}

/* Footer Middle */
.footer-middle {
    padding: 60px 0 50px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 50px;
}

/* Footer Widgets */
.footer-widget {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.footer-widget:nth-child(1) { animation-delay: 0.1s; }
.footer-widget:nth-child(2) { animation-delay: 0.2s; }
.footer-widget:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-logo {
    max-width: 220px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.02);
}

.footer-widget h3 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--green-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
}

.footer-widget p,
.footer-widget a {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: var(--primary-color);
}

/* Recent Posts List */
.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.recent-posts li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.recent-posts li:hover {
    transform: translateX(5px);
}

.recent-posts li:hover::before {
    transform: translateX(3px);
}

.recent-posts li a {
    font-size: 14px;
    color: #555;
    transition: color 0.3s ease;
}

.recent-posts li a:hover {
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px 0;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 0, 0, 0.5), rgba(35, 150, 0, 0.5), transparent);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Copyright */
.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.copyright a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--white);
    text-decoration: underline;
}

.copyright img {
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.copyright img:hover {
    transform: rotate(5deg);
}

/* Footer Socials */
.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-socials a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    z-index: -1;
}

.footer-socials a:hover::before {
    transform: scale(1);
}

.footer-socials a:hover {
    color: var(--white);
    transform: translateY(-3px);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-middle {
        padding: 40px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-widget h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .recent-posts li {
        text-align: left;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        order: 2;
    }
    
    .footer-socials {
        order: 1;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
}

/* Scroll to Top Button (0px border-radius) */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(240, 0, 0, 0.3);
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1024px) {
    .main-header {
        display: none;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .hero-grid,
    .about-grid,
    .testimonials-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-grid,
    .social-grid,
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .cta-grid,
    .social-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .floating-image {
        width: 150px;
        bottom: -15px;
        right: -15px;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin: 0 auto;
    }
}

/* ---------- ABOUT PAGE STYLES (0px border-radius) ---------- */
.about-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-bg) 100%);
}

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

.about-hero-content {
    text-align: center;
}

.about-hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.about-hero-content h2 {
    margin: 15px 0 20px;
}

.about-hero-content p {
    margin-bottom: 30px;
}

.about-images {
    position: relative;
    min-height: 400px;
}

.about-main-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.about-main-image img {
    max-width: 100%;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    box-shadow: var(--shadow);
}

.about-floating-image {
    position: absolute;
    bottom: -30px;
    right: -30px;
    z-index: 3;
}

.about-floating-image img {
    max-width: 250px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    box-shadow: var(--shadow);
}

.history-section {
    padding: 60px 0;
    background-color: var(--white);
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.history-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.history-video {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.history-video .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-btn {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 32px;
    transition: var(--transition);
}

.video-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: var(--white);
}

.collectives-section {
    padding: 60px 0;
    background-color: var(--gray-bg);
}

.collectives-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.collectives-content .section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.collectives-content h2 {
    margin: 15px 0 20px;
}

.collective-toggle {
    margin-top: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.collective-toggle-header {
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.collective-toggle-header i {
    transition: transform 0.3s ease;
}

.collective-toggle-header.active i {
    transform: rotate(90deg);
}

.collective-toggle-content {
    display: none;
    padding-bottom: 20px;
    line-height: 1.8;
}

.collective-toggle-content.show {
    display: block;
}

.collectives-text {
    margin-top: 20px;
    line-height: 1.8;
}

.collectives-carousel {
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-container {
    position: relative;
}

.carousel-slides {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary-color);
}

/* ---------- CONTACT PAGE STYLES (0px border-radius) ---------- */
.contact-hero {
    padding: 60px 0 30px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-bg) 100%);
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.office-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.office-card:hover {
    transform: translateY(-5px);
}

.office-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.office-card h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.office-divider {
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 15px auto;
}

.office-description {
    font-size: 14px;
    margin-bottom: 20px;
}

.office-details {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.office-details li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.office-details li i {
    width: 20px;
    color: var(--primary-color);
}

.office-details a {
    color: var(--black);
}

.office-details a:hover {
    color: var(--primary-color);
}

.map-container {
    width: 100%;
    height: 400px;
    margin-bottom: 50px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-section {
    padding: 50px 0 80px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    margin-bottom: 15px;
}

.wpforms-container {
    background: var(--white);
    padding: 40px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    box-shadow: var(--shadow);
}

.wpforms-field {
    margin-bottom: 20px;
}

.wpforms-field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--black);
}

.wpforms-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    font-family: inherit;
    transition: var(--transition);
}

.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.wpforms-field textarea {
    min-height: 120px;
    resize: vertical;
}

.wpforms-submit {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.wpforms-submit:hover {
    background-color: var(--secondary-color);
}

/* ---------- RESOURCES PAGE (TOGGLE/ACCORDION) STYLES (0px border-radius) ---------- */
.resources-hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-bg) 100%);
    text-align: center;
}

.resources-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.resources-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: #555;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resources-section {
    padding: 60px 0;
    background-color: var(--white);
}

.resources-section:nth-child(even) {
    background-color: var(--gray-bg);
}

/* Toggle/Accordion Styles (0px border-radius) */
.toggle-group {
    margin-bottom: 30px;
}

.toggle-item {
    background-color: var(--white);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.toggle-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(240, 0, 0, 0.1);
}

.toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    background-color: var(--white);
    transition: all 0.3s ease;
    position: relative;
}

.toggle-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.toggle-item.active .toggle-header::before {
    transform: scaleY(1);
}

.toggle-header:hover {
    background-color: var(--gray-bg);
}

.toggle-header h3 {
    font-size: 20px;
    margin: 0;
    color: var(--green-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-header h3 i {
    color: var(--primary-color);
    font-size: 22px;
    opacity: 0.7;
}

.toggle-icon {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    background-color: rgba(240, 0, 0, 0.1);
}

.toggle-item.active .toggle-icon {
    transform: rotate(180deg);
    background-color: var(--primary-color);
    color: var(--white);
}

.toggle-content {
    display: none;
    padding: 0 28px 28px 28px;
    border-top: 1px solid var(--gray-light);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-item.active .toggle-content {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Post content styles inside toggles */
.toggle-content .featured-image {
    margin-bottom: 25px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    overflow: hidden;
    position: relative;
}

.toggle-content .featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.toggle-content .featured-image:hover img {
    transform: scale(1.02);
}

.toggle-content .featured-caption {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

.toggle-content .post-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--gray-light);
}

.toggle-content .post-meta i {
    margin-right: 8px;
    color: var(--primary-color);
}

.toggle-content .post-meta a {
    color: var(--primary-color);
}

.toggle-content .post-meta a:hover {
    color: var(--secondary-color);
}

.toggle-content .post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--black);
}

.toggle-content .post-content h3 {
    font-size: 22px;
    margin: 28px 0 16px;
    color: var(--green-dark);
    position: relative;
    padding-left: 15px;
}

.toggle-content .post-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background-color: var(--primary-color);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
}

.toggle-content .post-content p {
    margin-bottom: 1.2em;
}

.toggle-content .post-content em {
    font-style: italic;
    color: var(--primary-color);
    background-color: rgba(240, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
}

.toggle-content .post-content blockquote {
    margin: 25px 0;
    padding: 20px 30px;
    background: linear-gradient(135deg, var(--gray-bg) 0%, rgba(240, 0, 0, 0.03) 100%);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    border-radius: 0px 0px 0px 0px;  /* MODIFIED: 0px border-radius */
}

/* Category badges */
.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff4444 100%);
    color: var(--white);
    padding: 5px 16px;
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(240, 0, 0, 0.3);
}

/* Loading animation for toggle items */
.toggle-item {
    animation: fadeInScale 0.5s ease backwards;
}

.toggle-item:nth-child(1) { animation-delay: 0.05s; }
.toggle-item:nth-child(2) { animation-delay: 0.1s; }
.toggle-item:nth-child(3) { animation-delay: 0.15s; }
.toggle-item:nth-child(4) { animation-delay: 0.2s; }
.toggle-item:nth-child(5) { animation-delay: 0.25s; }
.toggle-item:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments for resources page */
@media (max-width: 768px) {
    .resources-hero h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .toggle-header {
        padding: 16px 20px;
    }
    
    .toggle-header h3 {
        font-size: 16px;
    }
    
    .toggle-header h3 i {
        font-size: 18px;
    }
    
    .toggle-content {
        padding: 0 20px 20px 20px;
    }
    
    .toggle-content .post-meta {
        gap: 15px;
        font-size: 12px;
    }
    
    .toggle-content .post-content {
        font-size: 14px;
    }
    
    .toggle-content .post-content h3 {
        font-size: 18px;
    }
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

.hidden { display: none; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 0px;  /* MODIFIED: 0px border-radius */
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Selection color */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Focus outline for accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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