/* mains.css */

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #004d40; /* Teal */
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 28px;
}

.desktop-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
    color: #b2dfdb;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 77, 64, 0.98);
    color: white;
    z-index: 999;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-nav.active {
    display: block;
    transform: translateY(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: flex-end;
    padding: 25px 30px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 3.2rem;
    color: white;
    cursor: pointer;
    line-height: 1;
    padding: 0 10px;
    transition: all 0.25s;
}

.close-menu:hover,
.close-menu:focus {
    transform: rotate(90deg);
    color: #b2dfdb;
}

.mobile-nav ul {
    list-style: none;
    padding: 30px 0;
    text-align: center;
}

.mobile-nav ul li {
    margin: 30px 0;
}

.mobile-nav ul li a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    padding: 12px 30px;
    display: block;
    transition: all 0.25s;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
}

/* Hamburger transforms to X when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Footer */
footer {
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    margin: 0 16px;
}

.social-icons img {
    width: 36px;
    height: 36px;
    transition: transform 0.3s;
}

.social-icons a:hover img {
    transform: scale(1.15);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .logo {
        font-size: 1.4rem;
    }
}

@media (min-width: 769px) {
    .mobile-nav,
    .hamburger {
        display: none !important;
    }
}