/* Base Styles */
* {
    font-family: 'Inter', sans-serif;
}
html {
    scroll-behavior: smooth;
}
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Animation Keyframes */
@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
} 
@keyframes whatsappBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) scale(1); }
    10% { transform: translateY(-8px) scale(1.05); }
    30% { transform: translateY(-4px) scale(1.02); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}
@keyframes fadeUpIn {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes cardEntrance {
    to { transform: translateY(0); opacity: 1; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-15px) rotate(-1deg); }
}
@keyframes signatureReveal {
    to { transform: scaleX(1); }
}
@keyframes slideUp {
    to { transform: translateY(0); }
}
@keyframes perspectiveEntrance {
    0% { opacity: 0; transform: rotateX(45deg) translateY(50px) scale(0.95); }
    100% { opacity: 1; transform: rotateX(0) translateY(0) scale(1); }
}
@keyframes gradientReveal {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}
@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.8); }
    70% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

/* Hero Section Styles */
.hero-gradient {
    background: linear-gradient(135deg, #1a365d 0%, #2b77ad 50%, #4a90b8 100%);
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
}
.hero-content {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
    max-width: 800px;
    margin-right: auto;
    margin-left: 0;
}

/* Text Animation Styles */

#hero-paragraph {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 2s; /* Starts after heading animation */
}
/* Text Animation Styles */
#animated-heading {
    text-align: left;
    width: 100%;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

.char {
            display: inline-block;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUpIn 0.5s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
        }
        @keyframes fadeUpIn {
            to { opacity: 1; transform: translateY(0); }
        }
        #hero-paragraph {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

#clean-energy .char {
    color: #93c5fd; /* blue-300 color */
}

@keyframes fadeUpIn {
    to { opacity: 1; transform: translateY(0); }
}

.char-container {
    display: inline-block;
    white-space: pre;
}
/* Responsive Adjustments */
@media (max-width: 1024px) {
    #animated-heading {
        font-size: 3.5rem;
    }
}
@media (max-width: 768px) {
    #animated-heading {
        font-size: 2.5rem;
    }
    #hero-paragraph {
        font-size: 1.1rem;
    }
}
@media (max-width: 640px) {
    #animated-heading {
        font-size: 2rem;
    }
    #hero-paragraph {
        font-size: 1rem;
    }
}

/* Rest of your existing styles... */
/* (Include all your other existing styles below this point) */

/* Component Styles */
.hero-image {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}
.hero-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0 !important;
    transition: opacity 0.5s ease;
}
.hero-slider .swiper-slide-active {
    opacity: 1 !important;
}
.hero-slider .swiper-pagination {
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 30 !important;
}
.hero-slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    display: block !important;
    position: relative !important;
}
.hero-slider .swiper-pagination-bullet-active {
    background: white !important;
    transform: scale(1.4) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}
.hero-slider .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.2) !important;
}
.hero-buttons-container {
    position: absolute !important;
    z-index: 25 !important;
    width: 100% !important;
    max-width: 1280px !important;
    padding: 0 1rem !important;
}
.book-button:hover {
    cursor: pointer;
}
.max-w-7xl.mx-auto.px-4.sm\\:px-6.lg\\:px-8.relative.z-20.mt-8.lg\\:mt-0.lg\\:absolute.lg\\:bottom-5 {
    bottom: 60px !important;
}
.fixed.bottom-6.right-6 {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.fixed.bottom-6.right-6 a {
    background: #25d366;
    color: white;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    overflow: hidden;
}
.fixed.bottom-6.right-6 a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #25d366;
    border-radius: 50%;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}
.fixed.bottom-6.right-6 a:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}
.fixed.bottom-6.right-6 a {
    animation: whatsappBounce 3s ease-in-out infinite;
    animation-delay: 2s;
}
.grid.grid-cols-3 {
    justify-items: start;
    text-align: left;
}
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease, transform 0.2s ease;
}
.glass-effect:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}
.stat-counter {
    font-weight: 800;
    font-size: 2.5rem;
    color: #fff;
    transition: all 0.3s ease-out;
    display: inline-block;
    min-width: 80px;
}
.environmental-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    animation: cardEntrance 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.environmental-card:nth-child(1) { animation-delay: 0.1s; }
.environmental-card:nth-child(2) { animation-delay: 0.2s; }
.environmental-card:nth-child(3) { animation-delay: 0.3s; }
.environmental-card:nth-child(4) { animation-delay: 0.4s; }
.environmental-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}
.impact-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.impact-image {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.benefit-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}
.safety-badge {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0.4s;
}
.service-card-pro {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}
.service-card-pro:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}
.trust-badge {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
}
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #3b82f6;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
.cta-button {
    /* background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); */
    background: #1E3160;
    transition: all 0.3s ease;
}
.cta-button:hover, .cta-button-2:hover{
    cursor: pointer;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}
.cta-button-2{
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
     transition: all 0.3s ease;
}
.floating-card {
    animation: float 6s ease-in-out infinite;
}
.hero-cta {
    animation: pulse 2s ease-in-out infinite;
    animation-delay: 1.5s;
}
.hero-cta:hover {
    cursor: pointer;
}
.hero-primary-btn {
    transition: all 0.3s ease, transform 0.2s ease;
}
.hero-primary-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}
.gradient-reveal {
    position: relative;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientReveal 2s ease-out forwards;
}
.perspective-anim {
    transform-style: preserve-3d;
    animation: perspectiveEntrance 1.5s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
    opacity: 0;
}
.line-mask {
    overflow: hidden;
    display: inline-block;
}
.line {
    display: inline-block;
    transform: translateY(100%);
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.signature-anim {
    position: relative;
}
.signature-anim::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1a365d, #2b77ad);
    transform: scaleX(0);
    transform-origin: left;
    animation: signatureReveal 1.2s cubic-bezier(0.8, 0, 0.2, 1) forwards;
    z-index: -1;
}
.signature-text {
    opacity: 0;
    animation: fadeIn 0.8s 0.6s ease-out forwards;
}
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}
.animate-bounce {
    animation: bounce 2s infinite;
}
.animate-in .impact-content,
.animate-in .impact-image {
    opacity: 1;
    transform: translateX(0) scale(1);
}
.animate-in .benefit-item {
    opacity: 1;
    transform: translateY(0);
}
.animate-in .safety-badge {
    opacity: 1;
    transform: scale(1);
}
.animate-in {
    opacity: 1 !important;
    transform: none !important;
}
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Services Page Specific Styles */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}
.safety-badge {
    color: white;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
}
.environment-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

/* WhatsApp Widget Styles */
#whatsapp-message {
    background: white;
    color: #1f2937;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 0.75rem;
    max-width: 18rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    opacity: 0;
    transform: translateY(8px) scale(0.95);
}

#whatsapp-message::after {
    content: '';
    position: absolute;
    bottom: -0.375rem;
    right: 1.25rem;
    width: 0.75rem;
    height: 0.75rem;
    background: white;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    transform: rotate(45deg);
}

#whatsapp-message.opacity-100 {
    opacity: 1;
    transform: translateY(0) scale(1);
}
#whatsapp-message.opacity-0 {
    opacity: 0;
    transform: translateY(8px) scale(0.95);
}
#message-text {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25;
}
/* Utility Classes */
.animate-in .benefit-item:nth-child(1) { transition-delay: 0.2s; }
.animate-in .benefit-item:nth-child(2) { transition-delay: 0.4s; }
[data-aos="custom-fade-in"] {
    opacity: 0;
    transition-property: opacity, transform;
}
[data-aos="custom-fade-in"].aos-animate {
    opacity: 1;
}

.contact-section .lg\:grid-cols-2 > div:last-child {
    width: 100%;
}

.contact-section .space-y-8 > div {
    margin-left: 0;
    margin-right: 0;
}
.text-blue-100 {
    color: rgba(219, 234, 254, 1);
}
.text-blue-200 {
    color: rgba(191, 219, 254, 1);
}
.text-blue-300 {
    color: rgba(147, 197, 253, 1);
}
.apply-now:hover {
    color:#e2e8f0;
}
/* FAQ Styles */
.faq-category {
    margin-bottom: 3rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.faq-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    background-color: #f9fafb;
    font-weight: 600;
    color: #111827;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f3f4f6;
    color: #3b82f6;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question .rotate-180 {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    background-color: white;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.6;
}
.learn-more:hover {
    cursor: pointer;
}
/* Mobile Menu Styles */
#mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.block {
    max-height: 500px;
    transition: all 0.3s ease;
}

/* Smooth transitions for menu items */
#mobile-menu a {
    transition: all 0.2s ease;
    transform: translateY(-10px);
    opacity: 0;
}

#mobile-menu.block a {
    transform: translateY(0);
    opacity: 1;
}
.required {
    color:crimson;
}
/* Stagger the menu item animations */
#mobile-menu.block a:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.block a:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.block a:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.block a:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.block a:nth-child(5) { transition-delay: 0.3s; }
#mobile-menu.block a:nth-child(6) { transition-delay: 0.35s; }
#mobile-menu.block a:nth-child(7) { transition-delay: 0.4s; }
/* Responsive Adjustments */
@media (max-width: 640px) {
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 1rem;
    }
    
    .faq-answer.active {
        padding: 1rem;
    }
}

/* Animation for FAQ items */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.faq-item.in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 640px) {
    .hero-slider .swiper-pagination {
        bottom: 15px;
    }
    
    .max-w-7xl.mx-auto.px-4.sm\\:px-6.lg\\:px-8.relative.z-20.mt-8 {
        bottom: 50px !important;
    }
    
    #whatsapp-message {
        max-width: 14rem;
        font-size: 0.8rem;
    }
    
    .fixed.bottom-6.right-6 a {
        width: 3.5rem;
        height: 3.5rem;
    }
}
@media (min-width: 1024px) {
    .hero-slider .swiper-pagination {
        bottom: 60px;
    }
}

.max-w-7xl.mx-auto.px-4.sm\\:px-6.lg\\:px-8.relative.z-20 {
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    .hero-slider .swiper-pagination {
        bottom: 100px !important;
        gap: 8px !important;
    }
    
    .hero-slider .swiper-pagination-bullet {
        width: 12px !important;
        height: 12px !important;
    }
 .hero-buttons-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem;
    bottom: 30px !important;
  }

  .hero-buttons-container .flex {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 1rem;
    flex-wrap: nowrap !important;
  }

  .hero-buttons-container a {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
    .hero-slider .swiper-pagination {
        bottom: 120px !important;
    }
    
    .hero-buttons-container {
        bottom: 60px !important;
    }
}

@media (min-width: 1024px) {
  .hero-buttons-container {
    bottom: 40px !important;
    left: 0 !important;
    transform: none !important;
    display: flex !important;
    justify-content: flex-start !important;
    margin-left: 40px !important;
    /* position: absolute !important; */
  }

  .hero-buttons-container .flex {
    justify-content: flex-start !important;
  }
}

@media (max-width: 1023px) {
  .hero-buttons-container {
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
  }

  .hero-buttons-container .flex {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 1rem;
  }
}
/* Ensure the pagination container is visible */
.swiper-pagination {
    --swiper-pagination-color: white;
    --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, 0.5);
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-size: 14px;
    --swiper-pagination-bullet-horizontal-gap: 6px;
}
/* Add to your existing char styles */
.char-container {
    display: inline-block;
    white-space: pre;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.5s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
    white-space: pre;
}

/* Ensure the clean-energy span maintains its styling */
#clean-energy .char {
    color: #06AEF6 !important;
}
