/* ================= Base & Variables ================= */
:root {
    --primary-color: #007c5a; /* WaFd Green */
    --primary-dark: #005a41;
    --secondary-color: #2b3a4a;
    --bg-light: #f4f7f6;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================= Header & Navigation ================= */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.burger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* ================= Hero / Page Titles ================= */
.hero, .page-title {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1, .page-title h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p, .page-title p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ================= Main Guide Content ================= */
.guide-section {
    padding: 60px 0;
}

.guide-section h2 {
    font-size: 36px;
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 50px;
}

.text-block {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    border-left: 5px solid var(--primary-color);
}

.text-block h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.text-block h3 i {
    color: var(--primary-color);
}

.text-block p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 16px;
    text-align: justify;
}

/* ================= Tariffs & Cards ================= */
.tariffs-section {
    padding: 60px 0;
}

.tariffs-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--primary-dark);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.tariff-list {
    list-style: none;
    text-align: left;
}

.tariff-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.tariff-list li:last-child {
    border-bottom: none;
}

/* ================= Table ================= */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.fee-table th, .fee-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.fee-table th {
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
}

.fee-table tr:hover {
    background-color: #f9f9f9;
}

/* ================= Accordion (Tips) ================= */
.faq-section {
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-dark);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header i:first-child {
    color: var(--primary-color);
    margin-right: 10px;
    width: 25px;
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-content {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #fafafa;
}

.accordion-content p {
    padding: 20px 0;
    color: var(--text-light);
}

/* ================= Footer ================= */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px 0;
    margin-top: 50px;
}

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

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: #b0bec5;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #b0bec5;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

/* ================= Animations ================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= Responsive Design ================= */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .nav-links.nav-active {
        max-height: 300px;
    }

    .nav-links li {
        padding: 20px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .burger-menu {
        display: block;
    }

    .hero h1, .page-title h1 {
        font-size: 32px;
    }

    .fee-table th, .fee-table td {
        padding: 10px;
        font-size: 14px;
    }
}