/*
* Hope Foundation - Main Stylesheet
* A pink and white color scheme with professional and compassionate design elements
*/

/* 
* Color Variables
*/
:root {
    --primary: #e83e8c; /* Primary pink color */
    --primary-light: #f8bbd5; /* Light pink for backgrounds */
    --primary-dark: #c2185b; /* Dark pink for hover states */
    --secondary: #6c757d; /* Secondary gray color */
    --dark: #343a40; /* Dark color for text */
    --light: #f8f9fa; /* Light color for backgrounds */
    --white: #ffffff; /* White color */
    --success: #28a745; /* Success green color */
    --info: #17a2b8; /* Info blue color */
    --warning: #ffc107; /* Warning yellow color */
    --danger: #dc3545; /* Danger red color */
    --border-radius: 5px; /* Border radius for elements */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Box shadow for cards */
    --transition: all 0.3s ease-in-out; /* Transition for hover effects */
}

/*
* General Styles
*/
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.btn {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.25rem rgba(232, 62, 140, 0.25);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-outline-light:hover {
    color: var(--primary);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--primary-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* 
* Header/Navbar Styles 
*/
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-text {
    font-weight: 800;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.donate-btn {
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 50px;
    margin-left: 0.5rem;
}

.donate-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white) !important;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 10px;
    border-top: 3px solid var(--primary);
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.dropdown-divider {
    border-top-color: var(--primary-light);
    margin: 0.3rem 0;
}

/* Dropdown Toggle Animation */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown Animation */
.dropdown-menu {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
* Hero Section Styles
*/
.hero-section {
    /* background: url('https://images.unsplash.com/photo-1573288818329-6b84be7ae407') no-repeat center center; */
    background-size: cover;
    text-align: left;
    color: var(--white);
    min-height: 80vh;         /* Sufficient height for slider */
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-section .carousel-item img {
    height: 80vh;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 55vh;     /* Increase for tablets */
    }
    .hero-section .carousel-item img {
        height: 55vh;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: unset !important;
        height: auto !important;
    }
    .hero-section .carousel-item img {
        height: 350px;
        object-fit: cover;
    }
    .hero-section .carousel-caption {
        padding: 0.5rem 0.5rem 0.5rem 0.5rem;
        margin: 0 5px;
        left: 0;
        right: 0;
        box-sizing: border-box;
        width: auto;
        max-width: 100%;
        min-height: unset;
    }
    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
    }
    .hero-btns .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 0 0.2rem 0;
        display: block;
        font-size: 1rem;
        white-space: normal;
        overflow-wrap: break-word;
    }
}

/* Add this to prevent header overlap on mobile */
@media (max-width: 767.98px) {
  .hero-section,
  #heroCarousel {
    margin-top: 85px; /* Adjust this value to match your header height */
  }
  .carousel-caption {
    padding-bottom: 2rem;
    padding-top: 1rem;
  }
}

/*
* Page Banner Styles
*/
.page-banner {
    background: url('https://images.unsplash.com/photo-1460518451285-97b6aa326961') no-repeat center center;
    background-size: cover;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 76px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.banner-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    background: transparent;
    position: relative;
    z-index: 1;
}

.breadcrumb-item a {
    color: var(--primary-light);
}

.breadcrumb-item.active {
    color: var(--white);
}

/*
* Mission Section Styles
*/
.mission-section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
    margin-top: 0 !important;      /* Ensure no negative margin */
    background: #f8f9fa;
}

.mission-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/*
* Programs Section Styles (Old Style)
*/
.programs-section {
    background-color: var(--light);
}

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.program-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-text {
    margin-bottom: 1.5rem;
}

.program-link {
    font-weight: 600;
    color: var(--primary);
}

.program-link:hover {
    color: var(--primary-dark);
}

/*
* Programmes Section Styles (New Style)
*/
.programmes-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.programmes-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.programme-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    align-items: center;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.programme-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.programme-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.education-icon {
    background-color: rgba(255, 215, 0, 0.15);
}

.healthcare-icon {
    background-color: rgba(222, 184, 226, 0.3);
}

.women-icon {
    background-color: rgba(173, 216, 230, 0.3);
}

.livelihood-icon {
    background-color: rgba(245, 207, 171, 0.3);
}

.grassroots-icon {
    background-color: rgba(144, 238, 144, 0.3);
}

.disaster-icon {
    background-color: rgba(255, 150, 150, 0.3);
}

.programme-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.education-title {
    color: #F5C542;
}

.healthcare-title {
    color: #B66EB2;
}

.women-title {
    color: #75BBD4;
}

.livelihood-title {
    color: #E4A76F;
}

.grassroots-title {
    color: #5CB85C;
}

.disaster-title {
    color: #E35D6A;
}

.programme-text {
    margin-bottom: 0.75rem;
    color: #555;
}

.programme-link {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}

.programme-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/*
* Impact Section Styles
*/


.impact-item {
    padding: 2rem 1rem;
}

.impact-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
}

.impact-text {
    font-size: 1.2rem;
    font-weight: 600;
}

/*
* Stories Section Styles
*/
.story-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    height: 100%;
}

.story-image {
    height: 100%;
    object-fit: cover;
}

.story-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.story-link {
    font-weight: 600;
    color: var(--primary);
}

.story-link:hover {
    color: var(--primary-dark);
}

/*
* CTA Section Styles
*/
.cta-section {
    background-color: var(--primary-light);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons .btn {
    margin: 0 0.5rem 1rem;
    padding: 0.75rem 2rem;
}

/*
* Footer Styles
*/
.footer {
    background-color: var(--dark);
    color: var(--white);
}

.footer-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.footer-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--primary-light);
}

.footer-text {
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--white);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.75rem;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-light);
}

.copyright {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/*
* About Page Styles
*/
.vision-mission-section {
    background-color: var(--light);
}

.vision-card, 
.mission-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    height: 100%;
    border-left: 5px solid var(--primary);
}

.vision-card h3, 
.mission-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.vision-card i, 
.mission-card i {
    margin-right: 10px;
}

.value-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: var(--white);
    border: 4px solid var(--primary);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -12px;
}

.right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    color: var(--primary-dark);
}

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
}

.team-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.team-position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    margin-bottom: 1.5rem;
}

.team-social a {
    margin: 0 10px;
    color: var(--primary);
    font-size: 1.2rem;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.partner-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.partner-logo i {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/*
* Programs Page Styles
*/
.program-nav {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
}

.program-nav-pills .nav-link {
    color: var(--dark);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin: 0 5px;
    font-weight: 600;
}

.program-nav-pills .nav-link.active {
    background-color: var(--primary);
    color: var(--white);
}

.program-detail-section {
    padding: 5rem 0;
}

.program-title {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.program-subtitle {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.program-list {
    list-style: none;
    padding-left: 0;
}

.program-list li {
    margin-bottom: 1rem;
}

.program-list i {
    color: var(--primary);
    margin-right: 10px;
}

.impact-box {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-top: 2rem;
}

.impact-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.impact-stat h4 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.involvement-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

.involvement-card:hover {
    transform: translateY(-10px);
}

.involvement-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.involvement-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.involvement-text {
    margin-bottom: 1.5rem;
}

/*
* Donate Page Styles
*/
.impact-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid var(--primary);
}

.impact-card:hover {
    transform: translateY(-10px);
}

.impact-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.donation-form-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem;
}

.form-title {
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.form-subtitle {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.donation-amount-options {
    margin-bottom: 1.5rem;
}

.btn-check:checked + .btn-outline-primary {
    background-color: var(--primary);
    color: var(--white);
}

.support-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

.support-card:hover {
    transform: translateY(-10px);
}

.support-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.support-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.support-text {
    margin-bottom: 1.5rem;
}

.support-link {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    height: 100%;
    position: relative;
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: var(--secondary);
    font-size: 0.9rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.accordion-button:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(232, 62, 140, 0.25);
}

/*
* News Page Styles
*/
.news-sidebar {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.sidebar-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.category-list, 
.archive-list {
    list-style: none;
    padding-left: 0;
}

.category-list li, 
.archive-list li {
    margin-bottom: 0.75rem;
}

.category-list a, 
.archive-list a {
    color: var(--dark);
    transition: var(--transition);
}

.category-list a:hover, 
.archive-list a:hover,
.category-list li.active a {
    color: var(--primary);
    padding-left: 5px;
}

.featured-news-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.featured-news-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-news-content {
    padding: 2rem;
    position: relative;
}

.news-date {
    position: absolute;
    top: -60px;
    left: 30px;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.news-date .date {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
}

.news-date .month, 
.news-date .year {
    font-size: 1rem;
    display: block;
}

.news-category {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.news-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.news-excerpt {
    margin-bottom: 1.5rem;
}

.news-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    height: 100%;
}

.news-img-container {
    position: relative;
}

.news-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-date-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    min-width: 60px;
}

.news-date-badge .day {
    font-size: 1.2rem;
    font-weight: 800;
    display: block;
}

.news-date-badge .month {
    font-size: 0.8rem;
    display: block;
}

.news-content {
    padding: 1.5rem;
}

.news-text {
    margin-bottom: 1rem;
}

.news-link {
    font-weight: 600;
    color: var(--primary);
}

.pagination .page-link {
    color: var(--primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.newsletter-form {
    margin-top: 2rem;
}

/*
* Contact Page Styles
*/
.contact-info-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-form-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem;
}

.volunteer-subtitle {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.volunteer-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.volunteer-list li {
    margin-bottom: 0.75rem;
}

.volunteer-list i {
    color: var(--primary);
    margin-right: 10px;
}

.partnership-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

.partnership-card:hover {
    transform: translateY(-10px);
}

.partnership-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.partnership-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    border: 0;
}
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
}

.sdg-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10);
    padding: 3rem 0 2rem 0;
    margin-bottom: 2rem;
}

/* --- Title Styles --- */
.sdg-title .title-line1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: #222;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
}

.sdg-title .title-line2 {
    font-family: 'Anton', 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 2.5rem;
}

/* --- Hexagon Base Styles --- */
.sdg-hexagon {
    /* Width will be primary, height will be calculated to maintain aspect ratio */
    /* --hexagon-width is defined in media queries */
    width: 150px;
    height: 172px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #eee;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    box-shadow: 0 6px 24px rgba(44,62,80,0.13);
    margin: 0 18px 18px 18px;
    transition: transform 0.22s, box-shadow 0.22s;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.sdg-hexagon:hover {
    transform: scale(1.07) translateY(-6px);
    box-shadow: 0 16px 40px rgba(44,62,80,0.18);
    z-index: 2;
}

.hexagon-part {
    width: 100%;
    box-sizing: border-box;
    padding: 0 8px;
}

.hexagon-part.top {
    height: 44%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 18px;
}

.hexagon-part.middle {
    height: 32%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.hexagon-part.bottom {
    height: 24%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-bottom: 12px;
}

.icon-svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}

.text-label {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(44,62,80,0.08);
}

.number-label {
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 8px rgba(44,62,80,0.08);
}

@media (max-width: 991.98px) {
    .sdg-hexagon { width: 120px; height: 138px; }
    .sdg-title .title-line2 { font-size: 2rem; }
}
@media (max-width: 767.98px) {
    .sdg-hexagon { width: 100px; height: 115px; margin: 0 8px 16px 8px; }
    .sdg-title .title-line2 { font-size: 1.3rem; }
    .sdg-title .title-line1 { font-size: 1rem; }
}
@media (max-width: 575.98px) {
    .sdg-hexagon { width: 80px; height: 92px; }
    .icon-svg { width: 32px; height: 32px; }
    .text-label { font-size: 0.7rem; }
    .number-label { font-size: 0.85rem; }
}

/* --- SDG Hexagon Section: Image Matching Style --- */
.sdg-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10);
    padding: 3rem 0 2rem 0;
    margin-bottom: 2rem;
}

.sdg-title .title-line1 {
    font-family: 'Anton', 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.sdg-title .title-line2 {
    font-family: 'Anton', 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 2.5rem;
}

.sdg-hexagon {
    width: 180px;
    height: 200px;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.18);
    margin: 0 18px 18px 18px;
    position: relative;
    background: #bfa7e2; /* Default, override with inline style */
    transition: transform 0.22s, box-shadow 0.22s;
}
.sdg-hexagon:hover {
    transform: scale(1.07) translateY(-6px);
    box-shadow: 0 16px 40px rgba(44,62,80,0.22);
    z-index: 2;
}

.sdg-hexagon .icon-svg {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
    filter: drop-shadow(0 6px 16px rgba(44,62,80,0.13));
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.sdg-hexagon .text-label {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(44,62,80,0.10);
}

.sdg-hexagon .number-label {
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 8px rgba(44,62,80,0.10);
    margin-top: 4px;
}

@media (max-width: 1200px) {
    .sdg-hexagon { width: 140px; height: 155px; }
    .sdg-title .title-line2 { font-size: 2.1rem; }
}
@media (max-width: 991.98px) {
    .sdg-hexagon { width: 120px; height: 135px; }
    .sdg-title .title-line2 { font-size: 1.7rem; }
}
@media (max-width: 767.98px) {
    .sdg-hexagon { width: 90px; height: 100px; margin: 0 6px 12px 6px; }
    .sdg-title .title-line2 { font-size: 1.1rem; }
    .sdg-title .title-line1 { font-size: 0.9rem; }
    .sdg-hexagon .icon-svg { width: 32px; height: 32px; }
    .sdg-hexagon .text-label { font-size: 0.6rem; }
    .sdg-hexagon .number-label { font-size: 0.7rem; }
}

/* styles.css ke end me add karein */
@media (max-width: 767.98px) {
    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .hero-btns .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 0 0.5rem 0;
        display: block;
        font-size: 1rem;
        white-space: normal;
        overflow-wrap: break-word;
    }
    .hero-section .carousel-caption {
        padding: 0.5rem 0.5rem 0.5rem 0.5rem;
        margin: 0 5px;
        left: 0;
        right: 0;
        box-sizing: border-box;
        width: auto;
        max-width: 100%;
        min-height: unset;
    }
    .hero-section .carousel-item img {
        height: 350px;
        object-fit: cover;
    }
}
