/* Base styles (mobile-first) */
:root {
    --text: #000000;
    --background: #ffffff;
    --primary: #80D39B;
    --accent: #3F3D56;
    font-family: "Montserrat";

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat";

}

.montserrat-bold {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

body {
    overflow-x: hidden;
}


html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat";

}

.header {
    top: 0;
    height: 0;
    z-index: 10;
    background-color: none;
}

.hero-title {
    margin-bottom: 300px;
    text-align: center;
    font-size: 1.5em;
    
}
#smallerText {
    font-size: .8em;
}
#logo {
    width: 80px;
    padding: 1rem;

}

h1 {

    text-align: center;
    margin: 2rem;
    color: var(--accent);
    font-size: 2.5rem;
}

.brand-text {
    font-size: 3em;
    color: var(--primary);
}

h2 {
    color: var(--accent);
    font-size: 2em;
    text-align: center;
}

h3 {
    color: var(--primary);
    font-size: 1em;
}

p {
    font-size: 1.3em;
}



.hero-section {
    background-image: url('./Assets/bg-hitchly-mobile.svg');
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}



input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    /* Light grey track */
    height: 5px;
    border-radius: 5px;
    width: 70%;
}

#people-slider::-webkit-slider-thumb,
#days-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: var(--primary);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}



.calculator-area button {
    padding: .5rem 2rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.calculator-area button:hover {
    background-color: var(--accent);
}

.savings-area-container {
    margin-top: 3rem;
}

.user-journey-container,
.savings-area-container,
.savings-info-area {
    display: flex;
    flex-direction: column;

}

/* Register Interest Section Styles */
.register-interest-section {
    margin-top: 7rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary);
    overflow: hidden;
}

.register-interest-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(128, 211, 155, 0.1) 0%, rgba(63, 61, 86, 0.1) 100%);
    z-index: -1;
}

.register-interest-section h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.register-interest-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.register-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--accent);
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.register-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(128, 211, 155, 0.3);
    margin-top: 1rem;
}

.register-btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(63, 61, 86, 0.4);
}

.destination-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    opacity: 0.15;
    transform: rotate(15deg);
}

.page-break {
    width: 80%;
    border: #3F3D56;
    height: 1px;
    margin: auto;
    margin-bottom: 20px;
    background-color: #3F3D56;
    align-self: center;
}

.user-journey-container {
    gap: 5rem;
    margin-top: 4rem;
}

.savings-info-area,
.calculator-area,
.text-area-people,
.text-area-people,
.text-area-review,
.text-ride-container,
.user-text-container,
.booked-text-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.calculator-area {
    gap: .5rem;
}

.savings-image {
    width: 130%;
}

img {
    width: 50%
}

.review-image,
.ride-booked-image {
    height: 200px;
}

.saving-n-calc-container,
.book-ride-container,
.ride-booked-container,
.picked-up-container,
.leave-review-container,
.hitchly-users-container {
    display: flex;
    flex-direction: row;
}

footer {
    background-color: var(--accent);
    text-align: center;
    padding: 10px;
}

/* Style the social icons inside the footer */
footer a i {
    color: var(--primary);
    font-size: 2em;
    /* Make icons bigger if you want */
    margin: 0 15px;
    transition: color 0.3s ease;
}

/* Optional: Hover effect */
footer a i:hover {
    color: #2e7d32;
    /* Slightly darker green on hover */
}

:root {
    --text: #000000;
    --background: #ffffff;
    --primary: #80D39B;
    --accent: #3F3D56;
    font-family: "Montserrat", sans-serif;
}

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

#start,
#destination {
    width: 60%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#start:focus, #destination:focus {
    outline: none;
    border-color: var(--primary);
}

body {
    background-color: var(--background);
    color: var(--text);
    min-height: 100vh;
    font-family: "Montserrat", sans-serif;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent);
    font-size: 2.5rem;
}

h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.journey-wrapper {
    position: relative;
    margin-top: 4rem;
    /* adjust spacing if needed */
}

.road-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

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


.road-svg {
    position: absolute;
    height: 80%;
    width: 100%;
}

.road-path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 15;
    stroke-linecap: round;
    opacity: 0.1;
}

.road-marker {
    fill: none;
    stroke: var(--primary);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 20, 30;
    stroke-dashoffset: 0;
    animation: roadMarker 30s linear infinite;
}

@keyframes roadMarker {
    to {
        stroke-dashoffset: -1000;
    }
}

.user-journey-container {
    gap: 5rem;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.savings-info-area,
.calculator-area,
.text-area-people,
.text-area-review,
.text-ride-container,
.user-text-container,
.booked-text-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.calculator-area {
    gap: .5rem;
}


img {
    width: 50%;
}

.review-image,
.ride-booked-image {
    height: 200px;
}

.saving-n-calc-container,
.book-ride-container,
.ride-booked-container,
.picked-up-container,
.leave-review-container,
.hitchly-users-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.saving-n-calc-container {
    flex-direction: column;
}

.saving-n-calc-container:hover,
.book-ride-container:hover,
.ride-booked-container:hover,
.picked-up-container:hover,
.leave-review-container:hover,
.hitchly-users-container:hover {
    transform: translateY(-5px);
}

.journey-point {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.point-1 {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.point-2 {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.point-3 {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.point-4 {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.point-5 {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {

 

    .book-ride-container,
    .ride-booked-container,
    .picked-up-container,
    .leave-review-container,
    .hitchly-users-container {
        flex-direction: column;
        align-items: center;
    }

    .savings-info-area,
    .calculator-area,
    .text-area-people,
    .text-area-review,
    .text-ride-container,
    .user-text-container,
    .booked-text-container {
        width: 100%;
        margin-top: 1rem;
    }

    .saving-n-calc-container {
        flex-direction: column;
    }

    img {
        width: 70%;
    }

    .savings-image {
        width: 80%
    }

    .journey-point {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

}

@media (min-width: 723px) {
    .hero-section {

    background-image: url('./Assets/bg-hitchly.svg');
    }
}
@media (min-width: 1024px) {
    .calculator-area {
        align-content: center;
        justify-content: center;
    }
    .hero-section {
        background-image: url('./Assets/bg-hitchly.svg');

    }
    .brand-text {
        font-size: 5em;
    }

    .saving-n-calc-container {
        flex-direction: row;
    }

    .savings-image {
        width: 80%;
    }
}