/* General styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}
:root {
    --primary-color: #ff4d4d;
    --secondary-color: #e04444;
    --background-color: #f9f9f9;
    --text-color: #333;
    --hover-color: #555;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --animation-timing: 0.3s ease-in-out;
}

header {
    background-color: #f90404;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

/* Main content styles */
main {
    padding: 2rem;
}

.intro {
    text-align: center;
    margin-bottom: 40px;
}

.intro h2 {
    color: #ff5733;
    font-size: 1.5rem;
}

.intro h1 {
    font-size: 2rem;
    margin: 10px 0;
}

.details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.details div {
    width: 48%;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress {
    display: flex;
    justify-content: space-between;
    transition: transform 0.3s ease; /* Add transition for smooth scaling */
}

.progress:hover {
    transform: scale(1.05); /* Slightly scale up on hover */
}

.progress div {
    width: 48%;
}

.progress h4 {
    margin-bottom: 10px;
}

.progress-bar {
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
    height: 20px;
    margin-bottom: 10px;
}

.progress-bar span {
    display: block;
    height: 100%;
    background-color: #ff5733;
    width: 0%;
}

section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #004d40;
    margin-bottom: 1rem;
}

section p, section ul {
    margin: 0;
}

section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

section ul li {
    margin-bottom: 0.5rem;
}

/* Footer styles */
footer {
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

footer p {
    margin: 0.5rem 0;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
}

footer nav ul li a:hover {
    text-decoration: underline;
}

.mission img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.newsletter {
    background: var(--card-background);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
    text-align: center;
    margin-top: 40px;
}
.newsletter p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
  }
  
  .newsletter input {
    padding: 10px;
    width: 70%;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 14px;
  }
  
  .newsletter button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background var(--animation-timing);
  }
  
  .newsletter button:hover {
    background: var(--primary-hover-color);
  }

  .footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer p,
.footer ul,
.footer a {
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    color: #ccc;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a:hover {
    color: #fff;
}

.footer-socials a {
    margin-right: 10px;
    color: #ccc;
    font-size: 18px;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 14px;
    color: #aaa;
}

#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #ff4757;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show Button on Scroll */
#scrollToTop.show {
    opacity: 1;
    transform: scale(1);
}

/* Arrow Icon */
.arrow {
    font-size: 20px;
    color: white;
}

/* Circular Progress Indicator */
.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
}

/* Background Circle */
.progress-circle circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 4;
}

/* Progress Indicator */
#progress {
    stroke: white;
    stroke-width: 4;
    stroke-dasharray: 138;
    stroke-dashoffset: 138;
    transition: stroke-dashoffset 0.2s;
}

.cont1 h1 {
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

a[href="../index.html"] {
    position: absolute;
    top: 10px;
    left: 10px;
    text-decoration: none;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color var(--animation-timing);
}

a[href="../index.html"]:hover {
    background-color: var(--secondary-color);
}
