/* General Styling */
:root {
    --primary-color: #ff6b6b; /* Love Red */
    --secondary-color: #4ecdc4; /* Teal Accent */
    --text-color: #333;
    --light-text-color: #f7f7f7;
    --bg-light: #fefefe;
    --bg-dark: #34495e;
    --border-color: #eee;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    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-color);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 10px;
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.btn:hover {
    background-color: #3aa8a1;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #3aa8a1;
    color: #fff;
}

/* Header */
.main-header {
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 20px;
}

.logo span {
    color: var(--secondary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.cta-button {
    margin-left: 20px;
}
.bg-dark {
  background-color: var(--secondary-color);
}
/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/banner.avif') no-repeat center center/cover;
    color: var(--light-text-color);
    text-align: center;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    color: var(--light-text-color);
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
}

/* Sections */
section {
    padding: 60px 0;
    background-color: var(--bg-light);
}



.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Grid Layouts */
.grid-3, .grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}


/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-content div {
    flex: 1;
    min-width: 300px;
}

.about-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-img img {
    object-fit: cover;
    width: 100%;
    height: 350px;
}

/*How We Works*/

/* Steps Grid */
.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Individual Step */
.step-item {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius, 10px);
    box-shadow: var(--shadow, 0 6px 12px rgba(0,0,0,0.1));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Icon Styling */
.step-item .icon {
    font-size: 2.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.step-item h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.step-item p {
    font-size: 1em;
    color: #555;
}

/* FAQ Section */
.faq-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #fdf3f3;
}

.faq-question .icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background-color: #fcfcfc;
}

.faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding: 15px 25px;
}

/* Counter Section */
.counter-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 60px 20px;
}

.counter-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-5px);
}

.counter-value {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Profile Cards */
.profile-card, .category-card, .plan-card, .blog-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.profile-card:hover, .category-card:hover, .plan-card:hover, .blog-card:hover {
    transform: translateY(-5px);
}

.profile-img-container {
    width: 100px;
    height: 100px;
    margin: 20px auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 0 20px 20px;
}
.profile-info h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}
.profile-info p {
    font-size: 0.9em;
    color: #666;
}

/* Category Cards */
.category-card img {
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.category-card-content {
    padding: 20px;
}

.category-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.category-card-content p {
    font-size: 0.9em;
    margin-bottom: 20px;
}

/* Plan Cards */
/* Basic Styling Example (add to your CSS file) */

.pricing-plans-section {
  text-align: center;
}
.plans-grid, .works-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.plan-card, .step-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex; /* For flexible content inside */
    flex-direction: column;
    justify-content: space-between;
}
.plan-card.featured {
    border-color: #ff6b6b;
    box-shadow: 0 6px 15px rgba(255,107,107,0.2);
    position: relative;
}
.plan-card .badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    
}
.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    flex-grow: 1; /* Makes feature lists take available space */
}
.plan-card li {
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95em;
}
.plan-card li.disabled {
    color: #aaa;
    text-decoration: line-through;
}

.btn-accent {
    background-color: #ff6b6b; /* Example red/pink */
    color: white;
}
.btn-accent:hover {
    background-color: #e05d5d;
}
/* Add styles for icons, step numbers, etc. */
/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--bg-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--form-bg);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-message {
    padding: 10px;
    margin-top: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.form-message.success {
    background-color: #d4edda;
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.form-message.error {
    background-color: #f8d7da;
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

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

.section-padding h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dark);
    text-align: center;
}

/* Two Column Layout */
.two-column-layout {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.two-column-layout > div,
.two-column-layout > form {
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}


/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    
}

.blog-post-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

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

.blog-post-card .post-content {
    padding: 20px;

}

.blog-post-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.blog-post-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.blog-post-card .read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.blog-post-card .read-more:hover {
    text-decoration: underline;
}

/* Individual Blog Page */
.blog-article {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 40px auto;
}

.blog-article h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.blog-article .meta {
    font-size: 0.9rem;
    color: var(--bg-dark);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.blog-article img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.blog-article p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Newsletter Unsubscribe Popup */

.hidden {
    display: none;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  text-align: left;
}

.modal-content h3 {
  margin-top: 0;
  color: #e91e63;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #888;
}
.close-btn:hover {
  color: #e91e63;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}
.form-group input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
}

/* Message */
.form-message {
  margin-top: 15px;
  font-size: 0.95em;
}
.form-message.success {
  color: #43a047;
}
.form-message.error {
  color: #e53935;
}

/* Hidden Utility */
.hidden {
  display: none;
}

/* Footer */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--light-text-color);
    padding: 40px 0;
    margin-top: auto; /* Pushes footer to bottom */
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: left;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2em;
}

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

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

.footer-col ul li a {
    color: var(--light-text-color);
    font-size: 0.95em;
    opacity: 0.8;
}

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

.social-links a {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9em;
    opacity: 0.9;
}


/* Responsive Design */
@media (max-width: 992px) {
    .main-nav ul {
        margin-top: 15px;
        justify-content: center;
        width: 100%;
    }
    .main-nav ul li {
        margin: 0 10px;
    }
    .main-header .container {
        flex-direction: column;
    }
    .cta-button {
        margin-left: 0;
        margin-top: 15px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1em;
    }
    .grid-3, .grid-4, .grid-2 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-col ul {
        padding: 0;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    .main-nav ul li {
        margin: 10px 0;
    }
    .about-content {
        flex-direction: column;
    }
    .about-content div, .about-img {
        width: 100%;
        min-width: unset;
    }
    .contact-grid, .auth-container {
        grid-template-columns: 1fr;
    }
    .popup-content {
        padding: 20px;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 10px 20px;
    }
    header .logo {
        margin-bottom: 15px;
    }
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    header nav ul li {
        margin: 5px 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.2rem;
    }

    .two-column-layout {
        flex-direction: column;
        gap: 30px;
    }

    .two-column-layout > div,
    .two-column-layout > form {
        padding: 25px;
    }

    .section-padding {
        padding: 40px 0;
    }
    .section-padding h2 {
        font-size: 2rem;
    }

    .blog-article {
        padding: 30px;
        margin: 20px auto;
    }
    .blog-article h1 {
        font-size: 2rem;
    }

    body {
        padding-top: 120px; /* Adjust for larger header on mobile */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}