/* ---------------- RESET ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: white;
    /* Resetted to white so navbar (black text) is visible */
    --text-color: black;
}

html,
body {
    height: 100vh;
    width: 100vw;
    font-family: 'Times New Roman', Times, serif;
    background-color: var(--bg-color);
    scroll-behavior: smooth;
    color: var(--text-color);
    overflow-x: hidden;
    /* Prevent scrollbar from 100vw */
}

/* --------------- MAIN WRAPPER --------------- */
.main {
    position: relative;
    overflow-x: hidden;
    width: 100vw;
}

/* ---------------- NAVBAR ---------------- */
nav {
    padding: 1rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

nav .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    /* Modern Sans-serif */
    display: flex;
    align-items: center;
}

nav .logo a {
    text-decoration: none;
    color: inherit;
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    /* More breathing room */
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: #666;
    /* Elegant Dark Grey */
    font-weight: 500;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    text-transform: capitalize;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 5px;
    height: 5px;
    background-color: #000;
    border-radius: 50%;
    /* Circle Dot */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Pop effect */
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #000;
    background-color: transparent;
    transform: none;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    transform: translateX(-50%) scale(1);
}

/* ---------------- HAMBURGER MENU ---------------- */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    /* Ensure above nav-links (999) */
    position: relative;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: rgba(255, 255, 255, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 999;
        /* Ensure it's above other content */
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding-top: 5rem;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: translateY(8px) rotate(45deg);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links li a:hover {
    color: black;
    border-bottom: 2px solid black;
    /* Underline effect */
}

/* ---------------- SECTIONS COMMON ---------------- */
.section-common {
    padding: 100px 10%;
    /* Keep background black to match 'About' page if desired, or alternate */
    background-color: black;
    color: white;
    min-height: 100vh;
    /* Ensure full page feel for separate pages */
}

.section-title {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: normal;
    color: white;
}

/* ---------------- FOOTER ---------------- */
/* ---------------- FOOTER (Redesigned) ---------------- */
.main-footer {
    background-color: #000;
    color: #ccc;
    padding: 4rem 5% 1rem;
    border-top: 1px solid #222;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-col h3 {
    color: #fff;
    /* Changed from green to white */
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s;
}

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

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 0.5rem;
}

.footer-links-list a {
    text-decoration: none;
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links-list a:hover {
    color: #fff;
    /* White hover */
    text-decoration: underline;
}

.newsletter-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
}

.newsletter-form button {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    /* Black/Transparent as requested */
    color: #fff;
    border: 1px solid #fff;
    /* White border */
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background-color: #fff;
    color: #000;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ---------------- CONTACT (Restored for Home Page) ---------------- */
.contact-container {
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-form-wrapper {
    background: white;
    /* White card */
    border-radius: 20px;
    padding: 2rem;
    color: black;
    /* Black text */
    flex: 1;
    min-width: 300px;
}

.contact-form-wrapper h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 30px;
    /* Rounded inputs */
    border: none;
    background: black;
    /* Black inputs */
    color: white;
    font-family: inherit;
    outline: none;
    width: 100%;
    margin-bottom: 1rem;
}

.contact-form textarea {
    border-radius: 20px;
}

.contact-form button {
    background: black;
    /* Black button */
    color: white;
    border: none;
    padding: 15px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    width: 100%;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.contact-form button:hover {
    opacity: 0.8;
}

.contact-info-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-box {
    background: white;
    /* White card */
    border-radius: 20px;
    padding: 2rem;
    color: black;
    flex-grow: 1;
}

.info-box h3,
.social-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.info-box p {
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: black;
}

.social-box {
    background: white;
    /* White card */
    border-radius: 20px;
    padding: 1.5rem 2rem;
    color: black;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.social-icons a {
    color: black;
    text-decoration: none;
    font-size: 1.8rem;
    /* Larger icons */
}



.contact-form-wrapper,
.info-box,
.social-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.contact-form-wrapper.visible,
.info-box.visible,
.social-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form-wrapper {
    transition-delay: 0.1s;
}

.info-box {
    transition-delay: 0.2s;
}

.social-box {
    transition-delay: 0.3s;
}

/* Global Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
}