/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Sen font faces */
@font-face {
  font-family: 'Sen';
  src: url('/wp-content/uploads/fonts/sen-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sen';
  src: url('/wp-content/uploads/fonts/sen-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sen';
  src: url('/wp-content/uploads/fonts/sen-semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sen';
  src: url('/wp-content/uploads/fonts/sen-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bricks-body-font-family: 'Sen', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --bricks-heading-font-family: 'Sen', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
/* Font Awesome */
.fa,
.fa-solid,
.fa-regular,
.fa-brands {
  font-family: "Font Awesome 6 Free" !important;
}

/* Themify */
.ti,
[class^="ti-"],
[class*=" ti-"] {
  font-family: "themify" !important;
}

/* Ionicons */
ion-icon {
  font-family: "Ionicons" !important;
}



html, body {
  font-family: 'Sen', sans-serif !important;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

/* Base heading sizes for desktop > 1150px */
h1 { font-size: 56px !important; }
h2 { font-size: 44px !important; }
h3 { font-size: 24px; }
h4 { font-size: 22px !important; }
h5 { font-size: 20px !important; }

/* ↓ At 1150px ↓ */
@media (max-width: 1150px) {
  h1 { font-size: 52px !important; }
  h2 { font-size: 40px !important; }
  h3 { font-size: 24px !important; }
  h4 { font-size: 22px !important; }
  h5 { font-size: 18px !important; }
}

/* ↓ At 991px ↓ */
@media (max-width: 991px) {
  h1 { font-size: 50px !important; }
  h2 { font-size: 36px !important; }
  h3 { font-size: 22px !important; }
  h4 { font-size: 20px !important; }
  h5 { font-size: 16px !important; }
}

/* ↓ At 768px ↓ */
@media (max-width: 768px) {
  h1 { font-size: 40px !important; }
  h2 { font-size: 32px !important; }
  h3 { font-size: 22px !important; }
  h4 { font-size: 18px !important; }
  h5 { font-size: 14px !important; }
}

/* ↓ At 480px ↓ */
@media (max-width: 480px) {
  h1 { font-size: 32px !important; }
  h2 { font-size: 26px !important; }
  h3 { font-size: 20px !important; }
  h4 { font-size: 16px !important; }
  h5 { font-size: 12px !important; }
}

html {
  scroll-behavior: smooth !important;
}

.iti__selected-flag{
	border-radius: 12px;
}



/* ============================================
   SCROLL DIRECTION ANIMATION SYSTEM v3.1
   Premium Edition for Digital Marketing & Software Companies
   - More confident entrance with subtle scale + blur
   - Better depth and modern feel
   - Enhanced timing and easing
============================================ */

.scroll-animate {
  opacity: 0;
  will-change: opacity, transform;
  transition: none; /* Controlled via animation only */
}

/* ============================================
   PAGE LOAD ANIMATION (H1 & H2 only)
   Premium slide-in from left with subtle scale
============================================ */
.scroll-animate--heading.scroll-animate--from-left {
  animation: premiumSlideFromLeft 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes premiumSlideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-80px) scale(0.95);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

/* ============================================
   SCROLL DOWN ANIMATION (H1 & H2)
   Confident upward reveal with gentle lift
============================================ */
.scroll-animate--heading.scroll-animate--slide-down {
  animation: premiumSlideInUp 0.85s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes premiumSlideInUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ============================================
   SCROLL UP ANIMATION (H1 & H2)
   Downward reveal with controlled motion
============================================ */
.scroll-animate--heading.scroll-animate--slide-up {
  animation: premiumSlideInDown 0.85s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes premiumSlideInDown {
  from {
    opacity: 0;
    transform: translateY(-45px) scale(0.97);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ============================================
   PARAGRAPH ANIMATIONS
   Slightly softer and more elegant than headings
============================================ */
.scroll-animate--paragraph.scroll-animate--slide-down {
  animation: premiumParagraphUp 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes premiumParagraphUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   VISIBLE STATE + PERFORMANCE
============================================ */
.scroll-animate--visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
  filter: blur(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1200px;
}

/* ============================================
   RESPONSIVE - Slightly slower on large screens for elegance
============================================ */
@media (min-width: 1025px) {
  .scroll-animate--heading.scroll-animate--from-left,
  .scroll-animate--heading.scroll-animate--slide-down,
  .scroll-animate--heading.scroll-animate--slide-up {
    animation-duration: 1s;
  }
}

@media (max-width: 768px) {
  .scroll-animate--heading.scroll-animate--from-left { animation-duration: 0.7s; }
  .scroll-animate--heading.scroll-animate--slide-down,
  .scroll-animate--heading.scroll-animate--slide-up { animation-duration: 0.65s; }
  .scroll-animate--paragraph.scroll-animate--slide-down { animation-duration: 0.55s; }
}

/* ============================================
   ACCESSIBILITY
============================================ */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-animate--heading,
  .scroll-animate--paragraph {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* Hide the hidden phone field completely */
input[name="phone"] {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

