/*
Theme Name: Raha Technologies Theme
Theme URI: https://yourdomain.com/
Author: Your Name
Author URI: https://yourdomain.com/
Description: Custom theme for full-screen Gamma site embedding.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: raha-technologies-theme
*/

/* ************************************************************
   START OF YOUR CUSTOM HTML/CSS
   ************************************************************ */
/* 1. Prevent Main Page Scrolling */
html, body {
    overflow: hidden; /* Stops the main document from scrolling */
    margin: 0; /* Removes default browser margin */
    padding: 0; /* Removes default browser padding */
    height: 100%; /* Ensures the body covers the full height of the viewport */
    width: 100%; /* Ensures the body covers the full width */
    font-family: Arial, sans-serif; /* For any surrounding text, though none should be visible */
}

/* === Fixed Black Footer === */
 footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0C0524;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  padding: 30px 0;
  z-index: 10;
  pointer-events: auto;
}

/* Premium Animated Button */
 .footer-button {
  position: relative;
  width: 500px;
  max-width: 90%;
  padding: 20px 40px;
  font-size: 24px;
  font-weight: 700;
  color: #FFD700;
  background: linear-gradient(135deg, #800080 0%, #9d1f9d 50%, #800080 100%);
  background-size: 200% 200%;
  border: 3px solid #FFD700;
  border-radius: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.3),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  animation: gradientShift 3s ease infinite, glowPulse 2s ease-in-out infinite;
}

/* Shimmer effect overlay */
 .footer-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 215, 0, 0.3) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  animation: shimmer 3s linear infinite;
}

/* Hover effects */
 .footer-button:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: #FFF700;
  box-shadow: 
    0 0 30px rgba(255, 215, 0, 0.8),
    0 0 60px rgba(255, 215, 0, 0.5),
    0 10px 30px rgba(128, 0, 128, 0.4),
    inset 0 0 30px rgba(255, 215, 0, 0.2);
  background-position: 100% 50%;
}

 .footer-button:active {
  transform: translateY(-2px) scale(1.02);
}

/* Clock icon animations */
 .footer-clock {
  font-size: 24px;
  color: #FFD700;
  display: inline-block;
  margin-right: 10px;
  animation: pulseTwizzler 2s ease-in-out infinite, clockGlow 1.5s ease-in-out infinite;
  transform-origin: center;
}

/* Footer text */
 .footer-text {
  color: white;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  max-width: 90%;
}

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

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

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

    @keyframes fadeInScale {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    @keyframes gradientFlow {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }

    @keyframes pulse {
      0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
      }
      50% { 
        transform: scale(1.1);
        opacity: 0.5;
      }
    }
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes glowPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255,215,0,0.5),0 0 40px rgba(255,215,0,0.3), inset 0 0 20px rgba(255,215,0,0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(255,215,0,0.8),0 0 60px rgba(255,215,0,0.5), inset 0 0 30px rgba(255,215,0,0.2);
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes pulseTwizzler {
  0%,100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.2) rotate(-10deg); }
  50% { transform: scale(1.3) rotate(0deg); }
  75% { transform: scale(1.2) rotate(10deg); }
}

@keyframes clockGlow {
  0%,100% { text-shadow: 0 0 5px #FFD700,0 0 10px #FFD700; }
  50% { text-shadow: 0 0 15px #FFD700,0 0 25px #FFD700,0 0 35px #FFA500; }
}

 .content-card:nth-child(1) { animation-delay: 0.1s; }
 .content-card:nth-child(2) { animation-delay: 0.2s; }
 .content-card:nth-child(3) { animation-delay: 0.3s; }
 .content-card:nth-child(4) { animation-delay: 0.4s; }
 .content-card:nth-child(5) { animation-delay: 0.5s; }
 .content-card:nth-child(6) { animation-delay: 0.6s; }

 .stat-box:nth-child(1) { animation-delay: 0.1s; }
 .stat-box:nth-child(2) { animation-delay: 0.2s; }
 .stat-box:nth-child(3) { animation-delay: 0.3s; }
 .stat-box:nth-child(4) { animation-delay: 0.4s; }

/* Added redirect countdown toast styles with purple/gold theme */
 #redirect-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  background: linear-gradient(135deg, rgba(128, 0, 128, 0.95) 0%, rgba(157, 31, 157, 0.95) 100%);
  border: 2px solid #FFD700;
  border-radius: 15px;
  padding: 16px 32px;
  box-shadow: 
    0 0 30px rgba(255, 215, 0, 0.6),
    0 0 60px rgba(255, 215, 0, 0.3),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: toastFadeIn 0.6s ease-out forwards;
  transition: opacity 1s ease-in-out;
}

 #redirect-toast.fade-out {
  animation: toastFadeOut 1s ease-in-out forwards;
}

 .toast-icon {
  font-size: 24px;
  animation: pulseTwizzler 2s ease-in-out infinite;
}

 .toast-text {
  font-size: 16px;
  font-weight: 600;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  display: flex;
	justify-content:center;
  align-items: center;
	flex-wrap:nowrap;
  gap: 6px;
}

 .toast-countdown {
  font-size: 20px;
  font-weight: 700;
  color: #FFF700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  min-width: 28px;
  text-align: center;
}

@keyframes toastFadeIn {
      from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }
    }

    @keyframes toastFadeOut {
      from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }
      to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
      }
    }


/* === Responsive Adjustments === */
@media (max-width: 1024px) {
   .footer-button { width: 450px; font-size: 22px; padding: 18px 35px; }
   .footer-clock { font-size: 22px; }
}


/* Mobile responsive with added top padding for left side */
@media (max-width: 768px) {

   #lottie-business {
    top: 60%;
    transform: translate(-50%, -50%);
    width: 50%;
  }

   #intro-container {
    flex-direction: column;
  }

   #left-side {
    height: 50vh;
    padding-top: 60px;
  }

   #welcome-text h1 {
    font-size: 32px;
		margin-bottom: 0;
  }

   #welcome-text p {
		margin-top: 0;
    font-size: 16px;
  }

   #right-side {
    height: 50vh;
    padding: 15px;
    padding-bottom: 160px;
  }

   .loading-title {
    font-size: 20px;
  }

   .card-title {
    font-size: 16px;
  }

   .card-content {
    font-size: 13px;
  }

   .stat-number {
    font-size: 24px;
  }

   .stat-label {
    font-size: 11px;
  }

   .stats-grid {
    gap: 10px;
  }

   .footer-button {
    width: 350px;
    font-size: 20px;
    padding: 16px 30px;
  }

   .footer-clock {
    font-size: 20px;
  }

   .footer-text {
    font-size: 14px;
  }

   #redirect-toast {
    top: 15px;
    padding: 14px 24px;
    max-width: 90%;
		flex-wrap:nowrap;
		justify-content:center;
		flex-shrink:0;
  }

   .toast-icon {
    font-size: 20px;
  }

   .toast-text {
    font-size: 14px;
		flex-shrink:0;
		flex-wrap:nowrap;
  }

   .toast-countdown {
    font-size: 18px;
    min-width: 24px;
  }
}

@media (max-width: 480px) {

   #left-side {
    padding-top: 80px;
  }

   #welcome-text h1 {
		margin-bottom:0;
    font-size: 28px;
		
  }

   #welcome-text p {
		margin-top:0;
    font-size: 14px;
	
  }

   .loading-title {
    font-size: 18px;
  }

   .card-title {
    font-size: 15px;
  }

   .card-content {
    font-size: 12px;
  }

   .stat-number {
    font-size: 20px;
  }

   .comparison-table th,
   .comparison-table td {
    font-size: 10px;
    padding: 8px 5px;
  }

   .footer-button {
    width: 280px;
    font-size: 16px;
    padding: 14px 25px;
  }

   .footer-clock {
    font-size: 18px;
  }

   .footer-text {
    font-size: 12px;
  }

   #redirect-toast {
    top: 10px;
    padding: 12px 16px;
    gap: 6px;
    max-width: 95%;     
    flex-wrap: nowrap;  
    justify-content: center;
		flex-shrink:0;
  }

   .toast-icon {
    font-size: 18px;
  }

   .toast-text {
    font-size: 12px;
		flex-wrap:nowrap;
		flex-shrink:0
		
  }

   .toast-countdown {
    font-size: 14px;
    min-width: 28px;
		text-align: center;
		flex-shrink:0;
  }
}
/* 2. Configure the Iframe to Fill the Viewport */
.full-page-iframe-wrapper {
	/* This div ensures the iframe takes up exactly the available space */
	height: 100%;
	width: 100%;
	position: absolute; /* Useful safety measure */
	top: 0;
	left: 0;
}

.full-page-iframe-wrapper iframe {
	display: block; /* Ensures no extra spacing */
	width: 100%;
	height: 100%;
	border: none; /* Crucial: Removes the default iframe border */
	/* Add scrolling='yes' for maximum compatibility, though modern browsers handle it */
	scrolling: yes; 
}
        /* 3. Optional: Hide Iframe Scrollbars on Webkit (Chrome/Safari) */
        /* Note: The content *inside* the iframe will still scroll, 
           but the visual scrollbar for the iframe itself is hidden. 
           If the Gamma site itself is scrollable, this won't be needed. */
        /*
        .full-page-iframe-wrapper iframe::-webkit-scrollbar {
            display: none;
        }
        */