/* --- CSS Variables for Easy Theming --- */
:root {
    --primary-color: #4F46E5; /* Modern Indigo */
    --primary-hover: #4338CA;
    --bg-color: #F9FAFB;
    --card-bg: #FFFFFF;
    --text-main: #111827;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--card-bg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}


.logo img {
    height: 80px;    /* Adjust this to fit your header height */
    width: auto;     /* Keeps the proportions correct */
    display: block;  /* Removes extra whitespace below the image */
}


.nav-links a {
    margin-left: 2rem;
    font-weight: 600;
    color: var(--text-muted);
}

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

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 6rem 1rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

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

/* --- Products Section --- */
.products-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* CSS Grid for responsive cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* --- Product Cards --- */
.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
}

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

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Pushes button to bottom if text lengths vary */
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

/* Button styles for cards */
.btn-buy {
    width: 100%;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn-buy:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- Custom Amount Card Specifics --- */
.custom-card {
    border: 2px dashed var(--primary-color);
    background-color: #F8FAFC;
}

.custom-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.currency-symbol {
    color: var(--text-muted);
    margin-right: 0.5rem;
}

#custom-amount {
    width: 120px;
    padding: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: border-color var(--transition-speed);
}

#custom-amount:focus {
    border-color: var(--primary-color);
}

/* Remove arrows from number input */
#custom-amount::-webkit-outer-spin-button,
#custom-amount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Footer --- */
footer {
    background-color: var(--text-main);
    color: #F3F4F6;
    padding: 3rem 5%;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #9CA3AF;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links a {
        margin: 0 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}




/* --- Contact Page Specifics --- */
.contact-section {
    padding: 5rem 5%;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 300px); /* Keeps footer at the bottom */
}

.contact-container {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 600px;
}

.contact-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    text-align: center;
}

.contact-container p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-speed);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
}





/* --- Policy Pages Specifics --- */
.policy-section {
    padding: 4rem 5%; /* The 5% adds the left/right outer margin */
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 300px);
}

.policy-container {
    background-color: var(--card-bg);
    padding: 3rem; /* Inner spacing */
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 800px;
}

.policy-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.policy-container .last-updated {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.policy-container h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.policy-container p, 
.policy-container ul {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-container a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* --- Mobile Fix for Policy Pages --- */
@media (max-width: 768px) {
    .policy-section {
        padding: 2rem 5%; /* Keeps the edge margin on mobile */
    }
    
    .policy-container {
        padding: 1.5rem; /* Reduces inner bulkiness on small screens */
        border: none; /* Looks cleaner on mobile without the box border */
        box-shadow: none;
    }
    
    .policy-container h1 {
        font-size: 2rem;
    }
}




