* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 0;
}

.top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #212121;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 900;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    flex-direction: row; /* Default for desktop */
}

.info-item i {
    color: #2E7D32;
    font-size: 1.4rem;
    width: 1.8rem;
    text-align: center;
}

.top-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.top-social .social-icon {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.top-social .social-icon:hover {
    color: #2E7D32;
}

.language-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem; /* Space below social icons */
}

.lang-button {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.lang-button.active {
    color: #2E7D32;
    font-weight: bold;
}

.sticky-nav {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

.sticky-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.logo {
    flex: 0 0 auto;
}

.logo-img {
    max-width: 150px;
    height: auto;
    display: block;
}

.nav-toggle {
    display: none;
    background: #2E7D32;
    border: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    z-index: 1001;
}

.nav-toggle:hover {
    background: #1b5e20;
}

nav {
    flex-grow: 0;
    margin-left: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #2E7D32;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .top-info {
        display: none; /* Hides top-info, including language-buttons, on mobile */
    }

    .sticky-nav {
        background: #F7F7F7;
        padding: 0.6rem 0;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #F7F7F7;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 999;
        padding: 1rem 0;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
        transform: translateY(-10px);
        opacity: 0;
    }

    nav.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

    nav .language-buttons {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.5rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        color: #1c2526;
        padding: 8px 16px;
        border-radius: 8px;
        transition: background-color 0.3s, color 0.3s;
    }

    .nav-link:hover {
        background-color: #e0e0e0;
        color: #2E7D32;
    }

    .logo-img {
        max-width: 100px;
    }
}

/* Hero Section (Carousel) */
.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    transition: margin-top 0.3s ease;
}

.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: auto;
    touch-action: pan-y pinch-zoom;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
    scroll-snap-align: start;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    display: block;
}

.carousel-slides::-webkit-scrollbar {
    display: none;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    width: 40px;
    height: 40px;
    transition: opacity 0.3s;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:hover, .carousel-next:hover {
    opacity: 0.7;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 700px;
    width: 100%;
    padding: 0 20px;
    text-align: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #2E7D32;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.3s;
    width: 180px;
    text-align: center;
    border-radius: 12px;
    margin: 0 auto;
}

.cta-button:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero {
        height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        width: 150px;
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
	
	.carousel-prev,
    .carousel-next {
         display: none;
}
}

/* Why Us Section */
.why-us {
    padding: 3rem 0;
    background: #F5F5F5;
}

.why-us-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.why-us-image {
    flex: 1;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.why-us-text {
    flex: 1;
}

.why-us-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #000;
    margin-bottom: 1rem;
}

.why-us-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.tech-icon {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 1rem;
    display: block;
}

.services-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #2E7D32;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.3s;
    width: 180px;
    text-align: center;
    border-radius: 12px;
}

.services-button:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .why-us-content {
        flex-direction: column;
        gap: 1rem;
    }

    .why-us-image {
        height: 200px;
        width: 100%;
    }

    .why-us-text h2 {
        font-size: 1.8rem;
    }

    .why-us-text p {
        font-size: 0.9rem;
    }

    .services-button {
        width: 150px;
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
}

/* Services Section */
.services {
    padding: 3rem 0;
    background: #F0F4F8;
}

.services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 2rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1rem;
    text-align: center;
    transition: box-shadow 0.3s;
}

.service-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}

.service-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #000;
    margin: 0.8rem 0;
}

.service-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .services h2 {
        font-size: 2rem;
    }

    .service-item img {
        height: 150px;
    }

    .service-item h3 {
        font-size: 1.2rem;
    }

    .service-item p {
        font-size: 0.85rem;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 3rem 0;
}

.portfolio h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 2rem;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}

.video-preview {
    display: none;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}

.portfolio-item:hover .video-preview {
    display: block;
}

.portfolio-item:hover .video-thumbnail {
    display: none;
}

.video-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 2px solid #2E7D32;
    color: #2E7D32;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.portfolio-item:hover .play-button {
    animation: pulse 0.8s ease-in-out infinite;
    color: #fff;
    background: #2E7D32;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.portfolio-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.5rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.modal-content {
    position: relative;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: -30px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}

#video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}

#video-player::-webkit-media-controls {
    visibility: visible !important;
}

@media (max-width: 768px) {
    .portfolio h2 {
        font-size: 2rem;
    }

    .video-preview,
    .video-thumbnail {
        height: 150px;
    }

    .portfolio-item p {
        font-size: 0.85rem;
    }

    .modal-content {
        width: 95%;
        max-height: 70vh;
        aspect-ratio: 16 / 9;
    }

    .close-modal {
        top: -25px;
        font-size: 1.5rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 3rem 0;
    background: #F5F5F5;
}

.testimonials h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 2rem;
    text-align: center;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slides {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: auto;
    touch-action: pan-y pinch-zoom;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
}

@media (min-width: 769px) {
    .testimonial-slide {
        flex: 0 0 33.33%;
        width: 33.33%;
        min-width: 0;
    }
}

.testimonial-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 360px;
    margin: 0 auto;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.testimonial-slide p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0;
}

.testimonial-prev, .testimonial-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    width: 40px;
    height: 40px;
}

.testimonial-prev {
    left: 10px;
}

.testimonial-next {
    right: 10px;
}

.testimonial-prev:hover, .testimonial-next:hover {
    opacity: 0.7;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.testimonial-dots button {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.testimonial-dots button.active {
    background: #2E7D32;
}

@media (max-width: 768px) {
    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonial-container {
        padding: 1rem;
        max-width: 280px;
    }

    .testimonial-name {
        font-size: 1.1rem;
    }

    .testimonial-slide p {
        font-size: 0.85rem;
    }

    .testimonial-prev, .testimonial-next {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .testimonial-prev {
        left: 5px;
    }

    .testimonial-next {
        right: 5px;
    }
}

/* Contact Section */
.contact {
    padding: 3rem 0;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    padding: 0.8rem;
    background: #2E7D32;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-button:hover {
    opacity: 0.7;
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 5px;
}

/* Confirmation Modal */
.confirmation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.confirmation-modal.show {
    display: flex;
    opacity: 1;
}

.confirmation-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 90%;
    width: 400px;
    text-align: center;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease-in-out;
}

.confirmation-modal.show .confirmation-content {
    transform: translateY(0);
}

.confirmation-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333;
    margin: 0 0 1.5rem;
}

.close-confirmation {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #2E7D32;
    cursor: pointer;
    transition: color 0.3s;
}

.close-confirmation:hover {
    color: #1b5e20;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact-map iframe {
        height: 250px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.85rem;
    }

    .submit-button {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .confirmation-content {
        width: 90%;
        padding: 1.5rem;
    }

    .confirmation-content p {
        font-size: 0.9rem;
    }
}

/* Footer */
footer {
    background: #212121;
    color: #fff;
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2E7D32;
    margin-bottom: 1rem;
}

.footer-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2E7D32;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: #2E7D32;
}

.footer-contact p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    font-size: 1rem;
    color: #2E7D32;
    margin-right: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.footer-social .social-icon {
    color: #fff;
    font-size: 1.8rem;
    transition: color 0.3s;
}

.footer-social .social-icon:hover {
    color: #2E7D32;
}

.footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand h3 {
        font-size: 1.6rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 1.2rem;
    }

    .footer-links ul li {
        margin-bottom: 0.4rem;
    }

    .footer-links ul li a {
        font-size: 0.85rem;
    }

    .footer-contact p {
        font-size: 0.85rem;
    }

    .footer-social .social-icon {
        font-size: 1.6rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .whatsapp-float {
        font-size: 1.8rem;
        padding: 0.8rem;
    }
}