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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
}

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

.page-content {
    min-height: calc(100vh - 200px);
}

/* ================================
   NAVIGATION
================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 40px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link.active,
.nav-link:hover {
    color: #dc2626;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #dc2626;
    transition: width 0.3s;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1f2937;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

/* X shape: translate FIRST (in normal space), then rotate */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

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

/* ================================
   BUTTONS (Global)
================================ */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin: 0 0.5rem;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.cta-button.primary {
    background: #dc2626;
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #333;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   SCROLL REVEAL ANIMATIONS
================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   TOAST NOTIFICATION
================================ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1f2937;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    white-space: nowrap;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.toast.success {
    background: #16a34a;
}

.toast.error {
    background: #dc2626;
}

/* ================================
   SCROLL TO TOP BUTTON
================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top-btn:hover {
    background: #b91c1c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

/* ================================
   FOOTER
================================ */
footer {
    background: #f3f4f6;
    color: #1f2937;
    margin-top: 4rem;
    border-top: 1px solid #e5e7eb;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.footer-about p {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.8;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links ul li a {
    text-decoration: none;
    color: #374151;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: #dc2626;
}

.footer-links ul li a i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
    color: #6b7280;
    transition: color 0.2s;
}

.footer-links ul li a:hover i {
    color: #dc2626;
}

.footer-email p {
    font-size: 0.92rem;
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.footer-email-box {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.footer-email-box i {
    color: #dc2626;
    font-size: 1rem;
}

.footer-email-box a {
    color: #1f2937;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-email-box a:hover {
    color: #dc2626;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    text-align: center;
    padding: 1.2rem 20px;
    font-size: 0.88rem;
    color: #6b7280;
}

/* ================================
   RESPONSIVE (Global)
================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255,255,255,0.99);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        padding: 4rem 20px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        gap: 1.5rem;
        backdrop-filter: blur(20px);
        overflow-y: auto;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 20px;
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-links ul li a {
        justify-content: center;
    }

    .footer-email-box {
        justify-content: center;
    }

    .footer-email p {
        text-align: center;
    }

    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .footer-email-box a {
        font-size: 0.8rem;
        word-break: break-all;
    }
}