/* Global Styles */
:root {
    --primary-color: #294941;
    --secondary-color: #3d6b5e;
    --dark-color: #1b1b1b;
    --light-color: #f8f9fa;
    --gradient: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bg-gradient {
    background: var(--gradient);
}

.btn-primary {
    background: var(--gradient);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 95, 83, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 95, 83, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

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

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: all 0.5s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 28px;
}

.navbar-scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #f9f9f9;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
    padding: 3rem 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-cta {
    margin-top: 2rem;
}

/* Features Section */
.features {
    padding: 120px 0;
    background-color: #f9f9f9;
}

.section-title {
    margin-bottom: 80px;
    text-align: center;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: var(--gradient);
    color: white;
    font-size: 32px;
}

.feature-title {
    margin-bottom: 15px;
    font-weight: 700;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
}

.step {
    display: flex;
    margin-bottom: 50px;
    align-items: center;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 15px;
    font-weight: 700;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background-color: #f9f9f9;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

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

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

.testimonial-author-info h5 {
    margin-bottom: 5px;
    font-weight: 700;
}

.testimonial-author-info p {
    color: #666;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: white;
    color: var(--secondary-color);
}

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

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.footer-links h5 {
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-links ul {
    padding: 0;
    list-style: none;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    transition: all 0.3s ease;
}

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

.copyright {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Video Demo Section */
.video-demo {
    padding: 120px 0;
    background-color: #f9f9f9;
}

/* Video link styling */
.video-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.video-link:hover {
    transform: scale(1.02);
}

.video-link:active {
    transform: scale(0.98);
}

/* Video container with white background */
.video-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.video-link:hover .video-container {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.app-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    background-color: #FFFFFF;
    pointer-events: none; /* Makes the video not interfere with link clicking */
}

/* Clickable hint styling */
.video-hint {
    display: none;
}

.app-header {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.app-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 8px;
    font-style: italic;
}

.app-title {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.profile-photo-placeholder {
    flex: 1;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Old video classes removed */

.play-button {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 24px;
    margin-left: 5px; /* Slight offset for the play icon */
}

.video-thumbnail:hover .play-button {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.app-bottom-nav {
    display: flex;
    justify-content: space-between;
    padding: 8px 5px;
    background-color: white;
    border-top: 1px solid #eee;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #777;
    padding: 5px;
}

.nav-item i {
    font-size: 16px;
    margin-bottom: 4px;
}

.nav-item.active {
    color: var(--primary-color);
}

.video-placeholder .btn {
    padding: 8px 20px;
    font-weight: 500;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles - Modern & Decluttered */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }
    
    .navbar-brand {
        font-size: 22px;
        font-weight: 800;
        letter-spacing: 1px;
    }
    
    .navbar-toggler {
        border: none;
        padding: 4px 8px;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-toggler-icon {
        background-image: none;
        position: relative;
        width: 24px;
        height: 18px;
    }
    
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after,
    .navbar-toggler-icon span {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #294941;
        border-radius: 2px;
    }
    
    .navbar-toggler-icon::before {
        top: 0;
    }
    
    .navbar-toggler-icon span {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .navbar-toggler-icon::after {
        bottom: 0;
    }
    
    .navbar-nav {
        padding: 15px 0;
        gap: 5px;
    }
    
    .nav-link {
        padding: 10px 15px !important;
        font-size: 0.95rem;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
        letter-spacing: -0.5px;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-top: 8px;
        line-height: 1.5;
        opacity: 0.9;
    }
    
    .hero-cta {
        margin-top: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .hero-cta .me-3 {
        margin-right: 0 !important;
    }
    
    .hero-bg {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        opacity: 0.05;
    }
    
    .video-container {
        max-width: 280px;
        padding: 15px;
        margin-top: 30px;
    }
    
    .features, .how-it-works, .testimonials {
        padding: 50px 0;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 35px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .section-title p {
        font-size: 0.9rem;
        margin-top: 10px;
    }
    
    .feature-card {
        padding: 25px 20px;
        margin-bottom: 15px;
        border-radius: 16px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .testimonial-card {
        padding: 25px;
        border-radius: 16px;
        margin-bottom: 15px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .cta-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .cta-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .footer-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .footer-links h5 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-links ul li {
        margin-bottom: 8px;
    }
    
    .footer-links ul li a {
        font-size: 0.9rem;
    }
    
    .social-links {
        margin-top: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }
    
    .copyright {
        margin-top: 25px;
        padding-top: 20px;
        font-size: 0.85rem;
    }
    
    .modal-dialog {
        margin: 10px;
    }
    
    .modal-body {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    .modal-body h4 {
        font-size: 1.2rem;
    }
    
    .modal-body h5 {
        font-size: 1rem;
    }
}

/* Special handling for tablets */
@media (min-width: 577px) and (max-width: 991px) {
    .phone-frame {
        width: 280px;
        height: 580px;
        margin: 0 auto 30px;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .feature-card {
        height: 100%;
    }
    
    .hero-cta {
        flex-direction: row;
        gap: 15px;
    }
    
    .hero-cta .btn {
        width: auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        margin-bottom: 25px;
        padding: 15px;
        background: #f9f9f9;
        border-radius: 12px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-right: 15px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .step-content h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0;
    }
    
    .features, .how-it-works, .testimonials, .cta-section {
        padding: 40px 0;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .footer-social a {
        margin: 0 10px;
    }
    
    .row.mb-4, .col-lg-4.mb-4, .col-md-6.mb-4 {
        margin-bottom: 0.75rem !important;
    }
}

/* Contact modal styling */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background-color: #294941;
    color: white;
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 25px;
    font-size: 1.1rem;
}

.modal-body strong {
    color: #294941;
}

.modal-footer {
    border-top: none;
    padding: 15px 25px 25px;
}

.btn-close {
    color: white;
    opacity: 0.8;
    filter: brightness(0) invert(1);
}

/* FAQ Accordion Styling */
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #294941;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: rgba(41, 73, 65, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(41, 73, 65, 0.25);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    font-size: 1rem;
    line-height: 1.6;
    padding: 1.5rem;
    background-color: #f8f9fa;
}

.accordion-item {
    border: 1px solid rgba(41, 73, 65, 0.2);
    margin-bottom: 0.5rem;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
}

.modal-dialog.modal-lg {
    max-width: 800px;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 15px 20px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-consent-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-consent-text a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
}

.cookie-consent-banner .btn-primary {
    background-color: #294941;
    border-color: #294941;
}

.cookie-consent-banner .btn-outline-light {
    color: #fff;
    border-color: #fff;
}

.cookie-consent-banner .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Make the banner responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-text {
        padding-right: 0;
        margin-bottom: 15px;
    }
}
