 @import 'variables.css';

/**************************
ZADT RESPONSIVENESS STYLES
**************************/
@media (max-width: 1200px){
    .next-slide-indicator .thumb-preview {
    width: 80px;
    height: 60px;
    }

}

@media (max-width: 768px){
    .top-container{
        justify-content: space-between !important;
    }
    h1{
        font-size: 2rem !important;
        margin-bottom: 0px;
    }

    .hero-slider .slide-content p {
    font-size: 1rem !important;
     }

    .hero-slider .slide-content {
    top: 50%;
    left: 3%;
    padding: 0.9rem;
    }

    .stats-title{
        text-align: center;
    }

    .row .stat-item {          
    display: flex;
    flex-direction: column;
    align-items: center;   
    text-align: center; 
    margin-top: 20px;
    font-weight: 400 !important;  
    }

    .stat-content {
        max-width: unset;
        font-weight: 400 !important;
    }

    .stat-item h2 span {
    font-size: 2rem;
    font-weight: 700;
    padding-left: 8px;
    }

    .welcome-title{
        margin-top: 4rem;
    }

    .about-description{
        margin-bottom: 4rem !important;
    }

    .about-btn{
        margin-bottom: 1rem;
    }

    .solutions-section .carousel {
        padding-bottom: 50px;
    }
    
    .solutions-section .carousel-indicators {
        bottom: -160px !important;
    }
    
    .solutions-section .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
    

    section.solutions-section .solution-card {
        height: auto;
    }

    .achievement-content {
        text-align: center;       
        align-items: center;      
        justify-content: center;  
        padding: 2rem 1rem;
    }

    .achievement-head {
        font-size: 1.5rem; 
    }

    .achievement-desc {
        font-size: 0.95rem; 
        max-width: 100%;    
    }

    .achievement-content .btn {
        width: 100%;          
        max-width: 320px;     
        margin-top: 1rem;
    }

    .testimonial-section .carousel {
    padding-bottom: 50px;
  }
  
  .testimonial-section .carousel-indicators {
    bottom: -40px !important;
  }
  
  .testimonial-section .carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
    margin: 0 2px !important;
  }
  
 
  .testimonial-section .testimonial-card {
    padding: 20px !important;
    margin: 40px 10px;
  }
  
  .testimonial-section .testimonial-card .content {
    font-size: 0.9rem;
  }
  
  .testimonial-section .testimonial-card h6 {
    font-size: 1rem;
  }
  
  .testimonial-section .testimonial-card .small {
    font-size: 0.8rem;
  }
  

  .testimonial-section .testimonial-heading {
    font-size: 2rem !important;
  }
  

  .testimonial-section .container {
    margin-top: 200px !important;
  }

  .video-modal-title{
    font-size: 15px;
  }
  
  .video-modal-frame{
    padding-bottom: 75%;   
    max-width: 300px !important;       
    margin: 0 auto;       
  }

  .video-modal-nav {
    padding: 0 0.5rem;   
    top: auto;           
    bottom: 10%;         
    transform: none;     
  }

  .video-modal-nav button,
  .video-modal-nav .arrow {
    width: 36px;         
    height: 36px;
    font-size: 1.2rem;   
  }

  .photo-modal-nav.next, 
  .photo-modal-nav.prev{
    bottom: 10% !important;
    z-index: 2;
  }

  .photo-modal-nav.next,
  .photo-modal-nav.prev {
    width: 32px;          
    height: 32px;
    font-size: 1rem;      
    bottom: 5% !important;
  }

  .photo-modal-nav.prev {
    left: 10px;           
  }

  .photo-modal-nav.next {
    right: 10px;
  }
  
   .modal-title .photo-modal-title {
    right: 60px !important;
  }

  .partner-card .col-4 {
    flex: 0 0 100% !important;   
    max-width: 100% !important; 
  }

  
  .partner-logo {
    width: 90% !important;         
    margin: 0 auto !important;     
    padding: 2.5rem !important;    
  }

 
  .partner-logo img {
    max-width: 180px !important;  
    height: auto !important;
  }

  .next-slide-indicator.always-visible {
    display: none;
    }

}


/***************************
ZADT PAGE LOADER STYLES
  **************************/
.zadt-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #0f6d37, #1f9e50, #0d5c2f, #34c759);
    animation: gradientBG 10s ease infinite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.zadt-loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.zadt-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    animation: fadeInUp 1s ease-out;
}

.zadt-logo-container {
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 40px;  
}

.zadt-logo-text {
    font-family: 'Montserrat';
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
    position: relative;
}

.zadt-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat';
    font-size: 1.1rem;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.zadt-spinner-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zadt-spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.zadt-spinner::before,
.zadt-spinner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid rgba(255, 255, 255, 0.9);
    border-right: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.zadt-spinner::after {
    border-top: 3px solid rgba(255, 255, 255, 0.4);
    border-right: 3px solid rgba(255, 255, 255, 0.8);
    animation-delay: -0.75s;
    animation-duration: 1s;
}

.zadt-growing-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.zadt-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: growDot 1.8s ease-in-out infinite;
}

.zadt-dot:nth-child(1) { animation-delay: 0s; }
.zadt-dot:nth-child(2) { animation-delay: 0.3s; }
.zadt-dot:nth-child(3) { animation-delay: 0.6s; }
.zadt-dot:nth-child(4) { animation-delay: 0.9s; }

.zadt-progress-bar {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 20px;
}

.zadt-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.8) 100%);
    width: 0%;
    border-radius: 2px;
    animation: fillProgress 3s ease-in-out forwards;
}

.zadt-leaves {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.zadt-leaf {
    position: absolute;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0 100% 0 100%;
    animation: floatLeaf 8s linear infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* Leaves Background */
.zadt-leaf.leaf-small {
    width: 12px;
    height: 12px;
    background: rgba(34, 197, 94, 0.2);
}

.zadt-leaf.leaf-medium {
    width: 20px;
    height: 20px;
    background: rgba(22, 163, 74, 0.15);
}

.zadt-leaf.leaf-large {
    width: 28px;
    height: 28px;
    background: rgba(21, 128, 61, 0.1);
}

/* Positioning for leaves */
.zadt-leaf:nth-child(1) {
    left: 5%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.zadt-leaf:nth-child(2) {
    left: 15%;
    animation-delay: 1.5s;
    animation-duration: 10s;
}

.zadt-leaf:nth-child(3) {
    left: 25%;
    animation-delay: 3s;
    animation-duration: 7s;
}

.zadt-leaf:nth-child(4) {
    left: 35%;
    animation-delay: 4.5s;
    animation-duration: 9s;
}

.zadt-leaf:nth-child(5) {
    left: 45%;
    animation-delay: 2s;
    animation-duration: 11s;
}

.zadt-leaf:nth-child(6) {
    left: 55%;
    animation-delay: 6s;
    animation-duration: 8s;
}

.zadt-leaf:nth-child(7) {
    left: 65%;
    animation-delay: 0.5s;
    animation-duration: 12s;
}

.zadt-leaf:nth-child(8) {
    left: 75%;
    animation-delay: 5s;
    animation-duration: 9s;
}

.zadt-leaf:nth-child(9) {
    left: 85%;
    animation-delay: 3.5s;
    animation-duration: 10s;
}

.zadt-leaf:nth-child(10) {
    left: 95%;
    animation-delay: 7s;
    animation-duration: 8s;
}

/* Crop positioning */
.zadt-crop:nth-child(11) {
    left: 8%;
    animation-delay: 1s;
    animation-duration: 12s;
}

.zadt-crop:nth-child(12) {
    left: 22%;
    animation-delay: 3s;
    animation-duration: 14s;
}

.zadt-crop:nth-child(13) {
    left: 38%;
    animation-delay: 5s;
    animation-duration: 11s;
}

.zadt-crop:nth-child(14) {
    left: 52%;
    animation-delay: 2s;
    animation-duration: 13s;
}

.zadt-crop:nth-child(15) {
    left: 68%;
    animation-delay: 6s;
    animation-duration: 15s;
}

.zadt-crop:nth-child(16) {
    left: 82%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.raindrops {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none; 
}

/* Raindrops */
.raindrops span {
  position: absolute;
  top: -20px;
  width: 2px;
  height: 15px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: drop 3s linear infinite;
}

/* Randomize positions and timing */
.raindrops span:nth-child(1) {
  left: 20%;
  animation-delay: 0.7s;
}
.raindrops span:nth-child(2) {
  left: 40%;
  animation-delay: 0.3s;
}
.raindrops span:nth-child(3) {
  left: 60%;
  animation-delay: 0.2s;
}
.raindrops span:nth-child(4) {
  left: 75%;
  animation-delay: 1.8s;
}
.raindrops span:nth-child(5) {
  left: 90%;
  animation-delay: 1.3s;
}

/* Falling effect */
@keyframes drop {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

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

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

@keyframes growDot {
    0%, 80%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    40% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes floatLeaf {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatCrop {
    0% {
        transform: translateY(-100px) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translateY(-80px) rotate(10deg) scale(1);
    }
    50% {
        transform: translateY(50vh) rotate(180deg) scale(1.1);
        opacity: 1;
    }
    95% {
        opacity: 1;
        transform: translateY(100vh) rotate(350deg) scale(0.9);
    }
    100% {
        transform: translateY(120vh) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .zadt-logo-container {
        padding: 20px 25px;
        margin: 0 20px;
    }
    
    .zadt-logo-text {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .zadt-tagline {
        font-size: 1rem;
    }
    
    .zadt-progress-bar {
        width: 200px;
    }
    
    .zadt-spinner {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .zadt-logo-text {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .zadt-tagline {
        font-size: 0.9rem;
    }
    
    .zadt-progress-bar {
        width: 150px;
    }
    
    .zadt-logo-container {
        padding: 15px 20px;
    }
}

/* Hide page content while loading */
body.loading {
    overflow: hidden;
}

body.loading > *:not(.zadt-loader-overlay) {
    visibility: hidden;
}
