/* ===========================
   GLOBAL STYLES
============================*/
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f8fafc;
    color: #333;
}
h1, h2, h3 {
    margin: 0;
}
a {
    text-decoration: none;
}
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
}

.second-color {
    color:#ffd508;
}

/* ===========================
   RESPONSIVE HEADER
============================*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: url('assets/images/doodle-zoom.png') no-repeat center/cover;
    padding: 10px 0;   /* reduce padding */
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 200;
}

.header-container {
    width: 100%;
    max-width: 1300px;      /* keeps header content centered */
    margin: 0 auto;         /* centers */
    padding: 0 20px;        /* spacing left/right */
    display: flex;
    justify-content: space-between;
    align-items: center;
}


header .logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

header nav {
    display: flex;
    align-items: center;
}
header nav a {
    margin-left: 25px;
    color: #fff;
    font-size: 16px;
}

header nav a:hover {
    color: #ffd508;
}

.logo img {
    height: 55px;
}

/* Hamburger Icon */
.menu-icon {
    width: 30px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
}
.menu-icon div {
    height: 4px;
    background: #333;
    border-radius: 5px;
}

/* Mobile Menu */
@media (max-width: 900px) {

    .menu-icon {
        display: flex;
    }

    header nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        width: 100%;
        display: none;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        animation: fadeMenu 0.3s ease-out;
    }

    header nav a {
        padding: 15px 0;
        font-size: 18px;
        text-align: center;
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    header nav a:last-child {
        border-bottom: none;
    }
}

@keyframes fadeMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   HERO SECTION
============================*/
/* --- ANIMATIONS --- */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- EXISTING STYLES + ANIMATIONS APPLIED --- */
.hero {
    margin-top: 80px;
    padding: 80px 40px;
    background: url('assets/images/doodle-zoom.png') no-repeat center/cover;
    color: white;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
    flex-wrap: nowrap; /* keep side by side on desktop */
}

.hero-text {
    flex: 0 0 60%; /* occupy 60% width */
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-text h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-text p {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-text .btn {
    background: #ffd508;
    color: #0d2137;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease;
}

.hero-text .btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-image {
    flex: 0 0 40%; /* occupy 40% width */
    text-align: center;
    background: none;

    opacity: 0;
    animation: slideInRight 1.1s ease-out forwards;
    animation-delay: 0.4s;
}

.hero-image img {
    max-width: 110%;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
}

/* ===========================
   FEATURES SECTION
============================*/
.section {
    padding: 80px 40px;
    text-align: center;
}
.section h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}
.section p.section-sub {
    color: #555;
    font-size: 18px;
    margin-bottom: 50px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}
.feature-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
}
.feature-box:hover {
    transform: translateY(-8px);
}
.feature-box h3 {
    font-size: 22px;
    margin-top: 15px;
}
.feature-box p {
    font-size: 16px;
    margin-top: 10px;
    color: #555;
    line-height: 1.5;
}

/* ===========================
   WHY CHOOSE US
============================*/
.why {
    background: #eef2ff;
    padding: 100px 40px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}
.why-item h3 {
    color: #004aad;
    font-size: 22px;
}

/* ===========================
   APP 1 SECTION
============================*/

.contact-section {
    background: linear-gradient(135deg, #0d2137 0%, #004aad 100%);
    padding: 80px 40px;
    /*border-top: 3px solid #6d28d9;  !* purple line *!*/
    /*border-bottom: 3px solid #6d28d9;*/
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px;
    color: white;
}

.contact-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    object-fit: cover;
}

.contact-text h2 {
    font-size: 42px;
    color: #ffd508; /* bright purple like screenshot */
    margin-bottom: 20px;
}

.contact-text p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 450px;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-text p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===========================
   PRICING
============================*/
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.price-box {
    position: relative; /* Required for ribbon positioning */
    background: white;
    padding: 40px;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;

    display: flex;             /* make it a flex container */
    flex-direction: column;    /* stack elements vertically */
    justify-content: space-between; /* push button to bottom */
    min-height: 550px;         /* optional: ensures all cards have same height */
}

.price-box:hover {
    transform: translateY(-8px);
}

.price-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price-box .price {
    font-size: 40px;
    margin: 15px 0;
    font-weight: bold;
    color: #004aad;
}

.price-box ul {
    list-style: none; /* remove default bullets */
    padding: 0;
    margin: 20px 0;
    color: #555;
    flex-grow: 1; /* make list take available space to push button down */
}

.price-box ul li {
    display: flex;
    align-items: center; /* vertically center the checkmark and text */
    gap: 10px;           /* space between checkmark and text */
    margin: 8px 0;
    font-size: 16px;
}

.price-box .btn {
    background: #0d2137;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s; /* smooth hover transition */
}

/* Hover effect */
.price-box .btn:hover {
    background: #ffd508; /* yellow color */
    color: #004aad;       /* optional: change text color for contrast */
}

/* Yearly price container */
.price-box .price-yearly {
    font-size: 16px;
    color: #004aad;           /* dark blue for contrast */
    margin-bottom: 20px;
}

.price-box .price-yearly .discount {
    background: #ffd508;       /* yellow highlight */
    color: #004aad;            /* dark text */
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

/* Make price more prominent */
.price-box .price {
    font-size: 40px;
    font-weight: bold;
    margin: 15px 0 10px 0;
    color: #004aad; /* same as current */
}

.price-box ul li .check-icon {
    color: forestgreen;   /* yellow */
    font-size: 18px;
    display: inline-block;
    width: 24px;
    text-align: center;
    margin-right: 10px;
}

/* ==============================
   Ribbon for Recommended Card
===============================*/
.price-box.recommended .ribbon {
    position: absolute;
    top: 20px;
    right: -40px;
    width: 150px;
    height: 30px;
    background: red; /* yellow ribbon to match card highlight */
    color: #fff;      /* dark blue text for contrast */
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 500px) {
    .price-box.recommended .ribbon {
        width: 120px;
        height: 25px;
        line-height: 25px;
        font-size: 12px;
        right: -30px;
        top: 15px;
    }
}

/* ===========================
   TESTIMONIAL
============================*/

.testimonial {
    padding: 80px 40px;
    background: white;
}

/* Testimonial Image */
.testimonial-box {
    max-width: 800px;
    margin: auto;
    font-style: italic;
    color: #444;
    text-align: center;
    line-height: 1.6;
    background: #eef2ff;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.testimonial-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* STATIC BRAND GRID */
.section-brand {
    background: white;
    padding: 80px 40px;
    text-align: center;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    align-items: center;
    justify-items: center;
}

.brand-item img {
    max-height: 120px;
    object-fit: contain;
    filter: grayscale(40%);
    transition: all 0.3s ease;
}

.brand-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .brand-item img {
        max-height: 120px;
    }
}

/* 4-CARD VIDEO GRID */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.video-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.video-card:hover {
    transform: translateY(-8px);
}

/* ===========================
   CTA
============================*/
.cta {
    /*background: #004aad;*/
    background: linear-gradient(135deg, #0d2137 0%, #004aad 100%);
    padding: 100px 40px;
    text-align: center;
    color: white;
}
.cta .btn {
    background: #ffd508;
    color: #0d2137;
    margin-top: 20px;
}

/* ===========================
   FOOTER
============================*/
footer {
    background: url('assets/images/doodle-zoom.png') no-repeat center/cover;
    background-size: cover;
    color: #d1d5db;
    padding: 60px 20px 20px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
}

.footer-column {
    flex: 1 1 220px;
    min-width: 220px;
}

.footer-column h3 {
    color: #ffd508;
    margin-bottom: 15px;
}

.footer-column a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin: 6px 0;
    transition: 0.3s;
}

.footer-column a:hover {
    color: #ffd508;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 8px;           /* space between icon and text */
    flex-wrap: wrap;     /* allow wrapping on small screens */
    padding: 4px 0;      /* adds vertical spacing */
}

.contact-line a {
    color: #d1d5db;
    text-decoration: underline;
    transition: 0.3s;
}

.footer-column .contact-line.address {
    padding: 6px 0;
}


.contact-line a:hover {
    color: #ffd508;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap; /* wrap buttons on small screens */
    justify-content: flex-start;
}

.social-icon img {
    width: 46px;
    height: 46px;
    transition: transform 0.3s, filter 0.3s;
}

.social-icon img:hover {
    transform: scale(1.2);
}

.social-btn {
    display: inline-block;
    margin: 5px 10px;
    padding: 10px 18px;
    border-radius: 8px;
    background: #4f46e5;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.social-btn:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

.footer-copy {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.8;
}

/* ===========================
   Responsive Adjustments
============================*/
@media (max-width: 1024px) {
    .footer-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-column {
        min-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .social-btn {
        margin: 8px 6px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 15px 20px 15px;
    }

    .footer-column h3 {
        font-size: 18px;
    }

    .social-icon img {
        width: 36px;
        height: 36px;
    }

    .social-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .footer-copy {
        font-size: 13px;
    }
}

