/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --success: #27ae60;
    --warning: #f39c12;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Navigation ===== */
.navbar {
    background: white;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-logo {
    height: 50px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo {
    transform: rotate(-5deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.brand-highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

.brand-highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    padding: 10px 20px !important;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary) !important;
    transform: translateY(-2px);
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid rgba(52, 152, 219, 0.2);
}

.phone-link {
    color: var(--primary) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    background: rgba(52, 152, 219, 0.1);
}

.phone-link:hover {
    color: white !important;
    background: var(--gradient);
    transform: translateX(5px);
}

.phone-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.phone-link:hover i {
    transform: rotate(-20deg);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: gradientShift 10s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(1deg); }
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

.badge-container {
    margin-bottom: 30px;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.badge i {
    margin-right: 8px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    color: white;
}

.btn-glow {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% { 
        box-shadow: 0 0 10px rgba(52, 152, 219, 0.5),
                    0 0 20px rgba(52, 152, 219, 0.3),
                    0 0 30px rgba(52, 152, 219, 0.1);
    }
    100% { 
        box-shadow: 0 0 15px rgba(52, 152, 219, 0.8),
                    0 0 25px rgba(52, 152, 219, 0.5),
                    0 0 35px rgba(52, 152, 219, 0.2);
    }
}

.btn-outline-light {
    border: 2px solid white;
    background: transparent;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.contact-quick {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-contact:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.quick-contact.whatsapp {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.3);
}

.hero-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.hero-placeholder i {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.hero-placeholder h4 {
    color: white;
    font-size: 1.5rem;
    text-align: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: floatElement 8s ease-in-out infinite;
    z-index: 1;
}

.floating-element.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element.element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.floating-element.element-4 {
    top: 40%;
    right: 5%;
    animation-delay: 6s;
}

@keyframes floatElement {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    50% { 
        transform: translateY(-20px) rotate(10deg) scale(1.1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    color: white;
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    margin: -5px;
    animation: arrow 2s infinite;
}

.arrow span:nth-child(2) { animation-delay: -0.2s; }
.arrow span:nth-child(3) { animation-delay: -0.4s; }

@keyframes arrow {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* ===== Section Common ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Services ===== */
.services-section {
    padding: 120px 0;
    background: white;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg) scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-price {
    display: inline-block;
    background: rgba(52, 152, 219, 0.1);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-action:hover {
    gap: 15px;
    color: var(--primary);
}

/* ===== About Section ===== */
.about-section {
    padding: 120px 0;
    background: white;
}

.about-image {
    position: relative;
    padding-right: 30px;
    min-height: 400px;
}

.about-placeholder {
    width: 100%;
    height: 300px;
    background: var(--gradient-blue);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2);
}

.about-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-placeholder h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.about-placeholder p {
    font-size: 1rem;
    opacity: 0.9;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    background: var(--gradient);
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
    animation: badgePulse 2s infinite;
    z-index: 2;
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
    }
    50% { 
        transform: scale(1.05) rotate(5deg);
        box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    }
}

.badge-content {
    text-align: center;
}

.years {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.floating-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 15s infinite;
    z-index: 1;
}

.shape-1 {
    top: -20px;
    left: -20px;
}

.shape-2 {
    bottom: -30px;
    right: 50px;
    animation-delay: 5s;
}

@keyframes morphing {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; transform: rotate(90deg); }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: rotate(180deg); }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; transform: rotate(270deg); }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(360deg); }
}

.about-text {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.features-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-text p {
    color: #666;
    font-size: 0.95rem;
}

.about-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* ===== Stats Counter ===== */
.stats-counter {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0V100H1000V0C800,50 500,100 0,0Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100px;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.counter-item {
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.counter-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.counter-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.counter-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== Projects Section ===== */
.projects-section {
    padding: 120px 0;
    background: white;
}

.project-card {
    margin-bottom: 30px;
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-view {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    margin: 20px auto 0;
    transition: all 0.3s ease;
}

.project-view:hover {
    background: white;
    color: var(--secondary);
    transform: rotate(90deg);
}

/* ===== Team Section ===== */
.team-section {
    padding: 120px 0;
    background: #f8f9fa;
}

.team-carousel {
    position: relative;
}

.team-member {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    margin: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.5rem;
}

.team-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.team-position {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-contact a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.team-contact a:hover {
    color: var(--secondary);
}

.team-social {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.team-social span {
    font-size: 0.9rem;
    color: #666;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 120px 0;
    background: white;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.contact-details p {
    color: #666;
    margin-bottom: 5px;
}

.contact-details a {
    color: var(--secondary);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary);
}

.social-connect {
    margin-top: 40px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link.whatsapp { background: #25D366; }
.social-link.instagram { background: #E1306C; }
.social-link.twitter { background: #1DA1F2; }
.social-link.maps { background: #EA4335; }

.social-link:hover {
    transform: translateY(-5px) rotate(10deg);
}

.contact-form-wrapper {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.contact-form-wrapper h3 {
    margin-bottom: 30px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.btn-block {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

.emergency-contact {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 15px;
    color: white;
}

.emergency-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.emergency-badge i {
    font-size: 2.5rem;
}

.emergency-badge h5 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.btn-emergency {
    display: block;
    width: 100%;
    background: white;
    color: #ee5a24;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-emergency:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-brand {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #aaa;
    line-height: 1.6;
}

.footer h5 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '›';
    margin-right: 10px;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

.contact-mini p {
    color: #aaa;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter h6 {
    color: white;
    margin-bottom: 15px;
}

.input-group {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}

.input-group .form-control {
    border: none;
    padding: 12px 15px;
    border-radius: 0;
}

.btn-subscribe {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #2980b9;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    cursor: pointer;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* ===== Mobile Responsive Fixes ===== */

/* Ensure all containers are fluid on mobile */
.container-fluid, .container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

/* Fix for mobile viewport */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for hero section on mobile */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll !important;
    }
    
    .hero-content {
        padding: 80px 0 60px;
    }
    
    .hero-stats {
        gap: 20px;
        justify-content: space-around;
    }
    
    .hero-cta .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Fix for services grid on mobile */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 20px;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .col-sm-6, .col-md-4, .col-lg-3 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Fix for about section */
@media (max-width: 768px) {
    .about-image {
        margin-bottom: 40px;
        padding-right: 0;
    }
    
    .about-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Fix for projects grid */
@media (max-width: 768px) {
    .project-card {
        margin-bottom: 20px;
    }
}

/* Fix for contact section */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    
    .emergency-contact {
        padding: 15px;
    }
}

/* Fix for footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 15px;
    }
}

/* Bootstrap grid fix for very small screens */
@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Fix for floating elements on mobile */
@media (max-width: 768px) {
    .floating-element {
        display: none; /* Hide on mobile for better performance */
    }
}

/* Fix for navbar on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav {
        padding: 10px 0;
    }
    
    .phone-numbers {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
}