html {
    scroll-behavior: smooth;
}
/* Global Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #f9f7d9;
    color: #333333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo Styles */
.logo img {
    max-width: 80px;
    height: auto;
}
.logo{
    text-decoration: none;
}

/* Navigation Menu Styles */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

/* Link Styles */
nav ul li a {
    position: relative;
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    z-index: 1;
    transition: all 0.5s;
}

/* Hover Effect on Link */
nav ul li a:hover {
    color :#3d92f3;;
}

/* Underline Effect on Link */
nav ul li a:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 1.5px;
    background-color: #f5f0f0;
    visibility: hidden;
    opacity: 0;
    z-index: -1;
    transition: all 0.3s ease;
}

/* Show Underline Effect on Hover */
nav ul li a:hover:after {
    visibility: visible;
    opacity: 1;
    height: 100%;
}

/* Responsive Menu Button Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Intro Container Styles */
.intro-container {
    text-align: center;
    padding: 50px 20px;
    flex-grow: 1;
}

.intro-container h1 {
    font-size: 2.5em;
    margin: 0;
}

.intro-container p {
    font-size: 1.2em;
    color: #777777;
}
.company-name {
    font-size: 2em;
    animation: slide-in-left 3s ease-out forwards;
}

.company-description {
    font-size: 1.5em;
    margin-top: 3px;
    animation: slide-in-right 3s ease-out forwards;
}

/* Success Content Styles */
.Success-content {
    margin-top: 30px;
}

.Success-content h2 {
    font-size: 2em;
    margin: 0;
}

.Success-content p {
    font-size: 1.2em;
    line-height: 1.6em;
}

/* About Us Section Styles */
/* About Us Section */
.about-us {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background-color: #f9f7d9;
}

.about-content {
    max-width: 50%;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #555;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-wrap: wrap;
}

.about-features li {
    flex: 1 1 50%;
    font-size: 16px;
    margin-bottom: 10px;
    color: #444;
}

.about-features i {
    color: #007BFF;
    margin-right: 10px;
    font-size: 15px;
}

.contact-info {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.request-quote-btn {
    background-color: #2d2d2e;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border: 0px;
    border-radius: 5px;
    font-size: 16px;
}

.request-quote-btn:hover {
    background-color: #60a9f8;
    cursor: pointer;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* contt section for services part */

.content-section {
    display: flex;
    padding: 15px;
    justify-content: space-between;
}

.info-section {
    width: 60%;
    order: 1;
}

.image-section {
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

h1{
    color: #333;
    font-size: 3.5rem;
}
h2{
    color: #4e4e4e;
    font-size: 2.5rem;
}

p {
    color: #555;
}
/* contt section for services part */

  /* Pricing Page Styles */
.pricing-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
  }

  .pricing-section h1 {
    font-size: 2.0em;
    margin-bottom: 20px;
    color: #333;
  }

  .pricing-section p {
    font-size: 1.0em;
    color: #555;
    margin-bottom: 40px;
  }

  .pricing-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .pricing-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }
  .pricing-content ul {
   list-style-type: none;
  padding: 0;
  margin: 0;
  }

  .pricing-card:hover {
    transform: translateY(-10px);
  }

  .pricing-card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
  }

  .price {
    font-size: 2em;
    margin: 20px 0;

  }

  .pricing-card ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
  }

  .pricing-card ul li {
    font-size: 1em;
    margin: 10px 0;
    color: #555;
    text-decoration: none;
  }


/* Services Section Styles */
main {
    flex-grow: 1;
    padding: 50px 20px;
    text-align: center;
}

/* Services Section */
.services {
       display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    justify-content: center;
    padding: 20px;
}

/* Service Card Styles */
.service-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    transition: transform 0.3s;
    margin: 10px;
}

.service-card h3 {
    font-size: 20px;
    color: #333333;
}

.service-card ul {
    list-style-type: none;
    padding: 0;
}

.service-card ul li {
    margin: 5px 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
  }

  .contact-form .form-group {
    margin-bottom: 20px;
  }

  .contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #555555;
    font-weight: bold;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
  }

  .contact-form textarea {
    resize: vertical;
  }

  .contact-form button[type="submit"] {
    padding: 12px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .contact-form button[type="submit"]:hover {
    background-color: #007BFF;
  }

  .form-message {
    display: none;
    text-align: center;
    margin-top: 20px;
    color: #141414;
    font-size: 14px;
    font-weight: bold;
  }

/* More Info Button */
.more-info {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #333333;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

/* Hover Effect on More Info Button */
.more-info:hover {
    background-color: #aacffa;
}

/* Card Hover Effect */
.service-card:hover {
    transform: translateY(-5px);
}

/* Footer Styles */
footer {
    background-color: #fff9f9;
    color: #202020;
    padding: 20px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    padding: 20px;
}

.footer-section h4 {
    margin-bottom: 10px;
}

.footer-section a {
    color: #202020;
    text-decoration: none;

}

.footer-section ul {
    list-style-type: none;
    padding: 0;

}
.footer-section {
    text-align: center;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444444;
    padding-top: 20px;
}
.footer-section {
    text-align: center;
}

.social-icons {
list-style-type:none;
padding:0;
margin:0;
display:flex;
justify-content:center;
}

.social-icons li 
{
margin-right: 15px;
}
.social-icons a
{
text-decoration: none;
font-size: 24px;
transition: color 0.3s ease;
color: #0e76a8;

}
.social-icons a:hover
{
    color: #005582;
}


.home-services{
    text-decoration: none;
    font-size: 20px;
    color: #272727;
    font-weight: 600;
}
/*
 */
 /* Modal styles */
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color:#f9f7d9;
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.modal-content label {
    display: block;
    margin: 15px 0 5px;
    font-weight: 500;
    color: #555;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content select,
.modal-content textarea {
    width: calc(100% - 24px);
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.modal-content button.submit-btn {
    display: block;
    width: 100%;
    padding: 10px 0;
    background-color: #2d2e2e;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
}

.modal-content button.submit-btn:hover {
    background-color: #3d92f3;
}

/* Success message */
.success-message {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    text-align: center;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s;
}

.success-message p {
    margin: 0;
    font-size: 18px;
    color: #333;
}

@media (max-width: 768px) {
    .intro-container {
        padding: 30px 10px;
    }

    .intro-container h1 {
        font-size: 1.5em;
    }

    .intro-container p {
        font-size: 1em;
        font-weight: 400;
    }

    .company-name {
        font-size: 1.5em;
        font-weight: 400;
    }

    .company-description {
        font-size: 1.2em;
        font-weight: 400;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        color: #32988996;
        font-size: 35px;
    }
    .about-us {
        flex-direction: column-reverse;
        padding: 20px;
        text-align: center;
    }

    .about-content {
        max-width: 100%;
        margin-bottom: 20px; /* Added margin for spacing */
    }

    .about-content h2 {
        font-size: 28px;
        font-weight: 400;
    }

    .about-content h3 {
        font-size: 24px;
        font-weight: 400;
    }

    .about-content p {
        font-size: 14px;
        font-weight: 400;
    }

    .about-image {
        margin-bottom: 20px;
    }

    /*Content and image section for the services section*/
    .content-section {
        flex-direction: column-reverse;
    }

    .info-section, .image-section {
        width: 100%;
    }

    .image-section {
        order: 1;
    }

    .services {
        flex-direction: column;
    }

    .service-card {
        flex: 1 1 100%;
    }
    /*Content and image section for the services section*/

    header, .intro-container, main {
        padding-left: 10px;
        padding-right: 10px;
    }

    .footer-main{
        position: relative;
    }
    
    footer
    {
        position: relative;
        margin-top: auto;
        background-color: #fff9f9;
        color: #202020;
        padding: 20px 20px;
        box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    }
    .footer-section {
        text-align: center;
        font-size: 6px;
        margin-bottom: 0;
    }
    .footer-section h4 {
        font-size: 12px;
    }
}
/* Keyframes for sliding in from the left */
@keyframes slide-in-left {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Keyframes for sliding in from the right */
@keyframes slide-in-right {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Styles for screens smaller than 768px */

@media (min-width: 769px) {
    .close-btn {
        display: none;
    }
}
/* Navigation Menu Styles */

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #f9f7d9f5;
        position: absolute;
        top: 100px;
        width: 100%;
        height: auto;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: transform 0.3s ease;
        transform: translateX(100%);
        text-align:center;
        font-size: 20px;
        font-family: "Montserrat", sans-serif;
    }

    nav ul.active {
        display: flex;
        transform: translateX(0);
    }
    nav ul li{
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}