body {
    font-family: Asap, sans-serif;
}
.top-bar {
    background:white;
    color: black;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: top 0.3s;
    border-bottom: 2px solid rgb(219, 218, 218); /* Added border-bottom */

}
.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}
/* Contact Icons (Phone & Email) */
.contact-icons {
    display: flex;
}

.contact-icons a {
    font-size: 14px;
    color:black;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.contact-icons a i {
    margin-right: 5px;
    font-size: 14px;
    color: rgb(4, 4, 77);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* Hover Effect */
.contact-icons a:hover {
    color: gray;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    font-size: 14px;
    color:rgb(4, 4, 77);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* Hover Effect */
.social-icons a:hover {
    color: gray;
}
@media (max-width: 768px) {
    .top-bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 15px;
    }

    .contact-icons {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px; /* Adds spacing between phone and email */
    }

    .social-icons {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .contact-icons a,
    .social-icons a {
        font-size: 12px; /* Adjusts font size for better readability */
    }
    .contact-icons a:nth-child(2) { /* Hide the email on small screens */
        display: none;
    }
}
@media (max-width: 576px) {
    .top-bar {
        flex-direction: row; /* Keeps left and right sections separate */
        align-items: center;
        justify-content: space-between;
    }

    .contact-icons {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-icons {
        justify-content: flex-end;
    }
}
/* Hide Free Quote button and Search icon on small screens */
@media (max-width: 768px) {
    .search-icon,
    .for-more-btn {
        display: none !important;
    }
}


.navbar {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    padding-top: 70px;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s;
    padding:7px ;
    font-size: 15px;
}
.navbar-logo {
    height: 90px;  /* Adjust height as needed */
    width: auto;   /* Maintain aspect ratio */
    max-width: 100%;
}

.nav-link {
    color: rgb(32, 31, 31) !important;
    font-weight: 600;
}

.navbar-nav .nav-item .nav-link:hover {
    color: rgb(4, 4, 77); /* Change text color on hover */
    border-bottom: 2px solid rgb(4, 4, 77); /* Add bottom border on hover */
}
.nav-item:hover .dropdown-menu {
    display: block;
    border-radius: 0px;
    padding: 20px;
}
.dropdown-item{
    color: #adadad;
    text-decoration: none;
}
/* Dropdown Icon */
.dropdown-icon {
    font-size: 14px;
    margin-left: 5px;
    transition: transform 0.3s ease-in-out;
}

.navbar-nav .nav-link .dropdown-icon {
    color: rgba(101, 100, 100, 0.8) !important; /* Light grayish white */
    font-size: 10px;
}
.navbar-toggler {
    background-color: white; /* White background for toggle button */
    border: none; /* Remove border */
    padding: 5px 10px;
    border-radius: 5px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Rotate arrow when dropdown is open */
.nav-item.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

.nav-link.dropdown-toggle::after {
    display: none !important;
}
.for-more-btn {
    background: rgb(4, 4, 77);
    color: white;
    padding: 5px 10px;
    text-decoration: none;
}
.for-more-btn:hover{
    text-decoration: none;
    color: white;
    background-color: #001F5B;
}
/* Logo Styling */
.navbar img {
    height: 70px; /* Adjust height as needed */
    width: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Prevent overflow */
    object-fit: contain; /* Ensure proper fit */
}

/* Responsive Logo Size */
@media (max-width: 992px) {
    .navbar img {
        height: 50px; /* Reduce size for tablets */
    }
}

@media (max-width: 768px) {
    .navbar img {
        height: 60px; /* Smaller logo for mobile */
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
    }
}





/*whatsapp floating */
.whatsapp-button {
    position: fixed;
    left: 20px; /* Positioned on the left */
    bottom: 20px; /* Stays at the bottom */
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    padding: 15px;
    font-size: 24px;
    text-decoration: none;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    z-index: 9999; /* Ensures it's above other elements */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.whatsapp-button:hover {
    background-color: #1ebe57;
    text-decoration: none;
}

/*Inquiry button-form css*/
.inquiry-button {
    position: fixed;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    background-color: #192655;
    color: white;
    padding: 15px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 5px;
    writing-mode: vertical-rl;
    text-align: center;
    cursor: pointer;
    z-index: 9999;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.inquiry-button:hover{
    text-decoration: none;
    color: white;
}
.inquiry-form {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: auto;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    transition: right 0.3s;
    z-index: 10000;
}

.inquiry-form .form-header {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    background: #192655;
    color: white;
    padding: 12px;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}

.close-button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    outline: none;
}

.close-button:hover {
    color: #ccc;
}

.inquiry-form .form-container {
    padding: 12px;
}

.inquiry-form label {
    font-weight: bold;
    display: block;
    margin-top: 8px;
    color: #333;
    font-size: 14px;
}

.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
    width: 100%;
    padding: 6px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.inquiry-form textarea {
    resize: none;
    height: 60px;
}

.submit-button {
    background-color: #0e1739;
    color: white;
    font-size: 14px;
    padding: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.submit-button:hover {
    background-color: #0d1b38;
}



.carousel-item {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.733); /* Dark overlay */
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    color: white; /* Ensure text is visible */
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.btn-custom {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.3s;
    border-radius: 0px;
}

.btn-custom:hover {
    background: white;
    color: black;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 70vh;
    }
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    .btn-custom {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .carousel-item {
        height: 60vh;
    }
    .carousel-caption {
        width: 100%;
    }
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    .btn-custom {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Set Background Images for Each Carousel Slide */
.carousel-item:nth-child(1) {
    background-image: url("image/power.png"); /* Replace with correct path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-item:nth-child(2) {
    background-image: url("image/sol.png"); /* Replace with correct path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-item:nth-child(3) {
    background-image: url("image/solar.png"); /* Replace with correct path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-caption h5,
.carousel-caption h1,
.carousel-caption p,
.carousel-caption a {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-in-out;
}

.carousel-item.active .carousel-caption h5 {
    animation: slideUp 0.6s ease-in-out forwards 0.3s;
}

.carousel-item.active .carousel-caption h1 {
    animation: slideUp 0.6s ease-in-out forwards 0.5s;
}

.carousel-item.active .carousel-caption p {
    animation: slideUp 0.6s ease-in-out forwards 0.7s;
}

.carousel-item.active .carousel-caption a {
    animation: slideUp 0.6s ease-in-out forwards 0.9s;
}

/* About Us Section */
    .about-bg {
      background-color: #f9f9fb; /* full width color */
      padding: 60px 0;
    }

    /* ===== Section Container ===== */
    .about-container {
      color: #333;
    }

    .about-label {
      font-size: 0.95rem;
      font-weight: 600;
      color: #949494ff;
      margin-bottom: 12px;
    }

    .about-title {
      font-size: 2rem;
      font-weight: 700;
      color: #0d0d2a;
      margin-bottom: 20px;
      line-height: 1.3;
    }

    .about-desc {
      font-size: 1rem;
      line-height: 1.6;
      color: #444;
      margin-bottom: 40px;
      text-align: justify;
    }

    .stats-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px 60px;
      margin-bottom: 30px;
    }

    .stats-item h3 {
      font-size: 1.3rem;
      font-weight: 700;
      color: #0d0d2a;
      margin: 0 0 6px 0;
      position: relative;
      display: inline-block;
    }

    .stats-item h3::after {
      content: "";
      display: block;
      width: 100%;
      height: 2px;
      background: #c7c6c6ff;
      margin-top: 6px;
    }

    .stats-item p {
      font-size: 0.85rem;
      color: #555;
      margin: 0;
    }

    .about-image img {
      width: 90%;
      height: 500px;
      border-radius: 12px;
      object-fit: cover;
      margin-left: 20px;
    }

    .about-btn {
      position: relative;
      padding: 8px 38px;
      color: #fff;
      background-color: #020844;
      border: none;
      border-radius: 4px;
      text-decoration: none;
      overflow: hidden;
      transition: color 0.3s ease;
      z-index: 1;
      font-size: 16px;
      display: inline-block;
    }

    .about-btn::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background-color: #e6eaf6; 
      transition: left 0.4s ease;
      z-index: -1;
    }

    .about-btn:hover::before {
      left: 0;
    }

    .about-btn:hover {
      color: #000000;
    }
@media (max-width: 768px) {
  .about-bg {
    padding: 80px 20px; /* more padding on mobile */
  }

  /* Order: Paragraph → Image → Stats → Button */
  .about-container .col-lg-7 {
    order: 1; /* text first */
  }
  .about-container .col-lg-5 {
    order: 2; /* image after text */
  }
  .about-container .stats-container {
    order: 3; /* stats after image */
    grid-template-columns: 1fr; /* single column layout */
    gap: 20px;
    margin-top: 20px;
  }
  .about-btn {
    order: 4; /* button last */
    margin-top: 20px;
    display: inline-block;
  }

  /* Make image responsive */
  .about-image img {
    width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
  }

  /* Adjust paragraph spacing */
  .about-desc {
    margin-bottom: 20px;
  }
}




/*why choose us*/
.why-choose-us {
    padding: 60px 40px;
    background-color: #fff;
    overflow: hidden;
    }
    
/* Container */
    .why-choose-us-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    }
    
    /* Left Content */
    .left-content {
    flex: 1;
    max-width: 50%;
    padding-right: 20px;
    text-align: justify;
    }
    
    .left-content h1 {
    font-size: 34px;
    font-weight: 600;
    color: #001F5B;
    margin-bottom: 15px;
    letter-spacing: 2px;
    }
    
    .left-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
    }
    
    /* Links */
    .links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    }
    
    .link {
    font-size: 16px;
    color: #a61b1b;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
    
    }
    
    .link:hover {
    text-decoration: none;
    }
    
    /* Right Content */
    .right-content {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    border-left: 2px solid #411e13;
    }
    
    /* Features Grid */
    .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
    padding: 10px 10px;
    }
    
    .feature {
    display: flex;
    align-items: center;
    gap: 15px;
    }
    
    .feature img {
    width: 80px;
    height: auto;
    }
    
    .feature h3 {
    font-size: 14px;
    margin: 0;
    }
    
    .feature p {
    font-size: 13px;
    color: #333;
    margin: 1px 1px;
    line-height: 1.4;
    text-align: left;
    }
    
    /* Divider */
    hr {
    grid-column: span 2;
    border: none;
    height: 2px;
    background: #535050;
    margin: 10px 0;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
    .why-choose-us-container {
        flex-direction: column;
        text-align: center;
    }
    
    .left-content {
        max-width: 100%;
        padding-right: 0;
    }
    
    .right-content {
        max-width: 100%;
        border-left: none;
        padding-left: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature {
        justify-content: center;
        flex-direction: column;
    }
    }
/*product*/


.product-hero-section {
    text-align: center;
    padding: 30px 20px;
}

.product-hero-section h1 {
    font-size: 2.0rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.product-hero-section p {
    font-size: 1.0rem;
    color: gray;
}

.btn-product{
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: black;
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    border-radius: 10px;
}
.btn-product:hover{
    text-decoration: none;
    background: #202020;

    color: white;
}
.product-scroll-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    white-space: nowrap;
    position: relative;
}

.product-scroll-content {
    display: flex;
    gap: 15px;
    width: max-content;
    position: relative;
}

.product-card {
    width: 270px;
    height: 240px;
    perspective: 1000px;
    flex-shrink: 0;
}

.product-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.product-card:hover .product-card-inner {
    transform: rotateY(180deg);
}

.product-card-front, .product-card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #ffffff;
    padding: 15px;
}
.product-card-front a{
    text-decoration: none;
    color: #001F5B;
    font-size: 12px;
}
.product-card-front h5{
    color: #001F5B;
    font-size: 15px;
    font-weight: 600;
}
.product-card-front p{
    color: #001F5B;
    font-size: 12px;
}
.product-card-back {
    transform: rotateY(180deg);
    background-color: #001F5B;
    color: white;
    padding: 30px;
}

.product-card-back p {
padding: 20px;
font-size: 12px;
}
.product-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}
.product-card {
    cursor: pointer;
}



/*Partners section*/
.partners {
    text-align: center;
    padding: 60px 20px;
    background-image: url("images/partner-background.png");
    background-size: cover;
    }
    
    .section-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    color: #001F5B;
    }
    
    .section-description {
    font-size: 16px;
    color: #555;
    margin: 0 auto 30px;
    padding: 0px 50px;
    }
    
    /* Grid Layout */
    .partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    }
    .partner-sec {
      font-size: 30px;
      letter-spacing: 3px;
      font-weight: 600;
    }

    /* Partner Card */
    .partner-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 80px;
    transition: all 0.3s ease-in-out;
    
    }
    .partner-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    /* Partner Logos */
    .partner-card img {
    max-width: 100%;
    max-height: 100%;
    }
    
    /* Responsive Design */
    @media (max-width: 1024px) {
    .partner-card {
        width: 130px;
        height: 70px;
    }
    }
    
    @media (max-width: 768px) {
    .partners{
        padding: 5px;
    }
    .partners-grid {
        gap: 15px;
    }
    .partner-card {
        width: 45%;
        height: auto;
        padding: 10px;
    }
    .partner-card img {
      max-width: 60%;
      max-height: 60%;
    }
    .section-description {
        font-size: 16px;
        text-align: justify;
    }
    }

    @media (max-width: 480px) {
    .partner-card {
        width: 100%;
        padding: 12px;
    }
    
    
    }



/*Footer*/
.footer {
    padding-top: 30px;
    padding-left: 40px;
    padding-right: 30px;
    color: black;
    position: relative;
    padding-bottom: 50px;
    background-color: rgb(253, 253, 253);
}
.footer-logo {
    max-width: 180px;
    height: auto;
}
.footer a {
    color: rgb(92, 91, 91);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}
.footer a:hover {
    color: #5c85dc;
}
.address-main {
    font-weight: 600;
    color: (92, 91, 91);
}
.add-text{
    color: rgb(92, 91, 91) ;
    text-align: justify;
    font-size: 13px;
}
.footer h5 {
    border-bottom: 7px double rgb(31, 25, 125);
    display: inline-block; /* Ensures the underline only spans the text width */
    padding-bottom: 5px;
    margin-bottom: 15px;
    color: black;
    padding-top: 20px;
}

.social-icons a {
    font-size: 18px;
    margin-right: 12px;
    color: rgb(20, 15, 81);
    transition: transform 0.3s ease, color 0.3s ease;
    
}
.social-icons a:hover {
    color: black;
    transform: scale(1.2);
}
.info-section {
    font-family: Arial, sans-serif;
    color: #333;
    font-size: 14px;
}

.info-title {
    font-weight: bold;
    margin-top: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
    justify-content: left;
    margin-bottom: 10px;
}

.social-links a {
    display: inline-block;
    color: rgb(21, 17, 97);
    text-align: center;
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}
.social-links a:hover {
    color: black;
    transform: scale(1.2);
}

.footer-container {
    max-width: 1200px;
}
.list-unstyled {
    padding-top: 20px;
}
.list-unstyled a {
    gap: 20px;
}
@media (max-width: 767px) {
    .footer {
        text-align: left; /* Ensures the container itself is left-aligned */
        padding: 20px;
    }
    .footer-logo {
        max-width: 150px;
    }
    .footer h5 {
        display: inline-block; /* Ensures the underline is only under the text */
        border-bottom: 7px double rgb(31, 25, 125);
        color: black;
        font-size: 18px;
        text-align: left; /* Ensures text inside is left-aligned */
        width: auto; /* Prevents stretching */
    }
    .social-icons {
        text-align: left;
        margin-top: 15px;
    }
    .footer, 
    .footer h5, 
    .footer a, 
    .social-icons, 
    .list-unstyled {
        text-align: left !important;
    }
}





/* Fullscreen background overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Centering the modal-content */
.modal-content {
    background-color: #fff;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    
    /* Centering */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Form Styling */
h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

textarea {
    height: 100px;
    resize: none;
}

/* Product Code Field */
input[name="product"] {
    background: #f5f5f5;
    font-weight: bold;
    border: none;
    cursor: not-allowed;
}

/* Button */
.button-con {
    width: 100%;
    background: #222;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    text-align: center;
    transition: background 0.3s ease;
}

.button-con:hover {
    background: #444;
}

/* Responsive Design */
@media screen and (max-width: 480px) {
    .modal-content {
        max-width: 90%;
        padding: 15px;
    }

    h2 {
        font-size: 18px;
    }

    input, textarea {
        font-size: 14px;
        padding: 8px;
    }

    .button-con {
        font-size: 14px;
        padding: 10px;
    }
}
