


:root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --black: #000000;
    --red: #ff0000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    *,*:before,*:after{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus, :active{outline: none;}
a:focus,a:active{outline: none;}

nav,footer,header,aside{display: block;}

html,body{
    height: 100%;
    width: 100%;
    font-style: 100%;
    line-height: 1;
    font-style: 14px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
input,button,textarea{font-family: inherit;}

input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner {padding: 0;border: 0;}
a,a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}

h1,h2,h3,h4,h5,h6{font-size: inherit;font-weight: 400;}


/* ---------------------------------------------------------------------------------------------------------------- */



html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}


/* Global Styles ---------------------------------------------------------------------------------------- */


.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;

    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 10px;
}

/* .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 10px auto;
    border-radius: 2px;
} */

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--black);
    color: var(--light);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #000;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.btn:hover {
    background: var(--light);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* Header & Navigation -------------------------------------------------------------*/


.header-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}




header {
    position: fixed;
    top: 0;
    width: 100%;
    background: lightgrey;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    z-index: 5;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--black);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--black);
}

.logo i {
    margin-right: 10px;
    color: var(--black);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.contact {
    font-size: 20px;
    font-weight: bold;
    
}
/* .nav-links li {
    margin-left: 30px;
} */


/* .nav-links a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
} */


.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 1px;
    background:#000;
    transform-origin: left bottom;
    transform: scaleX(0);
    
}

.nav-links a:hover::after {
    width: 100%;
    transform: scaleX(1);
    transition: transform .4s linear;

    transform-origin: left bottom;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}


.nav-links .active {
    text-decoration: underline;
    text-underline-offset: 7px;
}

/* Hero Section ------------------------------------------------------------------*/


#hero {
    
    margin-top: 80px;
    height: 80vh;
    width: 100%;
    position: relative;    
    overflow: hidden;
}

.hero-container {

    display: flex;
    animation: loop 20s 1s ease-out infinite ;
}

.carousel {
    height: 80vh;
    flex-basis: 100vw;   
    flex-shrink: 0;  
}





.carousel:nth-child(1),
.carousel:nth-child(6) {
    
    background: gray;
}

.carousel:nth-child(2) {

    background: gray;
}

.carousel:nth-child(3) {
    
    background: gray;
}

.carousel:nth-child(4) {
    
    background: gray;
}

.carousel:nth-child(5) {
    
    background: gray;
}



@keyframes loop {
    0% {
        transform: translateX(0);
    }
    5%,
    20% {
        transform: translateX(-100vw);
    }
    25%,
    40% {
        transform: translateX(-200vw);
    }
    45%,
    60% {
        transform: translateX(-300vw);
    }
    65%,
    80% {
        transform: translateX(-400vw);
    }
    85%,
    100% {
        transform: translateX(-500vw);
    }
}



.hero-content {
    height: 80vh;
    width: 100vw;
    
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;

    
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    display: grid;
    place-content: center;

}

        
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--light);
    max-width: 800px;
    text-align: center;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--light);
    max-width: 800px;
    text-align: center;
    line-height: 30px;
}
        
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
        
.btn-secondary {
    background: transparent;
    border: 2px solid var(--light);
    color: var(--light);
}
        
.btn-secondary:hover {
    background: white;
    color: var(--primary);
}


/* Services Section ---------------------------------------------------------------------*/


#services {
    padding: 80px 0;
    background: white;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
}

.service i {
    font-size: 3rem;
    color: var(--black);
    margin-bottom: 20px;
}

.service h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* About Section --------------------------------------------------------------------------------*/


#about {
    padding: 80px 0;
    background: var(--light);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-img {
    flex: 1;

    height: 400px;

    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    position: relative;
}
    
.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 15px;
}


/*Slides images -----    */

.slides{
    width: 500%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    display: flex;
}
                


.navigation{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;

}

.slider-btn{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--black);
    margin: 6px;
    cursor: pointer;
    transition: 0.4s;
}

.slider-btn:hover{
    background: var(--black);
}

input[name="r"]{
    position: absolute;
    visibility: hidden;
}



.slide {
    width: 20%;
    transition: 0.6s;
}


.slide img{
    width: 100%;
    height: 100%;

}


#r1:checked ~ .s1 {
    margin-left: 0;
}

#r2:checked ~ .s1 {
    margin-left: -20%;
}

#r3:checked ~ .s1 {
    margin-left: -40%;
}

#r4:checked ~ .s1 {
    margin-left: -60%;
}

#r5:checked ~ .s1 {
    margin-left: -80%;
}



/* ----------------------------------------------------------------- */


/* Testimonials Section ----------------------------------------------------------*/


#testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.testimonials-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial-text::before,
.testimonial-text::after {
    content: "";
    font-size: 3rem;
    color: var(--secondary);
    position: absolute;
    opacity: 0.3;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    content: '"';
    bottom: -40px;
    right: -10px;
}

.testimonial-client {
    display: flex;
    align-items: center;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-img i {
    font-size: 1.5rem;
    color: #777;
}

.client-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

/* Contact Section -----------------------------------------------------------------------------*/


#contact {
    padding: 80px 0;
    background: var(--light);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent);
    width: 20px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

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

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer ----------------------------------------------------------------------------*/


.footer-container {
    max-width: 1200px;
    margin: 0 20px;
    padding: 0 20px;
}

footer {
    background: var(--black);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-decoration: underline;
    text-decoration-color: var(--light);
    text-underline-offset: 8px;
}

/* .footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
} */

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:first-child {
    background: var(--accent);
}

.social-links a:nth-child(2) {
    background: var(--secondary);
}

.social-links a:nth-child(3) {
    background: var(--accent);
}

.social-links a:nth-child(4) {
    background: var(--accent);
}

/* Responsive Styles -------------------------------------------------------------*/



@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
}





