/* ======================================= */
/* THEME VARIABLES */
/* ======================================= */
:root {
    /* Green Theme */
    --color-primary: #5c9344;
    --color-primary-light: #5c9344;
    --color-primary-dark: #3d6b2e;
    --color-text-light: #ffffff;
    --color-bg-light: #f7f9f7;
    --color-theme-dark: ;

    /* Hero Gradient Theme */
    --color-hero-start: #5c9344;
    /* Primary as base */
    --color-hero-end: #5c9344;
    /* Lighter green */
    --color-hero-overlay: rgba(60, 107, 46, 0.36);
    /* Derived from primary-dark */
    --color-hero-hover: #3d6b2e;
    /* Dark green for hover */
}

/* ======================================= */
/* BASE STYLES */
/* ======================================= */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-light);
}

body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('../images/watermark.jpeg') no-repeat center center;
    background-size: 400px; /* Adjust size */
    opacity: 0.1; /* Transparency level */
    pointer-events: none; /* Prevent blocking clicks */
    z-index: 9999;
    width: 400px;  /* Adjust width */
    height: 400px; /* Adjust height */
}


/* ======================================= */
/* NAVBAR */
/* ======================================= */
.navbar {
    background-color: transparent !important;
    padding: 1.5rem 2rem;
}


.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    /* Still light text */
    font-weight: 500;
}

.nav-link:hover {
    color: var(--color-text-light) !important;
}

/* ======================================= */
/* SIDEBAR */
/* ======================================= */
#sidebarOverlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: rgba(61, 107, 46, 0.9);
    /* Based on primary-dark */
    display: none;
    z-index: 1050;
}

#sidebarOverlay.active {
    display: flex;
}

.sidebar-menu {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--color-primary);
    padding: 2rem;
    border-radius: 12px;
}

.sidebar-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.sidebar-menu a:hover {
    background-color: var(--color-primary-dark);
}

.sidebar-menu a.active {
    background-color: var(--color-primary-light);
}

/* ======================================= */
/* HERO SECTION */
/* ======================================= */
.hero-section {
    background: linear-gradient(135deg, var(--color-hero-start) 0%, var(--color-hero-end) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 4rem;
    border-bottom-right-radius: 4rem;
    color: var(--color-text-light);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Updated background image and added a gradient overlay for visual appeal */
    background: linear-gradient(var(--color-hero-overlay), var(--color-hero-overlay)), url('../images/IT.jpg') no-repeat center center / cover;
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(61, 107, 46, 0.7);
    /* Primary-dark shadow */
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
}

/* HERO CTA */
.hero-cta {
    background-color: var(--color-primary-light);
    color: var(--color-text-light);
    font-weight: 600;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    border-radius: 999px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-cta:hover {
    background-color: var(--color-primary-dark);
}

.cta-icon-circle {
    background-color: var(--color-text-light);
    color: var(--color-primary);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ======================================= */
/* STATS SECTION */
/* ======================================= */
.stats-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: left;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    margin-left: 16px;
    color: rgba(255, 255, 255, 0.75);
}

/* RESPONSIVE */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-section {
        flex-direction: column;
        margin-top: 0;
        gap: 0;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        width: 100%;
        text-align: center;
        flex-direction: column;
        margin-bottom: 1rem;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .hero-cta {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
}

/* ======================================= */
/* THEME UTILITIES */
/* ======================================= */
.text-primary {
    color: var(--color-primary) !important;
}

.text-primary-light {
    color: var(--color-primary-light) !important;
}

.text-primary-dark {
    color: var(--color-primary-dark) !important;
}

.text-light {
    color: var(--color-text-light) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-primary-light {
    background-color: var(--color-primary-light) !important;
}

.bg-primary-dark {
    background-color: var(--color-primary-dark) !important;
}

.bg-light {
    background-color: var(--color-bg-light) !important;
}

.border-primary {
    border-color: white !important;
}

.border-primary-light {
    border-color: var(--color-primary-light) !important;
}

.border-primary-dark {
    border-color: var(--color-primary-dark) !important;
}

.small, small {
    font-size: 1.4rem !important;
}











/* HTML: <div class="loader"></div> */
.loader-container {
    width:100vw;
    height: 100vh;
    position: fixed;
    z-index: 100000000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:white;
    left:0; top:0;
}
.loader {
  width: 80px;
  aspect-ratio: 1;
  background: 
    radial-gradient(farthest-side at top,#0000 calc(100% - 21px),lightblue calc(100% - 20px) 99%,#0000) bottom/100% 50%,
    radial-gradient(farthest-side,lightblue 94%,#0000 ) left /20px 20px,
    radial-gradient(farthest-side,lightblue 94%,#0000 ) right/20px 20px;
  background-repeat: no-repeat;
  position: relative;
}
.loader::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  inset: auto 0 0;
  margin: auto;
  border-radius: 50%;
  background: #5c9344;
  transform-origin: 50% -20px;
  animation: l14 1s infinite cubic-bezier(0.5,623,0.5,-623);
}
@keyframes l14 { 
 100% {transform: rotate(0.5deg)}
}