:root {
    --primary-teal: #00B9AD;
    --lime-green: #CDDC39;
    /* Adjusted from #CDDC229 */
    --light-blue: #60C0D0;
    --orange-gold: #D88D2B;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: var(--primary-teal);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
}

.btn-login {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    border-radius: 20px;
    padding: 0.375rem 1.5rem;
}

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

/* Banner */
.main-banner {
    position: relative;
    padding: 150px 0 100px 0;
    background-image: url('../images/banner-dec-left.png'), url('../images/banner-dec-right.png');
    background-position: left top, right top;
    background-repeat: no-repeat;
    background-size: auto, auto;
    overflow: hidden;
}

/* Fallback background if images are small or specific placement needed */
.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 255, 255, 1) 100%);
    z-index: -1;
}

.banner-content h4 {
    color: var(--primary-teal);
    font-weight: 700;
    margin-bottom: 15px;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--orange-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    color: #666;
    margin-bottom: 30px;
}

.banner-image {
    position: relative;
    z-index: 2;
}

.banner-image img {
    width: 100%;
    max-width: 600px;
}

/* Stats Overlay */
.stats-box {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 20px;
}

.stats-title {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
}

.stats-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-teal);
}

/* Services / Organization Section */
.services-section {
    padding: 80px 0;
    position: relative;
    margin-top: -50px;
    /* Overlap banner */
    z-index: 3;
}

.service-item {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, var(--orange-gold), #ffaa4c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    font-weight: 800;
    font-size: 18px;
    padding-top: 25px;
    /* Adjust for half-circle look if needed, but simple circle is easier */
    top: 0;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Adjust number style to match image description roughly (01, 02 bubbles) */
.service-number-bubble {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, var(--orange-gold) 0%, #ff8e00 100%);
    color: white;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(216, 141, 43, 0.3);
}

.service-icon {
    margin-bottom: 20px;
    font-size: 40px;
    color: var(--primary-teal);
}

.service-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Circles Stats */
.circle-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.circle-item {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--light-blue);
    /* Placeholder for progress circle */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.circle-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.circle-label {
    font-size: 12px;
    color: #888;
    text-align: center;
}

/* Content Section (Video/Article) */
.content-section {
    padding: 80px 0;
}

.video-placeholder {
    background-color: #ccc;
    width: 100%;
    padding-bottom: 100%;
    /* 1:1 Aspect Ratio */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.video-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    font-weight: 800;
    color: #666;
    opacity: 0.5;
}

.section-subtitle {
    color: var(--primary-teal);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 10px;
}

.section-title {
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.btn-primary-custom {
    background-color: var(--primary-teal);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--light-blue);
    transform: translateY(-2px);
}

/* Cell Active Styling */
.cell-active {
    background-color: var(--primary-teal) !important;
    color: white !important;
}

/* News Grid */
.news-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.news-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.news-date-box {
    background: #e9ecef;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 15px;
    font-weight: bold;
    color: #666;
}

.read-more {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    font-size: 12px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary-teal) 100%);
    color: white;
    padding: 60px 0 20px 0;
    position: relative;
    overflow: hidden;
}

.footer-logo-row {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-logo {
    height: 60px;
    background: white;
    padding: 5px;
    border-radius: 5px;
}

.footer-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

.social-icons a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: white;
    color: var(--primary-teal);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s;
    text-decoration: none;
}

/* Progress Circle Styles */
.progress-circle {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--progress-color, #ff6b6b) var(--progress, 0deg), #e0e0e0 var(--progress, 0deg));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.progress-circle::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: white;
}

.progress-circle-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.progress-circle-label {
    font-size: 10px;
    color: #888;
    margin-bottom: 5px;
}

.progress-circle-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.progress-circle-status {
    font-size: 12px;
    color: #888;
}

/* Animation for progress circle */
@keyframes fillProgress {
    from {
        background: conic-gradient(var(--progress-color, #ff6b6b) 0deg, #e0e0e0 0deg);
    }

    to {
        background: conic-gradient(var(--progress-color, #ff6b6b) var(--progress, 0deg), #e0e0e0 var(--progress, 0deg));
    }
}

.progress-circle.animated {
    animation: fillProgress 2s ease-out forwards;
}

.social-icons a:hover {
    background: var(--orange-gold);
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}

/* Login Page Styles */
.login-container {
    height: 100vh;
    overflow: hidden;
}

.login-branding {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--light-blue) 100%);
    position: relative;
    overflow: hidden;
}

.branding-content {
    position: relative;
    z-index: 2;
}

.decoration-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 50px solid rgba(255, 255, 255, 0.1);
    bottom: -100px;
    left: -100px;
    z-index: 1;
}

.login-form-container {
    background-color: #fff;
}

.cursor-pointer {
    cursor: pointer;
}

/* Dropdown Submenu Styles */
.dropend .dropdown-toggle::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 1rem;
    top: 50%;
    margin-top: -0.3em;
}

.dropend .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    margin-left: 0;
    border-radius: 0.375rem;
}

.dropend:hover>.dropdown-menu {
    display: block;
}

.dropdown-header {
    font-weight: 600;
    color: var(--primary-teal);
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    white-space: nowrap;
}

.dropdown-item i {
    width: 1.25rem;
    text-align: center;
}