/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
}

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

/* Header and Navigation */
.navbar {
    background: linear-gradient(135deg, #154D40 0%, #1a5c4a 100%);
    box-shadow: 0 4px 12px rgba(21, 77, 64, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    color: #FFFFFF;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 0.15rem;
}

.nav-logo {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.65rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-logo a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.nav-logo a:hover {
    color: #e8f5e8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero .container {
    max-width: 900px;
}

.hero-content {
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: #154D40;
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero-video {
    margin-bottom: 2rem;
}

.hero-text {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text p {
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pdf-download {
    text-align: center;
    margin-top: 2rem;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #154D40;
    color: #FFFFFF;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(21, 77, 64, 0.2);
}

.pdf-link:hover {
    background-color: #0f3530;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(21, 77, 64, 0.3);
}

.pdf-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.hero-video {
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.main-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    outline: none;
}

.main-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.main-video::-webkit-media-controls-play-button,
.main-video::-webkit-media-controls-volume-slider,
.main-video::-webkit-media-controls-timeline {
    filter: brightness(1.2);
}

/* Custom video controls styling removed */

/* Cards Section */
.cards {
    padding: 4rem 0;
    background-color: #FFFFFF;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: #FFFFFF;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card:first-child {
    background: #154D40;
    border-color: #154D40;
}

.card:first-child h3 {
    color: #FFFFFF;
}

.card:first-child p {
    color: rgba(255, 255, 255, 0.9);
}

.card:first-child .card-link {
    background-color: #FFFFFF;
    color: #154D40;
}

.card:first-child .card-link:hover {
    background-color: #f8f9fa;
    transform: translateX(4px);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-color: #154D40;
}

.card:first-child:hover {
    background: #1a5a4a;
    border-color: #1a5a4a;
}

.card h3 {
    color: #154D40;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: #666666;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #154D40;
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-link:hover {
    background-color: #0f3530;
}

.card:not(:first-child) .card-link:hover {
    transform: translateX(4px);
}

.card-link .arrow {
    transition: transform 0.3s ease;
}

.card-link:hover .arrow {
    transform: translateX(4px);
}

/* Footer */
footer {
    background-color: #154D40;
    color: #FFFFFF;
    padding: 1.5rem 0 0.75rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: #e9ecef;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #e9ecef;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFFFFF;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(255,255,255,0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #e9ecef;
    font-size: 0.9rem;
}

/* Contact items styling */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    fill: #FFFFFF;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #e9ecef;
}

.contact-info a {
    color: #e9ecef;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.contact-info a:hover {
    color: #FFFFFF;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 20px;
    }

    .nav-logo h1 {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #FFFFFF;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        color: #154D40;
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: #154D40;
        color: #FFFFFF;
        border-radius: 8px;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 3rem 0;
    }

    .hero .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero-video {
        margin-bottom: 1.5rem;
    }

    .hero-text {
        text-align: left;
        padding: 0 0.5rem;
    }

    .hero-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .pdf-link {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        gap: 0.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .card-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-info a {
        word-break: break-word;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-logo h1 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-content h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-text {
        padding: 0;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .pdf-download {
        margin-top: 1.5rem;
    }

    .pdf-link {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .pdf-icon {
        width: 20px;
        height: 20px;
    }

    .cards {
        padding: 2rem 0;
    }

    .card {
        padding: 1.25rem;
    }

    .card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .card p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .card-link {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

    .video-container {
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-info p {
        font-size: 0.85rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}