/* Global Styles */
:root {
    --primary-violet: #f44d81;
    --light-violet: #D8BFD8;
    --dark-violet: #010c10;
    --accent-violet: #2fafe2;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-light: #F8F6FF;
    --bg-section: #FFFFFF;
    --border-light: #E6E0F7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-bottom: 15px;
    color: var(--dark-violet);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-violet);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-violet);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-violet);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--dark-violet);
    color: var(--text-light);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-violet);
    color: var(--primary-violet);
}

.btn-outline:hover {
    background-color: var(--primary-violet);
    color: var(--text-light);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Header Styles */
.header {
    background-color: var(--bg-section);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-violet);
}

.logo a span {
    color: var(--primary-violet);
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-violet);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-violet);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

/* Page Title */
.page-title {
    background-color: var(--primary-violet);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.page-title h1 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.page-title p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--bg-section);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-violet);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-section);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--bg-section);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    margin: 0;
    color: #666;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--primary-violet);
    color: var(--text-light);
    text-align: center;
}

.cta h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: var(--text-light);
    color: var(--primary-violet);
}

.cta .btn:hover {
    background-color: var(--light-violet);
    color: var(--primary-violet);
}

/* About Page Styles */
.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

/* Mission & Vision */
.mission-vision {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mission-card, .vision-card {
    background-color: var(--bg-section);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Values Section */
.values {
    padding: 80px 0;
}

.values h2 {
    text-align: center;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--bg-light);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.team h2 {
    text-align: center;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background-color: var(--bg-section);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light-violet);
}

.team-member h4 {
    margin-bottom: 5px;
}

.team-member p {
    color: #666;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-violet);
    color: var(--primary-violet);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-violet);
    color: var(--text-light);
}

/* Categories Page Styles */
.categories {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(47, 175, 226, 0.9), transparent);
    color: var(--text-light);
}

.category-overlay h3 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.category-overlay .btn {
    margin-top: 15px;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 50px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-section);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: var(--primary-violet);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Tips Page Styles */
.featured-tips {
    padding: 80px 0;
}

.featured-tip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background-color: var(--bg-section);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.featured-tip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-tip-content {
    padding: 40px;
}

.tip-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--light-violet);
    color: var(--dark-violet);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Tips Grid */
.tips-grid {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.tips-grid .container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.tips-categories ul {
    list-style: none;
    background-color: var(--bg-section);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tips-categories li {
    margin-bottom: 10px;
}

.tips-categories a {
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.tips-categories a:hover,
.tips-categories a.active {
    background-color: var(--primary-violet);
    color: var(--text-light);
}

.tips-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.tip-card {
    background-color: var(--bg-section);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tip-image {
    height: 200px;
}

.tip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tip-content {
    padding: 20px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background-color: var(--primary-violet);
    color: var(--text-light);
    text-align: center;
}

.newsletter h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
}

/* Contact Page Styles */
.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 2rem;
    margin-right: 20px;
    color: var(--primary-violet);
}

.contact-form {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--bg-section);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer Styles */
.footer {
    background-color: var(--dark-violet);
    color: var(--text-light);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr ;
    gap: 20px;
    margin-bottom: 50px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
}

.footer-logo a span {
    color: var(--light-violet);
}

.footer-logo p {
    margin-top: 15px;
    opacity: 0.8;
}

.footer-column h4 {
    color: var(--text-light);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 5px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-violet);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--light-violet);
}

.footer-social h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-violet);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.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: var(--text-light);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-violet);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0 15px 10px;
    }
    
    .hero .container,
    .about-grid,
    .mission-vision-grid,
    .featured-tip,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .features-grid,
    .values-grid,
    .team-grid,
    .steps,
    .tips-content,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid .container {
        grid-template-columns: 1fr;
    }
    
    .tips-categories {
        margin-bottom: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
    }
}

@media (max-width: 576px) {
    .page-title h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-large {
        padding: 12px 24px;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .auth-buttons .btn {
        width: 100%;
    }
}