/* FONT IMPORT */

/* Local Font */
@font-face {
	font-family: "Palatino";
    src: url("/fonts/palr45w.woff") format("woff"),
         url("/fonts/palr45w.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
  }

:root {
    --white: #fff;
    --black: #000;
    --primary: #8AA8AD;
    --secondary: #111111;
}

/* Add -webkit- prefix for Safari compatibility */
.transparent-background {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    position: relative;
    background: #fff;
    overflow-x: hidden;
    height: 100%;
    font-family: 'Palatino', sans-serif;
}

section {
    position: relative;
}

.img-auto {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

a,
button {
    text-decoration: none !important;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

a:hover,
button:hover {
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

figure {
    margin: 0;
}


/* Cursor Start */

.mouse-cursor {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    border-radius: 50%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    visibility: hidden;
}

.cursor-inner {
    margin-left: 2px;
    margin-top: 2px;
    width: 7px;
    height: 7px;
    z-index: 10000001;
    background-color: var(--primary);
    -webkit-transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out, opacity 0.3s ease-in-out;
    -o-transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.cursor-inner.cursor-hover {
    margin-left: -10px;
    margin-top: -10px;
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    opacity: 0.3;
}


/* Cursor End */


/* PRELOADER */

.preLoader {
    width: 100%;
    height: 100%;
    z-index: 1111;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.preLoader.black {
    background-color: var(--black);
    z-index: 11113;
}



/* PRELOADER */

/* Force centering of all main logos regardless of parent flex/grid/utility classes */
.preLoader img,
.mainBanner .bannerContent > a,
.footerContent a img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  text-align: center !important;
}

.preLoader,
.preLoader.black,
.preLoader.white {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mainBanner .bannerContent {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.footerContent {
  text-align: center !important;
}

/* Main Banner Css Start */

.mainBanner {
    background: url(../images/mainBanner.png)center/cover;
    background-attachment: fixed; /* Default for desktop */
    background-attachment: local; /* Fallback for mobile Safari */
    height: 1000px;
    display: flex;
    align-items: center;
}

.mainBanner:before {
    content: "";
    position: absolute;
    background: var(--black);
    opacity: 30%;
    inset: 0;
}

.bannerContent h1 {
    color: var(--primary);
    font-size: 8.125rem;
    margin: 3rem 0 2rem 0;
}

.bannerContent p {
    color: var(--white);
    font-size: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.3;
    margin: 0;
}

/* Main Banner Css End */

/* About Sec Css Start */

.aboutSec {
    padding: 6.25rem 0;
}

.smallHeading {
    color: var(--primary);
    text-transform: capitalize;
    font-size: 1.875rem;
}

.secHeading {
    color: var(--primary);
    text-transform: capitalize;
    font-size: 5em;
}

.aboutContent p {
    color: var(--secondary);
    font-size: 1.5rem;
    letter-spacing: 2px;
    width: 96%;
    margin: 1rem auto 0;
}

/* About Sec Css End */

/* Dynamic Content Css Start */
#dynamicContent {
    display: none;
}
/* Dynamic Content Css End */

/* Solution Sec Css Start */

.solutionSec {
    background: url(../images/solutionBg.png)center/cover fixed;
    padding: 3.75rem 0;
}

/* Solution Sec Css End */

/* Moment Sec Css Start */

.momentBox {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2rem;
    display: block;
    width: 100%; /* Adjust as needed */
    max-width: 300px; /* Example size for desktop */
    margin: 1rem auto;
}

.momentBox h3 {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--primary);
}

.momentBox:before {
    content: "";
    position: absolute;
    background: var(--black);
    inset: 0;
    opacity: 20%;
    transition: 0.5s ease;
}

.momentBox:hover:before{
    opacity: 50%;
}

/* Styles for mobile screens */
@media (max-width: 768px) { /* Target screens smaller than 768px */
    .momentBox {
        max-width: 200px; /* Scale down for mobile */
        position: relative;
        display: block;
        margin: 0.4rem auto; /* Adjust spacing */
    }

    .momentBox img {
        width: 100%; /* Ensure images scale with the container */
        height: auto;
    }

    .momentBox h3 {
        font-size: .5rem; /* Adjust font size for smaller screens */
    }
}

/* Moment Sec Css End */

/* Footer Css Start */

footer {
    background: url(../images/footerBg.png)center/cover;
    padding: 5rem 0;
}

.footerContent p {
    color: var(--white);
    font-size: 1.875rem;
    letter-spacing: 2px;
    margin: 2.5rem 0 1.5rem 0;
}

.footerContent ul li a {
    color: var(--white);
    font-size: 1.25rem;
}

.footerContent ul li a:hover{
    color: var(--primary);
}

.footerContent ul li:nth-child(2) a {
    font-weight: 600;
    font-size: 1.5rem;
}

/* Footer Css End */