/* ==========================================
   1. GLOBAL & DESKTOP STYLES
   ========================================== */
:root {
    --header-height: 140px; 
}

body {
    margin: 0;
    padding-top: var(--header-height);
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    overflow-x: hidden;
}

/* --- PREMIUM PRELOADER WRAPPER BACKDROP --- */
#cemtech-preloader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #000000 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2147483647 !important;
    overflow-y: auto;
    padding: 40px 20px;
    box-sizing: border-box;
    font-family: "Century Gothic", AppleGothic, sans-serif !important;
    pointer-events: all !important;
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), 
                visibility 0.9s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.preloader-content-wrap {
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    width: 100%;
    margin: auto;
}

/* --- SUNBURST WAVE CONTAINER --- */
.preloader-branding-core {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

#sunburst-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Central Node Styling */
.preloader-logo-box {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.preloader-logo {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.15; /* Dimmed slightly so the counter numbers clearly contrast on top */
    transform: scale(0.92);
    animation: cemtechTextReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.2s;
}

/* Centered Overlaid Counter Text Box */
.preloader-counter-overlay {
    position: absolute;
    display: flex;
    align-items: baseline;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

.percent-sign {
    font-size: 1rem;
    color: #888888;
    margin-left: 2px;
}

/* --- TYPOGRAPHY PIPELINE --- */
.preloader-title {
    font-size: 2.3rem;
    font-weight: 300;
    letter-spacing: 12px;
    margin: 0 0 5px 0;
    text-indent: 12px;
    opacity: 0;
    transform: translateY(25px);
    animation: cemtechTextReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.4s;
}

.preloader-title .small-to {
    font-size: 1.4rem;
    vertical-align: middle;
}

.preloader-main-brand {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 8px;
    margin: 0 0 20px 0;
    text-indent: 8px;
    opacity: 0;
    transform: translateY(25px);
    animation: cemtechTextReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.6s;
}

.preloader-slogan {
    font-size: 0.85rem;
    letter-spacing: 6px;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 40px 0;
    text-indent: 6px;
    opacity: 0;
    transform: translateY(20px);
    animation: cemtechTextReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.8s;
}

/* --- VISION/MISSION --- */
.preloader-statements {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: cemtechTextReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards 1s;
}

.statement-pill {
    background-color: #ffffff;
    color: #000000;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 4px 20px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.statement-pill.sep-top {
    margin-top: 22px;
}

.statement-text {
    font-size: 0.85rem;
    line-height: 1.6;
    letter-spacing: 1px;
    color: #cccccc;
    margin: 0;
}

/* --- CINEMATIC EXIT --- */
#cemtech-preloader.page-ready {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-35px);
}

@keyframes cemtechTextReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ==========================================
   2. Common CSS
   ========================================== */

.section-top-image {
    display: flex !important;
    justify-content: center;
    margin-bottom: 50px;
    
    /* --- Slide in from left on page load --- */
    animation: slideFromLeft 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    will-change: transform, opacity; /* Optimizes performance */
}

.section-top-image img {
    width: 120px;
    height: auto;
}

/* --- Animation Keyframes --- */
@keyframes slideFromLeft {
    0% {
        transform: translateX(-150px); /* Starts 150px out to the left */
        opacity: 0;                     /* Starts completely hidden */
    }
    100% {
        transform: translateX(0);       /* Slides into its perfect original position */
        opacity: 1;                     /* Fades in completely */
    }
}

/* floating whatsapp icon */

/* --- FLOATING WHATSAPP BUTTON --- */
/* --- UPGRADED FLOATING WHATSAPP DESIGN --- */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px; /* This is its baseline anchor position */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    text-decoration: none;
    
    /* REMOVED bottom transition. Added clean transform interpolation */
    transition: background-color 0.3s ease, transform 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base hover micro-interaction scale override */
.whatsapp-float-btn:hover {
    background-color: #20ba5a;
}

/* Hover Zoom Effect */
.whatsapp-float-btn:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* The Pulsing Ring Effect */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

/* Wave Animation Keyframes */
@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .whatsapp-float-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

#gravity-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: 2147483647 !important;
}


/* ========================================================================================
       SOLID HIGH-VISIBILITY FLOATING SITE VISIT BUTTON (WHATSAPP MATCHED EFFECT)
======================================================================================== */
.floating-site-visit-btn {
  position: fixed;
  bottom: 200px; /* HIGHLY ELEVATED: Moved further up to sit safely clear of the WhatsApp icon and footer */
  right: 20px;
  background-color: #000000; /* Solid corporate black prevents underlying text bleed-through */
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 14px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  
  /* CRITICAL FIXED LAYOUT: Forced highest stack order layer over standard page elements */
  z-index: 999999 !important; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.site-visit-icon-content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 3; /* Keeps content layered perfectly crisp above animations */
}

.site-visit-btn-text {
  font-family: "Century Gothic", AppleGothic, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-visit-icon-bounce {
  font-size: 1.1rem;
}

/* Identical Ambient Pulsing Dropped Wave Layer to match WhatsApp Badge logic */
.site-visit-pulse-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  z-index: 1;
  pointer-events: none;
  animation: siteVisitPulseEffect 2s infinite;
}

/* Smooth Interactive Hover Scale-Up Transition */
.floating-site-visit-btn:hover {
  background-color: #1c1c1c;
  border-color: #ffffff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.floating-site-visit-btn:hover .site-visit-icon-bounce {
  animation: miniRotationWobble 0.5s ease-in-out infinite alternate;
}

/* Keyframe Realities for the Floating Match Behaviors */
@keyframes siteVisitPulseEffect {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes miniRotationWobble {
  0% { transform: rotate(-8deg); }
  100% { transform: rotate(8deg); }
}

/* Mobile Screen Layout Optimization Updates */
@media (max-width: 576px) {
  .floating-site-visit-btn {
    right: 15px;
    bottom: 175px; /* Elevated to sit perfectly above WhatsApp icon on smaller viewports */
    padding: 11px 18px;
  }
  .site-visit-btn-text {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
}

/* Custom Tooltip Styling Rules to ensure high contrast background contrast */
.tooltip .tooltip-inner {
  background-color: #111111 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: "Century Gothic", sans-serif;
  font-size: 0.75rem;
  padding: 8px 12px;
  border-radius: 6px;
}

.tooltip .tooltip-arrow::before {
  border-left-color: #111111 !important;
}



/* ==========================================
   3. MAIN MENU
   ========================================== */

.top-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: #fff;
    z-index: 9999;
    transition: 0.4s ease;
    box-shadow: none !important; 
    border: none !important;
    display: flex;
    align-items: center;
}

.top-wrapper.hide {
    transform: translateY(-100%);
}

.custom-navbar {
    width: 100%;
    background: #fff;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
}

/* CENTER MENU & LOGO ALIGNMENT */
.menu-center {
    display: flex;
    align-items: center; 
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* RIPPLE ANIMATION & LOGO CONTAINER */
.ripple-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: var(--header-height); 
    overflow: visible; 
    margin: 0 10px;
}

.logo-hero-large {
    position: relative;
    z-index: 10;
    max-height: 120px;
    width: auto;
}

/* ANIMATED RINGS */
.f-ring {
    position: absolute;
    width: 70px;
    height: 70px; 
    background-color: #000000;
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    animation: constantRipple 4s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.r1 { animation-delay: -1s; }
.r2 { animation-delay: -2s; }
.r3 { animation-delay: -3s; }
.r4 { animation-delay: -4s; }

@keyframes constantRipple {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    10% { opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

/* MENU LINKS */
.nav-link {
    color: #000 !important;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
    white-space: nowrap;
    text-decoration: none !important;
    font-weight: bold;
}

.nav-link:hover {
    color: #555 !important;
    transform: scale(1.2);
}

/* TOP BAR */
.top-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.top-bar a {
    color: #000;
    text-decoration: none !important;
    font-size: 13px;
    transition: 0.3s;
}

.top-bar a:hover {
    color: #555 !important;
    transform: scale(1.2);
}

.call-wrapper{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    text-decoration:none;
}

/* NOTIFICATION */
#toast{
    position:absolute;
    top:-45px;
    left:50%;
    transform:translateX(-50%);
    background:#111;
    color:#fff;
    padding:8px 14px;
    border-radius:8px;
    font-size:13px;
    white-space:nowrap;
    opacity:0;
    visibility:hidden;
    transition:0.3s ease;
    pointer-events:none;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
}

/* SMALL ARROW */
#toast::after{
    content:"";
    position:absolute;
    bottom:-6px;
    left:50%;
    transform:translateX(-50%);
    border-width:6px;
    border-style:solid;
    border-color:#111 transparent transparent transparent;
}

/* SHOW */
#toast.show{
    opacity:1;
    visibility:visible;
    top:-55px;
}



/* ==========================================
   4. MAIN SLIDER
   ========================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 140px);
    overflow: hidden;
    background: #000;
    perspective: 1800px; 
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 1;
    transform-origin: center center -500px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.slide.active { opacity: 1; visibility: visible; transform: rotateY(0deg); z-index: 3; }
.slide.exit { opacity: 0; visibility: hidden; transform: rotateY(-90deg); z-index: 2; }
.slide.next { opacity: 0; visibility: visible; transform: rotateY(90deg); z-index: 1; }

.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 5;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s 0.6s ease;
}

.hero-content p {
    font-size: 24px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s 0.8s ease;
}

.slide.active .hero-content h1,
.slide.active .hero-content p {
    opacity: 1;
    transform: translateX(0);
}



/* ==========================================
   5. ABOUT US SECTION BASE STYLES
   ========================================== */

.equal-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.about-box {
    width: 100%;
    padding: 30px;
    background: #000;
    color: #fff;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    z-index: 1;
    border: none;
    height: 100%;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    will-change: opacity, transform;
}

.about-box.reveal {
    opacity: 1; 
    transform: translateY(0);
}

.about-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, #ffffff);
    animation: rotate-border 4s linear infinite;
    z-index: -2;
}

.about-box::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: #111;
    border-radius: 22px;
    z-index: -1;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-box h3 { 
    color: #fff; 
    margin-bottom: 15px; 
    text-transform:uppercase; 
}

.about-box p { 
    color: #bbb; 
}


.about-box:hover {
    transform: translateY(-10px);
    transition: 0.4s ease;
}



/* ==========================================
   6. SERVICES SECTION BASE STYLES
   ========================================== */


/* --- Animation Base States --- */

/* Side 1: Items sliding from the Left */
.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-in-out;
    will-change: transform, opacity;
}

/* Side 2: Items sliding from the Right */
.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-in-out;
    will-change: transform, opacity;
}

/* Image Fade-in State */
.fade-in-img {
    opacity: 0;
    transition: opacity 0.8s ease-in;
}

/* --- Active States (Triggered by jQuery) --- */

.reveal-left.active, 
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Image fades in after the box has started sliding */
.active .fade-in-img {
    opacity: 1;
    transition-delay: 0.5s;
}

/* --- Layout & Component Styling --- */

/* The 'Details Area' with the white border from your sample */
.details-area-border {
    border: 3px solid #ffffff !important;
    border-radius: 12px;
    padding: 1.5rem;
    background-color: transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.details-area-border h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.details-area-border p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 0;
}



/* --- High-Performance Animated Border --- */
.text-start.border {
    position: relative;
    z-index: 1;
    background: #212529;
    border: none !important; 
    padding: 1.5rem;
    overflow: hidden;
    isolation: isolate; 
}

/* The Flyer - Optimized using a cleaner gradient */
.text-start.border::before {
    content: '';
    position: absolute;
    inset: -150%;
    background: conic-gradient(
        from var(--angle),
        transparent 70%,
        #ffffff 95%, 
        #ffffff 100%
    );
    animation: rotateFlyer 3s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

/* The Inner Mask - Creates the sharp border */
.text-start.border::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: inherit;
    border-radius: 10px; 
    z-index: -1;
}

/* The Variable Definition - Critical for smoothness */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateFlyer {
    from { --angle: 0deg; }
    to { --angle: 360deg; }
}

/* Only run when Active */
.active .text-start.border::before {
    opacity: 1;
}


/* The container for the image */
.reveal-left .col-sm-4, 
.reveal-right .col-sm-4 {
    overflow: hidden;
    position: relative;
    cursor: crosshair;
    border-radius: 8px;
    background-color: #000;
}

/* The Image itself */
/* The container holding the image */
.reveal-left .col-sm-4, 
.reveal-right .col-sm-4 {
    height: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    border-radius: 8px;
    background: #212529;
}

/* The Image: Forced to fill and Zoom-ready */
.reveal-left img, 
.reveal-right img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    transition: transform 0.2s ease-out;
    display: block;
}

/* The Zoom Scale */
.reveal-left .col-sm-4:hover img, 
.reveal-right .col-sm-4:hover img {
    transform: scale(2.5) !important;
}



/* ==========================================
   7. PROJECT SECTION BASE STYLES
   ========================================== */

/* SLIDER */

.project-slider-wrapper{
    width:100%;
    height:70vh;
    min-height:400px;
    position:relative;
    overflow:hidden;
    background:#000;
    border-radius:25px;
}

/* SLIDER TRACK */
.project-slider{
    display:flex;
    width:100%;
    height:100%;
    transition:transform 0.9s cubic-bezier(0.65,0,0.35,1);
    will-change:transform;
}

/* EACH SLIDE */
.project-slide{
    flex:0 0 100%;
    width:100%;
    height:100%;
    position:relative;

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    align-items:flex-end;
    justify-content:center;

    padding-bottom:40px;
    overflow:hidden;
}

/* DARK OVERLAY */
.project-slide::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.25);
    z-index:1;
}

/* VIDEO */
.slide-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}

/* CONTENT */
.slide-content{
    position:relative;
    z-index:5;

    text-align:center;
    color:#fff;

    background:rgba(0,0,0,0.45);

    backdrop-filter:blur(5px);

    padding:12px 28px;

    border-radius:30px;

    max-width:90%;
}

.slide-content h3{
    margin:0;
    font-size:1rem;
    font-weight:700;
    letter-spacing:2px;
}

.slide-content p{
    margin:5px 0 0;
    font-size:0.85rem;
    opacity:0.9;
}

/* LOGO OVERLAY */
.slider-logo-overlay{
    position:absolute;
    top:50%;
    left:50%;

    transform:translate(-50%, -50%);

    z-index:20;

    opacity:0.25;

    transition:0.3s ease;

    cursor:pointer;
}

.slider-logo-overlay:hover{
    opacity:0.8;
    transform:translate(-50%, -50%) scale(1.08);
}

.slider-logo-overlay img{
    width:130px;
    height:auto;
}

/* BUTTONS */
.slide-prev,
.slide-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,0.45);
    color:#fff;
    font-size:1.5rem;
    z-index:30;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.3s ease;
}

.slide-prev{
    left:20px;
}

.slide-next{
    right:20px;
}

.slide-prev:hover,
.slide-next:hover{
    background:rgba(0,0,0,0.85);
    transform:translateY(-50%) scale(1.1);
}



/* ==========================================
   8. QUATATION SECTION BASE STYLES
   ========================================== */

.form-control:focus {
        background-color: transparent !important;
        color: white !important;
        border-color: #6c757d !important;
        box-shadow: 0 0 8px rgba(108, 117, 125, 0.25);
    }
    .form-floating > label { font-size: 0.85rem; }
    .letter-spacing-1 { letter-spacing: 1px; }
    .letter-spacing-2 { letter-spacing: 2px; }



/* Chrome, Safari, Edge, Opera */
.quotation input::-webkit-outer-spin-button,
.quotation input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.quotation input[type=number] {
  -moz-appearance: textfield;
}

/* Container for Title to keep it exactly 90px */
.title-fixed-container {
    flex: 0 0 95px;
    position: relative;
    border: 1px solid rgba(108, 117, 125, 0.5);
    border-radius: 0.375rem;
    height: 58px;
    background: transparent;
}

/* The Label that stays at the top ALWAYS */
.title-static-label {
    position: absolute;
    top: 5px;
    left: 12px;
    font-size: 0.65rem;
    text-uppercase: uppercase;
    color: #6c757d;
    font-weight: bold;
    z-index: 5;
    pointer-events: none;
}

/* The Select box styling */
.title-select-fixed {
    background-color: transparent !important;
    border: none !important;
    color: white !important;
    height: 100% !important;
    padding-top: 18px !important;
    padding-left: 12px !important;
    font-size: 0.9rem !important;
    box-shadow: none !important;
}

/* Styling for the dropdown options */
.title-select-fixed option {
    background-color: #000;
    color: #fff;
}

/* Custom focus effect to match your form */
.title-fixed-container:focus-within {
    border-color: #6c757d !important;
    box-shadow: 0 0 8px rgba(108, 117, 125, 0.25);
}

/* Number Arrow Removal */
.quotation input::-webkit-outer-spin-button,
.quotation input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quotation input[type=number] {
  -moz-appearance: textfield;
}



/* ==========================================
   9. COLOR PALETTE SECTION BASE STYLES
   ========================================== */

.palette-card {
        background: #111 !important;
        padding: 20px !important;
        border-radius: 20px !important;
        border: 1px solid #222 !important;
        height: 100% !important;
}

.color-box {
        width: 100% !important;
        height: 180px !important; 
        border-radius: 20px !important;
        margin-bottom: 15px !important;
        display: block !important;
        border: 2px solid #444 !important;
}

.c-black { background-color: #000000 !important; }
.c-silver { background-color: #D1D5DB !important; }
.c-grey { background-color: #9CA3AF !important; }
.c-charcoal { background-color: #374151 !important; }
.c-gold { background-color: #C59D5F !important; }
.c-white { background-color: #FFFFFF !important; }

/* Add transition to the base element */
.color-box {
    transition: transform 0.3s ease, border-color 0.3s ease !important;
}

/* Zooms the box when the parent card is hovered */
.palette-card:hover .color-box {
    transform: scale(1.05) !important;
    border-color: #c59d5f !important;
}

/* Container framework for the tooltip relative placement */
.palette-card {
    position: relative;
}

/* Tooltip message styling */
.color-box {
    position: relative;
    cursor: pointer;
}

/* Creating the custom text tooltip dynamically */
.color-box::after {
    content: "Click to select colour";
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #c59d5f;
    color: #000;
    font-weight: bold;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

/* Show the tooltip message on hover */
.color-box:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Temporary class changed via JS when a user clicks the box */
.color-box.copied::after {
    content: "Color code selected! ✓";
    background: #28a745;
    color: #fff;
}



/* ==========================================
   10. FAQ SECTION BASE STYLES
   ========================================== */

/* FAQ Container Reset */
.accordion-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* The Question Button Styling */
.faq-hover-effect {
    background-color: transparent !important;
    color: #ffffff !important;
    padding: 1.5rem 1.25rem !important;
    font-weight: 500;
    transition: all 0.4s ease-in-out !important;
    border: none !important;
    box-shadow: none !important;
}

/* FULL AREA HOVER EFFECT: Background White, Text Black, Smooth Zoom */
.accordion-item:hover {
    background-color: #ffffff !important;
    transform: scale(1.02);
    z-index: 10;
}

/* Change text and icon color to black when the parent item is hovered */
.accordion-item:hover .faq-hover-effect {
    color: #000000 !important;
}

/* Arrow icon color flip on hover */
.accordion-item:hover .accordion-button::after {
    filter: invert(1);
}

/* Keep expanded state consistent */
.accordion-button:not(.collapsed) {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

/* Answer text color adjustment */
.accordion-item:hover .accordion-body {
    color: #333333 !important;
    opacity: 1 !important;
}

/* Default Arrow Styling */
.accordion-button::after {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}


/* ==========================================
   11. FOOTER SECTION BASE STYLES
   ========================================== */

footer h5 {
    color: #fff;
    letter-spacing: 1px;
}


#contact h2{
    text-transform: uppercase;
}

.bottemlogo{
    width: 20%;
    height: 20%;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.overlay-text {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    pointer-events: none;
}

.quick-links li a {
    text-decoration: none;
    text-transform: uppercase;;
    color: white !important;
    display: flex;
    align-items: center;
    transition: 0.3s;
    font-size: 12px;
}

.quick-links li a i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
}


.quick-links li a:hover {
    color: #c59d5f !important;
    padding-left: 5px;
}

/* Email Tooltip Structure */
.copy-email::after {
    content: "Click to copy email";
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #c59d5f;
    color: #000;
    font-weight: bold;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

/* Show message on hover */
.copy-email:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Success status change when clicked */
.copy-email.copied::after {
    content: "Email copied! ✓";
    background: #28a745; /* Success Green */
    color: #fff;
}


/* --- FOOTER ICON CUSTOMIZATION --- */
.footer-social-icons a {
    transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

/* Gray hover color override using your specified setup */
.footer-social-icons a:hover {
    color: #888888 !important;
    opacity: 1 !important;
}

/* Tooltip framework */
.footer-copy-phone, .footer-copy-email, .footer-icon-email, .footer-icon-phone {
    position: relative;
}

.footer-copy-phone::after, .footer-copy-email::after, .footer-icon-email::after, .footer-icon-phone::after {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #c59d5f; /* Brand Premium Gold */
    color: #000;
    font-weight: bold;
    font-size: 11px;
    padding: 5px 9px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 999;
}

/* Tooltip message triggers on hover */
.footer-copy-phone:hover::after, .footer-icon-phone:hover::after { 
    content: "Click to copy phone"; 
    opacity: 1; 
    visibility: visible; 
    transform: translateX(-50%) translateY(0); 
}

.footer-copy-email:hover::after, .footer-icon-email:hover::after { 
    content: "Click to copy email"; 
    opacity: 1; 
    visibility: visible; 
    transform: translateX(-50%) translateY(0); 
}

/* Success status notifications */
.footer-copy-phone.copied::after, .footer-icon-phone.copied::after { 
    content: "Phone copied! ✓" !important; 
    background: #28a745 !important; 
    color: #fff !important; 
    opacity: 1 !important; 
    visibility: visible !important; 
    transform: translateX(-50%) translateY(0) !important; 
}

.footer-copy-email.copied::after, .footer-icon-email.copied::after { 
    content: "Email copied! ✓" !important; 
    background: #28a745 !important; 
    color: #fff !important; 
    opacity: 1 !important; 
    visibility: visible !important; 
    transform: translateX(-50%) translateY(0) !important; 
}




/* ==========================================================================================================
   MOBILE FIX (CLEAN RESPONSIVE RESET)
========================================== */
@media (max-width: 1200px) {

    /* Prevent horizontal scroll issues */
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        margin-top: 0;
        padding-top: 90px !important;
    }

    .top-wrapper {
        height: auto !important;
        padding: 10px 0;
    }

    .custom-navbar .container-fluid {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .menu-center {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        flex-direction: column;
        gap: 10px !important;
        margin-top: 10px;
    }

    .navbar-nav {
        width: 100%;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 0;
    }

    .ripple-main {
        width: 120px !important;
        height: 80px !important;
        margin: 10px auto;
    }

    .logo-hero-large {
        max-height: 60px !important;
    }

    .f-ring {
        width: 40px !important;
        height: 40px !important;
    }

    .top-bar {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        gap: 12px;
        flex-wrap: wrap;
    }



    /*-----------------------------------------------------------------*/

    .hero-slider {
        height: 60vh !important;
    }

    .hero-content h1 {
        font-size: 28px !important;
    }

    .hero-content p {
        font-size: 14px !important;
    }

    .equal-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 20px;
    }

    .equal-row .col-lg-3,
    .equal-row .col-md-6,
    .equal-row .col-12 {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        width: calc(50% - 10px) !important;
    }

    .about-box {
        margin-bottom: 0 !important;
    }

    .mobile-nav-logo{
        width: 80px;
        margin: 0 auto;
    }

    .overlay-text{
        margin-left: 10%;
    }

}

@media(max-width:768px){

    .equal-row .col-lg-3,
    .equal-row .col-md-6,
    .equal-row .col-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .project-slider-wrapper{
        height:40vh;
        min-height:260px;
    }

    .slider-logo-overlay img{
        width:90px;
    }

    .slide-content{
        padding:8px 16px;
    }

    .slide-content h3{
        font-size:0.8rem;
    }

    .slide-content p{
        font-size:0.7rem;
    }

    .slide-prev,
    .slide-next{
        width:42px;
        height:42px;
        font-size:1rem;
    }
}



