/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@500;700&display=swap');

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

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

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background-color 0.3s ease;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.primary-btn {
    background-color: #c345e6;
    color: white;
    border: none;
}

.primary-btn:hover {
    background-color: #840cac;
}

.secondary-btn {
    background-color: #6c757d;
    color: white;
    border: none;
}

.secondary-btn:hover {
    background-color: #5a6268;
}

.large-btn {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.main-header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #c345e6;
    font-family: 'Poppins', sans-serif;
}

.logo .highlight {
    color: #840cac;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #c345e6;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #c345e6, #840cac);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image-placeholder img {
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    
    
}

/* Sections */
.common-section {
    padding: 60px 0;
}

.bg-light {
    background-color: #f1f3f5;
}

/* About Section */
.about-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Categories Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.category-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    margin-top: 10px;
    font-weight: 600;
}

/* USP Section */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.usp-item img {
    margin-bottom: 10px;
}

.usp-item h3 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-card .quote {
    font-style: italic;
}

.rating {
    color: #f5c518;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
}

.faq-question {
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
}

.faq-answer {
    padding: 15px;
    border-top: 1px solid #ccc;
}

/* Quote Form */
.quote-form .form-group {
    margin-bottom: 20px;
}

.quote-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-note {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Contact */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

/* Newsletter */
.newsletter-section {
    padding: 40px 0;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    padding: 12px;
    border: none;
    border-radius: 6px;
    width: 250px;
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    background-color: #840cac;
    color: white;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #e96c0a;
}

/* Footer */
.main-footer {
    background-color: #343a40;
    color: white;
    padding: 50px 0;
}

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

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

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

.footer-col ul li a {
    color: #ddd;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #555;
    padding-top: 15px;
}

.social-links a {
    margin-right: 10px;
}

/* Popup Styling */
.popup-module {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
}
