/* ============================================
   MAIN STYLESHEET
   Custom CSS for Web & Mobile App Development Agency
   ============================================ */

/* Global Font Family */
* {
    font-family: 'Poppins', sans-serif;
}

/* Remove all outlines and focus rings site-wide */
*,
*:focus,
*:active,
*:hover {
    outline: none !important;
}

/* Remove focus rings from all elements */
*:focus,
*:focus-visible,
*:focus-within {
    outline: none !important;
    box-shadow: none !important;
    --tw-ring-offset-shadow: none !important;
    --tw-ring-shadow: none !important;
    ring: none !important;
}

/* Remove focus rings and border color changes from Tailwind classes */
input:focus,
textarea:focus,
select:focus,
button:focus,
a:focus,
.focus\:ring-2:focus,
.focus\:ring-blue-500:focus,
[class*="focus:ring"]:focus,
[class*="focus:border"]:focus {
    outline: none !important;
    box-shadow: none !important;
    --tw-ring-offset-shadow: none !important;
    --tw-ring-shadow: none !important;
    border-color: inherit !important;
}

/* Prevent border color changes on focus for all form elements */
input:focus,
textarea:focus,
select:focus {
    border-color: inherit !important;
}

/* Override any focus border color classes */
.focus\:border-blue-500:focus,
.focus\:border-pink-500:focus,
.focus\:border-gray-500:focus,
[class*="focus:border-"]:focus {
    border-color: inherit !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

/* CRITICAL: All section content is fully visible by default - no white space when scrolling fast */
section:not(.hero-section) *,
section .container *,
section .hover-scale,
section .portfolio-item,
section .grid > *,
section [class*="grid"] > *,
section .flex > *:not(.animate-fade-in-up),
.hover-scale,
button:not(.get-quote-btn):not(header button):not(.animate-fade-in-up),
.section-cta-btn,
a[class*="btn"]:not(.get-quote-btn):not(.animate-fade-in-up) {
    opacity: 1;
    transform: none;
    visibility: visible;
}

/* Override any initially hidden content in sections (except FAQ answers) */
section:not(.hero-section) > div,
section:not(.hero-section) > article,
section:not(.hero-section) .card,
section:not(.hero-section) [class*="card"],
section:not(.hero-section) .bg-white {
    opacity: 1;
}

/* Disable all scroll animations - content is always visible */
.animate-fade-in-up {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* ============================================
   HOVER EFFECTS
   ============================================ */

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   BRAND COLORS
   ============================================ */

:root {
    --brand-blue: #3b82f6;
    --brand-blue-dark: #2563eb;
    --brand-pink: #ec4899;
    --brand-pink-dark: #db2777;
    --brand-gradient: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
    --brand-gradient-hover: linear-gradient(135deg, #2563eb 0%, #db2777 100%);
}

/* ============================================
   GRADIENT BACKGROUNDS
   ============================================ */

.gradient-bg {
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
}

.brand-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
}

.brand-gradient:hover {
    background: linear-gradient(135deg, #2563eb 0%, #db2777 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-teal {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
body.home {
	overflow-x:hidden;
}
/* ============================================
   HEADER STYLES
   ============================================ */

header {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    overflow: visible !important;
    position: relative;
    z-index: 9999;
}

/* Logo sizing to match shopify-agency page */
header .custom-logo,
header img[class*="logo"],
header .custom-logo-link img,
header a[href*="/"] > img:first-child,
header .flex.items-center img {
    height: 3.5rem !important; /* h-14 - matches shopify-agency page */
    width: auto !important;
}

@media (min-width: 768px) {
    header .custom-logo,
    header img[class*="logo"],
    header .custom-logo-link img,
    header a[href*="/"] > img:first-child,
    header .flex.items-center img {
        height: 5rem !important;
        width: auto !important;
    }
}

header nav {
    overflow: visible !important;
}

header nav > div {
    overflow: visible !important;
}

/* Navigation Link Styles */
.nav-link {
    position: relative;
    color: #374151;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::before {
    width: 60%;
}

.nav-link:hover {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.05);
}

/* Active Navigation Link State */
.nav-link.active {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
}

.nav-link.active::before {
    width: 80%;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
}

/* Mobile Navigation Links */
.nav-link-mobile {
    position: relative;
    color: #374151;
    font-weight: 600;
    letter-spacing: 0.025em;
    background-color: rgba(249, 250, 251, 0.5);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-link-mobile:hover {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
    border-left-color: #3b82f6;
    padding-left: 1.5rem;
}

.nav-link-mobile.active {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.15);
    border-left-color: #3b82f6;
    font-weight: 700;
}

/* ============================================
   BRAND GRADIENT TEXT/ICONS
   ============================================ */

.brand-gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   PORTFOLIO MODAL STYLES - FANCY DESIGN
   ============================================ */

/* Blob Animation - Wave-like Movement */
@keyframes blob {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(50px, -80px) scale(1.15) rotate(90deg);
    }
    50% {
        transform: translate(-40px, -40px) scale(0.95) rotate(180deg);
    }
    75% {
        transform: translate(30px, 60px) scale(1.1) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

@keyframes blob-wave {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        transform: translate(60px, -100px) scale(1.2);
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    50% {
        transform: translate(-50px, -50px) scale(0.9);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
    75% {
        transform: translate(40px, 80px) scale(1.1);
        border-radius: 70% 30% 50% 50% / 30% 50% 70% 50%;
    }
}

.animate-blob {
    animation: blob-wave 12s ease-in-out infinite;
    transition: border-radius 0.3s ease;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.animate-shimmer {
    background-size: 2000px 100%;
    animation: shimmer 3s linear infinite;
}

/* Modal Overlay Animation */
.portfolio-modal-overlay {
    animation: fadeInOverlay 0.4s ease-out;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modal Container Animation */
.portfolio-modal-container {
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    border-radius: 2rem;
}

.portfolio-modal-container.show {
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Close Modal Animation */
.portfolio-modal-overlay.closing .portfolio-modal-container {
    animation: modalSlideOut 0.3s ease-in forwards;
}

@keyframes modalSlideOut {
    from {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    to {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
}

/* Image Styles */
#portfolio-modal img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#portfolio-modal img:hover {
    transform: scale(1.02);
}

#portfolio-modal .rounded-xl img {
    border-radius: 1rem;
}

/* Portfolio Slider Styles */
#portfolio-slider {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

#portfolio-slider > div {
    min-width: 100%;
    width: 100%;
    flex: 0 0 100%;
    animation: slideFadeIn 0.6s ease-out;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    max-height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-slide-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.5) transparent;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.portfolio-slide-content::-webkit-scrollbar {
    width: 8px;
}

.portfolio-slide-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.portfolio-slide-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    border-radius: 10px;
}

.portfolio-slide-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #db2777);
}

/* Ensure slider container has proper height */
#portfolio-modal .relative.flex-1 {
    min-height: 0;
    flex: 1 1 auto;
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Navigation Buttons */
#prev-slide,
#next-slide {
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

#prev-slide::before,
#next-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#prev-slide:hover::before,
#next-slide:hover::before {
    opacity: 1;
}

#prev-slide:disabled,
#next-slide:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(0.9);
}

/* Slider Dots - Fancy Design */
#slider-dots button {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

#slider-dots button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #3b82f6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#slider-dots button:hover::before {
    opacity: 0.2;
}

#slider-dots button.active {
    background: linear-gradient(135deg, #3b82f6, #ec4899) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

#slider-dots button:hover {
    transform: scale(1.3) translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* Content Animations */
#portfolio-modal .space-y-6 > * {
    animation: contentFadeIn 0.6s ease-out backwards;
}

#portfolio-modal .space-y-6 > *:nth-child(1) { animation-delay: 0.1s; }
#portfolio-modal .space-y-6 > *:nth-child(2) { animation-delay: 0.2s; }
#portfolio-modal .space-y-6 > *:nth-child(3) { animation-delay: 0.3s; }
#portfolio-modal .space-y-6 > *:nth-child(4) { animation-delay: 0.4s; }
#portfolio-modal .space-y-6 > *:nth-child(5) { animation-delay: 0.5s; }
#portfolio-modal .space-y-6 > *:nth-child(6) { animation-delay: 0.6s; }

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

/* Enhanced Card Styles */
#portfolio-modal .bg-blue-50,
#portfolio-modal .bg-pink-50 {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

#portfolio-modal .bg-blue-50:hover,
#portfolio-modal .bg-pink-50:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Badge Hover Effects */
#portfolio-modal .bg-blue-100,
#portfolio-modal .bg-pink-100 {
    transition: all 0.3s ease;
}

#portfolio-modal .bg-blue-100:hover,
#portfolio-modal .bg-pink-100:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Enhanced Modal Container */
.portfolio-modal-container {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 100px rgba(59, 130, 246, 0.15),
        0 0 200px rgba(236, 72, 153, 0.1);
}

/* Additional Visual Enhancements */
#portfolio-modal .bg-blue-50,
#portfolio-modal .bg-pink-50 {
    position: relative;
    overflow: hidden;
}

#portfolio-modal .bg-blue-50::before,
#portfolio-modal .bg-pink-50::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;
}

#portfolio-modal .bg-blue-50:hover::before,
#portfolio-modal .bg-pink-50:hover::before {
    left: 100%;
}

/* ============================================
   HERO SECTION - TRENDY & MODERN STYLES
   ============================================ */

.hero-section {
    position: relative;
    background: #1a1a2e;
}

/* Static Gradient Mesh Background - Softer Colors */
.hero-gradient-mesh {
    background: 
        radial-gradient(at 20% 30%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(236, 72, 153, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Floating 3D Geometric Shapes */
.floating-shape {
    position: absolute;
    border-radius: 20px;
    opacity: 0.4;
    filter: blur(2px);
    animation: float3D 20s infinite ease-in-out;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(236, 72, 153, 0.2));
    top: 10%;
    left: 5%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    top: 60%;
    right: 10%;
    transform: rotate(-45deg);
    animation-delay: 2s;
    border-radius: 50%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
    bottom: 20%;
    left: 15%;
    transform: rotate(30deg);
    animation-delay: 4s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-4 {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    top: 40%;
    right: 25%;
    transform: rotate(-30deg);
    animation-delay: 6s;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-5 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(59, 130, 246, 0.15));
    bottom: 30%;
    right: 15%;
    transform: rotate(60deg);
    animation-delay: 8s;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

@keyframes float3D {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(30px, -50px) rotate(90deg) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, -80px) rotate(180deg) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(40px, -30px) rotate(270deg) scale(1.05);
        opacity: 0.45;
    }
}

/* Hero Grid Pattern */
.hero-grid-pattern {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

/* Pulse Animation for Orbs - Softer */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.25;
        transform: scale(1.05);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        filter: blur(20px);
    }
    50% {
        opacity: 0.8;
        filter: blur(30px);
    }
}

.animate-glow {
    animation: glow 3s ease-in-out infinite;
}

/* Bounce Slow Animation */
@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

/* Hero Title Gradient - Softer */
.hero-title-gradient {
    background: linear-gradient(135deg, #fcd34d 0%, #f9a8d4 50%, #c4b5fd 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 4s ease infinite;
}

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

/* Floating Particles Animation */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite ease-in-out;
}

.particle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.particle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.particle-4 {
    width: 50px;
    height: 50px;
    top: 40%;
    right: 30%;
    animation-delay: 6s;
}

.particle-5 {
    width: 70px;
    height: 70px;
    bottom: 30%;
    right: 10%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-60px) translateX(-20px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(10px) rotate(270deg);
        opacity: 0.7;
    }
}

/* Hero Content Animations */
.hero-content > * {
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-title-line-1 {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    display: inline-block;
}

.hero-title-line-2 {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    display: inline-block;
}

.hero-title-line-3 {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    display: inline-block;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-form {
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

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

/* Form Input Focus Effects */
.hero-section input:focus,
.hero-section select:focus,
.hero-section textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Enhanced Button Hover Effects */
.hero-section a[href="#contact"],
.hero-section button[type="submit"] {
    position: relative;
    overflow: hidden;
}

.hero-section a[href="#contact"]:hover,
.hero-section button[type="submit"]:hover {
    transform: translateY(-2px);
}

/* Particles Canvas */
#particles-canvas {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Responsive Adjustments */
@media (min-width: 768px) and (max-width: 992px) {
	.nav-link {
    font-size: 0.7rem;
    padding: 0 10px;
}
	header .get-quote-btn{		
    font-size: 0.7rem;
	}
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding:0 0 80px 0;
    }
    
    .particle {
        display: none;
    }
    
    .floating-shape {
        display: none;
    }
    
    .hero-grid-pattern {
        opacity: 0.1;
    }
    
    #particles-canvas {
        display: none;
    }
    .hero-section .hero-content p.text-sm,
    .hero-section .hero-content div.flex.flex-wrap{    	
    	display: none !important;
    }
}

/* ============================================
   GET QUOTE BUTTON ANIMATIONS - INFINITE
   ============================================ */

/* Button wrapper to contain glow effect and prevent scrollbars */
.get-quote-btn-wrapper {
    overflow: visible !important;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    z-index: 10;
}

.get-quote-btn {
    position: relative;
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    animation: buttonPulse 2s ease-in-out infinite, buttonFloat 3s ease-in-out infinite;
    overflow: visible !important;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 1 !important;
}

/* Ensure header button is always visible - no scroll animations */
header .get-quote-btn-wrapper {
    opacity: 1 !important;
}

/* Header button with jumping/floating animation */
header .get-quote-btn {
    opacity: 1 !important;
    animation: headerButtonPulse 2s ease-in-out infinite, headerButtonFloat 3s ease-in-out infinite !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}

header .get-quote-btn.animate-fade-in-up {
    animation: headerButtonPulse 2s ease-in-out infinite, headerButtonFloat 3s ease-in-out infinite !important;
}

/* Glowing Border Effect - Always On */
.get-quote-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, #3b82f6, #ec4899, #3b82f6, #ec4899);
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0.6;
    animation: buttonGlow 3s ease infinite, buttonGlowPulse 2s ease-in-out infinite;
    filter: blur(10px);
    pointer-events: none;
}

/* Reduced glow for header button to avoid white border effect */
header .get-quote-btn::before {
    animation: buttonGlow 3s ease infinite !important;
    opacity: 0.4 !important;
    filter: blur(8px) !important;
}

/* Ensure button text stays on top */
.get-quote-btn .relative.z-10,
.get-quote-btn span.relative.z-10 {
    position: relative;
    z-index: 10 !important;
}

/* Hover overlay should be between background and text */
.get-quote-btn .absolute.inset-0,
.get-quote-btn span[class*="absolute"][class*="inset-0"] {
    z-index: 1;
}

/* Continuous Shine Effect */
.get-quote-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: buttonShine 3s ease-in-out infinite;
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
}

/* Hover Enhancements */
.get-quote-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.7), 0 0 40px rgba(236, 72, 153, 0.5);
    animation: buttonPulse 1s ease-in-out infinite, buttonFloat 2s ease-in-out infinite;
}

.get-quote-btn:hover::before {
    opacity: 0.9;
    filter: blur(12px);
}

.get-quote-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Header button hover - keeps same animation, just enhances shadow like other buttons */
header .get-quote-btn:hover {
    /* Keep the same animation for smooth transition */
    animation: headerButtonPulse 2s ease-in-out infinite, headerButtonFloat 3s ease-in-out infinite !important;
    /* Only enhance the shadow, don't change animation */
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6) !important;
}

header .get-quote-btn:hover::before {
    opacity: 0.5 !important;
    filter: blur(10px) !important;
}


/* Pulse Animation */
@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), 0 0 10px rgba(236, 72, 153, 0.2);
    }
    50% {
        box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6), 0 0 25px rgba(236, 72, 153, 0.4);
    }
}

/* Simplified pulse for header button - cleaner shadow */
@keyframes headerButtonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    }
}

/* Floating Animation */
@keyframes buttonFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Floating/jumping animation for header button - smooth */
@keyframes headerButtonFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}


/* Glow Border Animation */
@keyframes buttonGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glow Pulse - reduced animation for header button */
@keyframes buttonGlowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Reduced glow pulse for header to avoid white border effect */
header .get-quote-btn::before {
    animation: buttonGlow 3s ease infinite !important;
    opacity: 0.5 !important;
}

/* Shine Sweep Animation */
@keyframes buttonShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Arrow Icon Animation */
.get-quote-btn .fa-arrow-right {
    animation: arrowMove 2s ease-in-out infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

.get-quote-btn:hover .fa-arrow-right {
    animation: arrowMove 1s ease-in-out infinite;
}

/* ============================================
   HOW IT WORKS SECTION ANIMATIONS
   ============================================ */

/* Step Cards Animation on Scroll */
@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon Pulse Animation */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Step Card Hover Enhancements */
section[class*="bg-gradient-to-br"] .group:hover .fa-comments,
section[class*="bg-gradient-to-br"] .group:hover .fa-palette,
section[class*="bg-gradient-to-br"] .group:hover .fa-code,
section[class*="bg-gradient-to-br"] .group:hover .fa-rocket {
    animation: iconPulse 1s ease-in-out infinite;
}

/* Number Badge Animation */
section[class*="bg-gradient-to-br"] .group:hover .absolute.top-4 {
    animation: iconPulse 0.6s ease-in-out;
}

/* ============================================
   FAQ ACCORDION STYLES
   ============================================ */

/* FAQ Item Base Styles */
.faq-item {
    cursor: pointer;
}

.faq-question {
    outline: none !important;
    border: none;
    background: transparent;
}

.faq-question:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* FAQ Answer - Initially Hidden */
.faq-answer {
    max-height: 0;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

/* FAQ Answer - When Active */
.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

/* FAQ Icon Rotation */
.faq-icon {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* FAQ Item Active State */
.faq-item.active {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ============================================
   HOW IT WORKS SECTION - BACKGROUND
   ============================================ */

/* How It Works section background */
section.py-20.bg-gray-50 {
    background-color: #f9fafb !important;
}

/* ============================================
   FORM STYLES - SELECT DROPDOWN ARROWS
   ============================================ */

/* Remove default browser arrow from select dropdowns */
select#service-type,
select[name="service"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
}

/* Remove default arrow in Firefox */
select#service-type::-moz-focus-inner,
select[name="service"]::-moz-focus-inner {
    border: 0;
}

/* Remove default arrow in IE/Edge */
select#service-type::-ms-expand,
select[name="service"]::-ms-expand {
    display: none;
}

/* ============================================
   SECTION CTA BUTTON ANIMATIONS - SCROLL TRIGGERED
   ============================================ */

/* Initial state - fully visible by default, no white space */
.section-cta-wrapper {
    opacity: 1 !important;
}

.section-cta-btn {
    position: relative;
    overflow: visible;
    transform: none !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

/* Animated state when section is in view - already visible, just enhance */
.section-cta-wrapper.animate-in {
    opacity: 1 !important;
}

.section-cta-wrapper.animate-in .section-cta-btn {
    /* Already visible, animation just provides enhancement */
}

/* Button pulse animation after appearing */
.section-cta-wrapper.animate-in .section-cta-btn {
    animation: ctaButtonPulse 2s ease-in-out infinite 0.6s, ctaButtonFloat 3s ease-in-out infinite 0.6s;
}

/* Glowing border effect - similar to header button */
.section-cta-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, #3b82f6, #ec4899, #3b82f6, #ec4899);
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease, filter 0.6s ease;
    filter: blur(10px);
}

.section-cta-wrapper.animate-in .section-cta-btn::before {
    opacity: 0.6;
    animation: buttonGlow 3s ease infinite;
}

/* Shine effect */
.section-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.section-cta-wrapper.animate-in .section-cta-btn::after {
    opacity: 1;
    animation: buttonShine 3s ease-in-out infinite 1s;
}

/* Pulse animation */
@keyframes ctaButtonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), 0 0 10px rgba(236, 72, 153, 0.2);
    }
    50% {
        box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6), 0 0 25px rgba(236, 72, 153, 0.4);
    }
}

/* Float animation */
@keyframes ctaButtonFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.02);
    }
}

/* Enhanced hover state */
.section-cta-wrapper.animate-in .section-cta-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.7), 0 0 40px rgba(236, 72, 153, 0.5);
}

.section-cta-wrapper.animate-in .section-cta-btn:hover::before {
    opacity: 0.9;
    filter: blur(12px);
}

.section-cta-wrapper.animate-in .section-cta-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Icon animation within CTA buttons */
.section-cta-wrapper.animate-in .section-cta-btn i {
    animation: iconBounce 2s ease-in-out infinite 0.8s;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

/* ============================================
   ADDITIONAL CUSTOM STYLES
   ============================================ */

/* Add any additional custom styles here */
html, body {
  overflow-x: hidden !important; /* prevents horizontal scrolling */
  box-sizing: border-box !important; /* ensures padding/margin are included in width calculations */
}

/* Ensure header and its children don't get clipped */
body.home header,
body.home header *,
body.home header nav,
body.home header nav > * {
  overflow: visible !important;
}

/* Fix container padding for header button */
header nav.container {
  padding-right: 2rem !important;
  position: relative;
}

/* Ensure hero section doesn't overlay header */
.hero-section {
  margin-top: 0 !important;
}

.hero-section .absolute {
  z-index: 0;
}

header {
  z-index: 9999 !important;
}

@media (max-width: 768px) {
  header nav.container {
    padding-right: 1rem !important;
  }
}

*,
*::before,
*::after {
  box-sizing: inherit !important;
}

img, video, .some-container {
  max-width: 100% !important;  /* avoid media elements exceeding container width */
}

/* ============================================
   CONTACT FORM 7 STYLES FOR LANDING PAGE
   ============================================ */

/* Hero Form Input Styles */
.hero-form-input,
.hero-form-select,
.hero-form-textarea {
    width: 100% !important;
    padding-left: 3rem !important;
    padding-right: 1rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    border-radius: 0.75rem !important;
    border: 2px solid #e5e7eb !important;
    outline: none !important;
    color: #1f2937 !important;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(4px) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

/* Textarea with hero-form-input class - set max-height */
textarea.hero-form-input {
    max-height: 150px !important;
    resize: vertical !important;
}

/* ============================================
   LANDING PAGE FORM ICON POSITIONING FIX
   Only applies to landing page template (template-shopify-agency.php)
   ============================================ */

/* Fix icon positioning - position relative to input field, not container */
/* Icons should be centered on the input field, not the container */
/* When error messages appear, they increase container height, but icon should stay with input */
.landing-page-template .hero-form .relative.group i,
.landing-page-template .hero-form .cf7-field-wrapper i,
.landing-page-template .hero-form .relative i,
.landing-page-template #hero-form .relative.group i,
.landing-page-template #hero-form .cf7-field-wrapper i,
.landing-page-template #hero-form .relative i {
    position: absolute !important;
    left: 1rem !important;
    /* Position icon at center of input field using calc */
    /* Input has padding-top: 1rem, line-height: ~1.5rem, so center is at padding-top + (line-height/2) */
    /* This keeps icon centered on input field regardless of container height changes */
    /* Added 1px to match placeholder baseline */
    top: calc(1rem + 0.75rem + 1px) !important; /* 1rem (padding-top) + 0.75rem (half of 1.5rem line-height) + 1px */
    transform: translateY(-50%) !important; /* Fine-tune to exact center */
    height: 1.25rem !important;
    line-height: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

/* For textarea, position icon at top */
.landing-page-template .hero-form .relative.group textarea ~ i,
.landing-page-template .hero-form .cf7-field-wrapper textarea ~ i,
.landing-page-template .hero-form .relative textarea ~ i,
.landing-page-template #hero-form .relative.group textarea ~ i,
.landing-page-template #hero-form .cf7-field-wrapper textarea ~ i,
.landing-page-template #hero-form .relative textarea ~ i {
    top: 1rem !important;
    transform: none !important;
}

/* Ensure error messages don't affect icon positioning */
.landing-page-template .hero-form .wpcf7-form-control-wrap,
.landing-page-template #hero-form .wpcf7-form-control-wrap {
    position: relative !important;
    display: block !important;
}

.landing-page-template .hero-form .wpcf7-not-valid-tip,
.landing-page-template #hero-form .wpcf7-not-valid-tip {
    /* position: absolute !important; */
    top: 100% !important;
    left: 0 !important;
    margin-top: 0.25rem !important;
    z-index: 5 !important;
}

/* Apply same icon positioning rules to contact form section */
.landing-page-template #contact-form .relative.group i,
.landing-page-template #contact-form .cf7-field-wrapper i,
.landing-page-template #contact-form .relative i {
    position: absolute !important;
    left: 1rem !important;
    /* Position icon at center of input field using calc - same as hero form */
    /* Input has padding-top: 1rem, line-height: ~1.5rem, so center is at padding-top + (line-height/2) */
    /* This keeps icon centered on input field regardless of container height changes */
    /* Added 1px to match placeholder baseline */
    top: calc(1rem + 0.75rem + 1px) !important; /* 1rem (padding-top) + 0.75rem (half of 1.5rem line-height) + 1px */
    transform: translateY(-50%) !important; /* Fine-tune to exact center */
    height: 1.25rem !important;
    line-height: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

/* For textarea in contact form, position icon at top */
.landing-page-template #contact-form .relative.group textarea ~ i,
.landing-page-template #contact-form .cf7-field-wrapper textarea ~ i,
.landing-page-template #contact-form .relative textarea ~ i {
    top: 1rem !important; /* Same as hero form textarea */
    transform: none !important;
}

/* Ensure error messages don't affect icon positioning in contact form */
.landing-page-template #contact-form .wpcf7-form-control-wrap {
    position: relative !important;
    display: block !important;
}

.landing-page-template #contact-form .wpcf7-not-valid-tip {
    /* position: absolute !important; */
    top: 100% !important;
    left: 0 !important;
    margin-top: 0.25rem !important;
    z-index: 5 !important;
}

.hero-form-input:focus,
.hero-form-select:focus,
.hero-form-textarea:focus {
    border-color: inherit !important;
    box-shadow: none !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

.hero-form-input::placeholder,
.hero-form-textarea::placeholder {
    color: #9ca3af !important;
}

.hero-form-select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E") !important;
    background-position: right 0.5rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    padding-right: 2.5rem !important;
}

.hero-form-textarea {
    resize: none !important;
    max-height: 150px !important;
}

.hero-form-submit {
    width: 100% !important;
    position: relative !important;
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%) !important;
    color: white !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.hero-form-submit:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    transform: scale(1.05) !important;
}

.hero-form-submit:focus {
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%) !important;
    color: white !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3), 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

.hero-form-submit:active {
    background: linear-gradient(135deg, #2563eb 0%, #db2777 100%) !important;
    transform: scale(0.98) !important;
}

/* Fix lock icon alignment with text - ensure icon and text stay together */
.flex.items-center.justify-center.gap-2,
.flex.items-center.gap-2 {
    display: flex !important;
    align-items: center !important;
    /* justify-content: center !important; */
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
}

.flex.items-center.justify-center.gap-2 .fa-lock,
.flex.items-center.gap-2 .fa-lock,
form .fa-lock,
#hero-contact-form .fa-lock,
.hero-form .fa-lock,
p .fa-lock,
.text-center .fa-lock {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    margin-right: 0.25rem !important;
}

/* Ensure the span with text doesn't break */
.flex.items-center.justify-center.gap-2 span,
.flex.items-center.gap-2 span {
    display: inline-block !important;
    white-space: nowrap !important;
    flex-shrink: 1 !important;
}

/* Main Form Input Styles */
.main-form-input,
.main-form-select,
.main-form-textarea {
    width: 100% !important;
    padding-left: 3rem !important;
    padding-right: 1rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    border-radius: 0.75rem !important;
    border: 2px solid #e5e7eb !important;
    outline: none !important;
    color: #1f2937 !important;
    background: #f9fafb !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

/* Fix icon positioning for main form - position relative to input field */
/* Main form has labels above inputs, so we need to account for label height */
/* When error messages appear, they increase container height, but icon should stay with input */
.landing-page-template #contact-form .relative.group i,
.landing-page-template #contact-form .cf7-field-wrapper i,
.landing-page-template #contact-form .relative i,
.landing-page-template .main-cf7-form .relative.group i,
.landing-page-template .main-cf7-form .cf7-field-wrapper i,
.landing-page-template .main-cf7-form .relative i {
    position: absolute !important;
    left: 1rem !important;
    /* Position icon at center of input field using calc */
    /* Label: ~1.5rem height + 0.5rem margin-bottom + input padding-top: 1rem + half line-height: 0.75rem */
    /* This keeps icon centered on input field regardless of container height changes */
    /* Added 1px to match placeholder baseline */
    top: calc(1rem + 0.75rem + 1px) !important; /* label height + mb-2 + padding-top + half line-height + 1px */
    transform: translateY(-50%) !important; /* Fine-tune to exact center */
    height: 1.25rem !important;
    line-height: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

/* ============================================
   HOME PAGE HERO FORM ICON POSITIONING FIX
   Fix icon positioning to match shopify-agency template
   ============================================ */

/* Fix icon positioning in home page hero form - position relative to input field */
/* Only apply to icons inside relative containers that have input/select/textarea */
body.home #hero-contact-form .relative:has(input) i,
body.home #hero-contact-form .relative:has(select) i,
body.home #hero-contact-form .relative:has(textarea) i,
body.home #hero-contact-form .relative:has(input) span[class*="absolute"],
body.home #hero-contact-form .relative:has(select) span[class*="absolute"],
body.home #hero-contact-form .relative:has(textarea) span[class*="absolute"],
body.home .hero-form .relative:has(input) i,
body.home .hero-form .relative:has(select) i,
body.home .hero-form .relative:has(textarea) i,
body.home .hero-form .relative:has(input) span[class*="absolute"],
body.home .hero-form .relative:has(select) span[class*="absolute"],
body.home .hero-form .relative:has(textarea) span[class*="absolute"] {
    position: absolute !important;
    left: 1rem !important;
    /* Position icon at center of input field using calc */
    /* Input has py-4 (1rem padding-top), so center is at padding-top + (line-height/2) */
    /* This keeps icon centered on input field regardless of container height changes */
    /* Added 1px to match placeholder baseline */
    top: calc(1rem + 0.75rem + 1px) !important; /* 1rem (padding-top) + 0.75rem (half of 1.5rem line-height) + 1px */
    transform: translateY(-50%) !important; /* Fine-tune to exact center */
    z-index: 10 !important;
    pointer-events: none !important;
}

/* Exclude lock icon from input field icon positioning */
body.home #hero-contact-form .relative .fa-lock,
body.home .hero-form .relative .fa-lock,
body.home #hero-contact-form .fa-lock,
body.home .hero-form .fa-lock {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
}

/* Fix chevron icon for select dropdown */
body.home #hero-contact-form .relative i.fa-chevron-down,
body.home .hero-form .relative i.fa-chevron-down {
    left: auto !important;
    right: 1rem !important;
    top: calc(1rem + 0.75rem) !important;
    transform: translateY(-50%) !important;
}

/* For textarea in main form */
.landing-page-template #contact-form .relative.group textarea ~ i,
.landing-page-template #contact-form .cf7-field-wrapper textarea ~ i,
.landing-page-template #contact-form .relative textarea ~ i,
.landing-page-template .main-cf7-form .relative.group textarea ~ i,
.landing-page-template .main-cf7-form .cf7-field-wrapper textarea ~ i,
.landing-page-template .main-cf7-form .relative textarea ~ i {
    top: calc(1.5rem + 0.5rem + 1rem) !important; /* label + mb-2 + padding-top */
    transform: none !important;
}

/* Ensure error messages don't affect icon positioning in main form */
.landing-page-template #contact-form .wpcf7-form-control-wrap,
.landing-page-template .main-cf7-form .wpcf7-form-control-wrap {
    position: relative !important;
    display: block !important;
}

.landing-page-template #contact-form .wpcf7-not-valid-tip,
.landing-page-template .main-cf7-form .wpcf7-not-valid-tip {
    /* position: absolute !important; */
    top: 100% !important;
    left: 0 !important;
    margin-top: 0.25rem !important;
    z-index: 5 !important;
}

.main-form-input:focus,
.main-form-select:focus,
.main-form-textarea:focus {
    border-color: inherit !important;
    box-shadow: none !important;
    background: white !important;
}

.main-form-input::placeholder,
.main-form-textarea::placeholder {
    color: #9ca3af !important;
}

.main-form-select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E") !important;
    background-position: right 0.5rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    padding-right: 2.5rem !important;
}

.main-form-textarea {
    resize: none !important;
    max-height: 150px !important;
}

/* Replace rupee icon with message icon in textarea fields */
/* Target any rupee icon next to textarea and replace with comment icon */
.relative:has(textarea) i.fa-rupee-sign,
.cf7-field-wrapper:has(textarea) i.fa-rupee-sign,
.relative:has(textarea) i[class*="rupee"],
.cf7-field-wrapper:has(textarea) i[class*="rupee"] {
    /* font-family: "Font Awesome 6 Free" !important; */
    font-weight: 900 !important;
}


/* If rupee is a span element with text, hide text and show icon */
.relative:has(textarea) span[class*="absolute"] {
    position: relative;
}

.relative:has(textarea) span[class*="absolute"]::after {
    /* content: "\f075" !important; Font Awesome comment icon */
    /* font-family: "Font Awesome 6 Free" !important; */
    font-weight: 900 !important;
    font-size: 1rem !important;
    color: #6b7280 !important;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Fix for green pulse indicator - maintain circular shape in responsive */
span.w-2.h-2.bg-green-400.rounded-full.animate-pulse,
span[class*="w-2"][class*="h-2"][class*="bg-green-400"][class*="rounded-full"] {
    display: inline-block !important;
    width: 0.5rem !important;
    height: 0.5rem !important;
    min-width: 0.5rem !important;
    min-height: 0.5rem !important;
    max-width: 0.5rem !important;
    max-height: 0.5rem !important;
    flex-shrink: 0 !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 9999px !important;
    vertical-align: middle !important;
}

.main-form-submit {
    width: 100% !important;
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%) !important;
    color: white !important;
    padding: 1rem 0 !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.main-form-submit:hover {
    opacity: 0.9 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.7), 0 0 40px rgba(236, 72, 153, 0.5) !important;
}

/* CF7 Validation Error Styles */
.wpcf7-not-valid-tip {
    color: #ef4444 !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
    display: block !important;
}

.wpcf7-not-valid {
    border-color: #ef4444 !important;
    border-width: 2px !important;
}

.wpcf7-not-valid:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
}

/* CF7 General Validation Error Box */
.wpcf7-validation-errors {
    background: #fef3c7 !important;
    border: 2px solid #fbbf24 !important;
    color: #92400e !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    display: block !important;
}

.wpcf7-mail-sent-ok {
    background: #10b981 !important;
    color: white !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    background: #ef4444 !important;
    color: white !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

/* CF7 Spinner */
.wpcf7-spinner {
    visibility: hidden !important;
    display: none !important;
}

/* Ensure CF7 submit buttons maintain styling even with errors */
.hero-form-submit.wpcf7-submit,
.hero-form-submit[type="submit"],
.wpcf7-form .hero-form-submit {
    width: 100% !important;
    position: relative !important;
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%) !important;
    color: white !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
}

.hero-form-submit.wpcf7-submit:hover,
.hero-form-submit[type="submit"]:hover,
.wpcf7-form .hero-form-submit:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    transform: scale(1.05) !important;
    background: linear-gradient(135deg, #2563eb 0%, #db2777 100%) !important;
}

.hero-form-submit.wpcf7-submit:focus,
.hero-form-submit[type="submit"]:focus,
.wpcf7-form .hero-form-submit:focus {
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%) !important;
    color: white !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3), 0 4px 15px rgba(59, 130, 246, 0.4) !important;
}

.hero-form-submit.wpcf7-submit:active,
.hero-form-submit[type="submit"]:active,
.wpcf7-form .hero-form-submit:active {
    background: linear-gradient(135deg, #2563eb 0%, #db2777 100%) !important;
    transform: scale(0.98) !important;
}

.main-form-submit.wpcf7-submit,
.main-form-submit[type="submit"],
.wpcf7-form .main-form-submit {
    width: 100% !important;
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%) !important;
    color: white !important;
    padding: 1rem 0 !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
}

.main-form-submit.wpcf7-submit:hover,
.main-form-submit[type="submit"]:hover,
.wpcf7-form .main-form-submit:hover {
    opacity: 0.9 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.7), 0 0 40px rgba(236, 72, 153, 0.5) !important;
    background: linear-gradient(135deg, #2563eb 0%, #db2777 100%) !important;
}