/* Global Styles */
:root {
    --primary-color: #0A5F53;
    --secondary-color: #15937C;
    --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 {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    background-color: rgba(10, 95, 83, 0.8); /* Petrol green with opacity */
    color: white;
    padding: 8px;
    font-size: 14px;
    border-radius: 0 0 5px 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-link:hover .video-hint {
    opacity: 1;
}

.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 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-top: 15px;
    }
    
    .features, .how-it-works, .testimonials, .cta-section {
        padding: 80px 0;
    }
    
    .section-title {
        margin-bottom: 50px;
    }
    
    .hero-bg {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        opacity: 0.1;
    }
    
    .feature-card {
        padding: 25px 15px;
        height: 100%;
    }
    
    .feature-icon {
        margin-bottom: 20px;
    }
    
    .phone-frame {
        height: 550px;
        margin: 20px auto;
    }
    
    .youtube-video {
        width: 100%;
        height: 100%;
        object-position: center;
    }
}

/* 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%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .step {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .features, .how-it-works, .testimonials, .cta-section {
        padding: 60px 0;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .navbar-brand {
        font-size: 18px;
    }
    
    .footer-social a {
        margin: 0 10px;
    }
}

/* 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: #0A5F53; /* Petrol green */
    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: #0A5F53; /* Petrol green */
}

.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: #0A5F53; /* Petrol green */
    box-shadow: none;
}

.accordion-button:focus {
    border-color: rgba(10, 95, 83, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(10, 95, 83, 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(10, 95, 83, 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: #0A5F53;
    border-color: #0A5F53;
}

.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;
    }
}
