/* Animated grass blades in hero */
@keyframes sway {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}
@keyframes sway2 {
    0%, 100% { transform: rotate(2deg); }
    50% { transform: rotate(-4deg); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes count-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes wave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
@keyframes marquee-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes phone-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); background: rgba(255,255,255,0.1); }
    50% { box-shadow: 0 0 22px 8px rgba(74, 222, 128, 0.6); background: rgba(74, 222, 128, 0.3); }
}
.animate-phone-pulse { animation: phone-pulse 2s ease-in-out infinite; }
.animate-fade-up {
    animation: fade-up 0.8s ease-out forwards;
}
.animate-fade-up-delay-1 {
    animation: fade-up 0.8s ease-out 0.15s forwards;
    opacity: 0;
}
.animate-fade-up-delay-2 {
    animation: fade-up 0.8s ease-out 0.3s forwards;
    opacity: 0;
}
.animate-fade-up-delay-3 {
    animation: fade-up 0.8s ease-out 0.45s forwards;
    opacity: 0;
}
.grass-blade {
    position: absolute;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to top, #006838, #8CC63F);
    border-radius: 2px 2px 0 0;
    transform-origin: bottom center;
}
.glow-orb {
    animation: pulse-glow 4s ease-in-out infinite;
}
.glow-orb-2 {
    animation: pulse-glow 5s ease-in-out 1s infinite;
}
.float-anim {
    animation: float 6s ease-in-out infinite;
}
/* Glass card effect */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('') center/cover;
    opacity: 0.35;
    z-index: 0;
}
.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.08);
    z-index: 0;
}
.glass-card > * {
    position: relative;
    z-index: 1;
}
.glass-card:hover {
    border-color: rgba(140, 198, 63, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(140, 198, 63, 0.1);
}
.glass-card:hover::before {
    opacity: 0.25;
}
/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Gradient text */
.gradient-text {
    color: #4CAF50;
    -webkit-text-fill-color: #4CAF50;
}
/* Animated border gradient */
.gradient-border {
    position: relative;
}
.gradient-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8CC63F, #006838);
    transition: width 0.3s ease;
}
.gradient-border:hover::after {
    width: 100%;
}
/* Counter animation */
.counter {
    font-variant-numeric: tabular-nums;
}
/* Hamburger animation */
.hamburger-line {
    transition: all 0.3s ease;
}
.hamburger-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
/* Testimonial card */
.testimonial-card {
    background: linear-gradient(135deg, rgba(140, 198, 63, 0.05), rgba(0, 104, 56, 0.05));
    border: 1px solid rgba(140, 198, 63, 0.1);
}
/* Project tabs */
.project-tab.active { background: rgba(255,255,255,0.1); border-color: rgba(74,222,128,0.4); }
.project-tab.active span:first-child { color: #4ade80; }
/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #030712;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}
#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}
.preload-img {
    position: absolute;
    width: 800px;
    height: 500px;
    object-fit: cover;
    border-radius: 14px;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
}
.preload-img.show {
    opacity: 1;
    transform: scale(1);
}


/* CF7 form styling */
.wpcf7-form { display: flex; flex-direction: column; gap: 1rem; }
.wpcf7-form .ef-form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
    .wpcf7-form .ef-form-grid { grid-template-columns: 1fr 1fr; }
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.wpcf7 textarea { resize: none; }
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: rgba(255,255,255,0.4);
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: rgba(74,222,128,0.5);
    box-shadow: 0 0 0 1px rgba(74,222,128,0.3);
}
.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: white;
    color: #006838;
    font-weight: 700;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s, box-shadow 0.3s;
}
.wpcf7 input[type="submit"]:hover {
    background: #f0fdf4;
    box-shadow: 0 20px 40px rgba(74,222,128,0.2);
}
.wpcf7-spinner { display: none; }
.wpcf7-response-output {
    color: white !important;
    border-color: rgba(74,222,128,0.3) !important;
    margin-top: 1rem !important;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem !important;
}
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 p { margin: 0; }
.wpcf7-not-valid-tip { color: #fca5a5 !important; font-size: 0.85rem; margin-top: 0.25rem; display: block; }
