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;
    right: 5px; /* 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;
}



/*Home section*/
.solar-hero {
    background: url('images/home.png') center center/cover no-repeat;
    height: 100vh;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    padding-left: 30px; /* Add padding to the left for a better margin */
  }
  
  .solar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.717);
    z-index: 1;
  }
  
  .solar-content {
    position: relative;
    z-index: 2;
    padding: 10px;
    border-radius: 12px;
    text-align: left; /* Align text to the left */
    max-width: 600px;
  }
  
  .solar-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
  }
  
  .highlight {
    color: #ff5252; /* Highlight color */
  }
  
  .solar-content p {
    font-size: 1.1rem;
    margin-top: 20px;
    color: #dddddd;
  }
  
  .btn-solar {
    margin-top: 30px;
    background: #ff5252;
    border: none;
    color: white;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 50px;
    transition: background 0.3s ease;
  }
  
  .btn-solar:hover {
    background: #e63946; /* Hover effect */
  }
  
  .solar-form {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    margin: 20px auto;
  }
  
  .form-control {
    border-radius: 10px;
    margin-bottom: 10px; /* Reduced gap between inputs */
  }
  
  .form-control:focus {
    box-shadow: none;
    border-color: #ff5252; /* Focus border color */
  }
  
  .solar-form-container {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    gap: 2px; /* Reduced gap between form fields */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  
  .solar-btn-submit {
    margin-top: 10px;
    padding: 10px 30px;
    width: fit-content;
    align-self: center;
    border: none;
    border-radius: 50px;
    background-color: #ff5252;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .solar-btn-submit:hover {
    background-color: #e63946; /* Hover effect for submit button */
  }
  
  /* Media Queries for Responsiveness */
  @media (max-width: 768px) {
    .solar-hero {
      height: auto;
      padding: 50px 0;
    }
    .solar-content{
        text-align: center;
    }
    .solar-content h1 {
      font-size: 1.75rem;
    }
  
    .solar-content p {
      font-size: 1rem;
    }
  
    .solar-form {
      margin-top: 30px;
    }
  
    .solar-form-container {
      gap: 2px;
    }
  
    .solar-btn-submit {
      width: 100%;
      font-size: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .solar-content h1 {
      font-size: 1.5rem;
    }
  
    .solar-content p {
      font-size: 0.9rem;
    }
  
    .btn-solar {
      font-size: 0.9rem;
      padding: 10px 20px;
    }
  }


/* About us */
.home-about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    background-color: #fff;
    position: relative;
}
.row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.home-about-image img {
    max-width: 100%;
}
.home-about-text {
    padding-left: 20px;
    position: relative;
}
.home-about-text h2 {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    text-align: left;
}
.home-about-text p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}
.home-about-text ul {
    list-style: none;
    padding: 0;
}
.home-about-text ul li {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
}
.home-about-text ul li::before {
    content: '\2713';
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}
.home-btn-about {
    background-color: #1f923a;
    color: white;
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.home-btn-about:hover {
    background-color: #0f5c32;
    transform: scale(1.05);
    text-decoration: none;
    color: white;
}
.home-about-header {
    color: #ff6600;
    font-weight: bold;
    margin-bottom: 10px;
}
.home-about-header::before {
    content: "#";
    color: #ff6600;
    margin-right: 5px;
}
.home-about-underline1 {
    width: 90px;
    height: 2px;
    background-color: #ff6600;
    margin-top: 2px;
    margin-bottom: 5px;
}
.home-about-underline2 {
    width: 130px;
    height: 2px;
    background-color: #ff6600;
    margin-top: 2px;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .home-about-section {
        padding: 30px;
    }
    .home-about-text {
        padding-left: 0;
        text-align: left;
    }
    .home-about-text h2 {
        font-size: 24px;
    }
    .home-about-text p {
        font-size: 13px;
    }
    .home-btn-about {
        font-size: 13px;
        padding: 8px 18px;
    }
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
        text-align: left;
    }
    .home-about-text {
        padding: 20px;
    }
    .home-about-text h2 {
        font-size: 22px;
    }
    .home-about-text p {
        font-size: 12px;
    }
    .home-btn-about {
        font-size: 12px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .home-about-section {
        padding: 15px;
    }
    .home-about-text h2 {
        font-size: 20px;
    }
    .home-about-text p {
        font-size: 12px;
    }
    .home-about-underline1 {
        width: 70px;
    }
    .home-about-underline2 {
        width: 100px;
    }
}

/*Why-choose-us*/

.why-choose .card{
    height: 70vh;
}
.why-choose .card-style1 {
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}
.why-choose .card-style1:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgb(255, 255, 255);
}
.why-choose .about-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.why-choose .text-primary-hover:hover {
    color: #007bff !important;
}
.why-choose .card-body{
    background: white;
    color: black;
}
.why-choose .why-card-text{
    color: #222;
}
.why-head{
    color: orangered;
    font-weight: bold;
    padding-top:80px ;
}


/*Product section*/
.product-card {
      text-align: center;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding-bottom: 10px;
      align-items: center;
      background-color: rgba(199, 199, 199, 0.256);
    }

    .product-card h6 {
      color: #222;
      padding: 5px;
    }

    .product-card img {
      width: 100%;
      height: 200px; /* Fixed height for uniformity */
    }

    .btn-pro:hover {
      background-color: rgba(28, 28, 28, 0.733);
    }

    /* New product-home styles */
    .product-home {
      border: 1px solid #ccc;
     
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .product-home:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
      border-color: #333;
    }


/*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;
    padding-top: 40px;
}

.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;
}
.last{
    padding-top: 100px;
}
@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;
    }
}
