/*
Theme Name: Tizzy Group
Theme URI: https://goyalinfotech.com
Author: Goyal IT Consultancy Pvt. Ltd.
Author URI:https://goyalinfotech.com/
Description: Custom theme for Tizzy Group
Tags: blog, theme
Version: 1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Tizzy
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/* Reset CSS */

body {
    min-height: 100vh;
    background: url("./assets/images/bg.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.brochure-wrapper {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 14px;
    padding: 25px 25px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.logo {
    text-align: center;
    margin-bottom: 10px;
}

.logo img {
    max-height: 100px;
}

.form-control {
    height: 48px;
    border-radius: 8px;
}

textarea.form-control {
    height: 100px;
    resize: none;
}

.download-btn {
    width: 100%;
    height: 54px;
    border-radius: 10px;
    background: #0355ac;
    color: #fff;
    font-weight: 600;
    border: none;
    transition: 0.3s;
}

.download-btn:hover {
    background: #333233;
}

.form-title {
    text-align: center;
    margin-bottom: 20px;
}

.cf7-submit-btn {
  position: relative;
  pointer-events: auto;
}

.cf7-submit-btn .btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: none;
  margin-left: 10px;
  animation: spin 0.8s linear infinite;
}

.cf7-submit-btn.loading .btn-text {
  visibility: hidden;
}

.cf7-submit-btn.loading .btn-loader {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Overlay */
.cf7-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Success animation */
.cf7-success {
  text-align: center;
  animation: fadeInScale 0.5s ease forwards;
}

.cf7-success .checkmark {
  display: inline-block;
  font-size: 48px;
  color: #0d6efd;
  animation: pop 0.4s ease;
}

.cf7-success p {
  margin-top: 10px;
  font-weight: 600;
}
.wpcf7-spinner {
    top: -35px;
}
/* Button states */
.cf7-submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Animations */
@keyframes fadeInScale {
  from { opacity:0; transform:scale(0.9); }
  to { opacity:1; transform:scale(1); }
}

@keyframes pop {
  0% { transform: scale(0); }
  80% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
