/* Color Scheme */
:root {
    --primary-green: #2E5E4E;
    --green-light: #4D8C73;
    --bronze-accent: #CD7F32;
    --bronze: #915200;
    --accent-red: #A64253;
    --accent-experiment: #E0E0E0;
    --text-dark: #333333;
    --text-light: #F8F9FA;
    --neutral-light: #F5F5F5;
    --font-main: 'Helvetica Neue', Arial, sans-serif;
    --font-heading: "DM Serif Text", serif;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: white;
    padding-top: 100px;
}

/* General Nested List Styling */
ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

ul ul {
    padding-left: 2rem;
    list-style-type: circle;
}

li {
    margin-bottom: 0.5rem;
}

.header-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Portrait + logo container */
.header-identity {
    display: flex;
    align-items: normal;
    gap: 15px;
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--accent-experiment);
    color: var(--text-light);
    padding: 1rem 0;
    border-bottom: 6px solid var(--bronze-accent);
    z-index: 1000;
    transition: all 0.3s ease;
}

.sticky-header::before {
    content: "";
    position: absolute;
    top: -48px;
    left: 0;
    width: 100%;
    height: 136%;
    background-image: url('header-bg.jpg');
    background-size: cover; /* Adjust based on your image */
    background-repeat: no-repeat;
    background-position: center 30%;
    opacity: 0.15; /* Very subtle */
    z-index: -1;
}

/* Ensure header content remains visible */
.header-content,
.header-group {
    position: relative;
    z-index: 2;
}

.sticky-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sticky-header.scrolled .header-portrait {
    width: 60px;
    height: 60px;
}

.sticky-header .header-portrait {
    width: 60px;
    height: 60px;
    border-radius: 6%;
    overflow: hidden;
    border: 2px solid white;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-header .header-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-content {
    display: flex;
    flex-direction: column; /* Keep column layout for mobile */
    align-items: center;
    text-align: center;
}

.logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

.tagline {
    color: var(--bronze);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-top: 10px;
    margin-left: 0;
    text-align: left;
    width: 100%;
    order: 2; /* Ensure it appears below */
    position: relative;
    padding-top: 10px;
}

/* Hero Section - Two Column Layout */
.hero {
    padding: 85px 0 50px;
    background-color: var(--primary-green);
    color: white;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

.hero-portrait {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-portrait img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    width: 100%;
    max-width: 600px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Responsive Two-Column Layout */
@media (min-width: 992px) {
    .hero {
        padding: 100px 0 70px; /* More padding on desktop */
    }

    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
    }

    .hero-portrait {
        flex: 1;
        max-width: none;
    }

    .hero-content {
        flex: 1;
        text-align: left;
        max-width: none;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        justify-content: flex-start;
    }
}

/* Adjustments for sticky header */
@media (max-width: 991px) {
    .hero {
        padding-top: 75px;
    }
}

/* Section Styles */
.section {
    padding: 3rem 0;
}

.aboutme{
    h2, h3{
        margin-top: 0rem;
    }
}

.priorities{
    h2, h3{
        margin-top: 1rem;
    }
}

.section-alt {
    background-color: var(--neutral-light);
}

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

/* Platform Grid */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.platform-item {
    background: white;
    padding: 1.8rem;
    border-radius: 8px;
    border-left: 5px solid var(--green-light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

/* Call-to-Action */
.cta {
    background-color: var(--accent-red);
    color: white;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
}

.cta h2 {
    color: white;
}

.cta-buttons {
    margin-top: 1.5rem;
}

/* Buttons */
button {
    background-color: var(--accent-red);
    color: white;
    border: none;
    padding: 0.8rem 0.8rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

button:hover {
    background-color: #8A3545;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-gold {
    background-color: var(--bronze-accent);
    color: var(--text-dark);
}

.btn-gold:hover {
    background-color: var(--bronze);
}

/* Form Styles */
.signup-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

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

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
}

/* Footer */
footer {
    background-color: var(--primary-green);
    color: var(--text-light);
    padding: 2.5rem 0;
    text-align: center;
    border-top: 6px solid var(--bronze-accent);
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
    transition: transform 0.2s ease, fill 0.2s ease;
}

.social-links a {
    color: #333; /* Default color */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0.5rem;
    transition: background-color 0.2s ease;
}

.social-links a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.social-links a:hover .social-icon {
    transform: scale(1.1);
}

/* Facebook specific color on hover */
.social-links a[aria-label="Facebook"]:hover {
    color: #1877f2;
}

/* Instagram specific color on hover */
.social-links a[aria-label="Instagram"]:hover {
    color: #e4405f;
}

/* TESTIMONIALS SECTION */
.section-testimonials {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-green);
    font-size: 2rem;
    position: relative;
}

.testimonials-header:after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: var(--bronze-accent);
    margin: 0.5rem auto;
    border-radius: 2px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 4px solid var(--bronze-accent);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial.active {
    opacity: 1;
    position: relative;
}

.testimonial-content {
    padding: 1rem;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 1.5rem;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 3rem;
    color: var(--bronze-accent);
    opacity: 0.3;
    position: absolute;
}

.testimonial-text:before {
    top: -1rem;
    left: -0.5rem;
}

.testimonial-text:after {
    bottom: -2rem;
    right: -0.5rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.testimonial-role {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--bronze-accent);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .testimonial {
        padding: 2.5rem;
    }

    .testimonial-text {
        font-size: 1.2rem;
        padding: 0 2.5rem;
    }

    .testimonials-container {
        min-height: 380px;
    }


}

@media (max-width: 600px) {
    .testimonial-text {
        font-size: 1.05rem;
        padding: 0 1rem;
    }

    .testimonial {
        padding: 1.5rem;
    }

    .testimonials-container {
        min-height: 480px;
    }

    .testimonial-text:before {
        top: -0.8rem;
        left: -0.3rem;
    }

    .testimonial-text:after {
        bottom: -1.8rem;
        right: -0.3rem;
    }
}

@media (max-width: 480px) {
    .testimonial-text {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .testimonials-container {
        min-height: 520px;
    }
}

/* Floating dots */
.floating-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.floating-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(205, 127, 50, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-dot.active {
    background: var(--bronze-accent);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row; /* Switch to row layout on desktop */
        justify-content: flex-start; /* Align to left */
        text-align: left;
    }

    .header-group {
        justify-content: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .tagline {
        margin-top: 0;
        margin-left: 0;
        text-align: left;
        flex: 1 0 100%; /* Force to new line */
        order: 1;
    }

    .tagline::before {
        display: none; /* Hide on desktop */
    }

    .sticky-header .header-portrait {
        width: 60px;
        height: 60px;
    }

    .sticky-header.scrolled .header-portrait {
        width: 60px;
        height: 60px;
    }

    .header-identity {
        flex: 0 0 auto;
    }

    /* Adjust scrolled state */
    .sticky-header.scrolled .tagline {
        font-size: 1rem;
    }

    /* Attribution styling */
    footer .attribution {
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.7);
        margin-top: 1rem;
        text-align: center;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.4;
    }

    footer .attribution a {
        color: var(--bronze-accent);
        text-decoration: none;
    }

    footer .attribution a:hover {
        text-decoration: underline;
    }

    /* Adjust for scrolled state */
    .sticky-header.scrolled::before {
        opacity: 0.1; /* Even more subtle when scrolled */
    }
}

/* Endorsement Section Styles */
.endorsement {
    padding: 3rem 0;
    background-color: var(--neutral-light);
}

.endorsement-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.endorsement-image {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.endorsement-image img {
    width: 100%;
    height: auto;
    display: block;
}

.endorsement-content {
    text-align: center;
    max-width: 700px;
}

.endorsement-quote {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--primary-green);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 2rem;
}

.endorsement-quote:before,
.endorsement-quote:after {
    content: '"';
    font-size: 3rem;
    color: var(--bronze-accent);
    opacity: 0.3;
    position: absolute;
}

.endorsement-quote:before {
    top: -0.5rem;
    left: 0;
}

.endorsement-quote:after {
    bottom: -2rem;
    right: 0;
}

.endorsement-author {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.endorsement-role {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .endorsement-container {
        flex-direction: row;
        text-align: left;
    }

    .endorsement-content {
        text-align: left;
        padding-left: 2rem;
    }

    .endorsement-quote {
        padding: 0;
    }

    .endorsement-quote:before {
        left: -1.5rem;
    }

    .endorsement-quote:after {
        right: -1.5rem;
    }
}

@media (min-width: 992px) {
    .endorsement-container {
        gap: 3rem;
    }

    .endorsement-image {
        max-width: 350px;
    }

    .endorsement-quote {
        font-size: 1.4rem;
    }
}

/* carousel */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    display: block;
    height: 400px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: center;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover {
    background: #999;
}

.nav-dot.active {
    background-color: var(--bronze-accent);
    transform: scale(1.2);
}

/* For screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .carousel-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .carousel-image {
        height: 250px;
    }

    .carousel-caption {
        padding: 10px;
        font-size: 14px;
    }
}