/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
  }
  

p {
    line-height: 1.5; /* Adds space between lines in paragraphs */
}

h1, h2, h3 {
    line-height: 1.2; /* Adjust for headings */
}

h1, h2, h3, h4, h5, h6, p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px transparent inset;
    -webkit-text-fill-color: white;
    transition: background-color 5000s ease-in-out 0s;
    
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px transparent inset; /* Ensures background stays transparent on focus */
    -webkit-text-fill-color: white; /* Ensures text color stays white on focus */
}


@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body  {
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
}
  

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

header {
    background-color:#1A1F36;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 0.5px solid white;
}

.logo {
    font-size: 24px;
    color: #ffffff;
    font-weight: bold;
    display: flex;
    
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-top: 5px;
}
.hamburger .bar {
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Transform the bars when menu is active (menu open) */
#hamburger-btn.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
}

#hamburger-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
}

/* Media query for small screens */
@media (max-width: 768px) {
    /* Hide the normal nav and Call Now button on small screens */

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 50px;
        background-color: #07142e;
        padding: 15px 0;
        z-index: 1000;
        width: 150px;
        border-radius: 20px;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }
    .nav-links::after {
        background-color: #007BFF;
    }

    .nav-links li {
        text-align: center;
        margin: 10px ;
        width: 100%;
    }

    .call-now {
        display: none;
    }
    .logo {
        margin-right: 125px;
    }
   
    /* Display the hamburger menu button */
    .hamburger {
        display: flex;
        margin-left: 125px;
    }
}

nav {
    flex: 1;
    display: flex;
    justify-content: space-between; 
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
}
nav ul li a:active{
    color: #0f67ec;
}
.call-now {
    background-color: #3399ff;
    padding: 10px 20px;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.call-now:hover {
    background-color: #267fcc;
}


section {
    padding: 100px 50px;
    text-align: center;
}

.home-section {
    background: radial-gradient(circle at bottom right, #B2C0EF 10%, #3055CF 50%, #1A1F36 90%);


    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: left;
    align-items: center;
}

.home-section h1 {
    font-size: 90px;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: start;
    margin-left: 60px;
}

.home-section p {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: start;
    margin-left: 60px;
}

.btn {
    background-color: #3399ff;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 100px;
    float: left;
    margin-left: 60px;
    margin-top: 30px;
}

.services-section {
    background-color: #1A1F36;
    color: #ffffff;
    height: 100vh;
    
}
.services-heading{
    margin-bottom: 30px;
}
.service-cards {
    display: flex;
    justify-content: space-around;
    padding-top: 30px;
}

.service-cards img{
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-cards img:hover{
    transform: scale(0.8);
}
.service-card {
    background-color: transparent;
    padding: 30px;
    border-radius: 10px;
    width: 23%;
}

.service-card h3 {
    margin: 20px 0;
    font-size: 20px;
}

.service-card p {
    margin-top: 30px;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
}

.whyus-section {
    background: linear-gradient(90deg, #7B46FF, #1A1F36);
    color: #ffffff;
    height: 100vh;
}

.whyus-heading{
    margin-bottom: 30px;
    font-size: 34px;
}

.why-cards {
    display: flex;
    justify-content: space-around;
    padding-top: 30px;
}

.why-cards img{
    width: 70%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.why-cards img:hover{
    transform: scale(0.8);
}

.why-card {
    background: transparent;
    padding: 30px;
    border-radius: 10px;
    width: 30%;
}

.why-card h3 {
    margin: 20px 0;
    font-size: 20px;
}

.why-card p {
    margin-top: 30px;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
}

.about-section {
    position: relative;
    padding: 50px;
    min-height: 100vh;
    background: #1A1F36;
    color: white;
}

.about-content {
    position: relative;
    height: 100vh; /* Full viewport height for layout */
}

.about-paragraph {
    position: absolute;
    width: 30%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Just to make sure it stands out */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Positioning the paragraphs like a staircase */
.story {
    top: 9%;
    left: 15px;
}

.mission {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vision {
    bottom: 10%;
    right: 10px;
}

/* Optional: Styling for better visibility */
.about-paragraph h3 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #ffffff;
}

.about-paragraph p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    text-align: start;
}

/* Contact Section */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 50px;
    background: #1A1F36;
    color: #ffffff;
    height: 100vh;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.get-in-touch {
    flex-basis: 45%;
}

.get-in-touch h2 {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: start;
}

.get-in-touch h3 {
    font-size: 35px;
    margin-bottom: 15px;
    text-align: start;
}

.get-in-touch p {
    font-size: 16px;
    margin-bottom: 25px;
    text-align: start;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
}
.social-icons {
    display: flex;
    gap: 15px; /* Adjust spacing as needed */
    margin: 20px;  /*Adjust margin as needed */
    margin-left: 10px;
}
.social-icons a {
    color: #0f67ec; /* Change this to the color you want */
    font-size: 35px; /* Increase the size of the icons */
    text-decoration: none;
    
}
.social-icons a:hover {
    color: #ffffff; /* Change hover color if desired */
}

.contact-form {
    flex-basis: 45%;
}

.contact-form input{
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    background: transparent;
    border-bottom: 2px solid #ffffff;
    color: white;
}
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background: transparent;
    border-bottom: 2px solid #ffffff;
    color: white;
}

.contact-form textarea:focus {
    background-color: transparent; /* Ensures background stays transparent on focus */
    outline: none; /* Remove the default browser outline */
    border: 1px solid #007BFF; /* Optional: Change border color on focus */
}

.contact-form .form-row {
    display: flex;
    justify-content: space-between;
}

.contact-form .form-row input {
    width: 48%;
}

.contact-form textarea {
    height: 150px;
}

/* Change placeholder text color to black */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ffff; /* Set the placeholder text color to black */
    opacity: 1; /* Ensures the color is not transparent on some browsers */
}


.contact-form button {
    padding: 15px 30px;
    border: none;
    background-color: #3399FF;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #2678cc;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #07142E;
    color: #ffffff;
}

footer p {
    margin: 0;
}

footer a {
    text-decoration: none;
    color: white;
}

footer a:hover {
    color: #0f67ec;
}

/* Modal Styles */


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #1A1F36;
    color: white;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: left;
    position: relative;
    height: 700px; /* Set the height of the element */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content p {
    font-size: 16px;
    line-height: 1.5;

}


.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.modal-content h2, .modal-content p {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.details {
    
    margin-left: 40px;
}

/* what i add from chatgpt to make it mobile responsive*/

/* Smaller screen adjustments */
@media screen and (max-width: 480px) {
    /* Further reduce font sizes and padding */
    .home-section h1 {
        font-size: 36px;
    }
    .home-section p {
        font-size: 16px;
    }
    .btn {
        padding: 10px 15px;
    }
    .logo {
        font-size: 18px;
    }
}

/* Global styles for mobile responsiveness */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px;
    }
    
    .logo {
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-section h1 {
        font-size: 48px;
        margin-left: 0;
        text-align: start;
    }

    .home-section p {
        font-size: 18px;
        margin-left: 0;
        text-align: start;
    }

    .btn {
        margin-left: 0;
        float: none;
    }

    .services-section, .whyus-section/*, /*.about-section*/ {
        display: flex;
        flex-direction: column;
        height: auto; 
        min-height: 100px; 
        padding: 20px; 
        box-sizing: border-box;
        justify-content: center;
    }

    .service-cards, .why-cards {
        flex-direction: column;
        align-items: center;
        width: 80%;
    }

    .service-card, .why-card {
        width: 90%;
        margin-bottom: 20px;
        margin: 5px;
        font-size: 5px;
        
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 200px;
    }

    .about-paragraph {
        width: 90%;
        margin: 5px;
        font-size: 5px;
        position: static; /* Change to static positioning */
        width: 90%; /* Adjust width for smaller screens */
        margin-bottom: 20px; /* Add margin for spacing */
    }
    
    .story, .mission, .vision {
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        transform: none;
    }

    .contact-section {
        flex-direction: column;
        text-align: center;
        
    }
    .contact-content {
        flex-direction: column;
        text-align: center;
        
    }
    .get-in-touch, .contact-form {
        flex-basis: 100%;
        margin-bottom: 30px;
        text-align: start;
    }
    
    .social-icons a {
        font-size: 24px;
        
    }
    .contact-form .form-row {
        flex-direction: column;
    }
    .contact-form .form-row input {
        width: 100%;
        margin-bottom: 15px;
    }

}

/* Alert Message Styles */
.alert {
    width: 80%;
    margin: 50px;
    background: #007BFF;
    padding: 10px 20px;
    border-radius: 30px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    display: none;
    animation: fadeInUp 1s ease-in-out;
}

