/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* ===== Brand Palette ===== */
    --primary: #FF6F61;        /* Warm Coral */
    --primary-dark: #e85b4d;   /* Darker Coral for hover states */
    --secondary: #1C2A39;      /* Midnight Navy */
    --accent: #3EC6C4;         /* Fresh Aqua */

    /* ===== Text ===== */
    --text: #3A3A3C;           /* Charcoal Grey */
    --text-light: #6b6b6d;

    /* ===== Backgrounds ===== */
    --bg: #ffffff;
    --bg-alt: #E6E2DE;         /* Soft Stone */

    /* ===== Borders & UI ===== */
    --border: #d6d1cc;
    --success: #3EC6C4;        /* Aqua instead of green */
    --error: #FF6F61;

    /* ===== Highlight ===== */
    --highlight: #F2C078;      /* Golden Sand */

    /* ===== Effects ===== */
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

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

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(62, 198, 196, 0.08);
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; 
    background: var(--secondary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 15rem 0 6rem;
    text-align: center;
    overflow: hidden; 
    min-height: 700px; 
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0.6)
        ),
        url("assets/annie.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: 0;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
} 

.hero .highlight {
    color: var(--highlight);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Page Header ===== */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: var(--bg-alt);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.125rem;
} 

/* ===== Features ===== */
.features {
    padding: 5rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary);
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.4;
}

.features-quote {
    text-align: center;
    margin: 0 auto 4rem;
    max-width: 800px;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.features-quote h3 {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--secondary);
    font-style: italic;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== CTA ===== */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary), #243447);
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* ===== Blog ===== */
.blog-section {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content time {
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-content h2 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
    color: var(--secondary);
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.read-more:hover {
    color: var(--primary-dark);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--bg-alt);
    color: var(--text);
    font-weight: 500;
    transition: all var(--transition);
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--primary);
    color: white;
} 

/* ===== FAQ ===== */ 

.lead-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444; 
    margin-bottom: 16px;
}

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

.faq-container-support {
    max-width: 1200px;
    margin: 0 auto; 
    text-align: center;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}  

.faq-list {
    display: inline-block;
    text-align: left; /* keeps bullets aligned nicely */
    margin: 0 auto;
    padding-left: 20px; /* space for bullets */
} 

/* ===== Contact ===== */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
    color: var(--secondary);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-social h4 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.contact-form {
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.map-section {
    padding: 0 0 4rem;
}

.map-placeholder {
    background: var(--bg-alt);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between; /* pushes items to far left and far right */
    align-items: flex-start; /* keeps vertical alignment neat */
}
.footer-social {
    text-align: right; /* optional: aligns the heading and links */
}
.social-links {
    display: flex;
    gap: 1rem; /* space between icons */
    justify-content: flex-end; /* ensures icons stay on the right */
} 

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}  

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

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    /*display: block; */
    text-align: left;
}

.footer-sapphic { 
    padding-top: 2rem;
    color: var(--primary);
    font-size: 0.875rem;
    /*display: block; */
    text-align: right;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.calligraphy {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: white;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== About Hero ===== */
.about-hero {
    position: relative;
    margin-top: 72px;
    height: 500px;
    overflow: hidden;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(28, 42, 57, 0.82),
        rgba(28, 42, 57, 0.45)
    );
    display: flex;
    align-items: center;
}

.about-hero-content {
    max-width: 650px;
    color: white;
}

.about-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
}

/* ===== About Section ===== */
.about-section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.quote {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--secondary);
}

/* ===== Services ===== */
.services-section {
    padding: 6rem 0;
    background: var(--bg-alt);
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.25rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.section-heading p {
    color: var(--text-light);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-card p {
    color: var(--text-light);
} 

/* ===== Responsive ===== */
@media (max-width: 768px) {

    .about-hero {
        height: 420px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    } 
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 5rem 0;
}

.testimonials-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-intro h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.testimonials-intro p {
    color: var(--text-light);
}

/* ===== Carousel ===== */
.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-track {
    width: 100%;
    position: relative;
    min-height: 180px;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial.active {
    display: block;
}

.testimonial .quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.testimonial .author {
    color: var(--text-light);
    font-weight: 500;
}

/* Buttons */
.carousel-btn {
    background: white;
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.carousel-btn.prev {
    margin-right: 1rem;
}

.carousel-btn.next {
    margin-left: 1rem;
}

/* ===== CTA ===== */
.reviews-cta {
    text-align: center;
    margin-top: 3rem;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
} 

.tagline {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.3px;
}

/* BLOG POST PAGE */

.back-to-blog {
    display: inline-block;
    margin-bottom: 2rem;
    color: #666;
    text-decoration: none;
    font-weight: 600;
}

.blog-post-section {
    padding: 5rem 0;
}

.blog-post-container {
    max-width: 850px;
}

.blog-post-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 3rem;
}

#post-date {
    display: block;
    margin-bottom: 1rem;
    color: #888;
    font-size: 0.95rem;
}

#post-title {
    margin-bottom: 1.5rem;
} 

.blog-post-content {
    line-height: 1.9;
    font-size: 1.05rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.blog-post-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.blog-post-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
} 

.status {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.9; 
  transition: opacity 0.2s ease;
}

.status.success {
  color: #4ade80;
}

.status.error {
  color: #f87171;
} 

.field-error {
  font-size: 12px;
  color: #f87171;
  margin-top: 4px;
}