/*
Theme Name: GY Digital
Theme URI: 
Author: Gaurav Yadav
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gy-digital
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

a {
	text-decoration:none
}

/* Browser fallback for light/dark mode */
@media (prefers-color-scheme: dark) {
  body {
    background: #0F172A;
    color: #ffffff;
  }
  a {
    color: #ffd700;
  }
  body{
  --wp--preset--color--base:#232323;
  --wp--preset--color--base-2:#111e3e;
  --wp--preset--color--blue-text:#84b4e8;
  --wp--preset--color--grey:#1e293b;
  --wp--preset--color--contrast:#f5f5f5;
  --wp--preset--color--contrast-2:#e0e0e0;
}
}
@media (prefers-color-scheme: light) {
  body {
    background: #fff;
    color: #111;
  }
  a {
    color: #503AA8;
  }
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}
.relative{position: relative;}
.blue-green-text{
  color: transparent;
  background-image: linear-gradient(to right, #2563eb, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bouncing-circles .circle, .bouncing-circles .w-circle{
  background: #fff;
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;}
  .bouncing-circles .circle:nth-child(1) {
    width: 80px;
  height: 80px;
    background: #ff5e5b;
    top: 128px;
    left: 5vw;
  }

.bouncing-circles .circle:nth-child(2) {
  width: 60px;
  height: 60px;
  background: #ffb400;
  top: 144px;
  right: 5vw;
}
.bouncing-circles .circle:nth-child(3) {
  width: 48px;
  height: 48px;
  background: #00cecb;
  top: 80vh;
  left: 5.5vw;
}
.bouncing-circles .circle:nth-child(4) {
  width: 88px;
  height: 88px;
  background: #4e89ff;
  top: 78vh;
  right: 6vw;
}
.bouncing-circles .w-circle:nth-child(1) {
  width: 90px;
height: 90px;
  top: 28px;
  left: 15vw;
}

.bouncing-circles .w-circle:nth-child(2) {
width: 60px;
height: 60px;
top: 184px;
right: 5vw;
}
.bouncing-circles .w-circle:nth-child(3) {
width: 48px;
height: 48px;
bottom: 20px;
left: 5.5vw;
}
.bouncing-circles .w-circle:nth-child(4) {
  width: 118px;
  height: 118px;
bottom: 78px;
right: 6vw;
}
@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}
.pulse-glow{
  animation: pulse-glow 2s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5),
                0 0 10px rgba(255, 255, 255, 0.3),
                0 0 15px rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                0 0 15px rgba(255, 255, 255, 0.6),
                0 0 20px rgba(255, 255, 255, 0.4);
  }
}
.animate-gradient code{
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  color: transparent;
  background-image: linear-gradient(to right, #ff1744, #ff9100, #00e676, #2979ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.animate-gradient-bg{
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  background-image: var(--wp--preset--gradient--blue-to-green);
}
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Default font family */
body, html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Ensure Inter is used for all text elements */
.svg-back{display: flex;
      width: 100%;
      aspect-ratio: 1/1;
      color: #fff;
      justify-content: center;
      align-items: center;
      border-radius: 10px;}

.bounce{animation: bounce 0.8s infinite alternate;transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}
.gradient-blue{background-image: var(--wp--preset--gradient--primary-to-primary-500)}
.gradient-green{background-image: var(--wp--preset--gradient--green-to-green-2)}
.gradient-yellow{background-image: var(--wp--preset--gradient--yellow-to-yellow-2)}
.gradient-orange{background: var(--wp--preset--color--orange)}
.back-base-2{background-color: var(--wp--preset--color--base-2);}
.left-bottom {
  position: absolute;
  left: calc(var(--wp--preset--spacing--40)*-0.9);
  bottom: calc(var(--wp--preset--spacing--40)*-0.9);
}
.right-top {
  position: absolute;
  right: calc(var(--wp--preset--spacing--40)*-0.9);
  top: calc(var(--wp--preset--spacing--40)*-1.5);
}
.hover-exp:hover{transform: scale(1.1);}
.width-tec{width:84px;height:56px;padding:16px 0 0;}
/* GY Grid - Responsive Grid Layout */
.gy-grid {
  display: grid;
  gap: 1rem;
  width: 100%;
  grid-template-columns: 1fr;
  }

.gy-grid div{width: 100%;}
.flex-rev{flex-direction: column-reverse;}

/* Tablet: 2 columns */
@media (min-width: 768px) {
  .gy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flex-rev{flex-direction: unset;}
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
  .gy-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
