/* Grinter Friends | Deontae Wills aka Mely */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #555;
    background-color:hsl(0, 0%, 91%);
}

h1, h2, h3 {
    font-family: 'Libre Baskerville', serif;
    margin-bottom: 20px;
    color: #34495e;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation */

nav {
    position: fixed;
    width: 100%;
    background-color: #f8f8f8;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-logo img {
    height: 90px;
    width: 90px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links ul li {
    font-weight: 600;
}

.nav-links li {
    font-size: large;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

.nav-socials {
    display: flex;
    gap: 15px;
}

.nav-socials i {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.nav-socials i:hover {
    color: #007bff;
}

/* Header Section */

.header-section {
    position: relative;
    background-color: #2c3e50;
    height: 100vh;
    z-index: 1;
}

.header-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f5f5f5ed;
    text-align: center;
}

.header-h1-txt {
    font-size: 2.5rem;
}

.header-h1-txt h1 {
    color: #f8f8f8;
}

.header-p-txt {
    font-size: 1.4rem;
}

.cta-button {
    position: absolute;
    top: 72%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #007bff;
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.cta-button:hover {
    background-color: #0056b3;
}

/* History Overview Section */

.history-overview {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}
.history-overview h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.history-overview p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
}

/* Timeline Section */

.timeline-section {
    padding: 80px 0;
    background-color: #ecf0f1;
    text-align: center;
}
.timeline-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}
.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-item {
    position: relative;
    padding-left: 50px;
    padding-bottom: 20px;
    border-left: 4px solid #0056b3;
}
.timeline-item h3 {
    font-size: 1.8rem;
    color: #0056b3;
    margin-bottom: 10px;
}
.timeline-item p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.timeline-item:nth-child(odd) {
    padding-left: 0;
    padding-right: 50px;
    text-align: right;
    border-left: none;
    border-right: 4px solid #0056b3;
}
.timeline-item:nth-child(odd)::before {
    left: auto;
    right: -10px;
}

/* Key Figures Section */

.key-figures {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}
.key-figures h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
}
.figures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.figure-card {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.figure-card img {
    width: 100%;
    height: 407px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}
.figure-card h3 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}
.figure-card p {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.7;
}

/* Footer Section */
/* Footer Section */
.footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: left;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-about,
.footer-links,
.footer-social {
    flex: 1;
    margin: 0 20px;
}

.footer-about h3,
.footer-links h4,
.footer-social h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #007bff;
}

.footer-social .social-icons a {
    margin-right: 15px;
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.1rem;
    }
    .cta-button {
        padding: 12px 28px;
        font-size: 1rem;
    }
    .timeline-item {
        padding-left: 30px;
        padding-right: 30px;
    }
    .figure-card img {
        width: 90%;
        margin: 0 auto;
    }
}
