/*
Theme Name: TRIUMPH
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: triumph
Tags: 
*/

.founder-co{
	gap: 50px !important;
}
.founder-co img{
	border-radius: 10px !important;
}



/*footer*/
.is-style-logos-only a {
	font-size: 35px !important;
}

.map-radius{
	border-radius: 10px !important;
}

-------------

.icon-gradient {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  fill: none;
  stroke: url(#iconGradient);
}

.wp-block-media-text>.wp-block-media-text__content{
	padding: 0px !important;
}

.yoast-breadcrumbs, .yoast-breadcrumbs a{
	text-align: center;
	font-size: 12px;
}

#sticky-blog, #sharing-button {
  position: sticky !important;
  top: 100px;
  align-self: flex-start;
}

header nav ul li a.wp-block-navigation-item__content::after,
.menu-item-active::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #00000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease-in-out, background-color 0.5s ease;
}
.header-sub-menu{
	color: #071e3d !important;
}

header nav ul li a.wp-block-navigation-item__content:hover::after,
.menu-item-active::after,.menu-item-active a {
  transform: scaleX(1) !important;
  transform-origin: left !important;
}

header nav ul li a.wp-block-navigation-item__content:hover,
.menu-item-active {
  color: #caaa55 !important;
  border-radius: 0px !important;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
    background-color: #E2E8F0;
	margin: 5px 0px !important;
	min-width: 170px !important;
	border-radius: 0px !important;
}

@media (max-width: 880px) {
  .desktop-navigation, header .wp-block-button__link {
  display: none !important;
 }
  }

@media (min-width: 881px) {
  .desktop-navigation {
    display: flex;
  }

  #menu-open-icon {
    display: none;
  }
}

#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  opacity: 0;
  transform: translateX(100%) scale(0.98);
  transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px);
}

#mobile-menu.active {
  transform: translateX(0) scale(1);
  opacity: 1;
}


#mobile-menu {
  display: flex !important;
}

/*Service page*/
@media (max-width: 781px) {
  .service-image-style > img {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
	border-bottom-left-radius: 0px !important;
  }
}
.mobile_menu_container {
    width: 100%;
}

/* Contact Form Styles - Pure CSS with Animations */

.contact-form-wrapper {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #071e3d 0%, #0a2a52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

/* Animated Background Effect */
.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(202, 170, 85, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBackground 20s linear infinite;
  z-index: 0;
}

@keyframes moveBackground {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.contact-form-container {
  max-width: 800px;
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  animation: slideUpFade 0.6s ease-out;
}

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

/* Form Header */
.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

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

.form-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #071e3d;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.5px;
}

.form-subtitle {
  font-size: 1.125rem;
  color: #071e3d;
  opacity: 0.7;
  margin: 0;
}

/* Form Layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cf7-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Input Group with Floating Label */
.input-group {
  position: relative;
  animation: fadeIn 0.6s ease-out;
}

.input-pill,
.textarea-pill {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #071e3d;
  background: #f8f9fa;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.textarea-pill {
  border-radius: 24px;
  resize: vertical;
  min-height: 120px;
}

.input-pill:focus,
.textarea-pill:focus {
  border-color: #caaa55;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(202, 170, 85, 0.1);
  transform: translateY(-2px);
}

.input-pill:hover,
.textarea-pill:hover {
  border-color: #caaa55;
  background: #ffffff;
}

/* Floating Label Animation */
.floating-label {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #071e3d;
  opacity: 0.6;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  padding: 0 0.5rem;
}

.textarea-pill + .floating-label {
  top: 1.5rem;
  transform: translateY(0);
}

.input-pill:focus + .floating-label,
.input-pill:not(:placeholder-shown) + .floating-label,
.textarea-pill:focus + .floating-label,
.textarea-pill:not(:placeholder-shown) + .floating-label {
  top: -0.5rem;
  left: 1rem;
  font-size: 0.75rem;
  color: #caaa55;
  opacity: 1;
  background: #ffffff;
  font-weight: 600;
  transform: translateY(0);
}

/* Radio Buttons Section */
.form-group-inquiry {
  animation: fadeIn 0.6s ease-out;
}

.inquiry-title {
  font-size: 1rem;
  font-weight: 600;
  color: #071e3d;
  margin: 0 0 1rem 0;
}

.inquiry-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.radio-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  background: #f8f9fa;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.radio-label:hover {
  border-color: #caaa55;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(202, 170, 85, 0.2);
}

.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  margin-right: 0.75rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #caaa55;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.radio-label input[type="radio"]:checked ~ .radio-custom {
  border-color: #caaa55;
  background: #fff8e8;
}

.radio-label input[type="radio"]:checked ~ .radio-custom::after {
  transform: translate(-50%, -50%) scale(1);
}

.radio-label input[type="radio"]:checked ~ .radio-text {
  color: #caaa55;
  font-weight: 600;
}

.radio-text {
  font-size: 0.95rem;
  color: #071e3d;
  transition: all 0.3s ease;
}

/* Checkbox Section */
.form-group-checkbox {
  animation: fadeIn 0.6s ease-out;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-custom {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  margin-right: 0.75rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f8f9fa;
}

.checkbox-custom::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checkbox-input:checked ~ .checkbox-custom {
  background: #caaa55;
  border-color: #caaa55;
}

.checkbox-input:checked ~ .checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}

.checkbox-label:hover .checkbox-custom {
  border-color: #caaa55;
  transform: scale(1.05);
}

.checkbox-text {
  font-size: 0.95rem;
  color: #071e3d;
  opacity: 0.8;
  line-height: 1.5;
}

/* Submit Button */
.submit-button {
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #071e3d;
  background: linear-gradient(135deg, #caaa55 0%, #d4b865 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(202, 170, 85, 0.3);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
  margin-top: 1rem;
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.submit-button:hover::before {
  left: 100%;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(202, 170, 85, 0.4);
}

.submit-button:active {
  transform: translateY(-1px);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.submit-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  border: 2px solid #071e3d;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-form-container {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .form-title {
    font-size: 2rem;
  }

  .form-subtitle {
    font-size: 1rem;
  }

  .cf7-form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .inquiry-radio-group {
    gap: 0.75rem;
  }

  .radio-label {
    flex: 1;
    min-width: calc(50% - 0.375rem);
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-form-wrapper {
    padding: 1rem;
  }

  .contact-form-container {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .form-title {
    font-size: 1.75rem;
  }

  .form-subtitle {
    font-size: 0.95rem;
  }

  .input-pill,
  .textarea-pill {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }

  .radio-label {
    min-width: 100%;
    padding: 0.625rem 1rem;
  }

  .submit-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* Enhanced hover effects for desktop */
@media (min-width: 1024px) {
  .input-pill:hover,
  .textarea-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(202, 170, 85, 0.15);
  }

  .input-pill:focus,
  .textarea-pill:focus {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(202, 170, 85, 0.2);
  }
}

/* Initial Header Styles (Visible) */
.header-main-div {
    width: 100%;
    z-index: 1000;
}

/* Sticky Header Styles (Animated) */
.header-main-div.is-sticky {
    position: fixed;
    top: 0;
    animation: slideDown 1s ease-out !important;
	box-shadow: 0 20px 30px rgba(255, 255, 255, 0.15);
}

.hover-div-color {
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease-in-out;
  padding: 20px;
  border-radius: 8px;
  cursor: pointer;
}

.hover-icon-color,
.hover-text-color {
  transition: color 0.3s ease-in-out;
}

.hover-div-color::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #071e3d;
  z-index: 1;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-div-color:hover::before {
  transform: translateY(0);
}

.hover-div-color:hover .hover-icon-color,
.hover-div-color:hover .hover-text-color {
  color: white;
  z-index: 2;
  position: relative;
}

.hover-div-color:hover {
  color: white;
}

/*serice page keys*/
@media screen and (max-width: 991px) {
  .services-keys {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* For mobile (≤ 767px) */
@media screen and (max-width: 767px) {
  .services-keys {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
