/*
Theme Name: Smart Growth Foundation Kenya
Description: A modern, responsive WordPress theme for Smart Growth Foundation Kenya - Transform Communities. Sustain Futures.
Version: 1.0.0
Author: Smart Growth Foundation Kenya
Text Domain: smart-growth-foundation
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #0490B6;
    --primary-green: #09883B;
    --accent-green: #99C141;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-gray: #666666;
    --overlay: rgba(0,0,0,0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(4, 144, 182, 0.3);
}

.brand-text {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.donate-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(4, 144, 182, 0.3);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 144, 182, 0.4);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section with Video Background */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
	border: none;
    pointer-events: none;
}

/* YouTube iframe video styling */
iframe.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 144, 182, 0.8), rgba(9, 136, 59, 0.8));
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, #fff, #e0f7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 8px 30px rgba(255,255,255,0.3);
}

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

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Sections */
.section {
    padding: 100px 2rem;
    position: relative;
}

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

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--light-gray);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--light-gray));
}

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

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.about-highlight {
    color: var(--primary-blue);
    font-weight: 600;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
/* About Image Slider */
.about-slider-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

.about-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.about-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.about-slide {
    display: none;
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.about-slide:hover img {
    transform: scale(1.05);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.about-slide:hover .slide-caption {
    transform: translateY(0);
}

.slide-caption h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.slide-caption p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* About Slider Navigation */
.about-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.about-slider-prev,
.about-slider-next {
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.about-slider-prev:hover,
.about-slider-next:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.about-slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--primary-green);
    transform: scale(1.1);
}


/* Programs Section with 6 cards */
.programs {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.program-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
    background-clip: padding-box;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green), var(--accent-green));
}

.program-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.program-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(4, 144, 182, 0.3);
}

.program-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

/* Success Stories Slider */
.stories {
    background: var(--white);
}

.stories-slider {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    border-radius: 20px;
}

.story-slide {
    display: none;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 3rem;
    text-align: center;
    border-radius: 20px;
}

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

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

.story-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.story-author {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.story-location {
    opacity: 0.9;
}

.slider-controls {
    text-align: center;
    margin-top: 2rem;
}

.slider-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 12px 20px;
    margin: 0 0.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Impact Section */
.impact {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    position: relative;
    overflow: hidden;
}

.impact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="25" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="25" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s linear infinite;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.stat-number {
    font-size: 4rem;
    font-weight: bold;
    display: block;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #e0f7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.3rem;
    opacity: 0.9;
}


/* Impact Section Title - White Color */
.impact .section-title h2 {
    color: white !important;
}

.impact .section-title p {
    color: rgba(255, 255, 255, 0.9) !important;
}
/* Additional specificity for impact section */
section.impact .section-title h2 {
    color: white !important;
}

section.impact .section-title p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Sponsors Section with Image Slider */
.sponsors {
    background: var(--light-gray);
    padding: 80px 2rem;
}

.sponsors-slider {
    margin-top: 3rem;
    overflow: hidden;
}

.sponsors-track {
    display: flex;
    gap: 2rem;
    will-change: transform;
    flex-wrap: nowrap;
}

/* Desktop: Slower animation */
@media (min-width: 769px) {
    .sponsors-track {
        /* animation disabled; JS handles rotation */
    }
}

/* Mobile: Faster animation */
@media (max-width: 768px) {
    .sponsors-track {
        /* animation disabled; JS handles rotation */
    }
}

.sponsor-item {
    flex: 0 0 200px;
    height: 120px;
    margin: 0 2rem;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Mobile: Show one image at a time */
@media (max-width: 768px) {
    .sponsors-track {
        /* width override removed; JS handles motion */
        flex-wrap: nowrap;
    }
    
    .sponsor-item {
        flex: 0 0 200px;
        margin: 0; /* gap provides spacing */
        justify-content: center;
        min-width: 0;
    }
    
    .sponsor-item.sponsor-text {
        flex: 0 0 250px;
        padding: 0 0.5rem;
    }
}

.sponsor-item:hover {
    transform: scale(1.1);
}

.sponsor-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Text-only sponsor items */
.sponsor-item.sponsor-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: #fff;
    padding: 0 18px;
    text-align: center;
    border: none;
}

.sponsor-item .sponsor-label {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    white-space: normal; /* Allow wrapping */
    word-wrap: break-word; /* Break long words if needed */
    line-height: 1.2; /* Tighter line spacing for 2 lines */
}
/* keyframes removed; handled in JS */

/* Gallery Section */
.gallery {
    padding: 80px 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(4, 144, 182, 0.8), rgba(9, 136, 59, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
    text-align: center;
    padding: 100px 2rem;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.footer-section p, .footer-section li {
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

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

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--accent-green);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 60px 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.loading.visible {
    opacity: 1;
    transform: translateY(0);
}

/* WordPress specific styles */
.wp-block-image {
    margin: 0;
}

.alignwide {
    max-width: 1200px;
    margin: 0 auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* WordPress admin bar adjustment */
body.admin-bar .navbar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px;
    }
}

* Guiding Principles Section */
.principles-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.principles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(4, 144, 182, 0.1), rgba(9, 136, 59, 0.1));
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

.element-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.principles-intro {
    text-align: center;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.principles-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    position: relative;
    z-index: 2;
}

.principle-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
    background-clip: padding-box;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green), var(--accent-green));
}

.principle-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.principle-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(4, 144, 182, 0.3);
}

.principle-icon {
    width: 80px;
    height: 80px;
    margin: 0 0 1.5rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(4, 144, 182, 0.3);
}

.principle-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

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

.principles-conclusion {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.conclusion-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.conclusion-content h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.conclusion-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.framework-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: white;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(4, 144, 182, 0.3);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.benefit-item i {
    font-size: 1.2rem;
}

/* Responsive Design for Principles */
@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .principle-card {
        padding: 2rem;
    }
    
    .framework-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .conclusion-content {
        padding: 2rem;
    }
    
    .conclusion-content h3 {
        font-size: 1.5rem;
    }
}
/* Location link styling */
.location-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    padding: 2px 4px;
    border-radius: 4px;
}

.location-link:hover {
    color: var(--primary-green);
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: underline;
}
