:root {
    --electric-blue: #0057A3;  
    --navy-blue: #001D3D;      
    --light-blue: #E0F2FF;     
    --white: #FFFFFF;
    --soft-shadow: 0 10px 20px rgba(0,0,0,0.1);
    --brick-opacity: 0.03; 
    
    /* New gradient variables with yellow accent */
    --gradient-start: #0057A3;
    --gradient-end: #001D3D;
    --yellow-accent: #FFD700;  
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--light-blue);  
    background-image: url('/ladrillos.jpeg');
    background-repeat: repeat;
    background-blend-mode: soft-light;
    background-attachment: fixed;
    opacity: 0.95; 
    color: var(--navy-blue);
    line-height: 1.6;
}

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

.glassmorphism {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.2), rgba(0, 51, 102, 0.2));
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.125);
    box-shadow: var(--soft-shadow);
    position: relative;
    overflow: hidden;
}

.glassmorphism::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/ladrillos.jpeg');
    background-repeat: repeat;
    opacity: var(--brick-opacity);
    z-index: -1;
}

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

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: bold;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links a .material-icons {
    margin-right: 5px;
}

.nav-links a:hover {
    color: var(--electric-blue);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--electric-blue), var(--navy-blue));
    color: white;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.3;
}

.hero-content p {
    max-width: 600px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.vertical-logo {
    max-width: 200px;  
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    animation: logoFloat 3s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.vertical-logo:hover {
    animation: logoFloat 3s ease-in-out infinite, logoSpin 6s linear infinite;
}

@keyframes logoSpin {
    from {
        transform: rotate(0deg) translateY(-20px);
    }
    to {
        transform: rotate(360deg) translateY(-20px);
    }
}

.hero-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

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

.hero-social-links .social-icon {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-social-links .social-icon:hover {
    transform: scale(1.2);
    color: var(--yellow-accent);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--yellow-accent);
    color: var(--navy-blue);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button .material-icons {
    margin-right: 10px;
}

.cta-button:hover {
    background: rgba(255,215,0,0.8);
}

/* Services Section */
.services, .about, .contact {
    margin-bottom: 50px;
}

.section-header {
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(30,144,255,0.1));
}

.section-header h2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-header .material-icons {
    margin-right: 10px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%; 
    padding-bottom: 50px; 
}

.service-card p {
    margin-bottom: 40px; 
}

.service-card .material-icons {
    font-size: 3rem;
    color: var(--electric-blue);
    margin-bottom: 15px;
}

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

.service-details {
    display: inline-block;
    text-decoration: none;
    background-color: var(--yellow-accent) !important;  
    color: var(--navy-blue) !important;  
    padding: 8px 16px;
    border-radius: 20px;
    border: none;  
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
}

.service-details:hover {
    background-color: rgba(255,215,0,0.8) !important;  
    color: var(--navy-blue) !important;  
    transform: translateX(-50%) scale(1.05);
}

.service-features {
  text-align: left;
  list-style-type: disc;
  padding-left: 30px;
  margin-top: 15px;
}

.service-features li {
  margin-bottom: 10px;
  color: var(--navy-blue);
}

/* About Section Carousel */
.about-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px; 
}

.about-text {
    flex: 1; 
    padding: 20px; 
}

.about-text p {
    line-height: 1.6;
    color: var(--navy-blue);
    font-size: 1rem;
}

.about-carousel {
    width: 50%;
}

.team-swiper {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.team-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.team-swiper .swiper-button-prev,
.team-swiper .swiper-button-next {
    color: var(--yellow-accent) !important;
}

.team-swiper .swiper-pagination-bullet-active {
    background-color: var(--yellow-accent) !important;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-group .material-icons {
    margin-right: 10px;
    color: var(--electric-blue);
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    background: rgba(255,255,255,0.7);
    border-radius: 5px;
}

.contact-form select {
    width: 100%;
    padding: 10px;
    border: none;
    background: rgba(255,255,255,0.7);
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23003366' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

.contact-form input:focus, 
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 2px solid var(--yellow-accent);
    box-shadow: 0 0 5px rgba(255,215,0,0.5);
}

.contact-form optgroup {
    background-color: var(--light-blue);
    color: var(--navy-blue);
    font-weight: bold;
}

.contact-form option {
    background-color: white;
    color: var(--navy-blue);
}

.contact-form button {
    display: flex;
    align-items: center;
    background-color: var(--electric-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    align-self: flex-end;
    margin-top: 10px;
}

.contact-form button .material-icons {
    margin-right: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

.social-links a {
    margin: 0 10px;
    color: var(--navy-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .about-content {
        flex-direction: column;
    }

    .about-carousel {
        width: 100%;
    }

    .hero-content .vertical-logo {
        max-width: 150px;  
    }
}

.material-icons {
    text-shadow: 1px 1px 2px rgba(255,215,0,0.2);
}