/* Global Styles */
:root {
    --primary-color: #6b4c9a;
    --secondary-color: #f8a978;
    --accent-color: #8cc0de;
    --light-color: #f9f7fe;
    --dark-color: #333333;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --grey-color: #f5f5f5;
    --grey-dark-color: #e0e0e0;
    --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --border-radius: 8px;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    font-size: 16px;
    overflow-x: hidden;
}

body.large-font {
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-color);
}

p {
    margin-bottom: 20px;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-family);
}

.section-padding {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: white;
    padding: 20px 5%;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

header h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 5px;
}

nav a.active {
    background-color: var(--primary-color);
    color: white;
}

nav a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

nav a.active:hover {
    background-color: var(--primary-color);
    color: white;
    opacity: 0.9;
}

nav i {
    font-size: 1.1rem;
}

#font-size-toggle {
    background-color: var(--light-color);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#font-size-toggle:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    background: linear-gradient(to right, #f9f7fe, #fff);
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(248, 169, 120, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(107, 76, 154, 0.4);
}

.hero-image {
    flex: 1;
    max-width: 550px;
    margin-left: 30px;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Story Section */
.story-section {
    padding: 80px 5%;
    background-color: white;
}

.story-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.story-image {
    flex: 1;
    max-width: 500px;
}

.story-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.story-text {
    flex: 1;
}

.story-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Services Section */
.services {
    padding: 80px 5%;
    background-color: var(--light-color);
}

.services h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.service-card p {
    padding: 0 20px;
    color: var(--dark-color);
}

.service-card ul {
    list-style: disc;
    padding: 0 20px 20px 40px;
    color: var(--dark-color);
}

.service-card ul li {
    margin-bottom: 5px;
}

/* Featured Posts Section */
.featured-posts {
    padding: 80px 5%;
    background-color: white;
}

.featured-posts h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.post-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.post-content p {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
}

.read-more::after {
    content: "→";
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 10px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

.view-all-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.view-all-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 5%;
    background-color: var(--light-color);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer and Edge */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.testimonial {
    flex: 0 0 auto;
    width: 90%;
    max-width: 500px;
    scroll-snap-align: start;
}

.testimonial-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 5% 20px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.footer-contact i {
    margin-top: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.95);
    color: white;
    padding: 15px;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-content i {
    margin-right: 5px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.cookie-buttons button {
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

#accept-cookies {
    background-color: var(--success-color);
    color: white;
}

#customize-cookies {
    background-color: var(--accent-color);
    color: white;
}

#reject-cookies {
    background-color: var(--error-color);
    color: white;
}

.cookie-buttons button:hover {
    opacity: 0.9;
}

.cookie-more-info {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.cookie-more-info a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Blog Page Styles */
.blog-header {
    background-color: var(--light-color);
    padding: 60px 5%;
    text-align: center;
}

.blog-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.blog-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.blog-posts {
    padding: 60px 5%;
}

.blog-post {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--grey-dark-color);
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post .post-image {
    margin-bottom: 30px;
}

.blog-post .post-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #777;
    font-size: 0.9rem;
}

.post-meta i {
    margin-right: 5px;
}

.blog-post h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.blog-post h4 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.blog-post p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.blog-post ul, .blog-post ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-post ul {
    list-style: disc;
}

.blog-post ol {
    list-style: decimal;
}

.blog-post li {
    margin-bottom: 10px;
}

.blog-post strong {
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-header {
    background-color: var(--light-color);
    padding: 60px 5%;
    text-align: center;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px 5%;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-card p {
    margin-bottom: 0;
}

.info-card a {
    color: var(--primary-color);
}

.info-card a:hover {
    color: var(--secondary-color);
}

.contact-form-container {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--grey-dark-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 76, 154, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: block;
    width: 100%;
    cursor: pointer;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

.map-section {
    padding: 0 5% 60px;
}

.map-section h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.faq-section {
    padding: 60px 5%;
    background-color: var(--light-color);
}

.faq-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question h4 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.question i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .question i {
    transform: rotate(180deg);
}

.answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Thank You Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

.thankyou-content i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.thankyou-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.thankyou-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

#close-thankyou {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

#close-thankyou:hover {
    background-color: var(--secondary-color);
}

/* Policy Pages Styles */
.policy-header {
    background-color: var(--light-color);
    padding: 60px 5%;
    text-align: center;
}

.policy-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.policy-header p {
    font-size: 1.1rem;
    color: #777;
}

.policy-content {
    padding: 60px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.policy-intro {
    margin-bottom: 40px;
}

.policy-intro p {
    font-size: 1.1rem;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.policy-section h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.policy-section p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.policy-section ul, .policy-section ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-section ul {
    list-style: disc;
}

.policy-section ol {
    list-style: decimal;
}

.policy-section li {
    margin-bottom: 10px;
}

.policy-section strong {
    font-weight: 700;
    color: var(--primary-color);
}

.contact-details {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.refund-steps ol {
    background-color: var(--light-color);
    padding: 25px 25px 25px 45px;
    border-radius: 10px;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .services-grid, .post-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    header {
        flex-direction: column;
        padding: 20px;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-image {
        max-width: 90%;
        margin-left: 0;
    }
    
    .story-content {
        flex-direction: column;
    }
    
    .story-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .services-grid, .post-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .cookie-buttons button {
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    nav ul {
        gap: 5px;
    }
    
    nav a {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .services h2, .story-section h2, .featured-posts h2, .testimonials h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .blog-post h3 {
        font-size: 1.5rem;
    }
    
    .blog-post h4 {
        font-size: 1.2rem;
    }
    
    .policy-header h2 {
        font-size: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
}
