/* Reset and base styles */
:root {
    --primary-color: #2196F3;
    --primary-light: #64B5F6;
    --primary-dark: #1976D2;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    transition: opacity 0.3s ease;
}

body.language-transition {
    opacity: 0.8;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

header.hidden {
    transform: translateY(-100%);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 75px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: var(--primary-dark);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    margin-top: 80px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button, .hero .cta-button {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.1);
}

.cta-button:hover, .hero .cta-button:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.2);
}

/* About section */
.about {
    padding: 6rem 2rem;
    background: var(--gray-light);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    font-size: 1.1rem;
}

.about-cta {
    margin-top: 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.1);
    display: none;
}

.about-cta:hover {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 6px 12px rgba(33, 150, 243, 0.2);
}

/* Service cards */
.services {
    padding: 6rem 2rem;
    background: var(--gray-light);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* Portfolio section */
.portfolio {
    padding: 6rem 2rem;
}

.portfolio-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 150, 243, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    padding: 2rem;
    text-align: center;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Gallery Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1001;
}

.gallery-content {
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: 50px auto;
    height: 80vh;
}

.gallery-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 15px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* FAQ Section */
.faq {
    padding: 6rem 2rem;
    background: var(--gray-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    padding-right: 2rem;
}

.faq-question i {
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-light);
}

.faq-item.active .faq-question {
    background: var(--white);
}

.faq-item.active .faq-question h3 {
    color: #222;
    font-weight: 600;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: #eee;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem;
    max-height: 1000px;
    opacity: 1;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Contact section title */
.contact-section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-section-title h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-section-title p {
    color: var(--white);
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact section */
.contact {
    padding: 6rem 2rem;
    background: var(--primary-color);
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.map-column {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.address-info {
    padding: 1.5rem;
    background: var(--white);
}

.address-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.address-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.address-info i {
    color: var(--primary-color);
}

.contact-form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form form {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #2196F3;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: #2196F3;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form select {
    background: #2196F3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E") no-repeat right 1rem center;
    appearance: none;
    padding-right: 2.5rem;
}

.contact-form select option {
    background-color: #2196F3;
    color: white;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-dark);
}

select {
    background: var(--white);
    color: var(--gray);
    cursor: pointer;
}

/* Buttons */
.standard-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.1);
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    text-align: center;
}

.standard-button:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.4);
}

.about-text .standard-button {
    margin-top: 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.1);
}

.about-text .standard-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.4);
}

.about-text .standard-button {
    margin-top: 1.5rem;
}


.hero-services-cta .standard-button {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-services-cta .standard-button:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-button {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--primary-dark);
    padding: 4rem 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-section {
    position: relative;
    display: flex;
    flex-direction: column;
}

.footer-card {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-card:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.logo-section .footer-brand-logo {
    height: 80px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    align-self: center;
}

.logo-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
    flex-grow: 1;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.footer-social-links a:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-social-links a:nth-child(3) {
    color: #ffffff;
}

.footer-card h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
    text-align: center;
}

.footer-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-nav-columns {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.footer-nav-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-nav-columns ul li {
    margin-bottom: 0.75rem;
    width: 100%;
    text-align: center;
}

.footer-nav-columns ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-nav-columns ul li a:hover {
    color: white;
}

.footer-section.contact-section .contact-item span {
    color: white;
}

/* Contact item p (contact information text) */
.footer-section.contact-section .contact-item p {
    color: white;
}

/* Contact section heading */
.footer-section.contact-section .footer-card h4 {
    color: white;
}

.footer-section.contact-section .contact-item span {
    color: white;
}

/* Contact item p (contact information text) */
.footer-section.contact-section .contact-item p {
    color: white;
}

/* Contact section heading */
.footer-section.contact-section .footer-card h4 {
    color: white;
}

/* Contact item icons */
.footer-section.contact-section .contact-item i {
    color: white;
}


.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    color: white;
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.contact-item div {
    flex-grow: 1;
}

.contact-item span {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.contact-item p {
    color: white;
    margin: 0;
    font-size: 0.9rem;
}

.contact-info-column {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 50%;
}

.contact-item div {
    flex-grow: 1;
}

.contact-item span {
    display: block;
    color: var(--gray);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.contact-item p {
    color: #333;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(33, 150, 243, 0.2);
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

/* Glass morphism overlay */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    z-index: 1;
    pointer-events: none;
}

.footer-wrapper {
    position: relative;
    z-index: 2;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
    position: relative;
}

/* Add a visual indicator to the active language button */
.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #2196F3;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    border: 2px solid #2196F3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: white;
    color: #2196F3;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Menu overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* Reclamation button styles */
.reclamation-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.reclamation-button {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.reclamation-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.reclamation-icon {
    height: 24px;
    width: auto;
    margin-right: 0.75rem;
}

.reclamation-text {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.email-contact-btn-container {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.email-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}

.email-contact-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.4);
}

.email-contact-btn i {
    font-size: 1.1rem;
}


/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Improved header spacing for desktop with three language options */
@media (min-width: 769px) {
    /* Reduce gap between navigation items */
    nav ul {
        gap: 1.8rem; /* Reduced from 2.5rem to make items closer together */
    }
    
    /* Make navigation text slightly smaller */
    nav a {
        font-size: 0.9rem; /* Slightly smaller font for nav items */
    }
    
    /* Make language buttons more compact */
    .lang-btn {
        padding: 0.4rem 0.6rem; /* Reduced horizontal padding */
        margin: 0 0.1rem; /* Smaller margin between buttons */
    }
    
    /* Smaller flag icons */
    .flag-icon, svg.flag-icon {
        width: 18px;
        height: 18px;
    }
    
    /* Reduced font size for language labels */
    .lang-btn span {
        font-size: 0.8rem;
    }
    
    /* Optional: slightly reduce left margin for language switcher */
    .language-switcher {
        margin-left: 1rem; /* Reduced from default */
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Fix for white space below header and logo centering */
    header {
        padding: 1.8rem 1rem;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        /* Change this line */
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease, box-shadow 0.3s ease;
    }
    
    header.hidden {
        transform: translateY(-100%);
        /* Add this to ensure nothing is overriding it */
        will-change: transform;
    }
    
    @media (max-width: 768px) {
        header.hidden {
            transform: translateY(-100%);
            /* Add this to ensure nothing is overriding it */
            will-change: transform;
        }
    }
    
    header.menu-open {
        background: rgba(255, 255, 255, 1);
        box-shadow: none;
    }

    .menu-logo {
        width: 120px;
        height: auto;
        margin: 0 auto 30px;
        display: block;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
    }
    
    /* Fix logo positioning */
    .logo {
        height: 50px;
        margin: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Remove any margin from first section */
    #home {
        margin-top: 0;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    /* Hamburger toggle styling */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        cursor: pointer;
        z-index: 1100;
        position: relative;
        margin-right: auto;
    }
    
    .mobile-menu-toggle span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: var(--primary-color);
        border-radius: 2px;
        transform-origin: center;
        transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6), 
                    opacity 0.3s ease, 
                    background-color 0.3s ease;
    }
    
    /* Hamburger animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Ensure nav is properly positioned */
    nav {
        position: static;
        width: 100%;
    }
    
    /* Off-screen menu styling */
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; /* Changed from center to flex-start */
        padding: 40px 20px 30px; /* Reduced top padding since logo will take space */
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transform: none;
        opacity: 1;
        visibility: visible;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        display: flex;
    }
    
    nav ul.show {
        right: 0;
    }
    
    nav ul linav ul li {
        margin: 1.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    nav a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: block;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Add subtle hover effect to menu items */
    nav a:hover {
        background: rgba(33, 150, 243, 0.1);
        border-radius: 4px;
    }
    
    /* Improved active menu item indication */
    nav a.active {
        color: var(--primary-color);
        font-weight: 600;
        border-left: 3px solid var(--primary-color);
        padding-left: 10px;
    }
    
    /* Move language switcher inside the menu */
    .language-switcher {
        position: relative;
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
        width: 100%;
        border-top: 1px solid rgba(33, 150, 243, 0.2);
        padding-top: 2rem;
    }
    
    .language-switcher::before {
        content: 'Language/Idioma';
        position: absolute;
        top: -0.8rem;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        padding: 0 1rem;
        font-size: 0.8rem;
        color: var(--gray);
        text-transform: uppercase;
    }
    
    .lang-btn {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }
    
    /* FAQ adjustments */
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
    
    /* General responsive adjustments */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about {
        padding: 4rem 2rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .gallery-content {
        width: 90%;
    }
    
    .gallery-prev,
    .gallery-next {
        padding: 0.75rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    
    .contact-item i {
        margin-bottom: 0;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 1rem;
    }
    
    nav a {
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .gallery-prev,
    .gallery-next {
        padding: 0.5rem;
    }
    
    .about-content {
        gap: 2rem;
    }

    .reclamation-button {
        padding: 0.4rem 0.8rem;
    }
    
    .reclamation-icon {
        height: 20px;
    }
    
    .reclamation-text {
        font-size: 0.8rem;
    }
}

/* Dynamic Futuristic Services Header Styles */

/* Main container styles */
.hero-services {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 200px 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2196F3; /* Dark blue base */
    margin-top: 0;
}

/* Background elements */
.hero-services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9), rgba(25, 118, 210, 0.7));
    z-index: 2;
}

/* Tech circuit animation */
.tech-circuit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    animation: circuitMove 15s linear infinite;
}

@keyframes circuitMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

/* Animated particles */
.animated-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 60px 60px;
    z-index: 1;
    animation: particleFade 10s ease-in-out infinite alternate;
}

@keyframes particleFade {
    0% {
        opacity: 0.3;
        background-size: 60px 60px;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.3;
        background-size: 80px 80px;
    }
}

/* Content container */
.hero-services-content {
    position: relative;
    z-index: 10;
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Title styles */
.hero-services-title {
    text-align: center;
    margin-bottom: 1rem;
}

.hero-services-title h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
    animation: glowText 3s ease-in-out infinite alternate;
}

.hero-services-title p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

@keyframes glowText {
    0% {
        text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
    }
    100% {
        text-shadow: 0 0 20px rgba(33, 150, 243, 0.8), 0 0 30px rgba(33, 150, 243, 0.4);
    }
}

/* Service cards container */
.services-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

/* Service card styles */
.service-card-hero {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card-hero:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(33, 150, 243, 0.5);
}

.service-card-hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, transparent 40%, rgba(33, 150, 243, 0.2));
    z-index: -1;
}

/* Service icon */
.service-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 15px rgba(33, 150, 243, 0.4);
}

.service-icon-wrap:before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

.service-card-hero i {
    font-size: 2rem;
    color: #2196F3;
}

.service-card-hero h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Hover effect for cards */
.service-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.7));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card-hero:hover .service-hover-effect {
    transform: scaleX(1);
}

/* CTA Button */
.hero-services-cta {
    margin-top: 1rem;
}

.hero-services-cta .cta-button {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(33, 150, 243, 0.5);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.hero-services-cta .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1976D2;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(33, 150, 243, 0.6);
}

.hero-services-cta .cta-button:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 10px;
    height: 10px;
    background-color: rgba(33, 150, 243, 0.5);
    filter: blur(10px);
    border-radius: 50%;
    animation: buttonParticle 3s infinite linear;
}

@keyframes buttonParticle {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(calc(100% + 10px), 0);
    }
    50% {
        transform: translate(calc(100% + 10px), calc(100% + 10px));
    }
    75% {
        transform: translate(0, calc(100% + 10px));
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .services-cards-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .hero-services {
        padding: 100px 1rem 3rem;
    }
    
    .hero-services-title h1 {
        font-size: 2.5rem;
    }
    
    .hero-services-title p {
        font-size: 1.2rem;
    }
    
    .services-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

/* Specific colors for each service card on hover */
.telecom-card:hover .service-icon-wrap {
    background: #262626;
}

.cctv-card:hover .service-icon-wrap {
    background: #262626;
}

.led-card:hover .service-icon-wrap {
    background: #262626;
}

.alarm-card:hover .service-icon-wrap {
    background: #262626;
}

.video-door-card:hover .service-icon-wrap {
    background: #262626;
}

.wifi-card:hover .service-icon-wrap {
    background: #262626;
}

/* Fix margin for about section when moved */
.about {
    margin-top: 0;
}

/* Improved Section Titles for Mobile */
@media (max-width: 768px) {
    /* General section title improvements */
    .section-title {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        position: relative;
        display: inline-block;
    }
    
    .section-title h2::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    .section-title p {
        font-size: 0.95rem;
        max-width: 85%;
        margin: 0 auto;
        padding-top: 0.5rem;
    }
    
    /* Hero services title adjustments */
    .hero-services-title h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-services-title p {
        font-size: 1rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* Contact section title (white text on blue background) */
    .contact-section-title {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .contact-section-title h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        position: relative;
        display: inline-block;
    }
    
    .contact-section-title h2::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: white;
        border-radius: 2px;
    }
    
    .contact-section-title p {
        font-size: 0.95rem;
        max-width: 85%;
        margin: 0 auto;
        padding-top: 0.5rem;
    }
    
    /* About section text alignment */
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
    }
    
    .about-text h3::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    /* Reduced padding for all sections on mobile */
    .about, .portfolio, .faq, .contact {
        padding: 4rem 1rem;
    }
    
    /* Hero services section spacing */
    .hero-services {
        padding: 140px 1rem 3rem;
    }
}

/* Extra adjustments for extra small screens */
@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
        max-width: 95%;
    }
    
    .hero-services-title h1 {
        font-size: 1.8rem;
    }
    
    .contact-section-title h2 {
        font-size: 1.6rem;
    }
    
    /* Reduced padding for all sections on mobile */
    .about, .portfolio, .faq, .contact {
        padding: 3rem 0.75rem;
    }
}