body {
    font-family: 'Prompt', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #4ade80 0%, #0ea5e9 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #22c55e, #0ea5e9);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-container:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #374151;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(to right, rgba(134, 239, 172, 0.2), rgba(125, 211, 252, 0.2));
    color: #111827;
}

.notification-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 1rem;
    height: 1rem;
    background-color: #ef4444;
    border-radius: 9999px;
    color: white;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.mobile-menu.open {
    max-height: 500px;
}

.weather-icon {
    position: relative;
    display: inline-block;
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
}

.weather-icon .sun {
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: #facc15;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.weather-icon .cloud {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 14px;
    height: 8px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}
    /* เอฟเฟกต์อนุภาค */
    .particles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
        animation: particleMove 20s linear infinite;
    }
    
    @keyframes particleMove {
        0% { background-position: 0 0; }
        100% { background-position: 100px 100px; }
    }
    
    /* เอฟเฟกต์คลื่น */
    .climate-wave {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        line-height: 0;
    }
    
    .climate-wave svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 100px;
    }
    
    .climate-wave .shape-fill {
        fill: rgba(255,255,255,0.2);
    }
    
    /* อนิเมชันลอยตัว */
    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-20px);
        }
    }
    
    .animate-float {
        animation: float 6s ease-in-out infinite;
    }
    
    /* ปุ่มที่มีเอฟเฟกต์ */
    button {
        transition: all 0.3s ease;
    }
    
    button:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
      @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
  @keyframes progress {
    from { width: 0; }
    to { width: 41.9%; }
  }
  .animate-float {
    animation: float 3s ease-in-out infinite;
  }
  .animate-progress {
    animation: progress 1.5s ease-out forwards;
  }

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out;
}
        .prose {
            line-height: 1.75;
        }
        .prose p {
            margin-bottom: 1.25em;
        }
        .animate-fade-in {
            animation: fadeIn 0.8s ease-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
@layer utilities {
  .animate-fade-in {
    animation: fadeIn 1s ease-in-out;
  }
  .animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
  .hover\:scale-105:hover {
    transform: scale(1.05);
  }
  .transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
  }

  
   /* Custom Styles */
  .hover-effect {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
  }
  
  .zoom-img {
    transition: transform 0.5s ease;
  }
  
  .hover-effect:hover .zoom-img {
    transform: scale(1.05);
  }
  
  .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .hover-effect:hover .hover-overlay {
    opacity: 1;
  }
  
  .icon-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .hover-effect:hover .icon-container {
    opacity: 1;
  }
  
  .icon-container i {
    font-size: 24px;
    color: #2c3e50;
  }
  
  .text-gradient {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .bg-gradient-primary {
    background: linear-gradient(135deg, #3498db, #2c3e50);
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-text {
    font-size: 0.9rem;
  }


          .animate-fade-in {
            animation: fadeIn 0.5s ease-in-out;
        }
        .animate-fade-in-up {
            animation: fadeInUp 0.5s ease-in-out;
        }
        .animate-fade-in-left {
            animation: fadeInLeft 0.5s ease-in-out;
        }
        .animate-fade-in-right {
            animation: fadeInRight 0.5s ease-in-out;
        }
        .animate-pulse {
            animation: pulse 2s infinite;
        }
        .animate-float {
            animation: float 6s ease-in-out infinite;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeInLeft {
            from { opacity: 0; transform: translateX(-20px); }
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes fadeInRight {
            from { opacity: 0; transform: translateX(20px); }
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }


          .bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
  }
  
  .group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
  }
  
  .transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  
  .transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
  }
  
  .transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
  }