/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0076BC; /* Blue */
    --color-secondary: #C69A3E; /* Gold/Bronze */
    --color-text: #333;
    --color-background: #f4f7fa;
    --color-whatsapp: #25D366; 
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    /* Improved mobile readability */
    -webkit-text-size-adjust: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    word-break: break-word; 
    hyphens: auto; 
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Buttons (Unchanged) --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 15px;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer; 
}

/* Tertiary Button (for AsanBooks - Gold/Bronze theme) */
.btn-tertiary {
    background-color: var(--color-secondary);
    color: #fff;
    border-color: var(--color-secondary);
}

.btn-tertiary:hover {
    background-color: #a37f33; 
    transform: translateY(-2px);
}

/* WhatsApp Button (Primary CTA) */
.btn-whatsapp-hero {
    background-color: var(--color-whatsapp);
    color: #fff;
    border-color: var(--color-whatsapp);
    font-size: 1.1em;
    padding: 15px 35px;
}

.btn-whatsapp-hero:hover {
    background-color: #1DA851;
    transform: translateY(-3px);
}

/* WhatsApp Button for Packages */
.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: #fff;
    border-color: var(--color-whatsapp);
    width: 100%;
    margin-top: 20px;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    transform: translateY(-2px);
}

/* WhatsApp Button for Contact Box */
.btn-whatsapp-small {
    background-color: var(--color-whatsapp);
    color: #fff;
    border-color: var(--color-whatsapp);
    padding: 8px 15px;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.btn-whatsapp i, .btn-whatsapp-hero i, .btn-whatsapp-small i {
    margin-right: 8px;
    font-size: 1.2em;
}

/* --- Header and Hero Section --- */
.hero-section {
    background-color: var(--color-primary);
    color: #fff;
    padding: 100px 0; /* Restored original top/bottom padding */
    text-align: center;
    border-bottom-left-radius: 50% 20px;
    border-bottom-right-radius: 50% 20px;
}

.hero-section h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-section h2 {
    font-size: 1.5em;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-section p {
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* --- Subjects Section --- */
.subjects-section {
    padding: 40px 0;
    text-align: center;
    background-color: var(--color-background);
    border-bottom: 3px solid #ddd;
}

.subjects-section h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.subject-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.subject-list span {
    background-color: #fff;
    color: var(--color-text);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

/* --- Packages Section --- */
.packages-section {
    padding: 80px 0;
    text-align: center;
}

.packages-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.package-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.package-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex: 1 1 300px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border-top: 5px solid;
}

.package-card.silver { border-color: #aaa; }
.package-card.gold { border-color: var(--color-secondary); }
.package-card.platinum { border-color: var(--color-primary); }

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.package-card .badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--color-secondary); 
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.package-card h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.package-card .price {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--color-secondary); 
    margin-bottom: 25px;
}

.package-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.package-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 1em;
}

.package-card ul li i {
    margin-right: 10px;
}

.package-card ul li .fa-check-circle {
    color: #28a745; 
}

.package-card ul li .fa-times-circle {
    color: #dc3545; 
}

/* --- Contact Section --- */
.contact-section {
    background-color: #fff;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.contact-section .container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
    text-align: center;
}

.contact-box {
    flex: 1 1 45%;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 5px solid var(--color-primary);
}

.contact-box h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.contact-box p {
    margin-bottom: 10px;
}

.contact-box .note {
    font-style: italic;
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 15px;
}

/* --- Footer --- */
footer {
    background-color: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* --- Responsive Design Adjustments --- */
/* Mobile (Portrait and landscape) */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0; /* Adjusted padding for mobile display without logo */
    }
    .hero-section h1 {
        font-size: 2em;
    }
    .hero-section h2 {
        font-size: 1.2em;
    }
    .package-cards {
        flex-direction: column; 
    }
    .package-card, .contact-box {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
    .package-card .price {
        font-size: 2em;
    }
    .subject-list span {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .btn-whatsapp-hero {
        padding: 12px 25px; 
        font-size: 1em;
    }
}

/* Add to your existing style.css */

/* --- Footer Social Links --- */
footer .social-links {
    margin: 20px 0 15px;
    display: flex;
    justify-content: center;
    gap: 15px; /* Spacing between icons */
}

footer .social-links a {
    color: #fff; /* White color for icons */
    font-size: 1.5em; /* Size of the icons */
    transition: color 0.3s;
}

footer .social-links a:hover {
    color: var(--color-secondary); /* Hover color (Gold/Bronze) */
    transform: scale(1.1);
}