/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #E94E35;
    --secondary-color: #2A5547;
    --light-color: #F5F5F5;
    --dark-color: #333333;
    --beige-color: #F5F2EA;
}

body {
    font-family: 'Poor Story';
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
   
}

.btn-primary:hover {
    background-color: #d04530;
    border-color: #d04530;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: static;
    padding-top: 120px;
    background-image: url('search.webp');
    background-size: cover;
    background-repeat: no-repeat;
    height: 90vh;
    width: 100%;
}

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

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

/* Challenge Section */
#challenge {
    height: 100vh; /* Full viewport height */
    background-color: var(--beige-color);
    position: relative;
}

#challenge img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Discover Section */
#discover {
    height: 100vh; /* Full viewport height */
    background-color: var(--light-color);
    position: relative;
}

/* Start Free Section */
#start {
    height: 100vh; /* Full viewport height */
    background-color: var(--beige-color);
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.start-section {
    overflow: hidden;
    padding-top: 200px;
    background-position: center;
    background-image: url('start_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh; /* Pushes content below navbar */
    padding-left: 20px;  /* Optional: content spacing */
    padding-right: 20px;
    align-items: center;;
    display: flex;
}

.connect-section {
    overflow: hidden;
    height: 90vh; /* Pushes content below navbar */
    padding-left: 20px;  /* Optional: content spacing */
    padding-right: 20px;
    align-items: center;;
    display: flex;
    justify-content: center;
}

#start h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

/* Connect Section */
#connect {
    height: 100vh; /* Full viewport height */
    background-color: var(--beige-color);
    position: relative;
}

#connect img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, var(--secondary-color) 0%, rgba(42, 85, 71, 0.95) 100%);
    z-index: 1;
}

.footer .container {
    position: relative;
    height: 40px;
    padding: 5px 0 5px;
    z-index: 2;
}


.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    position: relative;
}

.footer ul li a:hover {
    color: white;
}

/* Responsive Images */
.img-fluid {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.02);
}

.challenge-img {
    height: auto;
    object-fit: cover;
    width: 100%; /* optional */
}

/* Custom Buttons */
.btn {
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
}

.btn-lg {
    padding: 0.8rem 2rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }

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

    .section-padding {
        padding: 60px 0;
        text-align: center;
    }

    .img-fluid {
        margin: 2rem 0;
    }
}

/* Section Backgrounds */
.bg-light {
    background-color: var(--light-color) !important;
}

/* Text Styles */
h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
    height: 200px;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.card-text {
    color: #666;
    margin-bottom: 1rem;
}

.btn-sm {
    padding: 0.3rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 20px;
}