@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600&display=swap');
@import url('card.css');
@import url('style.css');
@import url('solarplanner.css');
@import url('planner-cards.css');
@import url('installer.css');
@import url('button.css');
@import url('s.css');
/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

/* Existing Font Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');

/* Base styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

/* Fix scrolling issues */
html, body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    background: #000000;
    overflow-x: hidden;
    overflow-y: auto; /* Ensure vertical scrolling is enabled */
    scroll-behavior: smooth;
    height: 100%; /* Set to 100% to ensure full height */
    margin: 0;
    padding: 0;
}

body {
    position: relative; /* Needed for proper scrolling */
    min-height: 100vh; /* Minimum height of viewport */
}

/* Ensure sections allow scrolling */
.page-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: visible; /* Allow content to overflow for scrolling */
}

/* Fix any fixed position elements that might block scrolling */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none; /* Allow scrolling when faded */
}

.loading.active {
    pointer-events: all; /* Block interactions when active */
}

/* Update all section backgrounds */
.page-section {
    background: #000000;
}

#home {
    background: #000000;
}

#about {
    background: #000000;
}

#services {
    background: #000000;
}

#contact {
    background: #000000;
}

/* Update body background to ensure no gaps */
body {
    background: #000000;
    margin: 0;
    padding: 0;
}

  .curved-corner-star {
    display: flex;
    position: relative;
  }
  #curved-corner-bottomleft,
  #curved-corner-bottomright,
  #curved-corner-topleft,
  #curved-corner-topright {
    width: 4px;
    height: 5px;
    overflow: hidden;
    position: relative;
  }
  #curved-corner-bottomleft:before,
  #curved-corner-bottomright:before,
  #curved-corner-topleft:before,
  #curved-corner-topright:before {
    content: "";
    display: block;
    width: 200%;
    height: 200%;
    position: absolute;
    border-radius: 50%;
  }
  #curved-corner-bottomleft:before {
    bottom: 0;
    left: 0;
    box-shadow: -5px 5px 0 0 white;
  }
  #curved-corner-bottomright:before {
    bottom: 0;
    right: 0;
    box-shadow: 5px 5px 0 0 white;
  }
  #curved-corner-topleft:before {
    top: 0;
    left: 0;
    box-shadow: -5px -5px 0 0 white;
  }
  #curved-corner-topright:before {
    top: 0;
    right: 0;
    box-shadow: 5px -5px 0 0 white;
  }
  
  @keyframes twinkling {
    0%,
    100% {
      opacity: 0.1;
    }
  
    50% {
      opacity: 1;
    }
  }
  #star-1 {
    position: absolute;
    left: -20px;
    animation: twinkling 3s infinite;
  }
  #star-2 {
    position: absolute;
    left: -40px;
    top: 30px;
    animation: twinkling 2s infinite;
  }
  #star-3 {
    position: absolute;
    left: 350px;
    top: 90px;
    animation: twinkling 4s infinite;
  }
  #star-4 {
    position: absolute;
    left: 200px;
    top: 290px;
    animation: twinkling 3s infinite;
  }
  #star-5 {
    position: absolute;
    left: 50px;
    top: 270px;
    animation: twinkling 1.5s infinite;
  }
  #star-6 {
    position: absolute;
    left: 250px;
    top: -50px;
    animation: twinkling 4s infinite;
  }
  #star-7 {
    position: absolute;
    left: 290px;
    top: 60px;
    animation: twinkling 2s infinite;
  }
  

/* Canvas Styles */
canvas {
    touch-action: none;
}

/* Existing SVG Styles */
svg {
    width: 100%;
    height: 100vh;
}

.solaiel-text {
    fill: #d8d3d3;
    font-size: 25px;
    
}


.logo-group {
    transform: translate(0, 0);
}

/* Fix button positioning to ensure it's visible */
.btn {
    position: absolute;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 160px;
    height: 40px;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    background-color: #212121;
    color: #fff;
    transition: 0.4s ease-out;
    cursor: pointer;
    z-index: 10;
    margin: 0 !important;
    top: auto !important;
    display: block !important; /* Ensure button is displayed */
}

/* Fix the filled bar to ensure it's visible and working */
.filledbar {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 0;
    height: 100%;
    background: #c97b14;
    background: linear-gradient(90deg, rgba(201, 123, 20, 0.7), #c97b14 100%);
    transition: 0.6s ease-out;
    display: block !important; /* Ensure filled bar is displayed */
}

/* Ensure hover effect works for filled bar */
.card:hover .filledbar {
    width: 100%;
    transition: 0.4s ease-out;
}

/* Ensure bar is visible */
.bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background-color: #181818;
    display: block !important; /* Ensure bar is displayed */
}

.card:hover {
    transform: translateY(-20px);
    transition: 0.4s ease-out;
    text-shadow: 2px 2px 8px rgba(255, 90, 145, 0.5); /* Pink glow to match theme */
}

.card:hover ~ .card {
    position: relative;
    left: 50px;
    transform: rotateX(-15deg) rotateY(10deg);
    transition: 0.4s ease-out;
}

.title-1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    position: absolute;
    left: 20px;
    top: 15px;
    font-family: 'Montserrat', sans-serif;
}

.btn {
    position: absolute;
    top: 195px;
    margin: 0 20px;
    width: 120px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background-color: #212121; /* Darker to match site theme */
    color: #fff;
    transition: 0.4s ease-out;
    cursor: pointer;
}

/* Navigation button styles with standardized color - repositioned to left side */
.nav-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    justify-content: center;
    gap: 30px; /* Increased spacing between buttons */
    position: fixed;
    top: 50%; /* Center vertically */
    left: 40px; /* Moved forward (increased from 20px) */
    transform: translateY(-50%); /* Center alignment adjustment */
    width: auto; /* Auto width instead of 100% */
    z-index: 1000;
    padding: 10px;
}

.nav-btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Geist Sans', sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #000000;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
}

.nav-btn:hover {
    color: rgba(255, 255, 255, 1);
    transform: none;
    background: #000000;
    box-shadow: none;
}

.nav-btn.active {
    color: rgba(255, 255, 255, 1);
    background: #000000;
}

/* Services section layout */
.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.spline-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.spline-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: none;
}

/* Remove ALL animation effects */
.services-container .spline-container,
.services-container:hover .spline-container,
.services-container.scroll-animate .spline-container {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.chatbot-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 70px);
    font-family: 'Josefin Sans', sans-serif;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    font-size: 1.4em;
    line-height: 1.6;
    font-family: 'Josefin Sans', sans-serif;
    scroll-behavior: smooth; /* Add smooth scrolling */
    display: flex;
    flex-direction: column;
}

.message {
    margin: 8px 0;
    padding: 12px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
    font-family: 'Josefin Sans', sans-serif;
}

.user-message {
    background: rgba(201, 123, 20, 0.2);
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.bot-message {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    align-self: flex-start;
    margin-right: auto;
}

.loading {
    color: #ffd700;
    font-style: italic;
}

.error {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question-suggestion:hover {
    background: rgba(201, 123, 20, 0.4);
    transform: translateY(-2px);
}

.chatbot-input {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-textbox {
    flex: 1;
    padding: 15px 25px;
    font-size: 1.1em;
    height: 55px;
    border: 1px solid rgba(201, 123, 20, 0.3);
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    transition: all 0.3s ease;
}

.chat-send-btn {
    padding: 15px 35px;
    font-size: 1.1em;
    height: 55px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, #c97b14, #ffd700);
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Style for chat messages */
.message {
    margin: 15px 0;
    padding: 15px 20px;
    border-radius: 15px;
    font-size: 1.1em;
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1.5;
}

.user-message {
    background: rgba(201, 123, 20, 0.2);
    margin-left: 20px;
    border-top-right-radius: 5px;
}

.bot-message {
    background: rgba(255, 255, 255, 0.1);
    margin-right: 20px;
    border-top-left-radius: 5px;
}

.suggested-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.question-suggestion {
    background: rgba(76, 175, 80, 0.3);
    color: white;
    border: 1px solid #4CAF50;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.question-suggestion:hover {
    background: #4CAF50;
}

.loading {
    font-style: italic;
    opacity: 0.7;
}

.error {
    background: rgba(255,0,0,0.2);
    color: #ff6b6b;
}

.question-suggestion:hover {
    background: #a66610;
    transform: translateY(-2px);
}

.chatbot-input {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-textbox {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid rgba(201, 123, 20, 0.3);
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    transition: all 0.3s ease;
}

.chat-textbox:focus {
    outline: none;
    border-color: #c97b14;
    box-shadow: 0 0 10px rgba(201, 123, 20, 0.2);
}

.chat-textbox::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chat-send-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(45deg, #c97b14, #ffd700);
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 123, 20, 0.3);
    background: linear-gradient(45deg, #ffd700, #c97b14);
}

.chat-send-btn:active {
    transform: translateY(0);
}

.ai-assistant-header {
    padding: 25px;
    color: white;
    font-size: 2em;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background: linear-gradient(45deg, rgba(201, 123, 20, 0.2), rgba(0, 0, 0, 0.4));
    text-align: center;
    letter-spacing: 1px;}
.chat-action-btn {
    background: linear-gradient(45deg, #c97b14, #ffd700);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    margin: 10px 0;
    font-family: 'Josefin Sans', sans-serif;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.chat-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 123, 20, 0.3);
}

/* Custom cursor */
* {
    cursor: none !important;
}

.circle-cursor {
    width: 20px;
    height: 20px;
    background: rgba(201, 123, 20, 0.3);
    border: 2px solid #c97b14;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.circle-cursor.hover {
    width: 50px;
    height: 50px;
    background: rgba(201, 123, 20, 0.1);
}

.btn:hover {
    cursor: pointer;
}

.nav-btn:hover {
    cursor: pointer;
}

/* Hide cursor when over buttons */
.btn:hover ~ .cursor,
.nav-btn:hover ~ .cursor {
    transform: scale(0);
}
#solarplanner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
    padding: 0;
    gap: 0;
}

.planner-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;  /* Increased gap between cards */
    padding: 0;  /* Removed padding */
    margin: 0;
    width: 100%;
    max-width: 1800px;  /* Increased max-width */
}

.card {
    width: 350px;  /* Increased width */
    height: 400px;  /* Increased height */
    position: relative;
    border-radius: 30px;
    transition: all 0.4s;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.planner-bottom {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}

.steps-title.shine {
    margin: 0;
    padding: 0;
    font-size: 2.5rem;  /* Adjust this value to change the main heading size */

}

.section-subtitle {
    margin: 0;
}

.button-container {
    margin: 0.5rem 0;
}
.animated-button {
    width: 300px;  /* Increased width */
    position: relative;
    display: inline-block;
    padding: 20px 40px;
    font-size: 1.1rem;
    background-color: transparent;
    border: none;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.button__text {
    white-space: nowrap;  /* Prevent text wrapping */
    font-size: 1rem;  /* Adjusted font size */
    letter-spacing: 1px;  /* Added letter spacing */
}