* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

:root {
    --primary: #1a1a1a;
    --secondary: #2d5016;
    --marine: rgb(20, 77, 20);
    --green-border: #1e9d4b;
    --accent: #2ecc71;
    --light: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --border: #e0e0e0;
}

body{
    height: 100vh;
    width: 100vw;
}

section{
    transition: .5s;
}

header{
    position: fixed;
    top: 0;
    height: 4rem;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 1000;
}

#logo{
    height: 60%;
    width: max-content;
    
}

#logo img{
    height: 100%;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: red;
    margin: 5px 0;
    transition: 0.3s;
}


/* HERO SECTION */
.hero{
    background: #222;
    height: 24rem;
    width: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 4rem;
    z-index: 95;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.booking-form {
    display: flex;
    justify-content: center;
}

.btn-accent {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 10rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}


.section-header {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4.5rem;
    /* background-color: red; */
    position: relative;
}

#how-it-works .section-header::after{
    content: "";
    height: .6rem;
    width: 8rem;
    background-color: var(--secondary);
    top: -5.3rem;
    z-index: 100;
    border-radius: 1rem;
    position: absolute;
    opacity: .3;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    transition: .3s;
}
.section-header h2.active{
    color: #fff;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    transition: .3s;
}
.section-header p.active{
    color: #fff;
}

#switch{
    height: 4.2rem;
    min-width: 30rem;
    width: 30rem;
    background-color: var(--light);
    box-shadow: inset 0 0 0 .07rem var(--border);
    
    display: flex;
    align-items: center;
    border-radius: 10rem;
    margin-top: 2rem;
    position: relative;
    padding: .5rem;

    font-weight: bold;
    color: grey;
}

#switch .tab{
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    /* border: 1px solid; */
    cursor: pointer;
}
#switch .tab.active{
    color: #fff;
}

#switch #selection{
    height: calc(100% - 1rem);
    width: 50%;
    background: var(--accent);
    border-radius: 10rem;
    position: absolute;
    z-index: 0;
    box-shadow: inset 0 0 0 .1rem var(--green-border);
    transition: .4s ease;
    display: flex;
    align-items: center;
}
#switch #selection .left,
#switch #selection .right{
    height: 1.24rem;
    width: 1.24rem;
    /* background-color: red; */
    position: absolute;
    left: .6rem;
    scale: .8;
}
#switch #selection .left{
    /* display: none; */
}
#switch #selection .right{
    left: unset;
    right: .6rem;
    rotate: 180deg;
}
.spots{
    height: .4rem;
    width: .4rem;
    background: #34bc54;
    box-shadow: inset 0 0 .1rem var(--green-border);
    border-radius: 1rem;
    position: relative;
}
/* .spot1{
    top: .13rem;
} */
.spot1,
.spot3{
    left: .55rem;
}
/* .spot3{
    top: -.13rem;
} */

#services{
    position: relative;
    overflow: hidden;
}

#backdrop{
    height: 3rem;
    width: 3rem;
    background: linear-gradient(to bottom, var(--accent), var(--green-border));
    border-radius: 50%;
    position: absolute;
    padding: 1rem;
    left: 50%;
    transform-origin: center;
    transform: translateX(-50%) scale(1);
    top: 14rem;
    transition: .7s;
    opacity: 0;
    animation: shrink .8s;
}
#backdrop.active{
    transform: translateX(-50%) scale(40);
    animation: grow 2s;
    opacity: 1;
}
@keyframes grow{
    0%{opacity: 1; transform: translateX(-50%) scale(1)}
    100%{opacity: 1; transform: translateX(-50%) scale(40);}
}
@keyframes shrink{
    0%{opacity: 1; transform: translateX(-50%) scale(40);}
    100%{opacity: 1; transform: translateX(-50%) scale(1)}
}

.services-grid {
    width: 100%;
    height: 28rem;
    /* background-color: steelblue; */
    position: relative;
    top: -1.6rem
}

.services-grid .page{
    height: 100%;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 2.5rem;
    display: none;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-grid .page.active{
    display: grid;
}


#charter{
    display: ;
}

.service-card {
    /* padding: 2rem; */
    border-radius: 1.2rem;
    background-color: white;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #c6c6c6;
    position: relative;
    overflow: hidden;
}

.service-card .card-title{
    height: 2rem;
    padding: 0 2rem;
    background-color: var(--green-border);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    border-bottom-right-radius: 1.13rem;
    z-index: 100;
}


/* #charter .service-card .card-title::before{
    box-shadow: -1.5rem -1.1rem 0 var(--marine);
} */

/* #ehailing .service-card .card-title{ */

.service-card .card-title::before{
    content: "";
    height: 2rem;
    width: 3rem;
    position: absolute;
    right: -3rem;
    top: 0rem;
    border-radius: 1rem 0 0 0;
    box-shadow: -1.5rem -1.1rem 0 var(--green-border);
}
#charter .service-card .card-title::before{
    /* box-shadow: 1.5rem -1.1rem 0 red; */
    box-shadow: -1.5rem -1.1rem 0 #222;
}

#charter .service-card .card-title{
    /* left: unset;
    right: 0; */
    /* border-bottom-right-radius: 0;
    border-bottom-left-radius: 1.13rem; */
}
#charter .service-card .card-title::after{
    /* border-bottom-right-radius: 1.13rem; */
}

.service-card .card-title::after{
    content: "";
    height: 3rem;
    width: 2rem;
    position: absolute;
    left: 0; 
    bottom: -3rem;
    border-radius: 1rem 0 0 0; 
    /* background-color: red; */
    box-shadow: -.8rem -2rem 0 var(--green-border);
}
/* #charter .service-card .card-title::after{
    box-shadow: .8rem -2rem 0 #222;
    border-radius: 0 1rem 0 0;
    left: unset;
    right: 0;
    } */
    
#charter .service-card .card-title{
    background-color: #222;
}
#charter .service-card .card-title::after{
    box-shadow: -.8rem -2rem 0 #222;
}
    .service-icon{
        height: max-content;
        height: 60%;
    width: 100%;
    /* background-color: red; */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-icon img{
    width: 80%;
    z-index: 10;
    margin-bottom: .5rem;
}

.service-card .card-footer{
    height: 40%;
    padding: 1.5rem;
    background-color: var(--green-border);
    border-top-left-radius: 4rem;
    border-top-right-radius: 0rem;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    box-shadow: inset 0 .35rem .3rem rgba(0, 0, 0, 0.184);
}
#charter .service-card .card-footer{
    background: linear-gradient(to right, #222, #444);
    border-top-left-radius: 0;
    border-top-right-radius: 4rem;
}

.service-card .card-footer p{
    z-index: 12;
}

.service-card .card-footer::before{
    /* content: ""; */
    height: 6rem;
    width: 6rem;
    /* background-color: red; */
    position: absolute;
    top: -6rem;
    right: 0;
    /* border-bottom-right-radius: 2rem; */
    box-shadow: .5rem .35rem .3rem rgba(0, 0, 0, 0.184),
    .5rem 3rem 0 var(--accent);
    overflow-x: hidden;
}

.service-card .card-footer::after{
    /* content: ""; */
    height: 1.7rem;
    width: 3rem;
    background: linear-gradient(to bottom, #1c7d45, #1c7d45, var(--accent), var(--accent));
    position: absolute;
    top: 0rem;
    right: 5.1rem;
    z-index: 11;
    background-image: url(assets/illusion.png);
    background-size: cover;
}

#charter .service-card .card-footer::before{
    box-shadow: .5rem 3rem 0 var(--green-border);
}
#charter .service-card .card-footer::after{
    display: none;
}
.service-link{
    padding: .6rem 3rem;
    background-color: white;
    border-radius: 5rem;
    text-decoration: none;
    color: #222;
    font-weight: 600;
}








#additional-service{
    height: max-content;
    width: 100%;
    padding: 3rem;
    padding-top: 1rem;
    position: relative;
}
#additional-service::after{
    height: .6rem;
    width: 7rem;
    background: var(--secondary);
    content: "";
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1rem;
    opacity: .3;
}

#additional-service .service-card{
    margin-top: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    align-items: center;
}

#additional-service .service-card a,
#additional-service .service-card p{
    position: relative;
}

#additional-service .service-card a{
    width: 50%;
}

/* How It Works */
#how-it-works {
    /* background: linear-gradient(to bottom, white, var(--light), var(--light)); */
    padding: 80px 2rem;
    position: relative;
    background-color: white;
    padding-bottom: 0;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.step p {
    color: var(--text-light);
}


/* Features Section */
.features {
    padding: 80px 2rem;
    max-width: 1200px;
    /* margin: 0 auto; */
    margin: 3rem auto 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 2rem;
}

.feature-item {
    padding: 2rem;
    background: white;
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-item h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-light);
}

/* About Us */
#about-us{
    height: max-content;
    width: 100%;
    padding: 2rem;
    padding-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#about-us #paragraphs{
    display: flex;
}

#about-us .odd{
    background: var(--green-border);
    color: #fff;
}

#about-us p{
    padding: 1rem;
    border-radius: .5rem;
}

#about-us .even{
    background-color: #fff;
}


/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary) 0%, #1f4010 100%);
    color: white;
    padding: 80px 2rem;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-large {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary-large:hover {
    background: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary-large {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary-large:hover {
    background: white;
    color: var(--secondary);
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 3rem 2rem 1rem;
    padding-top: 4.5rem;
}

.footer-content {
    max-width: 1200px;
    /* margin: 0 auto; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #777;
}






/* OVERLAY */
#overlay{
    height: 100%;
    width: 100%;
    z-index: 101;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}
#overlay.active{
    display: flex;
}
#dim{
    height: 100%;
    width: 100%;
    background-color: #000000cd;
    display: flex;
    z-index: 99;
    position: absolute;
    top: 0;
}
input[type="checkbox"]{
    display: none;
}

nav{
    height: calc(100% - 4rem);
    width: 100%;
    margin-top: 6rem;
    /* background-color: red; */
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 1rem;
    padding-bottom: .5rem;
    position: absolute;
    z-index: 100;
}

nav a{
    padding: .7rem 2rem;
    background-color: white;
    border-radius: 3rem 1.2rem;
    margin-right: .5rem
}
#overlay nav{
    display: none;
}
#overlay nav.active{
    display: flex;
}
#overlay #modal{
    display: none;
    justify-self: center;
    align-self: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(.9);
    border-radius: 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 48px;
    max-width: 500px;
    width: 100%;
    transform-origin: center;
    flex-direction: column;
    z-index: 100;
}
#overlay #modal.active{
    display: flex;
}









@media (max-width: 1200px) {
    #about-us #paragraphs{
        flex-direction: column;
    }
}







/* Responsinve Design */
@media (max-width: 768px) {
    #logo{
        height: 45%;
        /* display: none; */
    }
    .hamburger {
        display: flex;
    }
    .hamburger span{
        background-color: #e0e0e0;
    }
    .nav-menu{
        display: none;
    }

    .hero h1{
        font-size: 3rem;
        text-align: center;
    }
    .hero p{
        font-size: 1.5rem;
        text-align: center;
    }


    #switch{
        scale: .9;
    }

    .services-grid{
        height: max-content;
    }

    .services-grid .page{
        flex-direction: column;
    }
    
    .services-grid .page.active{
        display: flex;
    }
    
    .service-card{
        max-height: 19rem;
    }
    .service-card p{
        font-size: 1rem;
        line-height: 1.2;
        /* text-align: right; */
    }

    .steps-container {
        display: flex;
        flex-direction: column;
    }

    #additional-service .service-card .service-icon img{
        width: 165%;
        position: relative;
        display: flex;
        justify-self: center;
    }

    .features-grid{
        display: flex;
        flex-direction: column;
    }

    #how-it-works .section-header{
        padding-top: 0rem;
    }

    #about-us #paragraphs{
        flex-direction: column;
    }
}



@media (max-width: 768px){
    .services-grid{
        padding: 0 2rem;
    }
    .services-grid .service-card{
        height: 25rem;
    }

    #about-us #paragraphs{
        flex-direction: column;
    }
}





@media (max-width: 480px) {
    .hero h1{
        font-size: 2rem;
        text-align: center;
    }
    .hero p{
        font-size: 1.1rem;
        text-align: center;
    }
    #switch{
        scale: .7;
        height: 4.9rem;
    }
    #switch a{
        font-size: 1.27rem;
    }
    .footer-content{
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .services-grid{
        /* background: green; */
        padding: 0;
    }

    .services-grid .service-card{
        height: 22rem;
    }

    .services-grid .service-card .card-footer p{
        font-size: .85rem;
    }

    #additional-service .service-card{
        height: max-content;
    }
    #additional-service .service-card a{
        width: 100%;
    }
    #additional-service .service-card p{
        font-size: .75rem;
    }


    #about-us #paragraphs{
        flex-direction: column;
    }
}




