/* Global Blue Deal Custom Styles */

/* ==========================================================================
   1. Variables & Base Styles
   ========================================================================== */

:root {
    /* ANGESEM Color Palette */
    --angesem-primary: #00497A; /* Deep Blue */
    --angesem-secondary: #00A651; /* Green */
    --angesem-accent-yellow: #FFC10E; /* Yellow */
    --angesem-accent-orange: #F7941D; /* Orange/Gold */
    
    /* Derived/Supporting Colors */
    --angesem-primary-light: #0065A8; /* Lighter blue for hover states */
    --angesem-primary-dark: #003659; /* Darker blue for text and footers */
    --angesem-secondary-light: #33C073; /* Lighter green for hover states */
    --angesem-secondary-dark: #008C46; /* Darker green for contrast */
    
    /* Text Colors */
    --angesem-text-light: rgba(255, 255, 255, 0.9);
    --angesem-text-dark: #333;
    --angesem-text-muted: #666;
    
    /* Background Colors */
    --angesem-body-bg: #fff;
    --angesem-section-bg-light: #f8f9fa;
    
    /* Border Colors */
    --angesem-border-light: #e9e9e9;
    --angesem-border-accent: rgba(0, 73, 122, 0.3);
    
    /* Legacy variables for backward compatibility */
    --blue-deal-primary: var(--angesem-primary);
    --blue-deal-secondary: var(--angesem-secondary);
    --blue-deal-dark: var(--angesem-primary-dark);
    --blue-deal-darker: var(--angesem-primary-dark);
    --blue-deal-text-light: var(--angesem-text-light);
    --blue-deal-text-dark: var(--angesem-text-dark);
    --blue-deal-text-muted: var(--angesem-text-muted);
    --blue-deal-body-bg: var(--angesem-body-bg);
    --blue-deal-section-bg-light: var(--angesem-section-bg-light);
    --blue-deal-border-light: var(--angesem-border-light);
    --blue-deal-border-accent: var(--angesem-border-accent);

    --font-primary: 'Your Primary Font Name', sans-serif; /* Replace with your actual font */
    --font-secondary: 'Your Secondary Font Name', sans-serif; /* Replace with your actual font */
}

body {
    font-family: var(--font-primary);
    color: var(--angesem-text-dark);
    background-color: var(--angesem-body-bg);
}

a {
    color: var(--angesem-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--angesem-secondary);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--angesem-text-dark);
}

/* ==========================================================================
   2. Reusable Components & Utility Classes
   ========================================================================== */

/* Buttons */
.boxed-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    border: none;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
    overflow: hidden;
    text-decoration: none !important; /* Ensure no underline from global 'a' tag */
}

.boxed-btn.primary-btn,
.boxed-btn.secondary-color { /* Main action buttons */
    background-color: var(--angesem-secondary); /* Green for primary actions */
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 166, 81, 0.3);
}

.boxed-btn.primary-btn:before,
.boxed-btn.secondary-color:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--angesem-primary); /* Blue for hover state */
    transition: all 0.5s ease;
    z-index: -1;
    border-radius: 30px; /* Ensure consistent rounding */
}

.boxed-btn.primary-btn:hover,
.boxed-btn.secondary-color:hover {
    box-shadow: 0 8px 25px rgba(0, 73, 122, 0.5);
    color: #fff; /* Ensure text color remains white on hover */
}

.boxed-btn.primary-btn:hover:before,
.boxed-btn.secondary-color:hover:before {
    width: 100%;
}

.boxed-btn.gradient-btn {
    background: linear-gradient(135deg, var(--angesem-secondary) 0%, var(--angesem-secondary-dark) 100%);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 166, 81, 0.3);
}

.boxed-btn.gradient-btn:before {
    background-color: var(--angesem-primary); /* Blue for hover state */
}

.boxed-btn.gradient-btn:hover {
     box-shadow: 0 15px 35px rgba(0, 73, 122, 0.5);
}

/* Yellow accent button - special use cases */
.boxed-btn.accent-btn {
    background-color: var(--angesem-accent-yellow);
    color: var(--angesem-primary-dark);
    box-shadow: 0 6px 15px rgba(255, 193, 14, 0.3);
}

.boxed-btn.accent-btn:before {
    background-color: var(--angesem-accent-orange);
}

.boxed-btn.accent-btn:hover {
    box-shadow: 0 8px 25px rgba(247, 148, 29, 0.4);
    color: var(--angesem-primary-dark);
}

.boxed-btn.gradient-btn:hover {
     box-shadow: 0 15px 35px rgba(0, 73, 122, 0.5);
}


/* Section Titles */
.section-title {
    text-align: center; /* Default to center, can be overridden */
    margin-bottom: 60px;
}

.section-title .subtitle {
    color: var(--angesem-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
    font-size: 16px;
}

.section-title.desktop-left .subtitle { /* For left-aligned subtitles */
    background: linear-gradient(135deg, var(--angesem-primary) 0%, var(--angesem-primary-light) 100%);
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    display: inline-block;
}

.section-title .title {
    font-size: 42px;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--angesem-text-dark);
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.section-title.desktop-center .title:after { /* For centered titles */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--angesem-secondary);
}

.section-title .description {
    font-size: 18px;
    color: var(--angesem-text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

/* Learn More / Read More Buttons */
.learn-more-btn,
.read-story-btn,
.download-btn,
.read-more-btn { /* Blog read more */
    color: var(--angesem-secondary);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    text-decoration: none !important;
}

.learn-more-btn:after,
.read-story-btn:after,
.download-btn:after,
.read-more-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--angesem-secondary);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.learn-more-btn i,
.read-story-btn i,
.download-btn i,
.read-more-btn i {
    margin-left: 8px;
    font-size: 14px; /* Consistent icon size */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.learn-more-btn:hover,
.read-story-btn:hover,
.download-btn:hover,
.read-more-btn:hover {
    color: var(--angesem-primary);
}

.learn-more-btn:hover:after,
.read-story-btn:hover:after,
.download-btn:hover:after,
.read-more-btn:hover:after {
    width: 100%;
    background-color: var(--angesem-primary);
}

.learn-more-btn:hover i,
.read-story-btn:hover i,
.download-btn:hover i,
.read-more-btn:hover i {
    transform: translateX(5px);
}

/* General Card Styling */
.blue-deal-card { /* Base class for various cards */
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.4s ease;
    height: 100%;
    margin-bottom: 30px;
    border: 1px solid var(--angesem-border-light);
    position: relative;
    z-index: 1;
}

.blue-deal-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.1);
    border-color: var(--angesem-border-accent);
}

.blue-deal-card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blue-deal-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blue-deal-card:hover .blue-deal-card-image-wrapper img {
    transform: scale(1.08);
}

.blue-deal-card-content {
    padding: 25px 30px; /* Default padding, can be adjusted */
}

.blue-deal-card-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
}

.blue-deal-card-title a {
    color: var(--angesem-text-dark);
    transition: all 0.3s ease;
}

.blue-deal-card-title a:hover {
    color: var(--angesem-secondary);
}

.blue-deal-card-excerpt {
    color: var(--angesem-text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
    /* Consider a fixed height and text-overflow for consistency */
}

/* Section background patterns/shapes */
.section-bg-pattern:before,
.section-bg-pattern:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.05) 0%, rgba(0, 166, 81, 0) 70%);
    z-index: 0; /* Ensure it's behind content */
}
.section-bg-pattern.pattern-top-right:before {
    top: 0;
    right: 0;
    width: 300px; /* Default size, can be overridden */
    height: 300px;
    transform: translate(50%, -50%); /* Adjust as needed */
}
.section-bg-pattern.pattern-bottom-left:after {
    bottom: 0;
    left: 0;
    width: 250px; /* Default size, can be overridden */
    height: 250px;
    transform: translate(-50%, 50%); /* Adjust as needed */
}

.svg-bg-pattern:before { /* For SVG patterns like in document-repository */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300497A' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}


/* ==========================================================================
   3. Header & Navigation Styles
   ========================================================================== */

/* Hero Section */
.header-slider-wrapper {
    padding-top: 100px; /* Increased top padding for more space */
    padding-bottom: 80px; /* Increased bottom padding */
    background: linear-gradient(135deg, var(--angesem-primary) 0%, var(--angesem-primary-dark) 100%); /* Rich gradient background */
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 90vh; /* Ensure minimum height for impact */
    display: flex;
    align-items: center;
}

/* Animated Background Pattern */
.header-slider-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    opacity: 0.6;
    z-index: 1;
    animation: backgroundMove 30s linear infinite;
}

@keyframes backgroundMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* Top gradient overlay for navbar visibility */
.header-slider-wrapper:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Main content container */
.header-slider-wrapper .container {
    position: relative;
    z-index: 3;
}


/* Left Content Area */
.header-slider-wrapper .header-area {
    position: relative;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.header-slider-wrapper .header-area .title {
    font-size: 40px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 35px;
    color: #fff;
    position: relative;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.5px;
}

.header-slider-wrapper .header-area .title:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, var(--angesem-secondary) 0%, var(--angesem-secondary-dark) 100%);
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-slider-wrapper .header-area p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.header-slider-wrapper .btn-wrapper {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.header-slider-wrapper .boxed-btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.header-slider-wrapper .boxed-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    transform: skewX(-20deg) translateX(-100%);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.header-slider-wrapper .boxed-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.header-slider-wrapper .boxed-btn:hover:before {
    transform: skewX(-20deg) translateX(100%);
}

/* Right Content Area */
.header-right-image {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

/* Water Impact Card */
.water-impact-card {
    background: linear-gradient(135deg, var(--angesem-secondary) 0%, var(--angesem-secondary-dark) 100%);
    border-radius: 20px;
    padding: 35px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
    animation: fadeInRight 1s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes fadeInRight {
    0% { opacity: 0; transform: perspective(1000px) rotateY(-5deg) translateX(40px); }
    100% { opacity: 1; transform: perspective(1000px) rotateY(-5deg) translateX(0); }
}

.water-impact-card:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.water-impact-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.water-impact-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(-30%, 30%);
}

.impact-stat-wrap {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.impact-progress-circle {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.circular-chart {
    display: block;
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: rotate(-90deg) scale(1); }
    50% { transform: rotate(-90deg) scale(1.05); }
    100% { transform: rotate(-90deg) scale(1); }
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 4;
}

.circle {
    fill: none;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    animation: progress 2s ease-out forwards;
}

@keyframes progress {
    0% { stroke-dasharray: 0, 100; }
}

.impact-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #fff;
    line-height: 1;
    animation: fadeNumber 2s ease-out;
}

@keyframes fadeNumber {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.impact-percentage span {
    font-size: 24px;
    font-weight: 600;
    vertical-align: super;
    margin-left: 2px;
}

.impact-stat-wrap p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
    flex: 1;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.impact-stat-wrap p:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}

/* Partner Logos */
.partner-logos-container {
    background-color: white;
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(5deg);
    transition: all 0.5s ease;
    animation: fadeInRight 1s ease-out 0.3s both;
    position: relative;
    overflow: hidden;
}

.partner-logos-container:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.partner-logos-container:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 73, 122, 0.05) 0%, rgba(0, 73, 122, 0) 70%);
    z-index: 0;
}

.partner-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--angesem-text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.partner-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--angesem-secondary);
    border-radius: 3px;
}

.logo-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.logo-grid img {
    height: 50px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    object-fit: contain;
    max-width: 130px;
    margin: 10px;
    filter: grayscale(30%);
    opacity: 0.85;
}

.logo-grid img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .header-slider-wrapper {
        padding-top: 80px;
        padding-bottom: 60px;
        min-height: auto;
    }
    
    .header-slider-wrapper .header-area .title {
        font-size: 42px;
    }
    
    .header-slider-wrapper .header-area p {
        font-size: 18px;
        max-width: 100%;
    }
    
    .header-right-image {
        margin-top: 50px;
        animation: none;
    }
    
    .water-impact-card, .partner-logos-container {
        transform: none;
    }
    
    .impact-stat-wrap {
        flex-direction: column;
    }
    
    .impact-progress-circle {
        margin: 0 auto 20px;
    }
    
    .impact-stat-wrap p {
        text-align: center;
    }
    
    .impact-stat-wrap p:before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-grid img {
        height: 40px;
        margin: 8px;
    }
}

@media (max-width: 767px) {
    .header-slider-wrapper {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    
    .header-slider-wrapper .header-area .title {
        font-size: 32px;
    }
    
    .header-slider-wrapper .header-area p {
        font-size: 16px;
    }
    
    .header-slider-wrapper .boxed-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .impact-percentage {
        font-size: 36px;
    }
    
    .impact-percentage span {
        font-size: 18px;
    }
    
    .impact-stat-wrap p {
        font-size: 16px;
    }
    
    .partner-title {
        font-size: 16px;
    }
    
    .logo-grid img {
        height: 30px;
        max-width: 100px;
        margin: 5px;
    }
}

/* ==========================================================================
   4. Section Specific Styles (Add new sections below)
   ========================================================================== */

/* Key Feature Section (Our Focus Areas) */
.feature-area {
    position: relative;
    background-color: var(--angesem-section-bg-light);
    overflow: hidden;
}

.blue-deal-feature-card { /* Extends .blue-deal-card */
    padding: 40px 30px;
    border-radius: 18px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.blue-deal-feature-card:before { /* Hover background fill */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--angesem-secondary) 0%, var(--angesem-secondary-dark) 100%);
    z-index: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blue-deal-feature-card:hover:before {
    opacity: 1;
}

.blue-deal-feature-card.active {
    background: linear-gradient(135deg, var(--angesem-secondary) 0%, var(--angesem-secondary-dark) 100%);
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 166, 81, 0.3);
}

.blue-deal-feature-card .icon-area {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.blue-deal-feature-card .icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 73, 122, 0.1);
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    border: 2px dashed rgba(51, 170, 221, 0.3);
}

.blue-deal-feature-card:hover .icon-wrap,
.blue-deal-feature-card.active .icon-wrap {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.blue-deal-feature-card .icon-wrap i {
    font-size: 42px;
    color: var(--angesem-primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blue-deal-feature-card:hover .icon-wrap i,
.blue-deal-feature-card.active .icon-wrap i {
    color: #fff;
}

.blue-deal-feature-card .title { /* Specific title styling for feature cards */
    font-size: 22px;
    margin-bottom: 18px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    padding-bottom: 15px;
}

.blue-deal-feature-card .title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--angesem-primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blue-deal-feature-card:hover .title:after,
.blue-deal-feature-card.active .title:after {
    width: 70px;
    background-color: rgba(255, 255, 255, 0.6);
}

.blue-deal-feature-card:hover .title,
.blue-deal-feature-card.active .title {
    color: #fff;
}

.blue-deal-feature-card p { /* Specific paragraph for feature cards */
    color: var(--angesem-text-muted);
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-size: 16px;
    line-height: 1.6;
}

.blue-deal-feature-card:hover p,
.blue-deal-feature-card.active p {
    color: rgba(255, 255, 255, 0.9);
}

.blue-deal-feature-card .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.blue-deal-feature-card .learn-more-btn {
    margin-top: auto;
    font-weight: 700;
    padding: 8px 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blue-deal-feature-card:hover .learn-more-btn,
.blue-deal-feature-card.active .learn-more-btn {
    color: #fff;
}

.blue-deal-feature-card:hover .learn-more-btn:after,
.blue-deal-feature-card.active .learn-more-btn:after {
    background-color: #fff;
}

.blue-deal-feature-card .btn-wrapper {
    margin-top: auto;
}

/* Add decorative elements */
.blue-deal-feature-card .decorator-circle {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(51, 170, 221, 0.1);
    z-index: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blue-deal-feature-card .decorator-circle-small {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(51, 170, 221, 0.15);
    z-index: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blue-deal-feature-card:hover .decorator-circle,
.blue-deal-feature-card.active .decorator-circle,
.blue-deal-feature-card:hover .decorator-circle-small,
.blue-deal-feature-card.active .decorator-circle-small {
    background-color: rgba(255, 255, 255, 0.2);
}


/* Success Stories Section */
.success-stories-area {
    background-color: var(--angesem-section-bg-light);
    position: relative;
    overflow: hidden;
}
.success-story-card { /* Extends .blue-deal-card */
    border-width: 1px; /* Keep existing border */
}
.success-story-image { /* Alias for .blue-deal-card-image-wrapper */
    position: relative;
    overflow: hidden;
    height: 250px;
}
.success-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s; /* Keep existing transform */
}
.success-story-card:hover .success-story-image img {
    transform: scale(1.05); /* Keep existing scale */
}
.success-story-overlay { /* Gradient overlay on image */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}
.success-story-category {
    display: inline-block;
    background: var(--angesem-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(51, 170, 221, 0.3);
}
.success-story-content { /* Alias for .blue-deal-card-content */
    padding: 30px;
}
.success-story-title { /* Alias for .blue-deal-card-title */
    font-size: 22px;
    margin-bottom: 15px;
}
.success-story-excerpt { /* Alias for .blue-deal-card-excerpt */
    color: var(--angesem-text-muted);
    height: 72px; /* Fixed height for consistent look */
    overflow: hidden; /* Hide overflowing text */
}
.view-all-stories {
    margin-top: 40px;
    text-align: center;
}
.view-all-stories .boxed-btn { /* Uses .boxed-btn.gradient-btn styling */
    padding: 16px 36px; /* Specific padding */
}


/* About Us Section (Timeline) */
.about-us-area {
    background-color: var(--angesem-body-bg);
    position: relative;
    overflow: hidden;
}

.about-us-area:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(51, 170, 221, 0.05) 0%, rgba(51, 170, 221, 0) 70%);
    z-index: 0;
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.about-us-area:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(51, 170, 221, 0.05) 0%, rgba(51, 170, 221, 0) 70%);
    z-index: 0;
    border-radius: 50%;
    transform: translate(-30%, 30%);
}

.about-us-image-wrap { /* Container for the timeline visual */
    position: relative;
    padding-right: 30px; /* Spacing from content on right */
    height: 580px; /* Increased height for better display */
    z-index: 5; /* Ensure it's above the background patterns */
}

.timeline-visual-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    height: 100%;
    width: 100%;
    position: relative;
    overflow: visible; /* Changed from hidden to allow popups to overflow */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    border: 1px solid rgba(0, 101, 174, 0.1);
    transition: all 0.3s ease;
}

.timeline-visual-container:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.timeline-header {
    background: linear-gradient(135deg, var(--angesem-secondary) 0%, #004A80 100%); /* Darker blue gradient */
    padding: 25px;
    color: white;
    border-radius: 18px 18px 0 0; /* Match container */
    position: relative;
    overflow: hidden;
}

.timeline-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(30%, 50%);
}

.timeline-title { /* Inner title within header */
    text-align: center;
}

.timeline-title h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 1px;
    color: #fff; /* Explicit white for header */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-title h4 {
    font-size: 20px;
    font-weight: 600;
    opacity: 0.9;
    color: #fff; /* Explicit white for header */
}

.timeline-visual { /* Contains the track and milestones */
    padding: 30px 20px;
    position: relative;
    margin-top: 60px; /* Increased space for milestone popups */
}

.timeline-track {
    height: 6px; /* Increased thickness */
    background-color: #e0e0e0; /* Light grey track */
    width: 90%; /* Relative to .timeline-visual */
    margin: 60px auto 0; /* Centering and spacing from top */
    position: relative;
    border-radius: 6px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.timeline-progress {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, var(--angesem-primary) 0%, var(--angesem-secondary) 100%);
    border-radius: 6px;
    top: 0;
    left: 0;
    box-shadow: 0 1px 5px rgba(51, 170, 221, 0.3);
}

.timeline-milestone {
    position: absolute;
    top: 0; /* Aligns dot with the track's vertical center */
    transform: translateY(-50%); /* Vertically center the dot on the track */
    z-index: 10; /* Ensure it's above the track and visible */
}

.timeline-milestone.start { left: 5%; }
.timeline-milestone.middle { left: 40%; } /* Current progress point */
.timeline-milestone.end { left: 90%; }

.milestone-dot {
    width: 28px; /* Increased size */
    height: 28px;
    border-radius: 50%;
    background-color: #e0e0e0; /* Default dot color */
    border: 3px solid white; /* Creates a "cutout" effect */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: relative; /* For z-index stacking if needed */
    z-index: 2; /* Above track */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bounce effect */
    cursor: pointer;
}

.timeline-milestone.active .milestone-dot {
    background-color: var(--angesem-primary);
    transform: scale(1.2); /* Highlight active milestone */
}

.timeline-milestone:hover .milestone-dot {
    transform: scale(1.3);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.milestone-info {
    position: absolute;
    width: 220px; /* Increased width */
    left: 50%;
    transform: translateX(-50%);
    top: -140px; /* Positioned higher above the dot */
    background-color: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20; /* Much higher z-index to ensure it's above everything */
    border: 1px solid rgba(51, 170, 221, 0.2);
    pointer-events: none; /* Prevents the info box from blocking interaction */
}

.milestone-info:after { /* Arrow pointing to dot */
    content: '';
    position: absolute;
    bottom: -9px; /* Position at the bottom center */
    left: 50%;
    width: 18px;
    height: 18px;
    background-color: white;
    transform: translateX(-50%) rotate(45deg); /* Create diamond shape */
    box-shadow: 4px 4px 5px rgba(0,0,0,0.05);
    border-right: 1px solid rgba(51, 170, 221, 0.2);
    border-bottom: 1px solid rgba(51, 170, 221, 0.2);
    z-index: -1; /* Behind info box content */
}

.timeline-milestone:hover .milestone-info {
    opacity: 1;
    visibility: visible;
    top: -150px; /* Slight upward movement on hover */
}

.milestone-info .year {
    font-weight: 800;
    color: var(--angesem-primary);
    margin-bottom: 8px;
    font-size: 18px;
}

.milestone-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--angesem-text-dark);
}

.milestone-info p {
    font-size: 14px;
    color: var(--angesem-text-muted);
    margin: 0;
    line-height: 1.5;
}

.project-phases {
    padding: 40px 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Increased space between phase items */
}

.phase-item {
    flex-basis: 30%; /* Distribute space, adjust as needed */
    background-color: var(--angesem-section-bg-light);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.phase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.phase-item.completed { 
    border-left: 4px solid #4CAF50; /* Green for completed */ 
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.1);
}

.phase-item.active {
    border-left: 4px solid var(--angesem-primary);
    background-color: rgba(51, 170, 221, 0.05); /* Light accent for active */
    box-shadow: 0 5px 15px rgba(51, 170, 221, 0.1);
}

.phase-item:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.phase-icon {
    margin-bottom: 18px;
    font-size: 24px;
    width: 56px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    border-radius: 50%;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.phase-item:hover .phase-icon {
    transform: scale(1.1) rotate(10deg);
}

.phase-item.completed .phase-icon { 
    background-color: #4CAF50; 
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
}

.phase-item.active .phase-icon { 
    background-color: var(--angesem-primary); 
    box-shadow: 0 8px 20px rgba(51, 170, 221, 0.2);
}

.phase-item:not(.active):not(.completed) .phase-icon { 
    background-color: #757575; /* Darker grey for future phases */ 
    box-shadow: 0 8px 20px rgba(117, 117, 117, 0.15);
}

.phase-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--angesem-text-dark);
}

.phase-years {
    font-size: 14px;
    color: var(--angesem-primary);
    margin-bottom: 10px;
    font-weight: 600;
    display: inline-block;
    padding: 3px 10px;
    background: rgba(51, 170, 221, 0.1);
    border-radius: 12px;
}

.phase-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.project-achievement-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 30px; /* Increased space from phases */
    padding: 25px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* Separator */
    background: linear-gradient(to right, rgba(51, 170, 221, 0.03), rgba(51, 170, 221, 0.07), rgba(51, 170, 221, 0.03));
    border-radius: 0 0 18px 18px;
}

.achievement-item {
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
}

.achievement-count {
    font-size: 38px;
    font-weight: 800;
    color: var(--angesem-secondary); /* Use brand color */
    margin-bottom: 8px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    display: inline-block;
}

.achievement-count:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--angesem-primary);
    border-radius: 3px;
}

.achievement-label {
    font-size: 14px;
    color: var(--angesem-text-muted);
    font-weight: 600;
}

/* About Us Content on the right */
.about-us-content-wrap {
    position: relative;
    z-index: 5; /* Above background patterns */
    padding-left: 20px;
}

.about-us-content-wrap .section-title { 
    text-align: left; 
    position: relative;
}

.about-us-content-wrap .section-title .subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--angesem-primary) 0%, var(--angesem-secondary) 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(51, 170, 221, 0.2);
}

.about-us-content-wrap .section-title .title:after { 
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--angesem-primary), var(--angesem-secondary));
    border-radius: 2px;
}

.about-us-content-wrap .title { /* Title within content wrap */
    font-size: 42px; /* Slightly increased size */
    color: var(--angesem-text-dark);
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.about-us-content-wrap .description { /* Description within content wrap */
    font-size: 17px;
    color: var(--angesem-text-muted);
    margin-bottom: 35px;
    max-width: none; /* Allow full width */
    line-height: 1.7;
}

.about-features-list {
    margin-bottom: 35px;
}

.single-feature-list {
    display: flex;
    align-items: flex-start; /* Align icon top with text */
    margin-bottom: 25px;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 3px solid var(--angesem-primary);
}

.single-feature-list:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.single-feature-list .icon {
    margin-right: 20px;
    font-size: 22px;
    color: var(--angesem-primary);
    flex-shrink: 0; /* Prevent icon from shrinking */
    padding-top: 3px; /* Align icon better with text */
    transition: all 0.3s ease;
}

.single-feature-list:hover .icon {
    transform: scale(1.2);
    color: var(--angesem-secondary);
}

.single-feature-list .content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--angesem-text-dark);
}

.single-feature-list .content p {
    font-size: 15px;
    color: var(--angesem-text-muted);
    line-height: 1.6;
    margin: 0;
}

.about-us-content-wrap .btn-wrapper {
    margin-top: 40px;
}

.about-us-content-wrap .btn-wrapper .boxed-btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 101, 174, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-us-content-wrap .btn-wrapper .boxed-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 101, 174, 0.35);
}


/* Document Repository Section */
.document-repository-area {
    background-color: var(--angesem-section-bg-light);
    position: relative;
    overflow: hidden;
}
.document-card { /* Extends .blue-deal-card */
    /* Specific overrides if any, most styling is from .blue-deal-card */
}
.doc-header {
    background: linear-gradient(135deg, var(--angesem-primary) 0%, var(--angesem-primary-dark) 100%); /* Deep blue gradient */
    padding: 25px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.doc-icon {
    font-size: 36px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s;
}
.document-card:hover .doc-icon {
    transform: rotateY(180deg);
    background: rgba(255, 255, 255, 0.3);
}
.doc-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.doc-meta span {
    margin-bottom: 5px;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}
.doc-meta span i { margin-right: 5px; }
.doc-content { /* Alias for .blue-deal-card-content */
    padding: 30px;
}
.doc-content .title { /* Alias for .blue-deal-card-title */
    font-size: 20px;
    transition: all 0.3s; /* Keep transition for color change */
}
.document-card:hover .doc-content .title {
    color: var(--angesem-secondary);
}
.doc-content p { /* Specific paragraph for doc cards */
    font-size: 15px;
    line-height: 1.6;
    color: var(--angesem-text-muted);
    margin-bottom: 20px;
    min-height: 72px; /* Ensure consistent height */
}
.corner-shape { /* Decorative element */
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 166, 81, 0.1);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}
.document-browse-all {
    text-align: center;
    margin-top: 50px;
}
.btn-browse-all { /* Uses .boxed-btn.gradient-btn styling */
    padding: 16px 36px; /* Specific padding */
}
.btn-browse-all i {
    margin-left: 8px;
    transition: transform 0.3s;
}
.btn-browse-all:hover i {
    transform: translateX(5px);
}

/* Project Impact Area (Map & Stats) */
.project-impact-area {
    background: linear-gradient(135deg, #f2f9ff 0%, #e6f4fd 100%); /* Light blue gradient bg */
    position: relative;
    overflow: hidden;
}
/* Map container styles */
.impact-map-container {
    height: 500px; /* Adjust as needed */
    padding-right: 20px; /* Space for results on right */
}
.impact-map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid var(--angesem-border-accent);
}
.mali-impact-map {
    width: 100%;
    height: 100%;
}
/* Map SVG elements styling */
.map-background-shape {
    fill: rgba(231, 246, 255, 0.6);
    stroke: var(--angesem-primary);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
}
.water-feature {
    fill: none;
    stroke: var(--angesem-primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-opacity: 0.6;
    stroke-dasharray: 1000; /* For animation */
    stroke-dashoffset: 1000;
    animation: draw-water 3s forwards ease-in-out;
}
.water-circle {
    fill: rgba(51, 170, 221, 0.4);
    stroke: var(--angesem-primary);
    stroke-width: 1;
}
.region {
    fill: rgba(51, 170, 221, 0.1);
    stroke: var(--angesem-primary);
    stroke-width: 1;
    cursor: pointer;
    transition: all 0.3s;
}
.region:hover, .region.active {
    fill: rgba(51, 170, 221, 0.3);
}
.impact-point { cursor: pointer; }
.point-marker {
    fill: var(--angesem-secondary);
    stroke: white;
    stroke-width: 2;
    transition: all 0.3s;
}
.point-pulse {
    fill: rgba(0, 101, 174, 0.4);
    stroke: none;
    animation: pulse-animation 2s infinite;
}
.point-label {
    fill: var(--angesem-secondary);
    font-size: 14px;
    font-weight: 600;
    text-anchor: middle;
    pointer-events: none;
}
.impact-point:hover .point-marker {
    fill: var(--angesem-primary);
    transform: scale(1.2);
}
/* Map title and legend styling */
.map-title rect { fill: rgba(0, 101, 174, 0.8); }
.map-title text {
    fill: white;
    font-size: 16px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: middle;
}
.map-legend rect {
    fill: rgba(255, 255, 255, 0.9);
    stroke: var(--angesem-border-accent);
    stroke-width: 1;
}
.legend-marker {
    fill: var(--angesem-secondary);
    stroke: white;
    stroke-width: 1;
}
.legend-line {
    stroke: var(--angesem-primary);
    stroke-width: 3;
    stroke-linecap: round;
}
.legend-region {
    fill: rgba(51, 170, 221, 0.2);
    stroke: var(--angesem-primary);
    stroke-width: 1;
}
.legend-text {
    fill: var(--angesem-text-dark);
    font-size: 12px;
    dominant-baseline: middle;
}
/* Information overlay for map points */
.impact-info-overlay {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 15px;
    width: 220px; /* Adjust as needed */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--angesem-border-accent);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
}
/* Specific positioning for overlays - can be adjusted or made dynamic */
#bamako-overlay { top: 20%; left: 15%; }
#kayes-overlay { top: 30%; left: 5%; }
#sikasso-overlay { top: 60%; left: 25%; }

.impact-info-overlay h4 {
    color: var(--angesem-secondary);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    border-bottom: 1px solid var(--angesem-border-accent);
    padding-bottom: 5px;
}
.impact-info-overlay ul { padding-left: 20px; margin: 0; }
.impact-info-overlay li {
    font-size: 13px;
    color: var(--angesem-text-muted);
    margin-bottom: 4px;
    line-height: 1.4;
}
/* Animation for map elements */
@keyframes draw-water { to { stroke-dashoffset: 0; } }
@keyframes pulse-animation {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.3; }
    100% { transform: scale(1); opacity: 1; }
}
/* Impact Results (Stats next to map) */
.impact-results-wrap {
    padding-left: 15px; /* Space from map */
}
.single-impact-result { /* Individual stat card */
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transition: all 0.4s;
    border: 1px solid var(--angesem-border-accent);
    height: calc(100% - 25px); /* For grid layout consistency */
}
.single-impact-result:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(51, 170, 221, 0.3); /* Stronger accent on hover */
}
.single-impact-result .icon {
    font-size: 32px;
    color: var(--angesem-primary);
    margin-bottom: 20px;
    background: rgba(51, 170, 221, 0.1);
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s;
}
.single-impact-result:hover .icon {
    background: var(--angesem-primary);
    color: #fff;
    transform: rotateY(180deg); /* Icon flip */
}
.single-impact-result .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--angesem-text-dark);
}
.single-impact-result .stat {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.single-impact-result .stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--angesem-primary);
    position: relative;
    display: inline-block;
    margin-right: 10px;
}
.single-impact-result .stat-number span { /* For '+' sign */
    font-size: 24px;
    font-weight: 700;
}
.single-impact-result .improvement { /* Text like "Improvement" or "Professionals" */
    font-size: 15px;
    color: var(--angesem-text-muted);
    font-weight: 500;
}
.single-impact-result p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--angesem-text-muted);
    margin: 0;
}
/* Circular Progress Bar for stats */
.progress-circular {
    position: relative;
    width: 80px;
    height: 80px;
    margin-right: 15px; /* Space from text */
}
.progress-bar-circle { /* The animated circle */
    position: relative;
    width: 80px;
    height: 80px;
    transform: rotate(-90deg); /* Start from top */
    border-radius: 50%; /* Make it circular */
}
.progress-bar-circle:before { /* Background track */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(51, 170, 221, 0.1); /* Light track color */
}
.progress-bar-circle:after { /* Inner circle to create donut */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; /* Adjust for thickness */
    height: 60px;
    border-radius: 50%;
    background: #fff; /* Match card background */
}
/* Apply conic gradient for progress, requires JS to set --percentage var or specific classes */
.progress-bar-circle[data-percentage="75"] { background: conic-gradient(var(--angesem-primary) 0% 75%, transparent 75% 100%); }
.progress-bar-circle[data-percentage="62"] { background: conic-gradient(var(--angesem-primary) 0% 62%, transparent 62% 100%); }
.progress-bar-circle[data-percentage="85"] { background: conic-gradient(var(--angesem-primary) 0% 85%, transparent 85% 100%); }

.progress-text { /* Percentage text in center */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 700;
    color: var(--angesem-secondary);
    z-index: 1; /* Above inner circle */
}


/* Latest Blog Section */
.latest-blog-area {
    background-color: var(--angesem-body-bg); /* Cleaner look */
    position: relative;
    overflow: hidden;
}
.blog-post-card { /* Extends .blue-deal-card */
    /* Additional specific styles if needed */
}
.blog-post-image { /* Alias for .blue-deal-card-image-wrapper */
    height: 250px;
}
.blog-post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}
.blog-post-category a {
    display: inline-block;
    background: var(--angesem-accent-yellow);
    color: var(--angesem-primary-dark);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 193, 14, 0.3);
    transition: all 0.3s ease;
}
.blog-post-category a:hover {
    background: var(--angesem-accent-orange);
    box-shadow: 0 6px 15px rgba(247, 148, 29, 0.4);
}
.blog-post-content { /* Alias for .blue-deal-card-content */
    padding: 25px;
}
.blog-post-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #777; /* Muted color for meta */
}
.blog-post-meta li {
    display: inline-flex;
    align-items: center;
}
.blog-post-meta i {
    margin-right: 8px;
    color: var(--angesem-secondary); /* Accent color for icons */
}
.blog-post-title { /* Alias for .blue-deal-card-title */
    font-size: 20px;
    margin-bottom: 12px;
}
.blog-post-excerpt { /* Alias for .blue-deal-card-excerpt */
    color: #555; /* Slightly darker for readability */
    line-height: 1.65;
    height: 70px; /* Fixed height for consistency */
    overflow: hidden;
    text-overflow: ellipsis; /* Indicate more content */
}
.view-all-posts {
    margin-top: 30px;
    text-align: center;
}
.view-all-posts .boxed-btn { /* Uses .boxed-btn.gradient-btn styling */
    padding: 15px 35px; /* Specific padding */
}


/* FAQ Section */
.faq-area {
    background: linear-gradient(135deg, var(--angesem-section-bg-light) 0%, #f5f5f5 100%); /* Light gradient */
    position: relative;
    overflow: hidden;
}
.faq-wrapper {
    margin-bottom: 50px;
}
.faq-item {
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden; /* For smooth slide effect */
    transition: all 0.3s;
    border: 1px solid var(--angesem-border-accent);
}
.faq-item:hover,
.faq-item.active {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: rgba(0, 166, 81, 0.4); /* Green accent */
}
.faq-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* For icon positioning */
    transition: background-color 0.3s;
}
.faq-item.active .faq-header {
    border-bottom: 1px solid var(--angesem-border-accent);
    background-color: rgba(0, 166, 81, 0.03); /* Slight green tint for active header */
}
.faq-header .title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--angesem-text-dark);
    transition: color 0.3s;
    padding-right: 30px; /* Space for icon */
}
.faq-item:hover .faq-header .title,
.faq-item.active .faq-header .title {
    color: var(--angesem-secondary);
}
.faq-header .icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--angesem-secondary);
    font-size: 18px;
    transition: transform 0.3s; /* For icon rotation */
}
.faq-header .icon .fa-chevron-up { display: none; } /* Hide up arrow by default */
.faq-item.active .faq-header .icon .fa-chevron-down { display: none; } /* Hide down when active */
.faq-item.active .faq-header .icon .fa-chevron-up { display: inline-block; } /* Show up when active */

.faq-body {
    padding: 0 30px 25px 30px; /* Adjusted padding for slide effect */
    display: none; /* Hidden by default */
}
.faq-body p {
    margin: 0;
    color: var(--angesem-text-muted);
    font-size: 16px;
    line-height: 1.7;
}
.faq-contact-wrapper {
    text-align: center;
}
.faq-contact-wrapper .boxed-btn { /* Uses .boxed-btn.gradient-btn styling */
    padding: 16px 36px;
    border-radius: 50px; /* Fully rounded */
}

/* Navbar Styling */
.header-style-01,
.navbar-area {
    position: relative;
    z-index: 100;
}

.navbar-area {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--angesem-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 99;
}

.navbar-area.charity-nav-03 {
    background-color: var(--angesem-primary);
}

.navbar-area.charity-nav-03 .nav-container {
    padding: 0;
    position: relative;
}

.navbar-area.charity-nav-03 .nav-container .responsive-mobile-menu .logo-wrapper .logo img {
    max-height: 65px;
    transition: all 0.3s ease;
}

.navbar-area.charity-nav-03 .nav-container .navbar-collapse .navbar-nav li {
    display: inline-block;
    font-size: 16px;
    line-height: 70px;
    font-weight: 600;
    padding: 0 20px;
    position: relative;
}

.navbar-area.charity-nav-03 .nav-container .navbar-collapse .navbar-nav li a {
    color: #fff;
    transition: all 0.3s ease;
}

.navbar-area.charity-nav-03 .nav-container .navbar-collapse .navbar-nav li:hover > a,
.navbar-area.charity-nav-03 .nav-container .navbar-collapse .navbar-nav li.current-menu-item > a {
    color: var(--angesem-accent-yellow);
}

.navbar-area.charity-nav-03 .nav-container .navbar-collapse .navbar-nav li:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
}

.navbar-area.charity-nav-03 .nav-container .navbar-collapse .navbar-nav li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #fff;
    z-index: 2;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.navbar-area.charity-nav-03 .nav-container .navbar-collapse .navbar-nav li .sub-menu li {
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    line-height: 50px;
}

.navbar-area.charity-nav-03 .nav-container .navbar-collapse .navbar-nav li .sub-menu li:last-child {
    border-bottom: none;
}

.navbar-area.charity-nav-03 .nav-container .navbar-collapse .navbar-nav li .sub-menu li a {
    display: block;
    padding: 0 30px;
    background-color: #fff;
    color: var(--angesem-text-dark);
    transition: all 0.3s;
}

.navbar-area.charity-nav-03 .nav-container .navbar-collapse .navbar-nav li .sub-menu li a:hover {
    background-color: var(--angesem-primary);
    color: #fff;
}

/* Topbar Styling */
.topbar-area.style-02 {
    background-color: var(--angesem-primary-dark);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner.style-01 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-contnet .info-items {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.left-contnet .info-items li {
    display: inline-block;
    margin-right: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.left-contnet .info-items li i {
    margin-right: 5px;
    color: var(--angesem-accent-yellow);
}

.right-contnet {
    display: flex;
    align-items: center;
}

.social-link ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.social-link ul li {
    display: inline-block;
    margin-left: 20px;
}

.social-link ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.social-link ul li a:hover {
    color: var(--angesem-accent-yellow);
}

/* Language Switcher Styling */
.language-switcher {
    position: relative;
    margin-right: 20px;
}

.language-switcher-inner {
    position: relative;
}

.current-lang {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.current-lang:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.current-lang i {
    margin-right: 5px;
    font-size: 14px;
}

.current-lang .lang-name {
    margin: 0 5px;
    font-size: 14px;
    font-weight: 500;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 160px;
    background-color: var(--angesem-primary);
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    margin-top: 10px;
}

/* Show language dropdown on hover */
.language-switcher-inner:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown:before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background-color: var(--angesem-primary);
    transform: rotate(45deg);
    border-radius: 2px;
}

.language-dropdown li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.language-dropdown li a {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.language-dropdown li a:hover,
.language-dropdown li a.active {
    background-color: var(--angesem-secondary);
    color: #fff;
}

.language-dropdown li a i {
    margin-right: 8px;
    font-size: 16px;
}

/* Ensure navbar is above other content - This should ideally be in a global/header specific CSS */
.header-style-01,
.navbar-area {
    position: relative; /* or sticky/fixed depending on desired behavior */
    z-index: 1000; /* High z-index for navbar */
}

/* ==========================================================================
   5. Responsive Adjustments (General, then section-specific if needed)
   ========================================================================== */

@media (max-width: 991px) {
    .section-title .title {
        font-size: 36px; /* Smaller titles on tablets */
    }
    .section-title .description {
        font-size: 16px;
    }

    /* Header Slider Responsive */
    .header-slider-wrapper { padding-top: 60px; }
    .header-slider-wrapper .header-area .title { font-size: 42px; }
    .impact-stat-wrap {
        flex-direction: column;
        text-align: center;
    }
    .impact-stat-wrap p { margin-top: 15px; }
    .impact-progress-circle { margin: 0 auto; }
    .partner-logos-container { margin-top: 20px; }

    /* Feature Card Responsive */
    .blue-deal-feature-card.active {
        transform: translateY(-15px); /* Maintain active lift but no scale */
    }

    /* Success Story Card Responsive */
    .success-story-excerpt { height: auto; } /* Allow text to flow */

    /* About Us Timeline Responsive */
    .about-us-image-wrap {
        margin-bottom: 60px;
        height: auto; /* Auto height for content */
        padding-right: 0;
    }
    .project-phases {
        flex-direction: column; /* Stack phases */
        gap: 15px;
    }
    .phase-item {
        width: 100%; /* Full width for stacked items */
        margin-bottom: 15px;
    }
    .timeline-visual { margin-top: 20px; } /* Reduce top margin for popups */
    .milestone-info { top: -130px; } /* Adjust popup position if needed */


    /* Document Card Responsive */
    .doc-content p { min-height: auto; }

    /* Impact Map Responsive */
    .impact-map-container {
        height: 400px;
        padding-right: 0;
        margin-bottom: 40px;
    }
    .impact-results-wrap { padding-left: 0; }

     /* Blog Section Responsive */
    .latest-blog-area .section-title .title { font-size: 36px; }

}

@media (max-width: 767px) {
    .section-title .title {
        font-size: 32px; /* Smaller titles on mobile */
    }
    .section-title .description {
        font-size: 15px;
    }

    /* Header Slider Responsive */
    .header-slider-wrapper .header-area .title { font-size: 36px; }
    .impact-percentage { font-size: 36px; }
    .impact-percentage span { font-size: 18px; }
    .logo-grid img { max-width: 100px; margin: 5px; } /* Smaller logos, less margin */

    /* About Us Timeline Responsive */
    .about-us-image-wrap { height: auto; }
    .timeline-milestone.start { left: 0; }
    .timeline-milestone.end { left: 85%; } /* Adjust end milestone */
    .milestone-info { width: 150px; font-size: 12px; } /* Smaller popups */
    .milestone-info h4 { font-size: 14px; }
    .project-achievement-stats { flex-direction: column; gap: 15px; }


    /* Impact Map Responsive */
    .impact-map-container { height: 350px; }
    .map-title text, .legend-text { font-size: 10px; }
    .impact-info-overlay { width: 180px; padding: 10px; }
    .impact-info-overlay h4 { font-size: 14px; }
    .impact-info-overlay li { font-size: 12px; }

    /* Impact Results Responsive */
    .single-impact-result { height: auto; }
    .progress-circular { margin: 0 auto 15px; }
    .single-impact-result .stat {
        flex-direction: column;
        text-align: center;
    }
    .single-impact-result .stat-number {
        margin-right: 0;
        margin-bottom: 5px;
    }
    .single-impact-result .icon { margin: 0 auto 20px; }
    .single-impact-result .title { text-align: center; }
    .single-impact-result p { text-align: center; }


    /* Blog Section Responsive */
    .blog-post-card { margin-bottom: 25px; }
    .latest-blog-area .section-title .title { font-size: 32px; }
    .latest-blog-area .section-title .description { font-size: 16px; }

    /* FAQ Section Responsive */
    .faq-header { padding: 20px; }
    .faq-header .title { font-size: 16px; }
    .faq-header .icon { right: 20px; }
    .faq-body { padding: 20px; }
    .faq-body p { font-size: 15px; }
}

/* Ensure navbar is above other content - This should ideally be in a global/header specific CSS */
.header-style-01,
.navbar-area {
    position: relative; /* or sticky/fixed depending on desired behavior */
    z-index: 1000; /* High z-index for navbar */
}

/* Partner Login Button */
.partner-login-btn {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    padding: 4px 14px;
    border-radius: 4px;
    background-color: rgba(255, 193, 14, 0.15);
    color: #fff !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.partner-login-btn i {
    margin-right: 6px;
    font-size: 12px;
    color: var(--angesem-accent-yellow);
}

.partner-login-btn:hover {
    background-color: rgba(255, 193, 14, 0.3);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.4);
}