*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Montserrat Alternates";
}
:root {
    --primary: #aeb57c;
}
img{
    width: 100%;
}
a{
    text-decoration: none;
    color: inherit;
    display: block;
}
p{
    margin:10px 0;
}
nav > div, nav > div ul{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    align-items:center ;
    list-style: none;
    padding: 1% 2%;
    background-color: black;
    color: white;
}
.logo img{
width: 250px;
}
.menu ul li a{
    text-decoration: none;
    color: white;
}
.menu{
    width: 100%;
    max-width: 500px;
}
nav .info{
    background: #aeb57c;
}
.menu-icon, nav .fa-times{
    display: none;
}
@media screen and (min-width:960px) {
    nav > div, nav > div ul{
        background-color: transparent;
    }
}
@media screen and (max-width:960px) {
    nav .info{
        display: none;
    }
    nav .menu ul {
        position: fixed;
        width: 100%;
        left: 0;
        top: 0;
        z-index: 0;
        height:100vh;
        justify-content: center;

        display: none;
        flex-direction: column;
        align-items: end;
        background: #000000f1;
        padding: 5%;
        transition: all 0.5s ease-in-out;
    }
 
    nav .menu{
        width: min-content;
    }
    .menu-icon{
        display: block;
    }
    nav > div{
        padding: 2% 5%;
    }
    nav .fa-times{
        display: contents;
    }

}
/* --------------Header */
header > div{
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: #000000b0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
}
header .text{
    max-width: 700px;
    color: #fff;
    line-height: 1.5;
}
header .images{
    max-width: 900px;
   
}
header .images img{
    width: 100%;
}
.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000000b0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.1);
}
.active {
    opacity: 1;
    transform: scale(1);
}
.text {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    color: white;
    position: absolute;
    transition: transform 1s ease-in-out;
}
.text.slide-left { transform: translateX(-100%); }
.text.slide-right { transform: translateX(100%); }
.active .text { transform: translateX(0); }
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}
.Tprev { left: 10px; }
.Tnext { right: 10px; }
@media (max-width: 768px) {
    .slideshow-container { height: 400px; }
    .text { font-size: 14px; padding: 15px; }
}

/* main */
main > section{
    padding: 5%;

}
main section{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5%;
    justify-content: space-between;
}
main section p {
    line-height: 1.5;
    text-align: left;
    margin-top: 20px;
}
main .blog-card {
    text-align: justify;
}
@media screen and (min-width:960px) {
        main section{
            flex-wrap: nowrap;
        }
}
.btn-outline{
    border: #aeb57c 1px solid;
    color: #aeb57c;
    border-radius: 15px;
    width: max-content;
    padding: 7px;
    margin-bottom: 20px;
    font-weight: bold;
}
.btn{
    border: #aeb57c 1px solid;
    background-color: #aeb57c;
    color: #fff;
    border-radius: 5px;
    width: max-content;
    padding: 10px 20px;
    margin-bottom: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-o{
    border: #aeb57c 1px solid;
    color: #aeb57c;
    border-radius: 5px;
    width: max-content;
    padding: 10px 20px;
    margin-bottom: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
main section .image{
    max-width: 45vw;
}
main section{
    justify-content: center;
}
@media screen and (max-width:960px) {
    main section{
        flex-direction: column-reverse;
    }
    main section .image{
        max-width: 100vw;
    }
}
section{
    position: relative;
    overflow: hidden;
}
section .about-text{
}
section .about-text img{
    position: absolute;
    top: -139px;
    right: -700px;
    width: 100%;
    opacity: 0.1;
    z-index: -1;
}

.services {
    padding: 100px 0;
    background-color: #e0e0e0;
    padding: 5%;
    justify-content: center;
    flex-direction: column;
}
.services img.img-side{
    border-radius: 10px;
    height: 700px;
    width: 500px;
    object-fit: cover;
    box-shadow: 16px 20px 10px rgba(0, 0, 0, 0.25);
}
.services .grid{
    display: flex;
    align-items: center;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.section-header p {
    color: #64748b;
    margin: 0 auto;
    text-align: center;
}
.services-grid  {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1450px;
    margin: auto;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 350px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #aeb57c;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px black solid;
}

.service-card:hover .service-icon {
    background-color: black;
    color: white;
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 24px;
    color: black;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.service-card:hover .service-title::after {
    width: 70px;
}

.service-description {
    color: #64748b;
    line-height: 1.6;
}

.blog-section {
    background-color: #ffffff;
}

.blog-grid {
    display: flex;
    gap: 1%;
}

.blog-card {
    background: #f0f2f5;
    padding: 25px 10px;
    margin: 20px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.blog-card img{
    object-fit: cover;
    margin-bottom: 20px;
    height: 200px;
    width: 100%;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
}

.blog-title {
    font-size: 20px;
    font-weight: bold;
    color: #64748b;
    margin-bottom: 10px;
}

.blog-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.read-more {
    color: #64748b;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.contact-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}


.contact-section {
    background-color: #9c9f9e7f;
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #aeb57c;
}

.section-header p {
    font-size: 18px;
    color: #555;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.info-item {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #aeb57c;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    max-width: 300px;
}

.info-item:hover {
    transform: translateY(-5px);
    background-color: #aeb57c;
    color: #fff;
}

.info-item i {
    font-size: 28px;
    color: #aeb57c;
    transition: color 0.3s ease-in-out;
}
.info-item div, .info-item p {
    text-align: center;
    place-items: center;
}
.info-item:hover i {
    color: #fff;
}

.info-item h3 {
    font-size: 20px;
    margin: 0 0 5px;
    text-align: center;
    color: #aeb57c;
}

.info-item p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.info-item:hover h3,
.info-item:hover p {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
    }

    .info-item {
        width: 100%;
    }
}

.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding:5%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #aeb57c;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-section p,
.footer-section ul {
    font-size: 16px;
    color: #bbb;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-section ul li a:hover {
    color: #aeb57c;
}

/* Contact Info */
.contact-info p i {
    color: #aeb57c;
    margin-right: 8px;
}

/* Social Media */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    background-color: #aeb57c;
    color: #fff;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease-in-out;
}

.social-icons a:hover {
    background-color: #aeb57c;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 15px;
    margin-top: 40px;
    font-size: 14px;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}
@media screen and  (max-width:960px) {
    .logo img{
        width: 120px;
    }
    .services .grid .img-side{
        display: none;
    }
    .contact-info{
        align-items: center;
    }
    .next, .prev{
        display: none;
    }
    nav > div, nav > div ul {
        gap: 30px;
    }
    .menu li p{
        font-size: 25px;
    }
}