/* General Reset */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: #084057;
    background: linear-gradient(90deg, rgba(8, 64, 87, 1) 0%, rgba(4, 82, 38, 1) 50%, rgba(135, 123, 14, 1) 100%);
    color: #333;
}

/* Animations */
@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }

    60% {
        transform: translateY(-5px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
    }
}

/* Navbar */
header {
    background-color: #2c3e50;
    padding: 0.7rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .logo {
    font-size: 2rem;
    color: #ecf0f1;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popLogo 0.8s ease-in-out;
}


header .logo .home-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

@keyframes popLogo {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 1rem;
}

nav ul li {
    margin: 0 10px;
    position: relative;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

nav ul li a:hover {
    color: #1abc9c;
    transform: translateX(10px);
    padding-left: 10px;
}

nav ul li a::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1abc9c;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

nav ul li a:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Hero Section */
#hero {
    background-image: url('https://images.pexels.com/photos/3771069/pexels-photo-3771069.jpeg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

#hero .hero-content {
    animation: fadeInUp 1s ease-in-out;
}

#hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#hero .hero-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#hero button {
    background-color: #1abc9c;
    border: none;
    padding: 15px 25px;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    border-radius: 30px;
}

#hero button:hover {
    background-color: #106103;
}

/* About Section */
/* Style for the About Us section */
.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    background: linear-gradient(to right, rgb(3, 104, 62), #ff9900);
    /* Gradient background */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 20px;
    animation: fadeIn 1s ease-out;
    /* Smooth fade-in animation */
}

/* Fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styling for the content of the About Us section */
.about-section .about-content {
    max-width: 50%;
    padding-right: 30px;
    color: #fff;
    /* White text for contrast */
    font-family: 'Roboto', sans-serif;
    /* Stylish font */
}

/* Heading style */
.about-section h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* Subtle text shadow */
}

/* Paragraph styling */
.about-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Styling for the image */
.about-section .about-image img {
    width: 100%;
    max-width: 450px;
    /* Adjust size */
    border-radius: 20px;
    /* More rounded corners */
    transition: transform 0.4s ease, box-shadow 0.4s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* Default shadow */
}

/* Hover effect for the image */
.about-section .about-image img:hover {
    transform: scale(1.1);
    /* Zoom effect on hover */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    /* Bigger shadow on hover */
}

/* Responsive design */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        align-items: center;
        padding: 40px;
    }

    .about-section .about-content {
        max-width: 100%;
        text-align: center;
    }

    .about-section .about-image {
        margin-top: 20px;
    }

    .about-section h2 {
        font-size: 2.5rem;
    }
}



/* Services Section */
#services {
    padding: 1rem 1rem;
    background: #084057;
    background: linear-gradient(90deg, rgba(8, 64, 87, 1) 0%, rgba(4, 82, 38, 1) 50%, rgba(135, 123, 14, 1) 100%);
    text-align: center;
}

#services h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.service-cards {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}


.service-cards .card {
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
    width: 280px;
    height: 380px;
    scroll-snap-align: start;
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
    animation: popIn 0.8s ease forwards;
}

.service-cards .card img {
    max-width: 100px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.service-cards .card h3 {
    font-size: 1.8rem;
    margin-top: 5px;
    color: #010000;
}

.service-cards .card p {
    font-size: 1rem;
    color: #7f8c8d;
    margin-top: 10px;
}

.service-cards .card:hover {
    background-color: #012e1d;
    color: white;
    transform: translateY(-20px);
    filter: brightness(1.2);
    box-shadow: 0 0 20px 5px rgba(26, 188, 156, 0.6);
}

/* Projects Section */
#projects {
    padding: 4rem 2rem;
    background-color: #012e1d;
    text-align: center;
}

#projects h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #d9dadb;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-cards .card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
    animation: popIn 0.8s ease;
}

.project-cards .card img {
    max-width: 100%;
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

.project-cards .card h3 {
    font-size: 1.8rem;
    margin-top: 20px;
    color: #2c3e50;
}

.project-cards .card p {
    font-size: 1rem;
    color: #7f8c8d;
    margin-top: 10px;
}

.project-cards .card:hover {
    transform: translateY(-10px);
    filter: brightness(1.2);
    box-shadow: 0 0 20px 5px rgba(26, 188, 156, 0.6);
}

/* Privacy Section */
.privacy {
    padding: 20px 20px;
    background-color: #2c3e50;
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.privacy h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1abc9c;
    animation: fadeUp 0.8s ease forwards;
}

.privacy p {
    font-size: 1.1rem;
    max-width: 900px;
    line-height: 1.7;
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.privacy p:last-child {
    margin-bottom: 0;
}

/* Slim and Attractive Button */
.privacy a {
    font-size: 1.1rem;
    color: #1abc9c;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid #1abc9c;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.privacy a:hover {
    background-color: #1abc9c;
    color: #fff;
    transform: translateY(-3px);
    /* Adds a subtle lift effect */
    box-shadow: 0 5px 15px rgba(26, 188, 156, 0.3);
    /* Adds soft shadow on hover */
}


/* Fade up animation for smooth entrance */
@keyframes fadeUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Contact Section */
#contact {
    padding: 4rem 2rem;
    background: #22C1C3;
    background: linear-gradient(0deg, rgba(34, 193, 195, 1) 0%, rgba(18, 128, 128, 1) 2%, rgba(120, 82, 1, 1) 100%);
    text-align: center;
}

#contact h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #000000;
}

#contact p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-in-out;
}

.contact-form label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #060237;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1abc9c;
    box-shadow: 0 0 5px rgba(26, 188, 156, 0.5);
}

.contact-form button {
    background-color: #1abc9c;
    border: none;
    padding: 15px 25px;
    font-size: 1.2rem;
    color: rgb(0, 0, 0);
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #16a085;
}

/* Footer */
footer {
    background-color: rgb(2, 64, 25);
    color: #ecf0f1;
    padding: 1rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

footer p {
    font-size: 1rem;
    margin-top: 50px;
}

.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    margin-right: 30px;
}

.social-media-icons .social-icon {
    color: #ecf0f1;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    animation: bounceIn 0.8s ease;
}

.social-media-icons .social-icon:hover {
    color: #1abc9c;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    header .logo {
        font-size: 1.8rem;
    }

    nav ul {
        flex-direction: column;
        margin-top: 1rem;
    }

    nav ul li {
        margin: 10px 0;
    }

    #hero .hero-content h1 {
        font-size: 2.5rem;
    }

    #hero .hero-content p {
        font-size: 1.2rem;
    }

    .service-cards {
        flex-direction: column;
        overflow-x: auto;
    }

    .service-cards .card {
        width: 100%;
        flex: 1;
    }

    .social-media-icons {
        gap: 10px;
    }

    .social-media-icons .social-icon {
        font-size: 1.3rem;
    }
}

/* Hide extra-info content by default */
.card .extra-info {
    display: none;
    margin-top: 10px;
    color: #7f8c8d;
}

/* Style for Read More Button */
.read-more-btn {
    background-color: #1abc9c;
    border: none;
    padding: 8px 15px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #16a085;
}

/* Style for extra-info when visible */
.card .extra-info.visible {
    display: block;
}

/* Style for Read More Button */
.read-more-btn {
    background-color: #1abc9c;
    border: none;
    padding: 8px 15px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 15px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Added shadow effect */
}

/* Hover effect with shadow enhancement */
.read-more-btn:hover {
    background-color: #16a085;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    /* Increase shadow intensity on hover */
}


/* Testimonials Section */
.testimonials {
    padding: 3rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonial {
    background: #fff;
    padding: 2rem;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-items {
    color: #ecf0f1;
    text-decoration: none;
    list-style: none;


    transition: color 0.3s ease, transform 0.3s ease, padding 0.3s ease;

}

.footer-items li a {
    text-decoration: none;
    color: white;
}

.copy-rights {
    padding-top: 50px;
}