/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set base font and colors */
:root {
    --yel-color: #FFD64D;
    --pink-color: #F75F60;
    --light-color: #f8f9fa;
    --light-grey: #dedede;
    --text-grey: #626262;
    --WhatsApp: #65C370;
    --purple-light: #9F77C9;
    --font-primary: "century-gothic", sans-serif;
    --font-secondary: 'Georgia', serif;
}

.Yel {
    background-color: var(--yel-color);
}

.Pin {
    background-color: var(--pink-color);
}

.Pur {
    background-color: var(--purple-light);
}

.PurT {
    color: var(--purple-light);
}

.Tsap {
    background-color: var(--WhatsApp);
}

.YelTxt {
    color: var(--yel-color);
}

.PinTxt {
    color: var(--pink-color);
}

.Lgrey {
    background-color: var(--light-grey);
}

.inactive {
    opacity: 0.5;
}

.LGicon {
    font-size: 1.7em !important;
}

.hide {
    display: none !important;
}


body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--purple-light);
    background-image: url('Assets/png/QC_Pattern.png');
    background-repeat: repeat;
    background-size: 250px 250px;
    background-attachment: fixed; 
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--putple-light);
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
}

/* Buttons */

.button {
    flex: 1; 
    padding: 10px 0px;
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    font-weight: 700;
}

.butSpac {
    flex: 0.1; 
    padding: 10px 0px;
    text-align: center;
}

.button:hover {
    opacity: 0.8;
    cursor: pointer;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col {
    flex: 1;
    padding: 0 1rem;
}

/* Forms */

input, textarea, select {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

input::placeholder {
    color: var(--purple-light);
    font-style: italic;
    opacity: 0.5;
}

textarea::placeholder {
    color: var(--purple-light);
    font-style: italic;
    opacity: 0.5;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

/* Utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.ml-1 { margin-left: 1rem; }
.mr-1 { margin-right: 1rem; }

.p-1 { padding: 1rem; }
.pt-1 { padding-top: 1rem; }
.pb-1 { padding-bottom: 1rem; }
.pl-1 { padding-left: 1rem; }
.pr-1 { padding-right: 1rem; }


/*--- General Styles ---*/

/* Loading page */

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--purple-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#mainContent {
    display: none;
}

.spinner {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(83, 39, 83, 0.35);
    border-top: 3px solid var(--yel-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.QCLoad {
    margin: 30px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* HTML: <div class="loader"></div> */
.loada {
      height: 3px;
      width: 250px;
      --c:no-repeat linear-gradient(#7E54A7 0 0);
      background: var(--c),var(--c),#d7b8fc;
      background-size: 60% 100%;
      animation: l16 3s infinite;
}

.loadaPin {
      height: 3px;
      width: 250px;
      --c:no-repeat linear-gradient(#F75F60 0 0);
      background: var(--c),var(--c),#ebc440;
      background-size: 60% 100%;
      animation: l16 3s infinite;
}

@keyframes l16 {
      0%   {background-position:-150% 0,-150% 0}
      66%  {background-position: 250% 0,-150% 0}
      100% {background-position: 250% 0, 250% 0}
}


/* MODALS */

.modal {
    background-color: rgba(159, 119, 201, 0.8);
}

.modal-content {
    border-radius: 21px;
    box-shadow: 0 0px 15px rgba(0,0,0,0.3);
}

.modal-dialog {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
}

/* Sitemap Styles */

#SiteMap p {
    font-size: 0.8em;
}

#SiteMap a {
    font-size: 0.8em;
}

#SiteMap h5 {
    font-size: 1em;
}

/* Navbar Styles */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgb(159, 119, 201, 0.9);
    padding: 1rem;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    z-index: 1000;
    display: flex;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--yel-color);
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s;
}

/* Floating Create Card Button */

.FCC {
    display: none;
    position: fixed;
    color: #FFF;
    bottom: 0;
    right: 0;
    margin: 0px 20px 20px 0px;
    z-index: 1200;
}

.NoteTag {
    display: inline-flex;
    padding: 0.2em 0.6em;
    font-size: 1.1em;
    font-style: italic;
    margin-right: 5px;
    border-radius: 5px;
    background: rgba(60, 28, 93, 0.7);
}

.bounceIn {
    animation: bounceIn 1s ease;
}

@keyframes bounceIn {
    20% { transform: scale(0.85); }
    40% { transform: scale(1.08); }
    60% { transform: scale(0.95); }
    80% { transform: scale(1.0); }
}

.FCCchild {
    display: inline-flex;
    padding: 0.2em 0.6em;
    border: 3px solid #FFF;
    border-radius: 10px;
    font-weight: 900;
    font-size: 1.5em;
    box-shadow: 0 0px 10px rgba(98, 13, 98, 0.8);
    z-index: 1200;
}


/* Section Styles */
.section {
    min-height: 100vh;
    padding: 1rem 1rem 2rem;
    align-items: center;
    justify-content: center;
}

.section2 {
    padding: 1rem 1rem 2rem;
    align-items: center;
    justify-content: center;
}

.TileH {
    border-radius: 20px 20px 0px 0px;
    padding: 0px 20px 0px 20px;
    overflow: hidden;
    text-align: center;
}

.LiteH {
    border-radius: 20px 20px 0px 0px;
    padding: 0px 20px 0px 20px;
    overflow: hidden;
    text-align: center;
}

.LiteLD {
    border-radius: 20px 20px 20px 20px;
    padding: 0px 20px 0px 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
    
}

.THead {
    font-size: 4.7em;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -4px;
    line-height: 1.1em;
    margin-top: 20px;
    margin-left: -30px;
    margin-right: -30px;
    text-align: center;
}

.LHead {
    font-size: 4.7em;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -4px;
    line-height: 1.1em;
    margin-top: 20px;
    margin-left: -30px;
    margin-right: -30px;
    text-align: center;
}

.TileB {
    padding: 25px 30px 20px 30px;
    text-align: left;
    font-weight: 700;
    color: var(--text-grey);
    font-size: 1.1em;
}

.LiteB {
    padding: 25px 30px 20px 30px;
    text-align: center;
    font-weight: 700;
    color: var(--text-grey);
    font-size: 1.1em;
}

.button-container {
    display: flex;
    gap: 20px;
    padding: 10px 0px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.SubHead {
    color: var(--pink-color);
    font-style: italic;
    font-size: 1.8em;
    line-height: 1.2em;
    margin: 25px 0px 15px 0px;
}

.SubHead2 {
    font-style: italic;
    color: var(--yel-color);
    font-size: 4em;
    line-height: 1.2em;
    margin: 25px 0px 15px 0px;
}

#Welcome {
    display: flex;
}

#Welcome img {
    margin-top: -30px;
}

#WhatDo {
    background-color: none;
}

#WhatDo .TileH img {
    margin-top: -30px;
}

#HowWorks {
    background-color: none;
}

#HowWorks .TileH img {
    margin-top: -30px;
}

#CreateCard {
    background-color: none;
}

#CreateCard .TileH img {
    margin-top: -30px;
}

.ComSoon {
    position: absolute;
    background: var(--pink-color);
    padding: 0.2em 2.3em;
    border-radius: 5px;
    right: 0;
    margin-right: -30px;
    color: #FFF;
    border: 2px solid #FFF;
    z-index: 10;
    font-size: 0.8em;
    font-style: italic;
    box-shadow: 0 0px 4px rgba(0,0,0,0.2);
    transform: rotate(32deg);
}

.CreateCard {
    position: relative;
    overflow: hidden;
}

.pMeth {
    display: flex;
    gap: 10px;
    text-align: center;
    padding: 1em 1em;
    color: #FFF;
    border-radius: 10px;
    line-height: normal;
}

.d-flex {
    gap: 10px;
}

#Contact {
    background-color: none;
}

#Contact .TileH img {
    margin-top: -30px;
    text-align: right;
}

#services {
    background-color: #f8f9fa;
}

#contact {
    background-color: #ffffff;
}

#SiteMap {
    background-color: #3c1c5d;
}

.SiteMap {
    display: inline-flex;
}

/*---- Image Carousel ------*/

.carousel-container {
    overflow: hidden;
}

.carousel-row {
    margin: 0;
    overflow: hidden;
    min-height: 0px; /* Set minimum height */
}

.carousel-track {
    display: inline-flex;
    gap: 10px;
    padding: 5px;
    height: auto;
    min-width: min-content; 
}

.carousel-track2 {
    display: inline-flex;
    gap: 8px;
    padding: 0px;
    height: auto;
    min-width: min-content; 
}

.carousel-track3 {
    display: inline-flex;
    gap: 8px;
    padding: 0px;
    height: auto;
    min-width: min-content; 
}

.caro-item {
    flex: 0 0 auto; /* Fixed width for items */
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.caro-item img {
    height: 120px; 
    width: auto;   
    object-fit: cover;  /* This ensures the image isn't stretched */
    display: block;  /* Removes any unwanted space below the image */
}

.caro-item2 img {
    height: 30px; 
    width: auto;   
    object-fit: cover;  /* This ensures the image isn't stretched */
    display: block;  /* Removes any unwanted space below the image */
}

.caro-item3 img {
    height: 170px; 
    width: auto;   
    object-fit: cover;  /* This ensures the image isn't stretched */
    display: block;  /* Removes any unwanted space below the image */
}

/* Animation for left track */
.left-track {
    animation: moveLeft 50s linear infinite;
}

/* Animation for right track */
.right-track {
    animation: moveRight 50s linear infinite;
}

@keyframes moveLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-33.3%);
    }
}

@keyframes moveRight {
    0% {
        transform: translateX(-33.3%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Pause animations on hover */
.carousel-track:hover {
    animation-play-state: paused;
}

/*----- Image Carousel END ------*/

.content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    background-color: #FFF;
    border-radius: 20px;
    box-shadow: 0 0px 10px rgb(92, 62, 92, 0.7);
}

/* Contact Form Styles */
.contact-form {
    max-width: 2000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
}

.form-group {

}

.form-group input:focus {
    outline: 2px solid #FF7374;
}

.form-group textarea:focus {
    outline: 2px solid #FF7374;
}


.form-group label {
    display: block;
    margin-bottom: 0.2rem;
    color: #333;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.45rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fcfcfc;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.iti {
    width: 100% !important;   
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    
    .nav-links {
        display: none;
        position: absolute;
        height: 100vh;
        z-index: -1;
        top: 0;
        left: 0;
        right: 0;
        background-color: rgb(159, 119, 201, 0.9);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        justify-content: center;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .burger.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active div:nth-child(2) {
        opacity: 0;
    }

    .burger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .contact-form {
        margin: 0.2rem;
        padding: 0.2rem;
    }

    .row {
        flex-direction: column;
    }
    
    .col {
        width: 100%;
        margin-bottom: 1rem;
    }
    .THead {
        text-align: left;
        margin-top:10px;
    }
    
    .LHead {
        text-align: centre;
    }
    
    .butSpac {
        display: none;
    }
    
    .TileB {
        padding: 15px 15px 5px 15px;
        text-align: left;
        font-weight: 700;
        color: var(--text-grey);
        font-size: 0.95em;
    }
    
}

@media (max-width: 585px) {
    
    #Welcome img {
        width: 70vw;
    }

    #WhatDo .TileH img {
        margin-top: -70px;
        width: 80vw;
        margin-left: 3em;
    }
    
    #HowWorks .TileH img {
        margin-top: -70px;
        width: 45vw;
        margin-left: 9em;
    }
    
    #CreateCard .TileH img {
        margin-top: -80px;
        margin-left: 30px;
        width: 75vw;
    }
    
    #Contact .TileH img {
        margin-top: -40px;
        width: 45vw;
        margin-left: 8em;
    }
  
}