/* GiftNasim - Minimalist Design */
/* Color Palette: White + Gray + Blue */

:root {
    --primary-color: #2563eb;
    --primary-hover: #1e40af;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --border-dark: #d1d5db;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    padding: 0.75rem 0;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.info-banner p {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.3px;
}

.info-banner .container {
    max-width: 1200px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-medium);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* Header */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo img {
    width: 40px;
    height: 40px;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

nav a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
    padding: 5rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-medium);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.page-header-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-header-image img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
}

/* Content Section */
.content {
    padding: 4rem 0;
}

.intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.intro h2 {
    margin-top: 0;
}

/* Feature Cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 80px;
    height: 80px;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    text-align: left;
}

/* Info Section */
.info-section,
.tips-section,
.business-section,
.legal-info,
.resources-section,
.why-trust-section {
    margin: 4rem 0;
}

.info-section h2,
.tips-section h2,
.business-section h2,
.legal-info h2,
.resources-section h2,
.why-trust-section h2 {
    margin-top: 0;
}

.update-note {
    background-color: var(--bg-light);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tip {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.tip h4 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.tip p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Resource Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.resource-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.resource-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-item p {
    margin-bottom: 0;
}

/* Trust Points */
.trust-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trust-point {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
}

.trust-point h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.trust-point p {
    margin-bottom: 0;
}

/* About Content */
.about-content,
.contact-content,
.legal-content,
.faq-content,
.resources-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Resources Page */
.resource-intro {
    margin-bottom: 3rem;
    text-align: center;
}

.resource-category {
    margin: 4rem 0;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--border-color);
}

.resource-category:last-of-type {
    border-bottom: none;
}

.resource-category h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.article-list {
    display: grid;
    gap: 2rem;
}

.article-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.article-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.article-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.article-meta span:first-child {
    background-color: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    color: var(--primary-color);
}

.additional-resources {
    margin: 4rem 0;
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
}

.additional-resources h2 {
    margin-top: 0;
    color: var(--text-dark);
}

.reference-section {
    margin: 2rem 0;
}

.reference-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reference-section ul {
    list-style: none;
    padding-left: 0;
}

.reference-section ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.reference-section ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.disclaimer-note {
    background-color: var(--bg-light);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3rem;
}

.disclaimer-note h3 {
    color: var(--text-dark);
    margin-top: 0;
}

.disclaimer-note p {
    margin-bottom: 1rem;
}

.disclaimer-note p:last-child {
    margin-bottom: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.value-icon {
    margin-bottom: 1rem;
}

.value-icon img {
    width: 70px;
    height: 70px;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.value-card p {
    margin-bottom: 0;
    text-align: left;
}

/* Contact Page */
.contact-intro {
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
}

.small-text {
    font-size: 0.875rem;
    color: var(--text-light);
}

.contact-topics {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
}

.contact-topics h4 {
    margin-bottom: 1rem;
}

.contact-notice,
.office-hours,
.before-contact,
.privacy-note {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.contact-notice h3,
.office-hours h3,
.before-contact h3,
.privacy-note h3 {
    margin-top: 0;
}

/* FAQ Page */
.faq-intro {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 3rem;
}

.faq-section {
    margin: 3rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-section:last-of-type {
    border-bottom: none;
}

.faq-section h2 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 2.5rem;
}

.faq-item h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.faq-item p {
    margin-bottom: 1rem;
}

.faq-footer {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
}

.faq-footer h2 {
    margin-top: 0;
}

/* Legal Pages */
.legal-content h2 {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 3rem 0;
}

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-medium);
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .info-banner p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }

    nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-image img {
        max-width: 300px;
    }

    .page-header-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-header-image {
        order: -1;
    }

    .page-header-image img {
        max-width: 250px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .features,
    .tips-grid,
    .values-grid,
    .resource-grid,
    .trust-points {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .info-banner {
        padding: 0.6rem 0;
    }

    .info-banner p {
        font-size: 0.7rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-image img {
        max-width: 250px;
    }

    .page-header-image img {
        max-width: 200px;
    }

    .content {
        padding: 2rem 0;
    }

    .feature-card,
    .value-card {
        padding: 1.5rem;
    }

    .feature-icon img,
    .value-icon img {
        width: 60px;
        height: 60px;
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    header,
    footer,
    nav {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }
}

