/* Body and Background */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7fb;
    color: #333;
    margin: 0;
    padding: 0;
}
/* Styling for the testimonials section */
.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

/* Style for individual reviews */
.test {
    background-color: #f4f4f9;
    border-radius: 8px;
    padding: 20px;
    width: calc(50% - 15px); /* Two reviews per row on large screens */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.test:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .test {
        width: 100%; /* One review per row on smaller screens */
    }
}


/* Styling for the review text */
.test p {
    color: #34495E;
    font-size: 1em;
    line-height: 1.6;
}

.test p strong {
    color: #2980B9;
}

.test p em {
    font-style: italic;
    color: #2C3E50;
}

/* Hero Section */
.hero {
    width:100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction:row;
    justify-content: center;
    align-items: center;
    background: #4e79e3;
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-content {
    width:40%;
    margin-bottom: 20px;
    padding:5%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1.5s ease-out;
}

.hero-description {
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
    animation: fadeIn 2s ease-out;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cta-button {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent;
    color: #f5c518;
    border: 2px solid #f5c518;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #f5c518;
    color: #163057;
}

.hero-image {
    animation: fadeIn 2s ease-out;
    margin-right:0px;
    width:100%;
    height:auto;
}
.image-content{
    width:60%;
    aspect-ratio: 1/1;
}
/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .hero-content{
        width:80%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero-image {
        max-width: 250px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.headers{
    color: #163057;
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 2rem;                
    text-align: center;
    align-items: center;
  }
.bg , .bg1{
    display: flex;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 2.5% 10%;
    flex-direction: row; /* Default layout: image and content side by side */
    flex-wrap: wrap;   
}
.bg1{
    background: #224062;
}
.bg-content {
    flex: 1;
    padding: 20px;
    margin-right: 20px;
    border-width: 5px;
}
.bg-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Media query for responsive design */
@media (max-width: 768px) {
    .bg {
        flex-direction: column; /* Stack elements vertically */
    }

    .bg-image {
        margin-bottom: 20px; /* Add some spacing between the image and content */
    }
}
.container1 {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center; /* Center child elements horizontally */
    align-items: stretch; /* Stretch children to match container height */
    margin: 4%;
    gap: 20px; /* Space between child elements */
    max-width: 80%; /* Constrain container width */
    height: 100%; /* Fill the height of the parent */
}

.calculator-container,
.results-container {
    flex: 1 1 calc(45% - 20px); /* Adjust size and space between children */
    max-width: 45%; /* Limit maximum width */
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: auto; /* Remove fixed height for flexibility */
}
.inputs label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

.inputs input {
    width: 90%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-container {
    width: 370px; /* Adjust width as needed */
    height: 500px;
    padding: 20px; /* Add some padding */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional shadow for aesthetics */
}

.result-container {
    width: 370px; /* Adjust width as needed */
    height: 500px;
    padding: 20px; /* Add some padding */
    display: flex;
    flex-direction: column; /* Stack results vertically */
    align-items: flex-end; /* Align results to the right */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional shadow for aesthetics */
    gap:12px;
    align-content:flex-end;
    
}


.result {
    margin-bottom: 10px; /* Space between results */
}



.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.input-group span {
    background-color: #e0e0e0;
    padding: 10px;
    border-radius: 4px 0 0 4px;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0 4px 4px 0;
    outline: none;
}


.results-container {
    width: 100%;
}

.result {
    text-align: center;
    margin-bottom: 15px;
    background:#F0DEDE;
    margin:5px;
}

.result-amounts{
    display: flex;
    flex-direction: row;
    width:100%;
    margin:5px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */

}


.Emibutton{
    display: flex; /* Enables flexbox layout */
    justify-content: center; /* Horizontally centers the button */
    align-items: center; /* Vertically centers the button */
}

h1, h2 {
    margin-bottom: 1%;
    color: #163057;
    align-items: center; /* Vertically centers the button */
}
#calculateBtn {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
#calculateBtn:hover {
    background: #0056b3;
}
.results p {
    font-size: 18px;
    margin: 5px 0;
    color:white;
}

.chart {
    margin: 20px auto;
    max-width: 80%;
    margin: 20px auto;
    max-width: 80%;
}

.chart h2 {
    font-weight: bold;
}
/* Responsive */
@media (max-width: 768px) {
  

    .bg-content h1 {
        font-size: 32px;
    }

    .bg-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .container1 {
        flex-direction: column; /* Stack containers vertically */
        gap: 30px; /* Add spacing between stacked containers */
    }

    .calculator-container,
.results-container {
    flex: 1 1 100%; /* Full-width on smaller screens */
    max-width: 100%; /* Constrain to container's width */
}
}

  /* Overall testimonial container */
  .testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 2%;
  }

  .test {
    border: 2px solid #f1f1f1;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin: 15px;
    width: 45%;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  }

  .test:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #f1f1f1;
  }

  .test img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin-right: 20px;
    border: 4px solid #163057; /* Adds a border to the image */
  }

  .test-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .test span {
    font-size: 22px;
    font-weight: bold;
    color: #163057; /* Main text color */
    text-transform: uppercase; /* Adds uppercase for the name */
  }

  .test .title {
    font-size: 18px;
    font-style: italic;
    color: #555;
    margin-top: 5px;
  }

  .test p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-top: 10px;
    font-family: 'Roboto', sans-serif; /* Changes font for readability */
  }

  /* Adding background gradient and padding to the testimonials */
  .test:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 10px;
  }

  /* Responsive design for smaller screens */
  @media (max-width: 768px) {
    .testimonials-container {
      flex-direction: column;
      align-items: center;
    }

    .test {
      width: 80%;
    }

    .test img {
      margin-bottom: 15px;
    }
  }
 

  .review-container {
    background: linear-gradient(109.6deg, rgb(58 216 227 / 33%) 11.2%, rgb(78 11 90 / 26%) 42%, rgb(224 154 238 / 71%) 71.5%, rgb(126 159 196) 100.2%); 
    max-width: 80%;
    height: auto;
    margin: 5% auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
}

.review-form label {
    font-size: 16px;
    font-weight: bold;
    color: #444;
    display: block;
    margin-bottom: 8px;
    margin-left: 15%;
}

.review-form span {
    color: red;
    font-weight: bold;
}

.review-form input,
.review-form textarea {
    width: 70%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 15%;
}

.review-form textarea {
    resize: none;
}

.rating-container {
    display: flex;
    width: 25%;
    margin: 0% 0% 2.5% 15%;
}

.rating-container input {
    display: none;
}

.rating-container label {
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}
.rating-container label {
    color: #fff;
}

/* Active stars for selected rating */
.rating-container input:checked {
    color: #f5c518; /* Highlight the stars before the selected one */
}

.review-form button {
    background-color: #163057;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0% 40%;
}

.review-form button:hover {
    background-color: whitesmoke;
    color: black;
}


.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.62;
    overflow: hidden; /* Hide excess parts of the image */
    background-attachment: fixed; /* Key property for parallax */
    background-position: center;
    background-repeat: no-repeat;
    
}

.parallax-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1 / 0.62;
    transform: translateZ(0); /* Enable GPU rendering for better performance */
    will-change: transform;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay with 40% opacity */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay h2 {
    font-size: 2em;
    margin: 0;
    color: white;
}

.overlay p {
    font-size: 1.2em;
}
/* General Styles */
body {
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.contact-item {
    flex: 1 1 ;
    padding: 10px;
    color: #444;
}

.icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

/* Contact Form and Image */
#Contact-id {
    position: relative;
    overflow: hidden; /* Ensures content doesn't spill outside the div */
    height: auto; /* Adjust this based on your desired height */
}
.contact-container {
    display: flex;
    flex-direction: row;
    justify-items: center;
    align-items: center;
    justify-content: space-around;
    width:100%;

}
.contact-image{
    width:80%;
}
.contact-image img {
    max-width: 100%;
    height: auto;
    width:100%;
    margin:2.5% 5% 2.5% 5%;
    border-radius: 1%;
}
.contact-form {
    margin:2.5% 5% 2.5% 5%;
    width:80%;
}
.contact-form label{
    color: white;
}
.form-group {
    margin-bottom: 2%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn {
    background-image: radial-gradient( circle farthest-corner at 10% 20%,  rgba(176,229,208,1) 42%, rgba(92,202,238,0.41) 93.6% );
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
    margin-left: 40%;
    margin-right: 40%;
}

.btn:hover {
    background: linear-gradient(to right, #feb47b, #ff7e5f);
}
.contact-item p{
    color: white;
}
/* Responsive Design */
@media (max-width: 768px) {
    .overlay h2{
        font-size: 1.4em; /* Adjust overlay text */
        
    }
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        text-align: center;
    }
}
.google-map {
    margin: 2.5% 10%;

    padding-bottom: 50%;
    position: relative;
}

.google-map iframe {
margin-top: 3%;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
}
