/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a:visited {
    color: blue;
    /* prevents purple color after click */
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fff;
    color: #111;
    line-height: 1.6;
}

/* Site Container */
.site-container {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*sticky-icons*/
.sticky-icons {
    position: fixed;
    left: 10px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.icon-btn {
    width: 50px;
    height: 50px;
    background-color: #1B5730;
    color: white;
    border-radius: 50%;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-in-out;
}

.icon-btn:hover {
    transform: scale(1.1);
}

.icon-btn,
.icon-btn:visited,
.icon-btn:focus,
.icon-btn:active {
  color: white;
}


/* Sticky container inside sticky header */
.sticky-container {
    width: 100%;
    margin: 0 auto;
    padding: 0px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Make header sticky */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #000;
    padding: 8px 0;
}

/* Navigation bar layout inside header */
.sticky-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    padding: 0px 8px;
    width: 100%;
}

/* Hamburger Icon (Hidden on Desktop) */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    line-height: 1;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* CISI Branding */
.nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 3rem;
    font-weight: bold;
    color: #1B5730;
    margin: 18px 0;

    /* PDF-based brand color */
}

.nav-logo {
    height: 2.5rem;
    /* Match to text height */
    width: auto;
}

.nav-brand-text {
    font-size: 3rem;
    font-weight: bold;
    color: white;

}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 6px 10px;
    font-weight: bold;
    /* New: bold on all devices */
    font-size: 0.95rem;
}

.nav-links li a:hover {
    text-decoration: underline;
    color: #23b24a;
}

/*appointment button*/
.app-btn-hero {
    width: 12%;
    font-size: 1rem;
    background-color: ghostwhite;
    /* CMYK 78,11,100,51 */
    color: #033b03;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 0 #000000;
    /* Slightly darker 3D shadow */
    text-align: center;
    text-decoration: none;
    display: block;
    margin: 60px auto;
    /* Center + top & bottom space */
    padding: 8px 5px;
    transition: all 0.2s ease;
    font-weight: bold;
}


/* 3D click effect */
.app-btn-hero:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1b572d;
}


/* Dual Section: About & Approach Side-by-Side */
.dual-info-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    width: 90%;
    margin: 40px auto;
    padding: 60px 20px 10px;
    box-sizing: border-box;
}

.info-column {
    flex: 1;
    border: 2px solid #1B5730;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    background-color: #fff;
}

.info-column .info-heading {
    margin-left: 0px;
}

.info-section {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
    padding-bottom: 10px;
}

.info-heading {
    background-color: #1B5730;
    color: #fff;
    font-size: 1.55rem;
    font-weight: bold;
    padding: 2px 6px;
    display: inline-block;
    margin-bottom: 20px;
    margin-left: 8vw;
}

.founder-image-container {
    width: 200px;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

.founder-image {
    display: block;
    width: 200px;
    height: auto;
    margin: 20px auto;
    aspect-ratio: 1 / 1;
}

.info-paragraph-container {
    width: 90%;
    margin: 0 auto;
    text-align: left;
    overflow: visible;
    max-height: none;
    text-align: center;
}

.info-paragraph {
    text-align: justify;
    transition: max-height 0.5s ease-in-out;
    overflow: hidden;
    max-height: 8em;
    /* collapsed state */
}

.info-paragraph.expanded {
    max-height: 2000px;
    /* large enough to show full content */
}

@keyframes pulse-size {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.read-toggle-btn {
    margin-top: 40px;
    display: block;
    margin-left: auto;
    font-style: italic;
    background-color: transparent;
    border: none;
    color: #1B5730;
    font-weight: bold;
    cursor: pointer;
    animation: pulse-size 1.5s infinite ease-in-out;
    transition: transform 0.3s ease;
    display: none;
}

.read-toggle-btn:hover {
    animation-play-state: paused;
}

#founderSection {
    background-color: #f2f2f2;
    /* Light gray */
}

/* ===================== Services Section ===================== */

.services-list {
    Width: 80%;
    display: flex;
    justify-content: center;
    /* Center the columns */
    align-items: flex-start;
    gap: 13vw;
    padding: 20px;
    margin: 0 auto;
    /* Center horizontally */
    flex-wrap: wrap;
    max-width: 1000px;
    /* Optional: limit max width */
}

.services-list ul {
    flex: 1;
    list-style-type: disc;
    padding-left: 30px;
    font-size: 1.2rem;
    /* Bigger font */
    font-weight: 600;
    line-height: 1.8;
    color: #536568;
}

.services-list li {
    cursor: pointer;
}

.services-list li:hover {
    text-decoration: underline;
    color: #1B5730;
}

/* Carousel container layout */
.services-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
    flex-wrap: nowrap;
}

.carousel-arrow {
    position: absolute;
    top: 12px;
    z-index: 2;
    font-size: 1.5rem;
    padding: 8px 12px;
    background-color: #374b4e;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.carousel-arrow:hover {
    background-color: #374b4e;
}

.carousel-arrow.left {
    left: 12px;
}

.carousel-arrow.right {
    right: 12px;
}

/* DEFAULT: desktop view (no extra padding on top) */
.carousel-content-container {
    position: relative;
    width: 80%;
    max-width: 1000px;
    min-height: 250px;
    padding: 20px;
    padding-top: 24px;
    /* enough space for arrows, not excessive */
    border: 2px solid #1B5730;
    border-radius: 6px;
    background-color: #fff;
    color: #111;
    overflow: hidden;
    text-align: justify;
}

.carousel-slide {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide h3 {
    margin-bottom: 10px;
    color: #1B5730;
    font-size: 1.3rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-appointment-btn-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.app-btn-rest {
    width: 12%;
    font-size: 1rem;
    background-color: #0a3d62;
    /* CMYK 78,11,100,51 */
    color: White;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 0 #000000;
    /* Slightly darker 3D shadow */
    text-align: center;
    text-decoration: none;
    display: block;
    margin: 30px auto;
    /* Center + top & bottom space */
    padding: 8px 5px;
    transition: all 0.2s ease;
    font-weight: bold;
}


/* 3D click effect */
.app-btn-rest:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1b572d;
}


/* ===================== Spy Mobile Phone Section ===================== */
#spyPhoneSoftware {
    background-color: #f2f2f2;
}

.spy-software-image-container {
    text-align: center;
    margin-bottom: 20px;

}

.spy-software-image {
    display: inline-block;
    width: 400px;
    height: auto;
}

#spyPhoneParagraph {
    max-height: 8em;
    overflow: hidden;
}

#spyPhoneParagraph.expanded {
    max-height: 2000px;
}




/* ===================== Spy Gadgets Section ===================== */
.spy-gadgets-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.spy-gadgets-image {
    width: 90%;
    max-width: 500px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#spyGadgetsParagraph {
    max-height: 8em;
    overflow: hidden;
}

#spyGadgetsParagraph.expanded {
    max-height: 2000px !important;
}

/* ===================== Our Clients Section ===================== */
#clients {
    background-color: #f2f2f2;
    text-align: left;
    padding: 60px 20px 40px;
}

.client-container {
    width: 70%;
    Margin: 0 auto;
}

.client-subheading {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 40px 0 20px;
    text-align: right;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.client-logos img {
    max-width: 100px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logos img:hover {
    transform: scale(1.05);
}

.client-personal {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.client-gender {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-gender img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.client-gender p {
    font-weight: bold;
    font-size: 1.1rem;
}


/* ===================== Clients Reviews Section ===================== */

.reviews-section {
    padding: 60px 20px;
}

.reviews-container {
    border: 2px solid #797b79;
    border-radius: 20px;
    padding: 30px 20px;
    max-width: 1100px;
    margin: 0 auto;
    background-color: #ffffff;
}

.reviews-heading {
    text-align: center;
    font-size: 1.8rem;
    color: #1B5730;
    margin-bottom: 40px;
    font-weight: bold;
    text-decoration: underline;
}

.review-pair {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.review-box {
    flex: 1 1 40%;
    padding: 20px;
    font-style: italic;
    font-size: 1rem;
    color: #333;
    min-height: 120px;
    box-sizing: border-box;
}

.review-author {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
    color: #3f4140;
    text-align: right;
}

.review-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.review-carousel-inner {
    display: flex;
    gap: 40px;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    transition: transform 0.4s ease-in-out;
}

.review-slide {
    display: none;
    flex-shrink: 0;
    width: 100%;
    justify-content: center;
    gap: 40px;
}

.review-slide.active {
    display: flex;
}

.review-arrow {
    font-size: 2rem;
    background: none;
    border: none;
    color: #acb1ad;
    cursor: pointer;
    font-weight: bold;
}

.verified-icon {
    display: inline-block;
    vertical-align: middle;
    text-align: right: margin-left: 5px;
    width: 100px;
    height: 100px;
    opacity: 0.8;
}


/* ===================== Appointment Section ===================== */

/* Appointment Section Base */
.appointment-section {
    padding: 60px 20px;
    background-color: #fff;
    color: #000;
    padding-bottom: 20px
}

.appointment-wrapper {
    width: 90%;
    margin: 0 auto;
}

/* Heading */
.info-heading {
    font-size: 1.4rem;
    font-weight: bold;
    background-color: #1B5730;
    color: white;
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 30px;
}

/* QR Code */
.qr-section {
    text-align: center;
    margin-bottom: 30px;
}

.qr-image {
    max-width: 200px;
    height: auto;
}

.qr-caption {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

/* Box Layout */
.appointment-boxes {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    width: 100%
}

.box-group {
    width: 75%;
    max-width: 300px;
    min-width: 240px;
    text-align: center;
    flex-shrink: 0;
}

.box-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.center-row {
    justify-content: center;
}

.responsive-two {
    flex-wrap: wrap;
}

/* Colored Boxes */
.gold-box {
    background-color: #FFD700;
    padding: 20px;
    border-radius: 4px;
}

.green-box {
    background-color: #1B5730;
    padding: 20px;
    border-radius: 4px;
    color: #fff;
}

/* Headings inside boxes */
.gold-box h3,
.green-box h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.4;
}

/* Captions below boxes */
.box-caption {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 10px;
    color: #000;
}

.green-text {
    color: #1B5730;
    font-weight: bold;
}

/* Instructions */
.appointment-tnc {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 0px;
    color: #222;
}

.tncHeading {
    margin-top: 50px;
}

.appointment-tnc p {
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.appointment-tnc ol {
    padding-left: 20px;

}

.appointment-tnc li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: 500;
}

/* Contact Info */
#contactUs {
    padding: 60px 0;
    padding-bottom: 0;

}

.contact-highlight {
    text-align: center;
    font-size: 1.05rem;
    font-weight: bold;
    color: #1B5730;

}

.scan-WA-text {
    width: 50%;
    margin: 0 auto;
}

.whatsapp-qr-section,
.sessionApp-qr-section {
    text-align: center;
    margin: 20px 0;
}

.whatsapp-qr-image,
.sessionApp-qr-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.sessionApp-section {
    width: 50%;
    margin: 0 auto;
}

.sessionApp-qr-image {
    margin-bottom: 10px;
}

.qr-caption {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #444;
}

.contact-heading {
    display: inline-block;
    background-color: #1B5730;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    margin: 0 auto 25px auto;
}

.custom-hr {
    width: 50%;
    margin: 40px auto;
    /* Centers the line horizontally */
    border: none;
    height: 2px;
    background-color: #1B5730;
    /* Your dark green theme color */
}

.contact-highlight .email {
    margin-top: 15px;
    font-weight: normal;
    font-size: 1.25rem;
    color: #000;
}

.officeLocation {
    color: #0a3d62;
}

.map-image-container {
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
}

.map-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #1B5730;
}

.map-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #444;
    font-style: italic;
}



/* ===================== FAQ Section ===================== */

#faq {
    padding: 40px 0;
    background-color: #f2f2f2;
}

.faq-section {
    position: relative;
    overflow: hidden;
    z-index: 0;
    padding: 60px 20px;
    color: #000;
    width: 60%;
    margin: 0 auto;
    border-radius: 30px;
}

.faq-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.faq-heading {
    font-size: 1.8rem;
    font-weight: bold;
    color: yellow;
    margin: 0 auto 40px auto;
    padding: 10px 20px;
    border-radius: 8px;
    width: fit-content;
    text-align: center;
    display: block;
    text-decoration: underline;
    position: relative;
    z-index: 1;
}

.faq-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.faq-container details {
    background: none;
    padding: 10px 0;
    border: none;
    cursor: pointer;
    color: #f0f0f0;
}

.faq-container details summary {
    font-weight: bold;
    font-size: 1.05rem;
    text-align: justify;
    cursor: pointer;
    color: #f5f5f5;
}

.faq-container details[open] summary {
    color: white;
}

.faq-container details p {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 15px 20px;
    background: transparent;
    color: #f0f0f0;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.faq-container details[open] p {
    background-color: white;
    /* golden background */
    color: #111;
    /* dark font */
    border-radius: 6px;
    padding: 15px 20px;
}

/* ===================== Social Media Section ===================== */

#social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    color: #1B5730;
}

.social-link {
    color: #1B5730;
    font-size: 48px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
    color: #1da1f2;
    /* blue tone, change as needed */
}


/* ===================== Footer Section ===================== */

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: .9rem;
    background-color: #1B5730;
    color: white;
    padding: 10px;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;

}

.footer-left,
.footer-right {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
    margin-bottom: 5px;
}

.footer-links {
    text-align: center;
    margin-top: 5px;
}

.footer-links a {
    color: white;
    text-decoration: underline;
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: none;
}


#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 999;
    background-color: #0a3d62;
    /* dark green brand color */
    color: white;
    border: none;
    outline: none;
    font-size: 1.75rem;
    padding: 8px 11px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: none;
    transition: background-color 0.3s ease;
}

#backToTopBtn:hover {
    background-color: #2f8d51;
}



/*****************************************************Responsive 2*******************************************************/
@media (max-width: 1367px) {

    .hero-logo-container {
        width: 200px;
        height: 200px;
    }

    .hero-tagline-container {
        min-height: 90px;
    }

    .hero-line1 {
        font-size: 2.5rem;
    }

    .hero-line2 {
        font-size: 1.75rem;
    }

    .app-btn-hero {
        width: 17%;
        font-size: 1.25rem;
    }

    .dual-info-section {
        width: 95%;
    }

    .info-heading {
        margin-left: 5vw;
    }

    .info-paragraph-container {
        width: 80%;
    }

    .faq-section {
        width: 80%;
    }

    .review-box {
        font-size: 1.2rem;
    }

    .app-btn-rest {
        width: 17%;
        font-size: 1.25rem;
    }

}


/*****************************************************Responsive 3*******************************************************/

@media (max-width: 1024px) {
    .app-btn-hero {
        width: 17%;
        font-size: 1.05rem;
    }

    .info-column {
        padding: 5px;
    }

    .review-box {
        font-size: 1.1rem;
    }

    .contact-highlight {
        font-size: .95rem;
    }

    .contact-highlight .email {
        font-size: 1.15rem;
    }

    .map-note {
        font-size: 0.8rem;
    }

    .faq-container {
        gap: 10px;
    }

    .faq-heading {
        font-size: 1.5rem;
    }

    .faq-container details summary {
        font-size: .95rem;
    }


    .faq-container details p {
        font-size: .85rem;
    }

    #social-icons {
        gap: 50px;
        margin-top: 0;
    }

    .social-link {
        font-size: 38px;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .app-btn-rest {
        width: 17%;
        font-size: 1.0rem;
    }
}


/*****************************************************Responsive 4*******************************************************/
@media (min-width: 769px) {

    .sticky-icons {
        top: 50%;
        transform: translateY(-50%);
    }

    #aboutParagraph,
    #approachParagraph {
        max-height: none !important;
        overflow: visible !important;
    }

    #spyPhoneSoftware .info-paragraph-container,
    #spyGadgets .info-paragraph-container,
    #founderSection .info-paragraph-container {
        width: 70% !important;
    }

    /* Hide read-toggle for About & Approach */
    .read-toggle-btn {
        display: none;
    }

    /* But allow Founder & CEO toggle to remain */
    .read-toggle-btn.show-on-all {
        display: block !important;
        margin-left: auto;
        margin-top: 40px;
    }

    /* Founder paragraph should default to collapsed on desktop */
    #founderParagraph {
        max-height: 8em;
        overflow: hidden;
    }

    #founderParagraph.expanded {
        max-height: 1000px;
    }

    .carousel-content-container {
        display: block;
        flex-direction: column;
        position: relative;
        padding-top: 10px;
    }

    .carousel-arrow {
        position: absolute;
        top: 12px;
        padding: 6px 12px;
        font-size: 1.4rem;
        background-color: ##536568;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        z-index: 2;
        display: inline-block;
    }

    .carousel-arrow.left {
        position: absolute;
        top: 12px;
        left: 12px;
    }

    .carousel-arrow.right {
        position: absolute;
        top: 12px;
        right: 12px;
    }

    .carousel-slide {
        margin-top: 60px;
        /* pushes slide content below arrows */
    }

    .services-carousel {
        gap: 20px;
    }

    .appointment-wrapper {
        width: 70%;
    }

    .faq-container {
        width: 90%;
    }
}

/*****************************************************Responsive 5*******************************************************/
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .sticky-icons {
        top: 70px;
        /* adjust based on your header height */
        transform: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: #000;
        padding: 10px 0;
        width: 100%;
        position: absolute;
        top: 48px;
        /* Aligned exactly below sticky header height */
        left: 0;
        z-index: 998;
    }

    .nav-left {
        font-size: 1.8rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero-line1 {
        font-size: 2rem;
    }

    .hero-line2 {
        font-size: 1.25rem;
    }

    .app-btn-hero {
        width: 25%;
        font-size: 0.9rem;
    }

    .dual-info-section {
        flex-direction: column;
        gap: 20px;
        width: 75%;
        margin: 10px auto;
        padding: 0px;
        box-sizing: border-box;
    }

    .info-paragraph-container {
        width: 95%;
    }

    .info-paragraph {
        max-height: 8em;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }

    .info-paragraph.expanded {
        max-height: 2000px;
    }

    .info-column {
        padding: 10px;
    }

    #spyPhoneSoftware .info-paragraph-container,
    #spyGadgets .info-paragraph-container,
    #founderSection .info-paragraph-container {
        width: 90% !important;
    }

    .founder-image {
        width: 100%;
    }

    .info-heading {
        font-size: 1.25rem;
        margin-left: 2vw;
    }

    .read-toggle-btn {
        display: block;
        font-size: 0.9rem;
        margin-top: 20px;
    }

    .services-list {
        gap: 20px;
    }

    .services-list ul {
        font-size: 1rem;
    }

    .services-carousel {
        flex-wrap: nowrap;
        padding: 0 10px;
        gap: 10px;
        width: 80%;
        margin: 0 auto;
    }


    .carousel-content-container {
        max-width: 100% !important;
        width: 100%;
        color: black;
        padding: 18px;
        padding-top: 55px;
        font-size: 0.9rem;
    }

    .carousel-arrow.left,
    .carousel-arrow.right {
        position: absolute;
        top: 12px;
        z-index: 2;
    }

    .carousel-arrow.left {
        left: 12px;
    }

    .carousel-arrow.right {
        right: 12px;
    }

    .carousel-arrow {
        position: absolute;
        top: 12px;
        font-size: 1.2rem;
        padding: 6px 10px;
        flex-shrink: 0;
    }

    .app-btn-rest {
        width: 25%;
        font-size: 0.9rem;
    }

    .client-gender img {
        width: 60px;
    }

    .reviews-container {
        padding: 20px 7px;
    }

    .review-box {
        flex: 1 1 100%;
        padding: 10px;
    }

    .review-slide {
        flex-direction: column;
        align-items: center;
    }

    .review-pair {
        flex-direction: column;

    }

    .review-pair,
    .review-carousel,
    .review-carousel-inner,
    .review-slide {
        gap: 10px;
    }

    .box-group {
        width: 100%;
    }



    /* Colored Boxes */
    .gold-box {
        padding: 10px;
    }

    .green-box {
        padding: 10px;
    }

    .gold-box,
    .green-box {
        min-height: auto;
    }

    /* Headings inside boxes */
    .gold-box h3,
    .green-box h3 {

        font-size: 1rem;
        line-height: 1.2;
    }

    .map-image,
    .map-note {
        width: 80%;
        margin: 0 auto;
    }

    .faq-section {
        width: 90%;
        margin: 0 auto;
        padding: 30px 20px;
    }

    .faq-container {
        gap: 5px;
        padding: 0 20px;
    }

    .faq-heading {
        font-size: 1.25rem;
        margin: 0 auto 20px auto;
        text-decoration: underline;
    }

    .carousel-appointment-btn-wrapper {
        margin-top: 30px;
        margin-bottom: 10px;
    }

    #social-icons {
        gap: 40px;
        margin-top: 0;
    }

    .social-link {
        font-size: 33px;
    }

    .site-footer {
        text-align: center;
        flex-direction: column;
        align-items: center;
        font-size: .75rem;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        text-align: center;
    }
}



/*****************************************************Responsive 6*******************************************************/
/* ========== On larger screens: show full text, hide button ========== */
@media (min-width: 481px) {
    .carousel-paragraph {
        max-height: none !important;
        overflow: visible !important;
    }

    .carousel-read-toggle {
        display: none !important;
    }
}


/*****************************************************Responsive 7*******************************************************/
@media (max-width: 480px) {
    header {
        padding: 0 0;
    }

    .icon-btn {
        background-color: #185730;
        color: white;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .nav-brand-text {
        font-size: 1.8rem;
    }

    .nav-logo {
        height: 1.8rem;
    }

    .hero-line1 {
        font-size: 1.5rem;
    }

    .hero-line2 {
        font-size: 1rem;
    }

    .app-btn-hero {
        width: 50%;
        font-size: 0.85rem;
    }

    .info-heading {
        font-size: 1rem;
        margin-left: 1vw;
    }

    .founder-image {
        width: 100%;
    }

    .read-toggle-btn {
        font-size: 0.75rem;
        margin-top: 10px;
    }

    #backToTopBtn {
        padding: 3px 8px;
    }

    .services-list {
        flex-direction: column;
        padding: 5px;
        gap: 10px;
        width: 90%;
        margin: 0 auto;
    }

    .services-list ul {
        padding-left: 18px;
        font-size: 1rem;
        /* Slightly smaller on mobile */
    }

    .services-carousel {
        width: 90%;
        margin: 0 auto;
    }

    .carousel-arrow {
        font-size: 1rem;
        padding: 5px 8px;
    }

    .carousel-content-container {
        padding: 6px;
        padding-top: 44px;
    }

    .carousel-slide h3 {
        font-size: 1.1rem;
    }

    .carousel-paragraph {
        max-height: 8em;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }

    .carousel-paragraph.expanded {
        max-height: 1000px;
    }

    .carousel-read-toggle {
        display: block;
        margin-top: 10px;
        margin-left: auto;
        font-style: italic;
        font-size: 0.85rem;
        background: none;
        border: none;
        color: #1B5730;
        font-weight: bold;
        cursor: pointer;
    }

    .carousel-appointment-btn-wrapper {
        margin-top: 8px !important;
        margin-bottom: 30px;
    }

    .spy-software-image {
        display: inline-block;
        width: 70vw;
        height: auto;
    }

    .client-gender img {
        width: 60px;
    }

    .reviews-heading {
        font-size: 1.4rem;
    }


    .review-box {
        font-size: .9rem;
    }

    .appointment-boxes {
        flex-direction: column;
        align-items: center;
    }

    .responsive-two {
        flex-direction: column;
        align-items: center;
    }

    .qr-caption {
        font-size: 0.8rem;
    }

    .gold-box h3,
    .green-box h3 {
        font-size: 1.55rem;
    }

    .box-caption,
    .whatsapp-qr-section {
        font-size: .8rem;
    }

    .scan-WA-text {
        width: 80%;
    }

    .sessionApp-section {
        width: 80%;
    }

    .contact-highlight .email {
        margin: 0 auto;
        width: 80%;
        font-size: 1rem;
    }

    .officeLocation {
        margin: 0 auto;
        width: 80%;
    }

    .appointment-tnc p {
        font-size: 0.85rem;
    }

    .appointment-tnc li {
        font-size: .75rem;
    }

    .box-row {
        gap: 30px;
    }

    .box-group {
        width: 100% !important;
        max-width: 100%;
    }

    .appointment-wrapper {
        width: 100%;
    }

    .appointment-tnc {
        padding: 5px;
    }

    .faq-section {
        width: 90%;
        margin: 0 auto;
        padding: 30px 20px;
    }

    .faq-container details p {
        font-size: .9rem;
    }

    .social-link {
        font-size: 28px;
    }

    #social-icons {
        gap: 30px;
        margin-top: 0;
    }

    .footer-left,
    .footer-right {
        font-size: 1rem;
    }


    .app-btn-hero {
        width: 35%;
    }

    .app-btn-rest {
        width: 45%;
    }
}
