/* Creek Constructora - Estilos CSS */
:root {
    --primary-blue: #2B5A87;
    --light-blue: #4A90B8;
    --accent-blue: #6BB5D6;
    --dark-blue: #1B3A5C;
    --gray-light: #F8F9FA;
    --gray-dark: #343A40;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(43, 90, 135, 0.1);
    --shadow-hover: 0 15px 40px rgba(43, 90, 135, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Utilities */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--light-blue), var(--accent-blue));
    border-radius: 2px;
}

/* Custom Buttons */
.btn-custom {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary-custom:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}



/* Navbar */
.navbar {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0 0;
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue) !important;
}

.logo-img {
    max-height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.00);
}

.navbar-nav .nav-link {
    color: var(--primary-blue) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--light-blue) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--light-blue), var(--accent-blue));
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 50%, var(--accent-blue) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    height: 300px;
    width: auto;
    /*filter: brightness(0) invert(1);*/
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .lead {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.floating-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}
/* HERO CARRUSEL DE IMAGENES */
.hero-carousel {
    display: flex;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    height: 800px;
}

.hero-carousel img {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    animation: slideCarousel 16s infinite ease-in-out;
}

@keyframes slideCarousel {
    0% { transform: translateX(0%); }
    20% { transform: translateX(0%); }
    25% { transform: translateX(-100%); }
    45% { transform: translateX(-100%); }
    50% { transform: translateX(-200%); }
    70% { transform: translateX(-200%); }
    75% { transform: translateX(-300%); }
    95% { transform: translateX(-300%); }
    100% { transform: translateX(0%); }
}


@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Hamburger Button */
.navbar-toggler {
    border: none;
    padding: 10px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 184, 0.25); /* Usa un color acorde a tu tema */
}

.navbar-toggler-icon {
    display: inline-block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue); /* Usa el color primario definido */
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Ajuste del navbar en móviles */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .navbar-collapse.show {
        max-height: 500px; /* Ajusta según el contenido del menú */
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }

    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        width: 100%;
        text-align: center;
        color: var(--primary-blue) !important; /* Asegura consistencia de color */
    }
}

/*_________________________________________________________________________________________________________*/
/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(43, 90, 135, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(43, 90, 135, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(43, 90, 135, 0.2);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 20px rgba(43, 90, 135, 0.3);
}

.service-card:hover .service-icon::before {
    width: 100%;
    height: 100%;
}

.service-card:hover .service-icon i {
    animation: iconPulse 0.6s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.service-card:hover h3 {
    color: var(--light-blue);
    transform: translateY(-2px);
}

.service-card:hover h3::after {
    width: 60px;
}

.service-card p {
    color: var(--gray-dark);
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover p {
    color: var(--primary-blue);
}

/* Animaciones escalonadas para las tarjetas */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.services-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.services-img:hover {
    transform: scale(1.05);
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(43, 90, 135, 0.3);
}

/* Contenedor de imagen con efecto overlay */
.services-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    height: 100%;
}

.services-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(43, 90, 135, 0.1), transparent);
    z-index: 2;
    transition: all 0.4s ease;
}

.services-img-container:hover::before {
    background: linear-gradient(45deg, rgba(43, 90, 135, 0.2), transparent);
}

/* Animaciones keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1.15) rotate(5deg); }
    50% { transform: scale(1.25) rotate(5deg); }
}

/* Efecto de línea animada en el título de sección */
.section-title {
    position: relative;
    overflow: hidden;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    transform: translateX(-50%);
    animation: titleUnderline 1s ease 0.5s forwards;
}

@keyframes titleUnderline {
    to {
        width: 100px;
    }
}

/* Responsive mejorado */
@media (max-width: 768px) {
    .service-card {
        padding: 2rem;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .services-img {
        border-radius: 20px;
        margin-top: 2rem;
    }
}

/*_________________________________________________________________________________________________*/
/* Project Cards */
.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.project-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-status.completed {
    background: #28a745;
    color: white;
}

.project-status.in-progress {
    background: #ffc107;
    color: #212529;
}

.project-status.planning {
    background: #6c757d;
    color: white;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Gallery Carousel */
.carousel-slide-custom {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.carousel-slide-custom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption-custom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: left;
}

.carousel-caption-custom h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.carousel-caption-custom p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-blue);
    border-radius: 50%;
    padding: 20px;
}

.carousel-indicators button {
    background-color: var(--primary-blue);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 0 5px;
}
/*___________________________________________________________________________________________________________*/
/* About Section */
.about-content {
    padding-right: 2rem;
    position: relative;
}

.about-header {
    position: relative;
    margin-bottom: 2rem;
}

.about-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    position: relative;
    z-index: 2;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    border-radius: 2px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.accent-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    line-height: 1.6;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--light-blue);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(155, 89, 182, 0.03));
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.about-content .lead:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

.highlight-text {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    font-weight: 600;
    color: var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.highlight-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    animation: slideIn 1s ease-out;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
    border-color: var(--light-blue);
}

.value-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.value-item span {
    font-weight: 600;
    color: var(--primary-blue);
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8), rgba(155, 89, 182, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.image-container:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    animation: float 3s ease-in-out infinite;
}

.floating-badge span {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.floating-badge small {
    font-size: 0.8rem;
    opacity: 0.9;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.stat-card {
    padding: 1.5rem;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Animations */
@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out 0.2s forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out 0.4s forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Counter Animation */
.counter-card {
    counter-reset: num var(--num, 0);
}

.counter-card[data-count="100"] {
    --num: 100;
}

.counter-card[data-count="8"] {
    --num: 8;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-badge {
        top: 10px;
        right: 10px;
        padding: 0.6rem 1rem;
    }
}
/*_______________________________________________________________________________________*/

/* Contact Section */
.contact-info {
    padding-right: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-details h4 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary-blue);
    font-weight: 600;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--light-blue);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 184, 0.25);
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    /*filter: brightness(0) invert(1);*/
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .service-card,
    .project-card {
        margin-bottom: 2rem;
    }
    
    .carousel-slide-custom {
        height: 300px;
    }
    
    .carousel-caption-custom {
        padding: 2rem 1rem 1rem;
    }
    
    .carousel-caption-custom h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .floating-card {
        padding: 2rem;
    }
    
    .btn-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
    transform: translateY(-2px);
}