/* Add here all your CSS customizations */
#header .header-row {
	display: flex;
	flex-grow: 0;
	align-items: center;
	align-self: stretch;
	max-height: 100%;
}

.timer-box {
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  min-width: 60px;
  transition: all 0.2s ease;
}

.timer-box:hover {
  border-color: #d0d0ff;
  background: #f9f9ff;
}

.timer-value {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Inter", sans-serif;
  color: #2c2c2c;
}

.timer-label {
  font-size: 0.8rem;
  color: #888;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 575.98px) {
  .timer-value { font-size: 1.5rem; }
  .timer-box { min-width: 50px; padding: 0.4rem 0.5rem; }
}


.bg-color-grey {
  background: #eefaff !important;
}

section.section {
    padding: 20px 0 !important;
}


.bg-color-light {
  background-image: url('../images/section-bg.png') !important;
  background-size: cover; /* Scales image to cover entire section */
  background-repeat: no-repeat; /* Prevents tiling of the image */
  background-position: center center; /* Centers the image */
}

.bg-color-light {
  width: 100%;
}

/* make carousel a positioning context */
#myCarousel {
  position: relative;
  overflow: visible; /* allow the overlay to show */
}

/* overlay that appears at the bottom of the carousel */
#myCarousel .carousel-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: rgb(0 0 0 / 74%); /* light transparent black */
  padding: 10px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* allow clicks to pass through to controls by default */
}

/* allow interactive children (buttons/links/inputs) inside overlay to be clickable */
#myCarousel .carousel-overlay * {
  pointer-events: auto;
}

/* ensure controls and indicators remain clickable and above overlay */
#myCarousel .carousel-control-prev,
#myCarousel .carousel-control-next,
#myCarousel .carousel-indicators {
  z-index: 10;
}

/* style the countdown cards so they look good on the overlay */
#myCarousel .countdown-card {
  border-radius: .5rem;
  border: 1px solid rgba(255,255,255,0.12);
  height: 72px;
  width: 72px;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  background: rgba(255,255,255,0.03);
  color: #fff;
}

/* numbers larger, label subtle */
#myCarousel .countdown-card strong {
  font-size: 2rem;
  line-height: 1;
}

#myCarousel .countdown-card small {
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  font-size: 1rem;
  margin-top: 4px;
}

/* responsive: reduce card size on small screens */
@media (max-width: 480px) {
  #myCarousel .countdown-card {
    height: 60px;
    width: 60px;
    min-width: 60px;
  }
  #myCarousel .carousel-overlay { padding: 8px; }
  #myCarousel .countdown-card strong { font-size: 1.05rem; }
}

/* Preloader Styles */
body.preloader-active {
    overflow: hidden !important;
    height: 100% !important;
    width: 100% !important;
    position: fixed !important;
}

.preloader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #ffffff 0%, #f4f9fc 100%);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    max-width: 400px;
    width: 100%;
}

.preloader-logo-container {
    margin-bottom: 30px;
    opacity: 0;
    transform: scale(0.9);
    animation: preloaderLogoFadeIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.preloader-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.preloader-loader {
    width: 180px;
    height: 4px;
    background: #eefaff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.preloader-progress-fill {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #6bcdf7 0%, #342a8b 50%, #6bcdf7 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: preloaderProgressMove 2s infinite cubic-bezier(0.4, 0, 0.2, 1), preloaderGradientShift 4s infinite linear;
}

.preloader-text-status {
    margin-top: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #342a8b;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    animation: preloaderTextFadeIn 1s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
}

@keyframes preloaderLogoFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes preloaderTextFadeIn {
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

@keyframes preloaderProgressMove {
    0% {
        left: -100%;
        right: 100%;
    }
    50% {
        left: 0%;
        right: 0%;
    }
    100% {
        left: 100%;
        right: -100%;
    }
}

@keyframes preloaderGradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* --- Social Media FAB (Floating Action Button) --- */
.social-fab-container {
    position: fixed;
    bottom: 80px;
    right: 25px;
    z-index: 9999;
    width: 56px;
    height: 56px;
}

/* Main button trigger */
.social-fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #342a8b 0%, #6bcdf7 100%);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(52, 42, 139, 0.4);
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 10001;
    padding: 0;
}

.social-fab-main:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(52, 42, 139, 0.6);
}

.social-fab-main i {
    font-size: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    line-height: 1;
}

/* Sub-buttons container and buttons */
.social-fab-list {
    position: absolute;
    bottom: 50px; /* starts lower to overlap the main button and bridge the gap */
    right: 0;
    width: 56px; /* match main button width to have a solid hover zone */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    padding: 0 0 14px 0; /* bottom padding ensures seamless hover flow */
    list-style: none;
    pointer-events: none;
    z-index: 10000;
}

.social-fab-item {
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px) scale(0.6);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    position: relative;
}

.social-fab-item:last-child {
    margin-bottom: 0;
}

/* Staggered delay for pop-up effect (bottom element Facebook pops up first) */
.social-fab-item:nth-child(1) { transition-delay: 0.15s; }
.social-fab-item:nth-child(2) { transition-delay: 0.1s; }
.social-fab-item:nth-child(3) { transition-delay: 0.05s; }

.social-fab-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
}

.social-fab-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.social-fab-btn i {
    font-size: 18px;
    line-height: 1;
}

/* Individual Brand Colors */
.social-fab-btn.ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285ae5 90%);
}

.social-fab-btn.linkedin {
    background-color: #0077b5;
}

.social-fab-btn.facebook {
    background-color: #1877f2;
}

/* CSS Tooltips */
.social-fab-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: rgba(33, 33, 33, 0.9);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.social-fab-btn:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Active / Open state class (triggered by hover or JS click) */
.social-fab-container.open .social-fab-item,
.social-fab-container:hover .social-fab-item {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Keep hover zone active on list container when expanded */
.social-fab-container.open .social-fab-list,
.social-fab-container:hover .social-fab-list {
    pointer-events: auto;
}

/* Rotate icon in open state */
.social-fab-container.open .social-fab-main i,
.social-fab-container:hover .social-fab-main i {
    transform: rotate(135deg);
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {
    .social-fab-container {
        bottom: 70px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    
    .social-fab-main {
        width: 48px;
        height: 48px;
    }
    
    .social-fab-main i {
        font-size: 18px;
    }
    
    .social-fab-list {
        bottom: 42px;
        right: 0;
        width: 48px;
        padding-bottom: 12px;
    }
    
    .social-fab-btn {
        width: 40px;
        height: 40px;
    }
    
    .social-fab-btn i {
        font-size: 16px;
    }
    
    /* Disable tooltips on mobile since there is no hover */
    .social-fab-btn::after {
        display: none !important;
    }
}

