* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6AA9A4;    /* teal */
    --secondary: #FAD393;  /* yellow */
    --accent: #4D6469;     /* grey */
    --dark: #3A3F3B;       /* grey */
    --light: #FFFFFE;      /* white */
    --gray: #A0A0A0;       /* neutral gray for text */
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: #e55a2a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: var(--secondary);
}

.btn-secondary:hover {
    background: #22334f;
}

.btn-accent {
    background: var(--accent);
}

.btn-accent:hover {
    background: #00b08a;
}

    /* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(43, 65, 98, 0.9) 0%, rgba(26, 26, 46, 0.95) 100%), url('assets/background_image.png') no-repeat center/cover;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Hero Benefits List Styling */
.hero-benefits {
    list-style: none;
    max-width: 700px;
    margin: 0 auto 40px;
    display: inline-block;
    text-align: center;
}

.hero-benefits li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: left; 
    display: inline-block;
    width: auto;
}

.hero-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 75px;
}
    
/* Enhanced Connect and Survey Section Styles */
.connect-section {
    background: linear-gradient(135deg, rgba(106, 169, 164, 0.05) 0%, rgba(77, 100, 105, 0.08) 100%);
    border-top: 3px solid var(--primary);
}

.connect-section .section-title h2 {
    color: var(--primary);
}

.connect-section .section-title p {
    color: var(--accent);
}

.connect-section .connect-content {
    text-align: center;
    margin-top: 40px;
}

.connect-section .connect-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(106, 169, 164, 0.1);
    border: 2px solid rgba(106, 169, 164, 0.1);
}

.connect-section .connect-card-content {
    margin-bottom: 25px;
}

.connect-section .connect-card .fa-envelope {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 15px;
}

.connect-section .connect-card h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.connect-section .connect-card p {
    color: var(--gray);
    font-size: 1.1rem;
}

.connect-section .btn {
    font-size: 18px;
    padding: 15px 35px;
}

/* Enhanced Survey Section Styles */
.survey-section {
    background: linear-gradient(135deg, var(--accent) 0%, #2c3e50 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.survey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.03)"><polygon points="1000,100 1000,0 0,100"/></svg>') no-repeat center/cover;
}

.survey-section .container {
    position: relative;
    z-index: 2;
}

.survey-section .section-title h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.survey-section .section-title p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.survey-section .survey-content {
    text-align: center;
    margin-top: 50px;
}

.survey-section .survey-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.survey-section .survey-card-content {
    margin-bottom: 30px;
}

.survey-section .survey-card .fa-chart-bar {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.survey-section .survey-card h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.survey-section .survey-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.survey-section .btn {
    background-color: var(--secondary);
    color: var(--dark);
    font-size: 18px;
    padding: 15px 35px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(250, 211, 147, 0.3);
}

/* Card hover effects */
.connect-section > .container > div > div,
.survey-section > .container > div > div {
    transition: all 0.3s ease;
}

.connect-section > .container > div > div:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(106, 169, 164, 0.2) !important;
}

.survey-section > .container > div > div:hover {
    transform: translateY(-8px);
    backdrop-filter: blur(15px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .app-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .features-carousel-container {
        padding: 0 50px;
    }
    
    .feature-card {
        width: 90%;
        padding: 30px;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    gap: 40px;
}

.logo-img {
    height: 70px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    line-height: 1;
    margin-right: 40px; /* add spacing between logo and nav */
}

.logo i {
    margin-right: 10px;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0; /* remove default gap */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 0;
}

.nav-links li:not(:last-child) {
    margin-right: 30px;
}

.nav-links li:last-child {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.app-badge {
    display: inline-block;
    background: white;
    border-radius: 12px;
    padding: 12px 25px;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.app-badge i {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Features Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Updated Features Carousel with Button Navigation */
.features-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
}

.features-container {
    position: relative;
    height: 500px; /* Fixed height for consistent card display */
    overflow: hidden;
}

.feature-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.5s ease;
    width: 80%;
    max-width: 600px;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    z-index: 1;
    pointer-events: none;
}

.feature-card.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 10;
    pointer-events: auto;
}

.feature-card.active:hover {
    transform: translate(-50%, calc(-50% - 10px)) scale(1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 40px;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}


.feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Feature card list styles */
.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    text-align: left;
    display: inline-block;
    font-size: 1.05rem;
}

.feature-card ul li {
    background: rgba(106, 169, 164, 0.08);
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 8px 16px 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(106, 169, 164, 0.07);
    transition: background 0.2s;
}

.feature-card ul li:last-child {
    margin-bottom: 0;
}

.feature-card ul li::before {
    content: '';
    display: none;
}

@media (max-width: 768px) {
    .feature-card ul {
        font-size: 0.98rem;
        padding-left: 0;
    }
    .feature-card ul li {
        padding: 8px 10px 8px 8px;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-btn:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(106, 169, 164, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* How It Works */
.how-it-works {
    background-color: #f0f4f8;
}

.steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.step {
    text-align: center;
    max-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 0 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Header Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        justify-content: space-between;
        padding: 15px 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .hamburger-inner {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--dark);
        position: relative;
        transition: all 0.3s ease;
    }

    .hamburger-inner::before,
    .hamburger-inner::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background: var(--dark);
        transition: all 0.3s ease;
    }

    .hamburger-inner::before {
        top: -8px;
    }

    .hamburger-inner::after {
        top: 8px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 20px 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0 !important;
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        font-size: 1.2rem;
        padding: 12px 0;
        display: block;
    }

    .nav-links li:last-child {
        margin-left: 0;
    }
}

/* Feature Card Mobile Styles */
@media (max-width: 768px) {
    .features-container {
        height: auto;
        min-height: 500px;
    }

    .feature-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none !important;
        width: 100%;
        max-width: 100%;
        margin: 0;
        opacity: 0;
        display: none;
        transition: opacity 0.5s ease;
    }

    .feature-card.active {
        display: block;
        opacity: 1;
        transform: none !important;
        position: relative;
    }

    .feature-card ul {
        max-height: 300px;
        overflow-y: auto;
    }

    .feature-card ul li {
        font-size: 0.95rem;
        padding: 8px 12px;
    }

    .carousel-indicators {
        margin-top: 20px;
    }
    
    /* Hide carousel buttons on mobile and adjust container padding */
    .carousel-btn {
        display: none;
    }
    
    .features-carousel-container {
        padding: 0 15px;
        touch-action: pan-y;
    }
    
    /* Add visual hint for swiping */
    .features-container::after {
        content: '< swipe >';
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.8rem;
        color: var(--gray);
        opacity: 0.6;
        font-style: italic;
    }
}