/* ===== TECH WHIZZ - MAIN STYLES ===== */

:root {
    --navy: #0d1b2e;
    --navy-mid: #16314f;
    --navy-light: #1b4965;
    --cyan: #33c2e0;
    --cyan-text: #0e7f9a;
    --whatsapp-green: #25D366;
    --white: #ffffff;
    --grey: #b9cfdc;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 108px;
    background-color: var(--navy);
    color: var(--white);
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

h1, h2, h3 {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* ===== NAVBAR ===== */
.site-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 4px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.site-navbar .navbar-brand img {
    height: 100px;
    width: auto;
}

.site-navbar .nav-link {
    color: #1a1a2e !important;
    font-weight: 600;
    margin: 0 8px;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--cyan-text) !important;
}

.btn-call {
    background-color: var(--cyan);
    color: var(--navy);
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-call:hover {
    filter: brightness(0.88);
    color: var(--navy);
}

/* ===== SERVICES DROPDOWN ===== */
.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    padding: 10px 0;
    margin-top: 8px;
}

.dropdown-item {
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    transition: background-color 0.15s, color 0.15s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(51, 194, 224, 0.1);
    color: var(--cyan-text);
}

.dropdown-item.fw-bold {
    color: var(--cyan-text);
}

.dropdown-item.fw-bold:hover {
    background-color: rgba(51, 194, 224, 0.1);
    color: var(--cyan-text);
}

.dropdown-divider {
    margin: 8px 0;
    border-color: #eee;
}

.nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
}

.nav-link.dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 0;
}

/* ===== WHATSAPP BUTTON ===== */
.btn-whatsapp {
    background-color: var(--cyan);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 18px;
    transition: background-color 0.2s;
}

.btn-whatsapp:hover {
    background-color: #ffffff;
    color: var(--navy);
}

.contact-submit-btn:hover {
    background-color: var(--cyan);
    filter: brightness(0.88);
    color: var(--navy);
}

.light-bg-btn:hover {
    background-color: var(--cyan) !important;
    filter: brightness(0.88);
    color: var(--navy) !important;
}

/* ===== OUTLINE BUTTON (white bg, matches service-card-white border/text) ===== */
.btn-outline-cyan {
    background-color: #ffffff;
    color: #1a1a2e;
    border: 2px solid rgba(51, 194, 224, 0.5);
    border-radius: 8px;
    font-weight: 700;
    padding: 6px 24px;
    transition: border-color 0.2s;
}

.btn-outline-cyan:hover {
    border-color: var(--cyan);
    color: #1a1a2e;
}

/* ===== LATEST WORK FILTER PILLS ===== */
.pill-filter {
    background-color: #ffffff;
    color: #1a1a2e;
    border: 2px solid rgba(51, 194, 224, 0.5);
    border-radius: 20px;
    padding: 6px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.pill-filter:hover {
    border-color: var(--cyan);
}

.pill-filter.active {
    background-color: var(--cyan);
    border-color: var(--cyan);
    color: var(--navy);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #14284f 100%);
    padding: 100px 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: clamp(1.3rem, 5vw + 0.4rem, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-top: 16px;
}

.hero p {
    color: var(--grey);
    font-size: clamp(0.9rem, 2vw + 0.4rem, 1.1rem);
    line-height: 1.6;
}

.hero .btn-whatsapp,
.hero .btn-outline-light {
    font-size: clamp(0.8rem, 1.5vw + 0.4rem, 1rem);
}

.hero .hero-btn {
    padding: 10px 22px;
    min-width: 220px;
    text-align: center;
}

.hero-video-wrap {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(calc(-50% - 32px));
    width: clamp(320px, 47vw, 720px);
    aspect-ratio: 3 / 2;
    height: auto;
    z-index: 0;
    overflow: hidden;
}

.hero-video-wrap::before {
    content: '';
    position: absolute;
    inset: -15%;
    background: radial-gradient(ellipse 55% 60% at center,
        rgba(51, 194, 224, 0.18) 0%,
        rgba(27, 73, 101, 0.22) 30%,
        rgba(22, 49, 79, 0.12) 55%,
        rgba(13, 27, 46, 0) 75%);
    z-index: 0;
    pointer-events: none;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    -webkit-mask-image: radial-gradient(ellipse 55% 55% at center, black 55%, transparent 90%);
    mask-image: radial-gradient(ellipse 55% 55% at center, black 55%, transparent 90%);
}

/* ===== SECTIONS ===== */
.section {
    padding: 40px 0 80px 0;
}

.section-dark {
    background-color: var(--navy-mid);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-light {
    background-color: #f0f4f7;
}

.section-light .section-title {
    color: #1a1a2e;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.section-label {
    color: var(--cyan);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ===== SERVICE CARDS WHITE STYLE ===== */
.service-card-white {
    background-color: #ffffff;
    border: 2px solid rgba(51, 194, 224, 0.3);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    height: calc(100% - 16px);
    margin-bottom: 16px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(51, 194, 224, 0.15);
    border-color: var(--cyan);
}

@media (min-width: 768px) {
    .service-card-white {
        padding: 18px 14px;
    }
}

.service-card-white i {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 16px;
    display: block;
}

.service-card-white h3 {
    color: #1a1a2e;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.15rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.service-card-white p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== SERVICE BOX ===== */
.service-box {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 16px;
    scroll-margin-top: 129px;
}

.service-box-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* ===== CONTENT CARD (Privacy Policy, etc.) ===== */
.content-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 40px;
    color: #444;
    line-height: 1.7;
    font-size: 1.05rem;
}

.content-card h3,
.content-card h4 {
    color: #1a1a2e;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-card h3:first-child,
.content-card h4:first-child {
    margin-top: 0;
}

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background-color: #ffffff;
    border: 2px solid rgba(51, 194, 224, 0.3);
    border-radius: 12px;
    padding: 24px 20px;
    height: 280px;
    max-width: 360px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonial-card {
        max-width: none;
    }
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0px;
    left: 15px;
    font-size: 140px;
    font-family: Georgia, 'Times New Roman', serif;
    color: rgba(51, 194, 224, 0.4);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.testimonial-card .stars,
.testimonial-card p,
.testimonial-card .testimonial-name {
    position: relative;
    z-index: 1;
}

.testimonial-card i.bi-quote {
    font-size: 1.5rem;
    color: var(--navy);
    display: block;
    margin-bottom: 6px;
}

.testimonial-card p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--navy);
}

.stars {
    color: #ffe066;
    font-size: 0.9rem;
    margin: 8px 0 4px;
    text-align: center;
}

.testimonial-name {
    font-weight: 700;
    color: var(--navy) !important;
    margin-bottom: 0;
    font-size: 0.9rem;
    margin-top: auto;
}

#testimonials .section-title {
    color: #1a1a2e;
}

#testimonials {
    scroll-margin-top: 0px;
}

.carousel-indicators button {
    background-color: transparent !important;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin: 0;
    padding: 0;
    position: relative;
}

.carousel-indicators button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--navy-light);
}

.carousel-indicators button.active::after {
    background-color: var(--cyan);
}

/* ===== CAROUSEL ARROWS ===== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100) brightness(0.3);
    width: 2rem;
    height: 2rem;
}

.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
    top: 140px;
    bottom: auto;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
}

.testimonials-carousel .carousel-control-prev {
    left: -60px;
}

.testimonials-carousel .carousel-control-next {
    right: -60px;
}

/* ===== WHITE SECTION WITH CYAN CORNERS ===== */
.section-white-angled {
    background-color: #ffffff;
    position: relative;
    padding: 40px 0 10px 0;
}

.section-white-angled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 60px 0 0;
    border-color: var(--cyan) transparent transparent transparent;
}

.section-white-angled::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 60px 60px;
    border-color: transparent transparent var(--cyan) transparent;
}

.section-white-angled .section-label {
    color: var(--cyan-text);
}

.section-white-angled .section-title {
    color: #1a1a2e;
}

.section-white-angled p {
    color: #555;
}

/* ===== CONTACT FORM ===== */
.contact-form label {
    color: #1a1a2e;
    font-weight: 600;
}

.contact-intro a {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 700;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--navy);
    border-top: 1px solid var(--navy-mid);
    color: #ffffff;
}

.site-footer p {
    color: #8a9db5;
}

.site-footer h6,
.footer-heading {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 12px;
}

.site-footer .copyright {
    color: #8a9db5;
    font-size: 0.85rem;
}

.footer-link {
    color: var(--grey);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
    overflow-wrap: break-word;
    word-break: break-word;
}

.footer-link:hover {
    color: var(--cyan);
}

/* ===== HERO BADGE PILL ===== */
.hero-badge {
    display: inline-block;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.trust-badge i {
    color: var(--cyan);
    font-size: 1rem;
}

.trust-badge strong {
    display: block;
    color: var(--white);
    font-size: 0.8rem;
}

.trust-badge > div > span {
    display: none;
}

/* ===== GOOGLE REVIEW LINE ===== */
.google-review-line {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--grey);
    font-size: 0.85rem;
}

.google-review-line .stars-inline {
    color: #ffe066;
    letter-spacing: 1px;
}

.google-review-line a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
}

/* ===== SERVICE LINK BUTTON (Learn more, on white cards) ===== */
.service-link-btn {
    display: inline-block;
    background-color: var(--cyan);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s;
    margin-top: auto;
}

.service-link-btn:hover {
    filter: brightness(0.88);
    color: var(--navy);
}

/* ===== SMALLER WHATSAPP BUBBLE ===== */
.whatsapp-bubble-small {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    background: white;
    border-radius: 30px;
    padding: 8px 16px 8px 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: bottom 0.25s ease;
}

.whatsapp-bubble-small img {
    width: 22px;
    height: 22px;
}

.whatsapp-bubble-small span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a2e;
}

html, body {
    overflow-x: hidden;
}

@media (max-width: 991px) {
    body {
        padding-top: 80px;
    }

    #testimonials {
        scroll-margin-top: var(--navbar-height, 90px);
    }

    .testimonials-carousel {
        padding-left: 36px !important;
        padding-right: 36px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .testimonials-carousel .carousel-control-prev {
        left: 0;
        width: 36px;
    }

    .testimonials-carousel .carousel-control-next {
        right: 0;
        width: 36px;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 40px 0 60px;
    }

    .trust-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }

    .google-review-line {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 6px 4px;
    }

    .section-white-angled {
        padding-top: 60px;
    }

    .section-white-angled::before {
        border-width: 30px 30px 0 0;
    }

    .whatsapp-bubble-small {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .site-footer {
        padding-bottom: 70px;
    }

    .site-footer .col-lg-2,
    .site-footer .col-lg-6,
    .site-footer .col-lg-3 {
        text-align: center;
    }

    .site-footer .col-lg-2 img {
        display: block;
        margin: 0 auto 16px;
    }

    .site-footer .d-flex.align-items-center.gap-2 {
        justify-content: center;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero h1 {
        font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero .hero-btn {
        min-width: 150px;
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .hero-video-wrap {
        position: absolute;
        top: 50%;
        right: 4%;
        transform: translateY(calc(-50% - 10px));
        width: clamp(280px, 44vw, 440px);
        aspect-ratio: 3 / 2;
        height: auto;
    }
}

/* ===== RESPONSIVE OVERRIDES ===== */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-video-wrap {
        right: 6%;
        transform: translateY(calc(-50% - 65px));
        width: clamp(300px, 45vw, 520px);
    }
}
@media (max-width: 991px) {
    .site-navbar .navbar-brand img {
        height: 50px !important;
        width: 87px !important;
    }

    .navbar-toggler {
        flex-shrink: 0;
    }

    .navbar-collapse .dropdown.ms-4 {
        margin-left: 0 !important;
        display: flex;
        justify-content: center;
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    .hero {
        flex-direction: column;
    }

    .hero .container {
        padding-left: 28px;
        padding-right: 28px;
    }

    .hero .d-flex.gap-3 {
        justify-content: center;
    }

    .hero-video-wrap {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: clamp(240px, 75vw, 360px);
        aspect-ratio: 3 / 2;
        height: auto;
        margin: 0 auto 24px;
    }

    .trust-point-label {
        font-size: 0.72rem !important;
    }

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

    .service-card-white {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .latest-work-cta {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        gap: 8px !important;
    }

    .latest-work-cta p {
        font-size: 0.82rem !important;
    }

    .latest-work-cta .btn {
        padding: 6px 14px !important;
        font-size: 0.82rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .footer-logo-desktop {
        height: 80px !important;
        width: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer-col-logo {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .footer-col-services {
        flex: 0 0 45%;
        max-width: 45%;
    }

    .footer-col-contact {
        flex: 0 0 35%;
        max-width: 35%;
    }
}