/* navigation */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px;
    background-color: transparent;
}

.navbar ul {
    list-style: none;
    margin: 0.25rem 0;
}


.nav-links a {
    color: inherit;
    text-decoration: none;
}

.menu a,
.dropdown a {
    text-decoration: none;
}

.menu a:hover,
.dropdown a:hover {
    text-decoration: none;
}

.menu {
    display: flex;
    gap: 1em;
    font-size: 1rem;
}

.menu li {
    padding: 5px 14px;
}

.menu li:hover {
    background-color: #71C9CE;
    border-radius: 5px;
    transition: 0.3s ease;
}

.menu li#signup {
    padding: 5px 14px;
    background-color: #71C9CE;
    border-radius: 5px;
}

.menu li#signup:hover {
    background-color: #45a8c2;
    transition: 0.3s ease;
}

.menu li#signup a {
    color: #ffffff;
}

/* DROPDOWN MENU */
.services {
    position: relative;
}

.dropdown {
    background-color: #f2f2f2;
    padding: 10px 0;
    position: absolute;
    display: none;
    border-radius: 8px;
    top: 100%;  /* Ensures it attaches to the bottom of the button */
    left: 0;
    z-index: 1000;
}

.dropdown::before {
    content: "";
    position: absolute;
    top: -20px;    /* Extends the 'safe zone' 20px upwards */
    left: 0;
    width: 100%;
    height: 20px;  /* Matches the top offset */
    background-color: transparent; /* It is invisible */
    display: block;
}

.dropdown li+li {
    margin-top: 10px;
}

.dropdown li {
    padding: 0.5em 15px;
    width: 5em;
    text-align: center;
}

.dropdown li:hover {
    background-color: #71C9CE;
}

.services:hover .dropdown {
    display: block;
}

/* RESPONSIVE NAVBAR MENU */

input[type=checkbox] {
    display: none;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    font-size: 24px;
    user-select: none;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background-image: url('../images/background1.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-dark);
    background-color: var(--background-light);
    font-size: 1rem !important;
}


/* =========================================
   1. PC / DESKTOP VIEW (Default Styles)
   This applies to large screens (>1024px)
   ========================================= */
.navbar .logo {
    display: flex;          /* Aligns items side-by-side */
    align-items: center;    /* Vertically centers them */
    gap: 24px;              /* Comfortable gap for big screens */
}

.brand-vidcall {
    height: 40px;           /* Large fixed height for PC */
    width: auto;
    margin-top: 6px;           /* Keeps the image aspect ratio correct */
}

.brand-apd {
    height: 75px;           /* Large fixed height for PC */
    width: auto;
}

/* =========================================
   2. TABLET / LAPTOP VIEW (Max 1024px)
   Starts shrinking elements smoothly
   ========================================= */
@media (max-width: 1024px) {
    .navbar .logo {
        gap: 16px;          /* Reduce gap slightly */
    }

    .brand-vidcall {
        margin-left: 1rem; 
        height: clamp(28px, 4vw, 36px); 
    }

    .brand-apd {
        height: clamp(50px, 7vw, 65px);
    }
}

/* =========================================
   3. MOBILE PHONE VIEW (Max 768px)
   Optimized for tight spaces
   ========================================= */
@media (max-width: 768px) {
    .navbar .logo {
        gap: 10px;          /* Tight gap for mobile */
    }

    .brand-vidcall {
        /* Force smaller size on mobile if clamp isn't shrinking enough */
        height: 24px;       
    }

    .brand-apd {
        height: 45px;
    }
}

.title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh;
}

.title-text {
    max-width: 80%;
    text-align: center;
}

.title-text h3 {
    font-size: 35px;
    margin-bottom: 10px;
}

.title-text p {
    font-size: 20px;
    margin-bottom: 20px;
}

/* button style */
.title-text a button,
.end-banner button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.title-text a button:hover,
.end-banner button:hover {
    background-color: #0056b3;
}

/* content container */
.home-content {
    padding-top: 20px;
    background-color: #ffffff;
}

/* why tabs */
.why_tabs {
    text-align: center;
    padding: 0 30px 30px 30px;
}

.why_tabs h1{
    margin: 0;
    padding-bottom: 10px;
}

.tab {
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.tab button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 18px;
    color: #333;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s ease-in-out;
}

.tab button.active {
    border-bottom-color: #4EC6DE;
}

.tab button:hover {
    border-bottom-color: #3d3d3d;
}

.tabcontent {
    display: none;
    padding: 20px;
    text-align: left;
    animation: fadeEffect 0.5s;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.tabcontent .text-content{
    font-size: 20px;
}

.tabcontent-wrapper {
    display: flex;
    align-items: center;
}

.chat-image {
    max-width: 650px;
    max-height: 400px;
    margin-right: 20px;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.end-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.end-banner:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the last value (0.5) to change the darkness level */
    z-index: 1;
}

.end-banner h1,
.end-banner .end-banner-button {
    position: relative;
    z-index: 2;
}

.end-banner-button {
    display: flex;
    gap: 10px;
}

.end-banner h1 {
    font-size: 2.5em;
}

/* Media query for small screens */
@media only screen and (max-width: 1024px) {
    .hamburger {
        display: block;  /* This was missing! */
        cursor: pointer;
    }

    /* 2. HIDE THE REGULAR MENU LINKS */
    /* (Otherwise you will see both the links AND the hamburger) */
    .menu {
    display: none;
}

/* 2. THE NEW "ACTIVE" STATE - This makes it appear! */
.menu.active {
    display: flex;           /* Show the menu */
    flex-direction: column;  /* Stack items vertically */
    position: absolute;      /* Float it above content */
    top: 70px;               /* Push it below the navbar */
    left: 0;
    width: 100%;             /* Full width */
    background-color: #ffffff; /* White background */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); /* Drop shadow */
    padding: 20px 0;
    z-index: 1000;           /* Ensure it sits on top of everything */
    text-align: center;
}

/* Optional: Add spacing between links in the dropdown */
.menu.active li {
    margin: 10px 0;
}
/* =========================================
   FIX FOR DROPDOWNS ON MOBILE
   Paste this inside the @media (max-width: 1024px) block
   ========================================= */

/* 1. Stop the menu from floating */
.services .dropdown {
    position: static;        /* Makes it stack naturally below the link */
    width: 100%;             /* forces it to take full width */
    box-shadow: none;        /* Remove shadow for a cleaner look */
    background-color: #e6e6e6; /* Slightly darker to distinguish it */
    border-radius: 0;
}

/* 2. Fix the "Jot Down" items being too narrow */
.dropdown li {
    width: 100%;             /* Overrides the "5em" limit from PC view */
    text-align: center;      /* Keeps text centered */
    box-sizing: border-box;  /* Ensures padding doesn't break layout */
    border-bottom: 1px solid #fff; /* Optional separator line */
}

/* 3. Ensure it appears when you tap the parent */
.services:hover .dropdown,
.services:active .dropdown {
    display: block;
}

    .navbar .logo {
        gap: 16px;
    }

    .home-content {
        padding: 20px 5%; /* Adds 5% space on left/right sides */
    }

    .content {
        padding: 2%;
    }

    .title {
        height: 50vh;
    }
    
    .title .title-text {
        max-width: 90%;
    }

    /* 2. Fix the Tabs Layout */
    .tab {
        flex-direction: column;
        align-items: center;
        gap: 10px; /* Adds space between the buttons when stacked */
    }

    .tab button {
        margin: 5px 0; /* Add margin top/bottom instead of sides */
        width: 100%;   /* Optional: makes buttons full width on phone */
        max-width: 300px;
    }

    .tabcontent {
        padding: 0 10px 20px 10px;
        text-align: center; /* Centers the text description */
    }

    /* 3. CENTER the Image and Text Wrapper */
    .tabcontent-wrapper {
        flex-direction: column;
        align-items: center; /* CHANGE THIS: flex-start -> center */
        justify-content: center;
    }

    .chat-image {
        max-width: 90%; /* Prevents image from hitting screen edges */
        margin-right: 0;
        margin-bottom: 25px; /* Adds space between image and text */
        height: auto;
    }

    .end-banner h1 {
        font-size: 2em;
    }

    .content {
        padding: 2%;
    }

    .title {
        height: 50vh;
    }
    
    .title .title-text {
        max-width: 90%;
    }

    .title-text a button,
    .end-banner button {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    .tab {
        flex-direction: column;
        align-items: center;
    }

    .tab button {
        margin: 0 5px;
    }

    .tabcontent {
        padding: 0 10px 20px 10px;
    }

    .tabcontent-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .chat-image {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .end-banner h1 {
        font-size: 2em;
    }
}

/* START OF POLICY.PHP*/
.policycontent{
    margin: 0 auto;
}

.policy-title {
    text-align: center;
}

.policy-title h1 {
    color: #333;
    font-size: 28px;
}

.policy-text {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.policy-text h2 {
    color: #333;
    font-size: 24px;
    margin-top: 20px;
}

.policy-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 10px;
}

.policy-text b {
    color: #333;
}

/* =============== */
/* START OF FOOTER */
/* =============== */

/* 1. Main Footer Container */
footer, .footer {
    width: 100%;
    padding: 20px 0; 
    margin-top: auto; 
    background-color:#eee;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    gap: 15px; 
    position: relative; 
    text-align: center;
}

/* 2. Logo Container Alignment */
footer .logo, .footer .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; 
    margin-top: 0;
}

/* 3. Logo Sizing */
footer .footer-brand-vidcall {
    margin-top: 1rem;
    height: 45px !important;
    width: auto !important;
    filter: drop-shadow(0px 1px 1px rgba(0,0,0,0.1));
}

footer .footer-brand-apd {
    height: 65px !important;
    width: auto !important;
    object-fit: contain !important;
    padding-left: 20px;
}

/* 4. Text and Link Styling */
footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d; 
}

footer a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* 5. Mobile Adjustments */
@media (max-width: 768px) {
    footer .logo {
        flex-direction: column; 
        gap: 10px;
    }
    
    footer .footer-brand-apd {
        border-left: none; 
        padding-left: 0;
        height: 55px !important;
    }
}
/* ============= */
/* END OF FOOTER */
/* ============= */

@media only screen and (max-width: 768px) {
    .policy-text {
        margin-bottom: 20px;
    }
}


/* START OF PRICING */
/* start title */
.start-intro {
    text-align: center;
}

.start-intro h1 {
    font-size: 3em;
    background: linear-gradient(90deg, hsla(217, 100%, 50%, 1) 0%, hsla(186, 100%, 69%, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* pricing card */
.card-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    flex-wrap: wrap;
    padding: 2% 0 5% 0;
}

/* pricing card */
.pricing-card {
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    flex: 0 1 350px;
    height: auto;
    margin: 20px;
    background-color: #f9f9f9;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-card h3 {
    font-size: 25px;
    color: #333;
}

.pricing-card p {
    font-size: 20px;
    color: #666;
}

.pricing-card .price {
    font-size: 20px;
    margin-bottom: 10px;
    color: #666;
}

.pricing-card .features {
    margin-top: 20px;
    padding: 0%;
    text-align: center;
    font-size: 18px;
}

.pricing-card .features li {
    list-style-type: none;
    margin-bottom: 10px; 
}

.pricing-card .cta-btn {
    display: block;
    width: 80%;
    margin: 0px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pricing-card .cta-btn:hover {
    background-color: #0056b3;
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
    .pricing-card {
        width: 90%;
        margin: 20px auto;
    }

    .start-intro h1 {
        font-size: 2em;
    }
}

/* ================== */
/* START OF ABOUT.PHP */
/* ================== */
.about-content {
    padding: 30px 20px;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
}

.about-text {
    flex: 1;
    padding: 0 20px;
    max-width: 50%;
}

.about-text h2 {
    color: #333;
}

.about-text p {
    color: #666;
}

.about-image {
    flex: 1;
    text-align: center;
    max-width: 50%;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

.contact {
    margin-top: 30px;
    margin-bottom: 30px;
}

.contact-info {
    margin-top: -0.5vw;
}

.contact-item {
    margin-bottom: 15px;
    text-align: left;
    font-size: 20px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.contact-item p {
    margin: 0;
    color: #007bff;
}

/* Responsive styles */
@media only screen and (max-width: 1024px) {
    .about-text,
    .about-image {
        max-width: 100%;
        padding: 0 10px;
    }

    .about-container {
        flex-direction: column;
    }

    .contact-item strong {
        display: inline;
        margin-bottom: 0;
    }
}
/* ================== */
/* END OF ABOUT.PHP */
/* ================== */