/* ./css/main.css */

/* Basic Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif; /* Recommended a modern, readable font */
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Containers for responsiveness */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Header --- */
.header {
    background-color: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header__logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

/* Navigation (Desktop) */
.header__nav {
    display: flex; /* Always display nav on desktop */
}

.nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.nav__item {
    position: relative;
}

.nav__link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: #007bff;
}

/* Burger Menu (Mobile) */
.header__burger {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100; /* Ensure burger is above mobile menu */
}

.header__burger span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

.header__burger.is-active span:nth-child(1) {
    transform: rotate(45deg);
}

.header__burger.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.header__burger.is-active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Navigation (JavaScript controlled) */
@media (max-width: 768px) {
    .header__nav {
        display: none; /* Hide nav by default on mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        background-color: #ffffff;
        border-top: 1px solid #e9ecef;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
        max-height: 0; /* For smooth animation */
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .header__nav.is-open { /* Class toggled by JavaScript */
        display: flex;
        max-height: 300px; /* Adjust as needed for content */
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .nav__item {
        width: 100%;
        text-align: center;
    }

    .nav__link {
        display: block;
        padding: 0.8rem 1rem;
        width: 100%;
        color: #333;
    }

    .nav__link:hover {
        background-color: #f2f2f2;
    }

    .header__burger {
        display: flex; /* Show burger on mobile */
    }
}

/* --- Main Content Layout --- */
.main-content {
    flex-grow: 1; /* Allows main content to expand and push footer down */
    padding: 2rem 0;
}

.section-block {
    padding: 2rem 0;
}

.section-block__container {
    max-width: 960px; /* Content width */
    margin: 0 auto;
    padding: 0 1rem;
}

.section-block__title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-block__subtitle {
    font-size: 1.8rem;
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-block__heading {
    font-size: 1.4rem;
    color: #5a6a7a;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.section-block p,
.section-block ul,
.section-block ol,
.section-block table {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1rem;
}

.section-block ul,
.section-block ol {
    padding-left: 20px;
}

/* --- Specific Section Styles --- */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e0f7fa, #c5e9f8); /* Gradient background */
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid #b3e5fc;
}

.hero__title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1a237e; /* Darker blue for heading */
    font-weight: 700;
}

.hero__description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #3f51b5; /* Slightly lighter blue for description */
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

.hero__image {
    margin-top: 2rem;
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    max-width: 900px;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners apply to content */
}

.data-table th,
.data-table td {
    border: 1px solid #e0e0e0;
    padding: 1rem;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.data-table tr:nth-child(even) {
    background-color: #fbfbfb;
}

.data-table tr:hover {
    background-color: #eef;
}

/* Lists (e.g., Security Features) */
.feature-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.7rem;
    color: #333;
}

/* FAQ Specific Styles */
.faq-item {
    margin-bottom: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-item__question {
    font-size: 1.15rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-item__answer {
    font-size: 1rem;
    color: #444;
}

/* Privacy Policy Specific Styles */
.privacy-section__title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.privacy-section__subtitle {
    font-size: 1.4rem;
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.privacy-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 1rem;
}

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

/* Contact Page Specific Styles */
.contact-section__intro {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.contact-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.contact-card__title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-card__text {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.contact-card__link {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-card__link:hover {
    background-color: #0056b3;
    text-decoration: none;
}

.social-links {
    margin-top: 2rem;
}

.social-links__list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links__link img {
    width: 36px; /* Adjust size of social icons */
    height: 36px;
    transition: transform 0.2s ease;
}

.social-links__link img:hover {
    transform: translateY(-3px);
}


/* --- Footer --- */
.footer {
    background-color: #2c3e50; /* Darker footer */
    color: #ecf0f1;
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto; /* Pushes footer to the bottom */
    font-size: 0.9rem;
}

.footer__text {
    margin: 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 992px) {
    .hero__title {
        font-size: 2.5rem;
    }
    .hero__description {
        font-size: 1.1rem;
    }
    .section-block__title {
        font-size: 2rem;
    }
    .section-block__subtitle {
        font-size: 1.6rem;
    }
    .section-block__heading {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    .hero__title {
        font-size: 2rem;
    }
    .hero__description {
        font-size: 1rem;
    }
    .section-block {
        padding: 1.5rem 0;
    }
    .section-block__title {
        font-size: 1.8rem;
    }
    .section-block__subtitle {
        font-size: 1.4rem;
    }
    .section-block__heading {
        font-size: 1.2rem;
    }
    .data-table {
        font-size: 0.9rem; /* Smaller font for tables on mobile */
        display: block; /* Allows table to scroll horizontally if needed */
        overflow-x: auto; /* Enables horizontal scroll */
        white-space: nowrap; /* Prevents text wrapping in cells */
    }
    .data-table th, .data-table td {
        padding: 0.7rem;
    }
    .privacy-section__title {
        font-size: 1.6rem;
    }
    .privacy-section__subtitle {
        font-size: 1.2rem;
    }
    .contact-card {
        padding: 1.5rem;
    }
    .contact-card__title {
        font-size: 1.5rem;
    }
    .social-links__list {
        flex-direction: column; /* Stack social links */
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }
    .section-block__title {
        font-size: 1.6rem;
    }
    .section-block__subtitle {
        font-size: 1.3rem;
    }
    .section-block__heading {
        font-size: 1.1rem;
    }
    .faq-item__question {
        font-size: 1.05rem;
    }
    .faq-item__answer {
        font-size: 0.95rem;
    }
}
img {
	width: 100%;
}