:root {
    --primary-color: #00BFA6;
    --primary-dark: #00A894;
    --primary-light: #66E6D6;
    --primary-very-light: #E6FBF8;
    --secondary-color: #2D3E50;
    --text-color: #333333;
    --text-light: #777777;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --border-color: #E9ECEF;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

/* Navbar */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.brand-name {
    color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    position: relative;
    background-color: var(--primary-very-light);
    overflow: hidden;
    padding-top: 120px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.download-btns {
    margin-top: 30px;
}

.hero-img {
    position: relative;
}

.phone-mockup {
    position: relative;
    /* max-width: 300px; */
    margin: 0 auto;
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
    overflow: hidden;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -999999;
}

/* Services Section */
.service-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-img {
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* App Preview Section */
.app-screens {
    position: relative;
    height: 500px;
}

.screen-1, .screen-2, .screen-3 {
    position: absolute;
    width: 220px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.screen-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.screen-2 {
    top: 50px;
    left: 20%;
    transform: rotate(-10deg);
    z-index: 2;
}

.screen-3 {
    top: 100px;
    right: 20%;
    transform: rotate(10deg);
    z-index: 1;
}

.app-screens:hover .screen-1 {
    transform: translateX(-50%) translateY(-10px);
}

.app-screens:hover .screen-2 {
    transform: rotate(-15deg) translateY(-10px);
}

.app-screens:hover .screen-3 {
    transform: rotate(15deg) translateY(-10px);
}

.app-features .feature-item {
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* How It Works Section */
.step-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-very-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Features Section */
.feature-box {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-box-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-very-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Food Delivery Section */
.food-img-collage {
    position: relative;
    height: 500px;
}

.food-img-1, .food-img-2, .food-img-3 {
    position: absolute;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.food-img-1 {
    width: 60%;
    height: 300px;
    top: 0;
    left: 0;
    z-index: 3;
}

.food-img-2 {
    width: 50%;
    height: 250px;
    bottom: 0;
    left: 10%;
    z-index: 2;
}

.food-img-3 {
    width: 45%;
    height: 220px;
    top: 120px;
    right: 0;
    z-index: 1;
}

.food-img-1 img, .food-img-2 img, .food-img-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.food-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.food-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Testimonials Section */
.testimonial-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-info h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author-info p {
    color: var(--text-light);
    margin: 0;
}

/* Download App Section */
.download-content {
    padding-right: 50px;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.app-features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.app-features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.app-features-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.btn-download {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 10px;
    padding: 12px 25px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-download:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.btn-download i {
    font-size: 2rem;
    margin-right: 10px;
}

.btn-download span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-download span small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.download-img {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-img img {
    max-height: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-info {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-very-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 auto 20px;
}

.contact-info h4 {
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-light);
    margin: 0;
}

/* Login Page Styles */
.login-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-top: 50px;
}

.login-header h2 {
    color: var(--secondary-color);
    font-weight: 700;
}

.forgot-password {
    color: var(--text-light);
    font-size: 0.9rem;
    text-decoration: none;
}

.forgot-password:hover {
    color: var(--primary-color);
}

.social-login {
    position: relative;
}

.social-login p {
    position: relative;
    color: var(--text-light);
    z-index: 1;
}

.social-login p:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
    z-index: -1;
}

.social-login p span {
    background-color: var(--white);
    padding: 0 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.register-link {
    color: var(--primary-color);
    font-weight: 500;
}

/* Policies Page Styles */
.policy-nav .list-group-item {
    border-left: 3px solid transparent;
    border-radius: 0;
    padding: 12px 15px;
    transition: var(--transition);
}

.policy-nav .list-group-item:hover,
.policy-nav .list-group-item.active {
    background-color: var(--primary-very-light);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.policy-section h2 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.policy-section h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.policy-subsection {
    margin-top: 30px;
}

.policy-subsection h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.policy-subsection p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-brand {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links h5 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h5:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    margin-left: 5px;
}

.footer-newsletter {
    margin-bottom: 30px;
}

.footer-newsletter h5 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-newsletter h5:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    border-radius: 30px 0 0 30px;
    padding: 12px 20px;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter .btn {
    border-radius: 0 30px 30px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom ul {
    margin: 0;
}

.footer-bottom ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-bottom ul li a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .app-screens, .food-img-collage, .download-img {
        height: 450px;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-text {
        text-align: center;
        margin-bottom: 50px;
    }

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

    .download-content {
        padding-right: 0;
    }

    .download-buttons {
        justify-content: center;
    }

    .app-screens, .food-img-collage {
        height: 400px;
        margin-bottom: 50px;
    }

    .screen-1, .screen-2, .screen-3 {
        width: 180px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .app-screens, .food-img-collage, .download-img {
        height: 350px;
    }

    .screen-1, .screen-2, .screen-3 {
        width: 150px;
    }

    .food-img-1 {
        height: 200px;
    }

    .food-img-2 {
        height: 180px;
    }

    .food-img-3 {
        height: 150px;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .app-screens, .food-img-collage {
        height: 300px;
    }

    .screen-1, .screen-2, .screen-3 {
        width: 120px;
    }

    .download-img {
        height: 300px;
    }
}
