@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --light: #d7dbd2;
    --dark: #000;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Oxanium", sans-serif;
    background-color: var(--dark);
    opacity: 0;
}

body::-webkit-scrollbar {
    display: none;
}

body.active {
    opacity: 1;
}

@media (prefers-color-scheme: dark) {
    body { background-color: var(--dark); }
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #000000;
    z-index: 0;
}

#starCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-section .hero-content {
    text-align: center;
    width: 100%;
    color: white;
    position: relative;
}

.hero-section .bg {
    --bg:url("../images/spaceship2.png");
    background-image: var(--bg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    filter: brightness(0.3);
    
    /* Fluid scaling based on viewport width */
    transform: scale(calc(1.7 + (100vw - 1920px) * 0.001));
    background-position: center calc(75px + (100vh - 1080px) * 0.1);
}

/* Center container for pretitle and title */
.hero-section .center-content {
    position: relative;
}

.hero-section .pretitle h3 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: clamp(15px, 4vw, 20px);
    text-transform: uppercase;
    background-color: #EE4435;
    color: white;
    padding: clamp(10px, 3vw, 15px) clamp(12px, 3vw, 15px);
    padding-bottom: clamp(10px, 3vw, 13px); 
    display: inline-block;
    border-radius: 20px;
}

.hero-section .subtitle1, 
.hero-section .subtitle2,
.hero-section .subtitle3,
.hero-section .subtitle4 {
    position: absolute;
    left: 0;
    right: 0;
    top: 80%;
    transform: translateY(300px);
    opacity: 0;
    z-index: 2;
}

.hero-section .subtitle1 h3, 
.hero-section .subtitle2 h3,
.hero-section .subtitle3 h3 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin: clamp(8px, 2vw, 10px) 0;
    max-width: min(90%, 800px);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 0 20px;
}

.hero-section .subtitle4 p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin: clamp(8px, 2vw, 10px) 0;
    max-width: min(90%, 800px);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.4;
    color: #e0e0e0;
    padding: 0 20px;
}

.hero-content .title h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 600;
    letter-spacing: clamp(2px, 2vw, 10px);
    margin: clamp(20px, 6vw, 40px) 0;
    transition: all 0.1s ease;
    color: #EE4435;
    z-index: 1;
    padding: 0 20px;
}


@media (max-width: 768px) {
    .hero-section .subtitle1, 
    .hero-section .subtitle2,
    .hero-section .subtitle3,
    .hero-section .subtitle4 {
        transform: translateY(200px);
    }
    
    .hero-content .title h1 {
        letter-spacing: clamp(1px, 1.5vw, 5px);
    }
}

@media (max-width: 480px) {
    .hero-section .subtitle1 h3, 
    .hero-section .subtitle2 h3,
    .hero-section .subtitle3 h3 {
        font-size: 1.8rem;
    }
    
    .hero-section .subtitle4 p {
        font-size: 1.1rem;
    }
    
    .hero-content .title h1 {
        font-size: 2.5rem;
        margin: 25px 0;
    }
}

.flip-word {
    display: inline-block;
    position: relative;
    color: #EE4435;
    font-weight: 600;
}

.flip-word span {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: rotateX(90deg);
    transform-origin: bottom;
    transition: all 1s ease;
}

.flip-word .interactive {
    opacity: 1;
    position: relative;
    transform: rotateX(0);
}

.flip-word .innovative {
    transform: rotateX(90deg);
    opacity: 0;
}

.flip-word .impactful {
    transform: rotateX(90deg);
    opacity: 0;
}

.white-dot {
    color: white;
    display: inline-block; 
    transition: transform 0.3s ease;
}

:root {
    --dot-move-interactive: 0px;
    --dot-move-innovative: -5px;
    --dot-move-impactful: -15px;
}

@media (max-width: 768px) {
    :root {
        --dot-move-innovative: -8px;
        --dot-move-impactful: -15px;
    }
}

@media (max-width: 480px) {
    :root {
        --dot-move-innovative: -2px;
        --dot-move-impactful: -10px;
    }
}

.parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    min-height: 80vh; 
    padding: 30px; 
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 80px;
}

.div1 { 
    grid-area: 1 / 1 / 3 / 4; 
    background: rgba(255, 255, 255, 0);
    border-radius: 16px;
    margin: 8px; 
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    overflow: hidden;
}

.div2 { 
    grid-area: 1 / 4 / 4 / 6; 
    margin: 8px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.div3 { 
    grid-area: 3 / 1 / 6 / 3; 
    margin: 8px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.div4 { 
    grid-area: 4 / 3 / 6 / 6; 
    background: rgba(255, 255, 255, 0);
    border-radius: 16px; 
    margin: 8px;
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    overflow: hidden;
}

/* Content Styling */
.mission-section, .vision-section {
    padding: 30px;
}

.content-wrapper {
    max-width: 550px; 
    padding-left: 20px;
}

.content-wrapper h1 {
    font-size: 2rem; 
    font-weight: 700;
    margin-bottom: 20px; 
    color: #fff;
    letter-spacing: 1.5px;
}

.content-wrapper p {
    font-size: 1rem; 
    line-height: 1.5; 
    color: #e0e0e0;
    font-weight: 300;
}

/* Image Styling */
.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(238, 68, 53, 0.1), rgba(26, 26, 46, 0.3));
    transition: background 0.3s ease;
}

.core-values-section {
    --bg:url('../images/footer-right2.png');
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.core-values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 50%, 
        rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 50%, 
        rgba(0,0,0,0) 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #EE4435;
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card {
    background: rgba(15, 15, 15, 0.99);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(238, 68, 53, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    background: rgba(15, 15, 15, 0.79);
    box-shadow: 0 20px 40px rgba(238, 68, 53, 0.2);
    border-color: rgba(238, 68, 53, 0.3);
}

.value-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: rgba(238, 68, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.value-card:hover .card-icon {
    background: rgba(238, 68, 53, 0.2);
    transform: scale(1.1);
}

.card-icon i {
    font-size: 2.5rem;
    color: #EE4435;
    transition: all 0.4s ease;
}

.value-card:hover .card-icon i {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    font-weight: 300;
    margin: 0 auto;
}

/* Decorative corner elements */
.value-card::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    transition: all 0.4s ease;
}

.value-card:nth-child(1)::after {
    top: 15px;
    left: 15px;
    border-top: 2px solid rgba(238, 68, 53, 0.5);
    border-left: 2px solid rgba(238, 68, 53, 0.5);
    border-radius: 8px 0 0 0;
}

/* .value-card:nth-child(2)::after {
    top: 15px;
    right: 15px;
    border-top: 2px solid rgba(238, 68, 53, 0.5);
    border-right: 2px solid rgba(238, 68, 53, 0.5);
    border-radius: 0 8px 0 0;
} */

.value-card:nth-child(3)::after {
    bottom: 15px;
    right: 15px;
    border-bottom: 2px solid rgba(238, 68, 53, 0.5);
    border-right: 2px solid rgba(238, 68, 53, 0.5);
    border-radius: 0 0 8px 0;
}

.value-card:hover::after {
    border-color: #EE4435;
    width: 40px;
    height: 40px;
}

/* Fallback for browsers that don't support calc in transform */
@media (max-width: 1920px) {
    .hero-section .bg {
        transform: scale(1.7);
    }
}

@media (max-width: 1440px) {
    .hero-section .bg {
        transform: scale(1.9);
        background-position: center 50px;
    }

    .hero-content {
        bottom: 3%;
    }
}

@media (max-width: 1200px) and (max-height: 740px) {
    .hero-section .bg {
        transform: scale(1.9);
        background-position: center 100px;
    }
    .hero-content {
        top: 5%;
    }
}


@media (max-width: 1200px) {
    .hero-section .bg {
        transform: scale(1.9);
        background-position: center 100px;
    }
    .hero-content {
        top: 5%;
    }
}

@media (max-width: 900px) and (max-height: 740px) {
    .hero-section .bg {
        transform: scale(1.9);
        background-position: center 100px;
    }
    .hero-content {
        top: -2%;
    }
}

@media (max-width: 900px) {
    .hero-section .bg {
        transform: scale(1.9);
        background-position: center 100px;
    }
    .hero-content {
        top: 0%;
    }
}

@media (max-width: 768px) {
    .hero-section .bg {
        transform: scale(1.9);
        background-position: center 100px;
    }
    .hero-section .subtitle3 {
        margin-top: 50px; 
    }
    .hero-section .subtitle4 {
        margin-top: 20px; 
    }
}

@media (max-width: 480px) {
    .hero-section .bg {
        transform: scale(1.9);
        background-position: center 100px;
    }
    .hero-content {
        top: 0%;
    }
}

@media (max-height: 650px) {

    .hero-content {
        top: 10%;
    }
}


/* Responsive Design */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .core-values-section {
        padding: 60px 20px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .value-card {
        padding: 40px 25px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
    }
    
    .card-icon i {
        font-size: 2rem;
    }
    
    .value-card h3 {
        font-size: 1.6rem;
    }
    
    .value-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 468px) {
    .value-card p {
        max-width: 95%;
    }
}

/* Hover Effects */
.div1:hover, .div4:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.div2:hover .image-container img,
.div3:hover .image-container img {
    transform: scale(1.05);
}

.div2:hover .image-overlay,
.div3:hover .image-overlay {
    background: linear-gradient(45deg, rgba(238, 68, 53, 0.2), rgba(26, 26, 46, 0.4));
}

/* Decorative Elements */
.mission-section::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 45px;
    height: 45px;
    border-top: 2px solid #EE4435;
    border-left: 2px solid #EE4435;
    border-radius: 10px 0 0 0;
}

.mission-section::after {
    content: "";
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    border-bottom: 2px solid #EE4435;
    border-right: 2px solid #EE4435;
    border-radius: 0 0 10px 0;
}

.vision-section::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    border-top: 2px solid #EE4435;
    border-right: 2px solid #EE4435;
    border-radius: 0 10px 0 0;
}

.vision-section::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 45px;
    height: 45px;
    border-bottom: 2px solid #EE4435;
    border-left: 2px solid #EE4435;
    border-radius: 0 0 0 10px;
}

@media (max-width: 768px) {
    .parent {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 15px;
        min-height: auto;
    }
    
    .div1, .div2, .div3, .div4 {
        grid-area: auto;
        min-height: 250px; 
        margin: 6px; 
    }
    
    .mission-section, .vision-section {
        padding: 20px; 
    }

    .div1 { 
        grid-area: auto;
        order: 1; 
    }
    .div2 { 
        grid-area: auto;
        order: 2;
    }
    .div3 { 
        grid-area: auto;
        order: 4; 
    }
    .div4 { 
        grid-area: auto;
        order: 3;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .parent {
        padding: 10px;
    }
    
    .mission-section, .vision-section {
        padding: 15px;
    }

    .content-wrapper {
        width: 350px; 
    }
    
    .content-wrapper h1 {
        font-size: 1.6rem;
    }
    
    .content-wrapper p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .div1, .div2, .div3, .div4 {
        min-height: 200px;
        margin: 4px;
        border-radius: 12px;
    }
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
}

/* Only show preloader when it has the 'active' class */
.preloader.active {
    display: flex;
}

/* nav bar */
.nav {
    width: 100%;
    height: 65px;
    position: fixed;
    line-height: 65px;
    text-align: center;
    z-index: 9999;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    max-width: 1600px;
    margin: 0 auto;
    left: 0;
    right: 0;    
    transition: all 0.4s ease;
    opacity: 0; /* Start hidden */
    transform: translateY(-100px); /* Start above viewport */
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 3rem;
    margin-top: 5px;
}

.nav div.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
}

.nav div.logo img {
    width: 30px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.nav div.logo a:hover {
    color: #EE4435;
}

.nav div.main_list {
    height: 65px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: #fff;
    line-height: 65px;
    font-size: 1rem;
    text-transform: uppercase;
}

.nav div.main_list ul li a:hover {
    color: #EE4435;
}

.navTrigger {
    display: none;
}

.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 21px;
}

.navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    padding: 0;
    background-color: #111;
}

.preloader-counter {
  font-size: 3rem;
  background: linear-gradient(60deg, rgba(234, 88, 50, 1) 0%, rgba(222, 64, 41, 1) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: rgba(234, 88, 50, 1);
}


/* Spotlight Anim */
.spotlight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight h1 {
    font-size: clamp(24px, 3vw, 54px);
    font-weight: 600;
    line-height: 1;
}

.spotlight {
    position: relative;
    width: 100vw;
    height: 100svh;
    padding: 2rem;
    overflow: hidden;
}

#our-services .card-content {
    color: white 
}

/* Our Works Section */
.our-works {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--dark);
    overflow: hidden;
    background-image: url("../images/our-works-bg-v2.png");
    background-position: 50% 45%;
    background-repeat: no-repeat;
}

.our-works-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 2rem;
    pointer-events: none;
}

.our-works-heading h2 {
    font-family: "Oxanium", sans-serif;
    font-size: clamp(24px, 3vw, 54px);
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(100px);
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.gallery-track {
    position: absolute;
    display: flex;
    height: 100vh;
    will-change: transform;
    padding-left: 100vw; 
    align-items: center;
}

.gallery-item {
    position: relative;
    width: 25vw;
    height: 50vh;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateX(100px) translateY(80px);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
    margin-right: 4vw;
}

/* Alternate item heights and vertical positions */
.gallery-item:nth-child(odd) {
    margin-top: -20vh;
    height: 40vh;
}

.gallery-item:nth-child(even) {
    margin-top: 20vh;
    height: 45vh;
}

.gallery-item:hover {
    transform: translateX(0) translateY(-15px) scale(1.03);
}

.item-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover .item-image img {
    transform: scale(1.1);
}

.item-title {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 2;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.02em;
    opacity: 1;
    transform: translateY(0);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .item-overlay {
    opacity: 0.2;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-indicator::after {
    content: "";
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.7);
    margin-left: 0.5rem;
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-item {
        width: 35vw;
        height: 55vh;
    }
    
    .gallery-item:nth-child(odd),
    .gallery-item:nth-child(even) {
        height: 40vh;
    }
    
    .item-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .gallery-track {
        padding-left: 100vw;
    }
    
    .gallery-item {
        width: 60vw;
        height: 50vh;
        margin-right: 3vw;
    }
    
    .gallery-item:nth-child(odd),
    .gallery-item:nth-child(even) {
        height: 40vh;
        margin-top: 0;
    }
    
    .item-title {
        font-size: 1.6rem;
        top: 1.5rem;
        left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 75vw;
        height: 40vh;
    }
    
    .item-title {
        font-size: 1.4rem;
    }
}

/* Contact Us Section */
.contact-footer-background {
    --bg: url("../images/footer-right2.png");
    position: relative;
    margin-bottom: 75px;
}

.contact-footer-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
        var(--bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 50%, 
        rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 50%, 
        rgba(0,0,0,0) 100%);
    z-index: -1;
    
}

.contact-section {
    position: relative;
    z-index: 10;
    min-height: 70vh;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 15vh 1rem 2rem;
}

.contact-container {
    width: min(95%, 800px);
    background: rgba(16, 16, 18, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(238, 68, 53, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.contact-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 0.75rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 0.375rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: var(--light);
    font-size: 0.8rem;
    font-family: "Oxanium", sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
        }

.form-group select {
    cursor: pointer;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: var(--light);
    font-size: 0.9rem;
    font-family: "Oxanium", sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-select-trigger:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-top: 4px;
    z-index: 1000;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.custom-options.active {
    display: block;
}

.custom-option {
    padding: 10px 12px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    background: #1a1a1a;
}

.custom-option:hover:not(.selected) {
    background: #EE4435 !important;
    color: #ffffff !important;
}

.custom-option.selected {
    background: #EE4435 !important;
    color: #ffffff !important;
    font-weight: 600;
}

.custom-option:last-child {
    border-bottom: none;
}

#howDidYouKnow {
    padding: 12px 45px 12px 15px;
    
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    width: 100%;
    font-size: 16px;
    cursor: pointer;
}

#howDidYouKnow:focus {
    outline: none;
    border-color: #EE4435;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23EE4435' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

#howDidYouKnow::-ms-expand {
    display: none;
}

#howDidYouKnow option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 10px;
    font-size: 16px;
}

#howDidYouKnow option:hover,
#howDidYouKnow option:focus,
#howDidYouKnow option:checked {
    background: #EE4435;
    color: #ffffff;
}

.submit-btn {
    margin-top: auto;
    background: linear-gradient(170deg, #EE4435 44%, #72ADBB 98%);
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 18px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: "Oxanium", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(238, 68, 53, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Form Error Styling */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #EE4435;
    background: rgba(238, 68, 53, 0.1);
    box-shadow: 0 0 0 3px rgba(238, 68, 53, 0.1);
}
/* Custom dropdown for 1200px+ */
    .custom-select-trigger {
        padding: 0.8rem;
        font-size: 0.9rem;
        min-height: 46px;
    }
    
    .custom-option {
        padding: 0.8rem;
        font-size: 0.9rem;
        min-height: 46px;
    }
/* Responsive Design */
@media (min-width: 1920px) {
    .our-works {
        background-position: 50% 30%;
    }

    .contact-section {
        min-height: 85vh;
        padding: 10vh 1rem 2rem;
    }
    
    .contact-container {
        width: min(75%, 1200px); 
        padding: 2.5rem;
    }
    
    .contact-header h1 {
        font-size: 2.25rem;
    }
    
    .contact-header p {
        font-size: 1.1rem;
    }
    
    .contact-form {
        gap: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .submit-btn {
        padding: 0.875rem 1.75rem;
        font-size: 1.1rem;
    }
    
    /* Custom dropdown for 1920px+ */
    .custom-select-trigger {
        padding: 0.875rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .custom-option {
        padding: 0.875rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .custom-select-trigger .arrow {
        font-size: 1rem;
    }
}

@media (min-width: 1400px) {
    .contact-section {
        min-height: 80vh;
        padding: 12vh 1rem 2rem;
    }
    
    .contact-container {
        width: min(85%, 1000px);
        padding: 2rem;
        transform: scale(1);
    }
    
    .contact-header {
        margin-bottom: 2rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-header p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .contact-form {
        gap: 1.25rem;
    }
    
    .form-row {
        gap: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .submit-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        border-radius: 20px;
    }
    
    /* Custom dropdown for 1400px+ */
    .custom-select-trigger {
        padding: 0.75rem;
        font-size: 0.9rem;
        min-height: 44px;
        border-radius: 8px;
    }
    
    .custom-option {
        padding: 0.75rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .custom-select-trigger .arrow {
        font-size: 0.9rem;
    }

    
}

@media (min-width: 768px) and (max-width: 1399px) {
    .contact-container {
        transform: scale(0.95);
        transform-origin: top center;
    }
    
    /* Custom dropdown for tablet */
    .custom-select-trigger {
        padding: 0.6rem 0.7rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .custom-option {
        padding: 0.6rem 0.7rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .custom-select-trigger .arrow {
        font-size: 0.8rem;
    }

    .our-works-heading h2 {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {

    .contact-section {
        padding: 1rem 0.25rem;
        min-height: 90vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-container {
        max-width: min(1200px, 90vw);
        padding: 0.75rem;
        max-height: 85vh;
        margin: 0 auto;
        transform: translateY(-5%);
    }
    
    .contact-header {
        margin: -0.75rem -0.75rem 0.75rem -0.75rem;
        padding: 0.75rem;
        border-radius: 8px 8px 0 0;
    }
    
    .contact-header h1 {
        font-size: 1rem;
    }
    
    .contact-header p {
        font-size: 0.65rem;
    }
    
    .contact-form {
        gap: 0.5rem;
    }
    
    .form-row {
        gap: 0.5rem;
    }
    
    .form-group label {
        font-size: 0.65rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .form-group textarea {
        min-height: 50px;
        max-height: 70px;
    }

    #howDidYouKnow {
        padding: 0.4rem 2rem 0.4rem 0.5rem;
        background-size: 12px 12px;
        background-position: right 8px center;
        font-size: 0.7rem;
    }
    
    .submit-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
    
    /* Custom dropdown for mobile */
    .custom-select-trigger {
        padding: 0.4rem 0.5rem;
        font-size: 0.65rem;
        min-height: 35px;
        border-radius: 6px;
    }
    
    .custom-option {
        padding: 0.4rem 0.5rem;
        font-size: 0.65rem;
        min-height: 35px;
    }
    
    .custom-select-trigger .arrow {
        font-size: 0.65rem;
    }
    
    .custom-options {
        max-height: 150px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) and (min-height: 600px) {

    /* .footerMain {
        margin-bottom: calc(120px + (100vh - 600px) * 0.25);
    } */

    .our-works {
        background-position: 50% 35%;
    }
    
    .our-works-heading h2 {
        margin-top: 20px;
    }
}

@media (max-width: 390px) {

    .our-works {
        background-position: 50% 50%;
    }

    .our-works-heading h2 {
        margin-bottom: 70px;
    }
    
}

/* Landscape mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .contact-section {
        min-height: 120vh;
        padding: 8vh 0.5rem 1rem;
    }
    
    .contact-container {
        max-height: 70vh;
    }
    
    .form-group textarea {
        min-height: 40px;
        max-height: 60px;
    }
    
    /* Custom dropdown for landscape mobile */
    .custom-options {
        max-height: 120px;
    }
    
    .custom-option {
        padding: 0.3rem 0.5rem;
        min-height: 32px;
        font-size: 0.65rem;
    }
}

@media (min-width: 1200px) {

    .contact-container {
        max-width: 900px;
    }

}

/* Footer Section */
.footer {
    background-color: #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/footer-right.png");
    background-size: cover;
    background-position: center;
    padding: 2.5rem 1rem 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 100, 50, 0.1) 0%, rgba(255, 150, 0, 0.05) 50%, rgba(0, 100, 200, 0.05) 100%);
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: min(1200px, 90vw);
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem 2.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-left {
    flex: 1;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 35px;
    width: auto;
}

.footer-description p {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
    max-width: 440px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;    
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(238, 68, 53, 1);
    transform: translateY(-1px);
}

.social-link img {
    width: 32px;
    height: 32px;
}

.footer-right {
    flex: 1;
    max-width: 500px;
}

.newsletter-box {
    background: rgba(16, 16, 18, 0.7);
    border: 1px solid rgba(238,68,53, 0.5);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
}

.newsletter-box h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.newsletter-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0 0 1rem 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    color: #fff;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    background: linear-gradient(170deg, #EE4435 44%, #72ADBB 98%);
    border: none;
    border-radius: 15px;
    padding: min(10px, 1.8vh);
    color: #fff;
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-family: "Oxanium", sans-serif;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 1.5rem 0;
}

.footer-copyright p {
    color: #fff;
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.8;
    text-align: center;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-container {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-right {
        max-width: 100%; 
        width: 100%; 
    }

    .newsletter-box {
        padding: 1.25rem;
    }

    .footer-description p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0.75rem 1rem;
    }
    
    .footer-container {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .footer-logo {
        text-align: center;
    }

    .footer-logo img {
        height: 30px;
    }
    
    .footer-description p {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-box {
        text-align: center;
    }

    .newsletter-box p {
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
    }

    .newsletter-box h3 {
        font-size: 1.1rem;
    }
}

.spotlight {
    --bg:url("../images/our_technology_bg2.png");
    background-color: var(--dark);
    background-image: var(--bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: var(--light);
}

.spotlight-images, 
.spotlight-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 2000px;
}

.spotlight .img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 350px;
    will-change: transform;
}

.spotlight-cover-img {
    will-change: transform;
}

.spotlight img {
    object-fit: fill;
}

.spotlight-intro-header,
.spotlight-outro-header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 40%;
}

.spotlight-intro-header {
    z-index: 1;
}

.spotlight-outro-header {
    z-index: 10;
}

.spotlight-outro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 9;
    min-width: 100%;
    min-height: 100%;
    transform-origin: center center;
    will-change: transform;
    opacity: 0;
    filter: brightness(0.67) contrast(1.2) grayscale(0.3);
    /* Hide native video controls and play button */
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Hide video controls overlay on mobile for spotlight video */
.spotlight-outro-bg::-webkit-media-controls {
    display: none !important;
}

.spotlight-outro-bg::-webkit-media-controls-enclosure {
    display: none !important;
}

.spotlight-outro-bg::-webkit-media-controls-panel {
    display: none !important;
}

.spotlight-outro-bg::-webkit-media-controls-play-button {
    display: none !important;
}

.spotlight-outro-bg::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Cards Anim */
.cards img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.cards h1 {
    font-size: clamp(26px, 3vw,48px);
    font-weight: 500;
    letter-spacing: -0.1rem;
    line-height: 1.25;
}

.cards p {
    font-size: clamp(16px, 2.25vw, 20px);
    font-weight: 400;
    line-height: 1.25;
}

.cards {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 25svh;
    background-color: var(--dark);
    overflow: hidden;
}

.cards .card-marquee {
    width: 100%;
    position: absolute;
    top: 40%;
    left: 0;
    transform: translateY(-50%);
    overflow: hidden;
}

.cards .marquee {
    display: flex;
    width: max-content;
    animation: marquee-margin 25s linear infinite;
}

.diamond-fix {
    color: inherit !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-text-fill-color: currentColor;
}

@keyframes marquee-margin {
    0% {
        margin-left: 0;
    }
    100% {
        margin-left: -50%;
    }
}


.cards .marquee h1 {
    white-space: nowrap;
    font-size: clamp(20px, 3vw, 48px);
    font-weight: 200;
    padding-right: clamp(4px, 1vw, 10px);
    color: #fff;
    flex-shrink: 0;
}

.cards .card-marquee h2 {
    font-size: clamp(24px, 3vw, 54px);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.cards .card {
    position: relative;
    width: 100vw;
    height: 100svh;
}

.cards .card-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    will-change: transform;
    top: 50%;
}

.cards .card-img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 150px;
    overflow: hidden;
    opacity: 0.7;
}

.cards .card-img img {
    transform: scale(2);
    filter: brightness(0.6);
}

.cards .card-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.cards .card-content .card-title {
    position: absolute;
    width: 100%;
    top: 45%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
}

.cards .card-content .card-description {
    position: relative;
    width: 55%;
    top: 55%;
    margin-bottom: 3rem;
    text-align: center;
    transform: translateX(40px);
    opacity: 0;
}

.cards .card:nth-child(2) {
    margin-top: 50vh;
}

.cards .char {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.cards .char span {
    transform: translateX(100%);
    display: inline-block;
    will-change: transform; 
}

/* Main animated wrapper */
.top-banner {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* .top-banner::after {
        content: ''; 
        position: absolute;
        top: 0;
        bottom: 0; 
        left: 50%; 
        transform: translateX(-50%); 
        width: 2px; 
        background-color: rgb(255, 255, 255);
} */

.top-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: 
        linear-gradient(135deg, transparent 65%, rgba(0,0,0,0) 75%, rgba(0,0,0,0) 85%, black 95%),
        linear-gradient(to bottom, transparent 70%, black 100%);
    pointer-events: none;
    z-index: 2;
}


.parallax-bg {
    --bg:url('../images/hero_bg_v3.png');
    position: absolute;
    top: -10%; 
    left: 0;
    width: 100%;
    height: 120%; 
    background-image:var(--bg);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    z-index: 0;
    will-change: transform; 
    opacity: 0; /* Start hidden */
    transform: translateY(30px) scale(1.1); /* Initial transform */
}

.parallax-bg.animated-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nav.animated-in {
    opacity: 1;
    transform: translateY(0);
}

.top-banner h1 {
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: clamp(24px, 3vw, 54px);
    font-weight: 600;
}

/* Generative AI section */
.GenerativeAI {
    position: relative;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
}

/* Title section - visible by default */
.GenerativeAI .title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin: 0;
    padding: 2rem;
    box-sizing: border-box;
}

.section-transition-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

.animation-wrapper {
    position: relative;
    height: auto; /* let content determine height */
    min-height: 100vh; /* ensure minimum viewport height */
    /* we do not need transform properties here */
}

/* Company Intro Section */
.company-intro-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 20;
}

.company-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,1) 80%, black 100%);
    pointer-events: none;
    z-index: 2;
}

.company-video-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    transform: scale(1); /* Default scale */
    transform-origin: center center;
    /* Hide native video controls and play button */
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Hide video controls overlay on mobile */
.company-video-bg::-webkit-media-controls {
    display: none !important;
}

.company-video-bg::-webkit-media-controls-enclosure {
    display: none !important;
}

.company-video-bg::-webkit-media-controls-panel {
    display: none !important;
}

.company-video-bg::-webkit-media-controls-play-button {
    display: none !important;
}

.company-video-bg::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Add a wrapper to control video positioning */
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Content section - hidden by default (for old system) */
.GenerativeAI .company-intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    background-color: #000;
    z-index: 10;
    overflow: hidden;
}

#company
.GenerativeAI .company-intro.show {
    opacity: 1;
    display: block;
}

h1.company-title {
    text-align: left;
}

.company-content {
    position: absolute;
    top: 50%;
    left: 11%;
    transform: translateY(-50%);
    max-width: 45%;
    z-index: 11;
    opacity: 1;
}

.company-title {
    font-family: "Oxanium", sans-serif;
    font-size: clamp(24px, 3vw, 54px);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: left;
}

.title-line-1 {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 0.3rem;
}

.title-line-2 {
    display: block;
}

.highlight {
    background: transparent;
    color: #fff;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.highlight-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #EE4435 0%, #FF6B35 100%);
    z-index: -1;
    transition: none;
}

.highlight-text {
    position: relative;
    z-index: 1;
}

.company-description {
    font-family: "Oxanium", sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.5;
    color: #fff;
    margin-bottom: 2rem;
    max-width: 80%;
}

.company-btn {
    background: linear-gradient(140deg, #EE4435 44%, #72ADBB 98%);
    color: #fff;
    border: none;
    padding: 10px min(30px, 2.8vh);
    border-radius: 20px;
    font-family: "Oxanium", sans-serif;
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.company-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 68, 53, 0.4);
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .company-content {
        max-width: 50%;
        left: 8%;
    }
}

@media (max-width: 768px) {
    .company-content {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        max-width: 90%;
        margin: 2rem auto;
        text-align: center;
        padding: 0 1rem;
    }

    .company-title {
        text-align: center;
        margin-bottom: 1.2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }

    .title-line-1,
    .title-line-2 {
        display: block;
        text-align: center;
    }

    .highlight {
        padding: 0.1rem 0.3rem;
        display: inline-block;
        text-align: center;
        margin: 0 auto;
    }

    .highlight-text {
        text-align: center;
        display: block;
    }

    .company-description {
        max-width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: clamp(0.85rem, 3vw, 1rem);
    }

    .company-video-bg {
        transform: scale(1.5); /* Increased from your original 1.1 */
        object-position: center 40%; /* Adjust to focus on important part */
    }
}

@media (max-width: 480px) {
    .company-content {
        max-width: 95%;
        margin: 1.5rem auto;
        padding: 0 0.5rem;
    }

    .company-title {
        font-size: clamp(20px, 8vw, 32px);
        margin-bottom: 1rem;
    }

    .title-line-1 {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 0.3rem;
        text-align: center  ;
    }

    .company-description {
        font-size: clamp(0.8rem, 4vw, 0.9rem);
        line-height: 1.4;
        margin-bottom: 1.2rem;
    }

    .company-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }
}

/* For very small screens */
@media (max-width: 360px) {
    .company-content {
        max-width: 100%;
    }
    
    .title-line-1 {
        font-size: 0.9em;
    }
}

/* Flash overlay */
.flashPart {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10; 
    transform: translateX(-100%);
}

.flashPart.show {
    opacity: 1;
    visibility: visible;
}

.flashPart.white {
    background: rgba(255, 255, 255, 1);
}

#our-technology {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.globe canvas {
  -webkit-animation: in 2s cubic-bezier(0.23, 1, 0.32, 1) 0.25s backwards;
          animation: in 2s cubic-bezier(0.23, 1, 0.32, 1) 0.25s backwards;
  background: transparent;
  position: relative;
  height: 100%;
    width: 100%;
    z-index: 5;
}


@-webkit-keyframes in {
  from {
    opacity: 0;
  }
}

@keyframes in {
  from {
    opacity: 0;
  }
}

/* Contact Page Section - Prefixed with cp- */
.cp-contact-section {
    --bg:url("../images/galaxy_bg2.jpg");
    min-height: 100vh;
    min-height: 100dvh;
    padding: 8vmin 0 2vmin;
    background: #000;
    position: relative;
    overflow: hidden;
    align-items: center;
}

.cp-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    background-position: center center;
    background-size: cover;
    animation: zoom 50s infinite alternate;
    animation-timing-function: linear;
}

@keyframes zoom {
    from {
        transform: scale(1.01);
    }
    to {
        transform: scale(1.5);
    }
}

.cp-contact-container {
    display: flex;
    max-width: min(1200px, 90vw);
    margin: 0 auto;
    padding: 4vmin min(40px, 4vw);
    gap: min(40px, 4vw);
    align-items: flex-start;
    position: relative;
    z-index: 1;
    width: 100%;
}

.cp-contact-left {
    flex: 1;
    padding-top: min(150px, 15vh); 
}

.cp-contact-right {
    flex: 1;
    max-width: 500px;
}

.cp-contact-info h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: min(40px, 4vh);
    color: #fff;
    line-height: 1.2;
}

.cp-contact-details {
    margin-bottom: min(40px, 4vh); 
}

.cp-contact-item {
    margin-bottom: min(15px, 2vh);
}

.cp-contact-item h3 {
    font-size: clamp(1rem, 2vw, 1.2rem); 
    color: #fff;
    margin-bottom: 4px;
    font-weight: 600;
}

.cp-contact-item p {
    font-size: clamp(0.8rem, 1.6vw, 1rem); 
    color: #ccc;
    line-height: 1.3; 
}

.address-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: clamp(0.8rem, 1.6vw, 1rem); 
    color: #ccc;
    line-height: 1.3;
}

.address-container div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address-container div {
    display: block;
    line-height: 1.3;
}

.cp-contact-social h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.cp-contact-social .cp-social-links {
    display: flex;
    flex-direction: row;
    gap: min(10px, 1.5vw);
    flex-wrap: wrap;
}

.cp-contact-social .cp-social-link {
    display: flex;
    align-items: center;
    gap: min(8px, 1.2vw);
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(0.85rem, 1.6vw, 1rem);
}

.cp-contact-social .cp-social-link:hover {
    color: #fff;
}

.cp-contact-social .cp-social-link img {
    width: clamp(22px, 5vw, 26px);
    height: clamp(22px, 5vw, 26px);
    filter: brightness(0.8);
    transition: all 0.3s ease;
    border-radius: 6px;
}

.cp-contact-social .cp-social-link:hover img {
    filter: brightness(1);
    background: rgba(238, 68, 53, 1);
    transform: translateY(-2px);
}

.cp-contact-form-container {
    padding: min(1.5rem, 3vw);
    background: rgba(16, 16, 18, 0.7);
    backdrop-filter: blur(30px);
    border-radius: 12px;
    border: 1px solid rgba(238,68,53, 0.5);
    width: 100%;
    max-height: none;
    overflow: visible; 
    display: flex;
    flex-direction: column;
    min-height: min-content;
}

.cp-contact-header h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 6px; 
    color: #fff;
}

.cp-contact-header p {
    color: #ccc;
    margin-bottom: min(15px, 2vh); 
    font-size: clamp(0.7rem, 1.4vw, 0.8rem);
}

.cp-form-row {
    display: flex;
    gap: min(10px, 1.2vw); 
    margin-bottom: 0;
}

.cp-form-group {
    flex: 1;
    margin-bottom: min(12px, 1.5vh); 
}

.cp-form-group label {
    display: block;
    margin-bottom: 4px;
    color: var(--light);
    font-weight: 600;
    font-size: clamp(0.7rem, 1.4vw, 0.8rem); 
    letter-spacing: 0.02em;
}

.cp-form-group input,
.cp-form-group select,
.cp-form-group textarea {
    width: 100%;
    padding: min(8px, 1.2vh);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: clamp(0.7rem, 1.4vw, 0.8rem); 
    font-family: "Oxanium", sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cp-form-group input:focus,
.cp-form-group select:focus,
.cp-form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.cp-form-group input::placeholder,
.cp-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(0.7rem, 1.4vw, 0.8rem); 
}

.cp-form-group textarea {
    resize: vertical;
    min-height: min(70px, 10vh); 
}

#cp-howDidYouKnow {
    padding: min(8px, 1.2vh) min(30px, 3.5vw) min(8px, 1.2vh) min(10px, 1.2vw); 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right min(10px, 1.2vw) center; 
    background-size: min(14px, 2vw) min(14px, 2vw);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    cursor: pointer;
}

#cp-howDidYouKnow:focus {
    outline: none;
    border-color: #EE4435;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23EE4435' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

#cp-howDidYouKnow::-ms-expand {
    display: none;
}

#cp-howDidYouKnow option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 8px;
}

#cp-howDidYouKnow option:hover,
#cp-howDidYouKnow option:focus,
#cp-howDidYouKnow option:checked {
    background: #EE4435;
    color: #ffffff;
}

.cp-submit-btn {
    width: 100%;
    padding: min(10px, 1.8vh);
    background: linear-gradient(170deg, #EE4435 44%, #72ADBB 98%);
    color: #fff;
    align-self: stretch;
    border: none;
    border-radius: 16px;
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    font-weight: 600;
    font-family: "Oxanium", sans-serif;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.cp-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(238, 68, 53, 0.3);
}

/* Form Error Styling */
.cp-form-group input.error,
.cp-form-group select.error,
.cp-form-group textarea.error {
    border-color: #EE4435;
    background: rgba(238, 68, 53, 0.1);
    box-shadow: 0 0 0 3px rgba(238, 68, 53, 0.1);
}

/* Custom Select Styling */
.cp-custom-select-wrapper {
    position: relative;
}

.cp-custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: min(8px, 1.2vh) min(10px, 1.2vw);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cp-custom-select-trigger:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.cp-custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(16, 16, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    z-index: 10;
    display: none;
    max-height: 160px; 
    overflow-y: auto;
}

.cp-custom-option {
    padding: min(8px, 1.2vh) min(10px, 1.2vw); 
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: clamp(0.7rem, 1.4vw, 0.8rem); 
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a1a1a; 
}

.cp-custom-option:hover {
    background: rgba(238, 68, 53, 0.3);
}

.cp-custom-options.active {
    display: block;
}

.cp-custom-option:hover:not(.selected) {
    background: #EE4435 !important;
    color: #ffffff !important;
}

.cp-custom-option.selected {
    background: #EE4435 !important;
    color: #ffffff !important;
    font-weight: 600;
}

.cp-custom-option:last-child {
    border-bottom: none;
}

/* Disable mouse events until initial transition over (in js) */
.cp-contact-info h1,
.cp-contact-details,
.cp-contact-social,
.cp-contact-form-container {
    pointer-events: none;
}

/* Responsive Design - */
@media (max-width: 968px) {
    .cp-contact-container {
        flex-direction: column;
        gap: min(25px, 6vh);
        padding: 7.5vmin min(50px, 5vw); 
        max-width: 100%;
        margin-top: 30px;
    }
    
    .cp-contact-left {
        padding-top: 0;
        width: 100%;
    }
    
    .cp-contact-right {
        width: 100%;
        max-width: 100%;
    }
    
    .cp-contact-form-container {
        padding: min(1.25rem, 3vw);
        width: 100%;
        max-width: none;
    }
    
    .cp-form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .cp-contact-section {
        padding: min(70px, 8vh) 0 min(12px, 1.5vh); 
    }
    
    .cp-contact-form-container {
        padding: min(2.25rem, 5.5vw);
    }
    
    .cp-contact-left,
    .cp-contact-right {
        width: 100%;
    }
    
    .cp-contact-info h1 {
        margin-bottom: min(30px, 4vh);
    }
    
    .cp-contact-details {
        margin-bottom: min(30px, 4vh);
    }
}

@media (max-width: 468px) {
    .cp-contact-info h1 {
        max-width: 85%;
    }
}

/* Mobile controls - hidden by default, shown via media query */
.mobile-controls {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 10000 !important;
    display: none !important; 
    flex-direction: column !important;
    gap: 10px !important;
    pointer-events: auto !important;
    transition: opacity 0.3s ease !important;
}

.mobile-scroll-btn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: rgba(139, 0, 0, 0.8) !important;
    color: #ffcccc !important;
    border: 1px solid rgba(255, 102, 102, 0.5) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
    pointer-events: auto !important;
    transition: all 0.2s ease !important;
}

/* Hover/tap effects */
.mobile-scroll-btn:active {
    transform: scale(0.95) !important;
    background: rgba(139, 0, 0, 1) !important;
}

/* Show controls only on mobile/tablet sizes */
@media (max-width: 1000px) {
    .mobile-controls {
        display: flex !important;
    }
}

/* Optional: Hide on very small screens if needed */
@media (max-width: 480px) {
    .mobile-controls {
        right: 10px !important;
        bottom: 10px !important;
    }
    
    .mobile-scroll-btn {
        width: 45px !important;
        height: 45px !important;
    }
}

/* Smaller Devices */
@media (max-width: 1000px) {
    .top-banner h1,
    .spotlight-intro-header,
    .spotlight-outro-header {
        width: 100%;
    }

    .spotlight-intro-header,
    .spotlight-outro-header {
        padding: 2rem;
    }

    .cards .card-content .card-description {
        width: 90%;
    }
    .navTrigger {
        display: block;
        z-index: 10000; 
    }

    .nav div.logo {
        padding-left: 2rem;
        z-index: 10000; 
        position: relative;
    }
    
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 20, 0.85);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        transition: all 0.5s ease;
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .nav div.show_list {
        height: 100vh;
        display: block;
    }
    
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        background-color: transparent;
    }
    
    .nav div.main_list ul li {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 1.2rem; 
        padding: 15px;
    }

}

@media (min-width: 969px) and (max-height: 768px) {
    .cp-contact-container {
        margin: min(20px, 3.5vh) auto 0;
    }
}

/* Unified button styles for both forms */
.unified-btn {
    padding: 0.7rem 1rem;
    background: linear-gradient(170deg, #EE4435 44%, #72ADBB 98%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: "Oxanium", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.unified-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(238, 68, 53, 0.3);
}

