/*
Theme Name: Oshin Child
Description: Oshin Child Theme
Author: Brand Exponents
Template: oshin
Version: 1.0
*/

@import url("../oshin/style.css");

/* //////////////////////////////////// Bouncing Effect /////////////////////////////////////////////////////:*/
.bounce-ball {
  /* Apply the animation: 1 second duration, loops forever */
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
    /* Slows down near the top of the bounce */
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(-100px);
    /* Speeds up as it falls back down */
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* //////////////////////////////////// Container Background &amp; Core Form Styling /////////////////////////////////////////////////////:*/
.wpcf7 {
  background-color: #1a1a1a !important; /* Dark textured background */
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Grid Layout for Columns */
.cf7-dark-row {
  display: flex;
  gap: 40px;
  margin-bottom: 35px;
}

.cf7-dark-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cf7-dark-row.full-width {
  margin-bottom: 35px;
}

/* Form Typography / Labels */
.wpcf7 label, 
.cf7-dark-col label {
  color: #008AB7 !important;
  font-size: 14px !important;
  margin-bottom: 12px !important;
  font-weight: 400 !important;
}

/* Clean Minimalist Underline Fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #444444 !important; /* Bottom line only */
  border-radius: 0 !important;
  padding: 8px 0 12px 0 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  width: 100% !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.3s ease;
}

/* Dropdown/Select Styling Overrides */
.wpcf7 select {
  cursor: pointer;
  appearance: none; /* Removes native browser styling */
}

/* Active / Focus State line color highlight */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-bottom-color: #888888 !important;
}

/* Fixed Textarea Size */
.wpcf7 textarea {
  height: 80px !important;
  resize: none !important;
}

/* Acceptance/Checkbox Wrapper Styling */
.cf7-dark-acceptance {
  margin-bottom: 30px;
}

.cf7-dark-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #cccccc !important;
  cursor: pointer;
}

/* Square custom-like styling for checkbox inputs */
.cf7-dark-acceptance input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #1a1a1a;
  border: 1px solid #666666;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Outline Button Design spanning full-width */
.cf7-dark-submit {
  width: 100%;
}

.wpcf7 input[type="submit"] { 
  width: 100% !important; 
  background: #008AB7 !important; 
  border: 2px solid #000000 !important; /* Pure white crisp border */ 
  color: #000000 !important; 
  padding: 16px !important; 
  font-size: 17px !important; 
  letter-spacing: 0.5px !important; 
  cursor: pointer !important; 
  transition: all 0.3s ease !important; 
  box-shadow: 6px 6px 0px 0px #000000 !important;
}


/* Outline Button Hover Effect */
.wpcf7 input[type="submit"]:hover {
  background: #008AB7 !important;
  color: #ffffff !important;
  border: 2px solid #000000 !important; /* Pure white crisp border */
  transform: scale(1.03) !important;
}

/* Mobile Responsiveness Rules */
@media (max-width: 600px) {
  .cf7-dark-row {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
  }
  .wpcf7 {
    padding: 20px;
  }
}

/* //////////////////////////////////// Pre Loader Settings /////////////////////////////////////////////////////:*/
/* Preloader Overlay Cover */
#site-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0b0c10; /* Dark minimalist background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999; /* Ensures it sits above menus and headers */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Container for elements */
.loader-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Pulsing text brand element */
.loader-logo {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  animation: textPulse 1.5s infinite ease-in-out;
}

/* Spinning outer tracking ring */
.loader-ring {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-top: 2px solid #008AB7; /* Signature Cyan Accent */
  border-radius: 50%;
  animation: spinRing 1s infinite linear;
}

/* Smooth Exit Trigger Class */
#site-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Keyframe Animations */
@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes textPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}

/* //////////////////////////////////// Rotating Badge Settings /////////////////////////////////////////////////////:*/

/* Core relative boundary link setup */
.circular-cta-badge.custom-phone-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;  /* Adjust total size dimensions here */
  height: 240px;
  text-decoration: none;
  background-color: transparent;
  cursor: pointer;
  overflow: visible;
}

/* 1. ROTATING OUTER RING PARAMETERS */
.custom-phone-badge .badge-text-svg {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  animation: infiniteBadgeRotation 22s linear infinite; 
}

.custom-phone-badge .badge-text-svg text {
  font-family: "Montserrat", "Helvetica", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 5.5px;
  fill: #ffffff; /* Clean White Text */
  transition: fill 0.3s ease;
}

/* 2. CENTER TELEPHONE ICON CORE */
.custom-phone-badge .badge-phone-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Locks precisely onto dead-center coordinates */
  width: 26px;
  height: 26px;
  color: #008AB7; /* Signature Cyan Color Accent */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
  z-index: 2;
}

.custom-phone-badge .badge-phone-core svg {
  width: 100%;
  height: 100%;
}

/* 3. INTERACTIVE HOVER ACTIONS */
.custom-phone-badge:hover .badge-text-svg text {
  fill: #008AB7; /* Text transitions to Cyan on hover */
}

.custom-phone-badge:hover .badge-phone-core {
  color: #ffffff; /* Phone icon transitions to White on hover */
  transform: translate(-50%, -50%) scale(1.18); 
}

/* 4. INFINITE SPIN ROTATION TIMELINE */
@keyframes infiniteBadgeRotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }

	/* //////////////////////////////////// FADING SVG GRID CLIENTS /////////////////////////////////////////////////////:*/
	/* ========================================================
   1. GLOBAL GRID LAYOUT FRAMEWORK FOR ALL 30 BLOCS
   ======================================================== */
.tatsu-custom-loop {
  position: relative !important;
  width: 100% !important;       
  max-width: 200px !important;  
  height: 200px !important;     /* Fixed 200px Height preserved */
  margin: 0 auto !important;
  display: inline-block !important;
}

.tatsu-custom-loop .loop-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  /* Premium cubic-bezier transition curves for cinematic liquid fading motion */
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* ========================================================
   2. ACCELERATED & SMOOTHED TRANSITION TIMELINES
   ======================================================== */
@keyframes fluid-smooth-fade-1 {
  0%, 30% { opacity: 1; visibility: visible; }
  45%, 85% { opacity: 0; visibility: hidden; }
  100% { opacity: 1; visibility: visible; }
}

@keyframes fluid-smooth-fade-2 {
  0%, 25% { opacity: 1; visibility: visible; }
  40%, 80% { opacity: 0; visibility: hidden; }
  100% { opacity: 1; visibility: visible; }
}

/* 3. BALANCED COMPILER DISPATCHERS (Pure White Native Vectors) */
.tatsu-custom-loop.type-a .img-top    { animation: fluid-smooth-fade-1 var(--dur) cubic-bezier(0.25, 1, 0.5, 1) infinite !important; animation-delay: var(--del1) !important; }
.tatsu-custom-loop.type-a .img-bottom { animation: fluid-smooth-fade-1 var(--dur) cubic-bezier(0.25, 1, 0.5, 1) infinite !important; animation-delay: var(--del2) !important; }

.tatsu-custom-loop.type-b .img-top    { animation: fluid-smooth-fade-2 var(--dur) cubic-bezier(0.25, 1, 0.5, 1) infinite !important; animation-delay: var(--del1) !important; }
.tatsu-custom-loop.type-b .img-bottom { animation: fluid-smooth-fade-2 var(--dur) cubic-bezier(0.25, 1, 0.5, 1) infinite !important; animation-delay: var(--del2) !important; }

