:root {
    --primary-color: #1e88e5;
    --secondary-color: #0d47a1;
    --accent-color: #4fc3f7;
    --font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    font-weight: 300;
    line-height: 1.6;
    color: #333;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 500;
    line-height: 1.3;
}

.display-4, .display-5 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.lead {
    font-weight: 300;
    font-size: 1.25rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 136, 229, 0.8), rgba(13, 71, 161, 0.8)),
                url('images/hero-bg.jpg') center/cover;
    padding: 6rem 0;
}

.hero-section {
    position: relative;
    background: linear-gradient(rgba(30, 136, 229, 0.4), rgba(13, 71, 161, 0.4)),
                url('images/con-dao-hero.jpg') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern-overlay.png');
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h2 {
    font-size: 3.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out;
    letter-spacing: -0.02em;
}

.hero-section p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.5s both;
    font-weight: 300;
}

@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);
    }
}

/* Custom card styles */
.card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-weight: 500;
}

/* News Section */
.news-item {
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 8px;
    border-bottom: 1px solid #e9ecef;
}

.news-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.news-item img {
    height: 180px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.news-content {
    padding: 0.5rem 0;
}

.news-content h3 {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.news-content .text-muted {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 300;
}

.news-content .card-text {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Custom blockquote style */
.blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    font-style: italic;
    font-weight: 300;
}

.blockquote p {
    font-size: 1.1rem;
    font-weight: 300;
}

.blockquote-footer {
    font-weight: 400;
}

/* Green Life Section */
.green-life {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.green-life-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.green-life-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.green-life-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.green-life-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.green-life-item:hover .green-life-image img {
    transform: scale(1.05);
}

.green-life-item h3 {
    color: var(--primary-color);
    font-weight: 500;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.green-life-item li {
    position: relative;
    padding-left: 1.5rem;
    font-weight: 300;
}

.green-life-item li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
}

.green-life .blockquote {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.green-life .blockquote p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 400;
}

.green-life .blockquote-footer {
    color: var(--primary-color);
    font-weight: 500;
}

/* Text Background Image Block Wrapper */
.text-background-image-block-wrapper {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.text-background-image-block-wrapper.bg-light {
    background-color: #f0f4f8;
}

.text-background-image-block-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, rgba(13, 71, 161, 0.05) 100%);
    z-index: 0;
}

.text-background-image-block-wrapper .container {
    position: relative;
    z-index: 1;
}

.text-background-image-block-wrapper .text-content {
    padding: 2rem 0;
}

.text-background-image-block-wrapper h2 {
    position: relative;
    display: inline-block;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.text-background-image-block-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}

.text-background-image-block-wrapper .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.text-background-image-block-wrapper .image-wrapper:hover {
    transform: scale(1.02);
}

.text-background-image-block-wrapper .image-wrapper img {
    transition: transform 0.5s ease;
}

.text-background-image-block-wrapper .image-wrapper:hover img {
    transform: scale(1.05);
}

.text-background-image-block-wrapper .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.text-background-image-block-wrapper .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
    .text-background-image-block-wrapper {
        padding: 3rem 0;
    }
    
    .text-background-image-block-wrapper .image-wrapper {
        margin-bottom: 2rem;
    }
    
    .text-background-image-block-wrapper .text-content {
        padding: 1rem 0;
    }
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav {
    gap: 1.5rem;
}

.nav-link {
    font-weight: 400;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    .nav-link::after {
        display: none;
    }
}

/* Footer */
footer {
    font-weight: 300;
}

/* Quotes Section */
.quotes-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.quote-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quote-card:hover {
    transform: translateY(-10px);
}

.quote-image {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    overflow: hidden;
}

.quote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-content {
    flex: 1;
}

.quote-content .blockquote {
    border: none;
    padding: 0;
    margin: 0;
}

.quote-content .blockquote p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    font-style: italic;
    font-weight: 300;
}

.quote-content .blockquote-footer {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
    
    .news-item {
        padding: 1rem;
    }
    
    .news-item img {
        margin-bottom: 1rem;
    }
    
    .green-life-item {
        margin-bottom: 1.5rem;
    }
    
    .hero-section h2 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.25rem;
    }
    
    .quote-card {
        margin-bottom: 2rem;
    }
    
    .quote-image {
        width: 100px;
        height: 100px;
    }
    
    .quote-content .blockquote p {
        font-size: 1rem;
    }
} 