/* General Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --light-gray: #f1f5f9;
    --dark-gray: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --success-color: #10b981;
}

body {
    font-family: 'Inter', sans-serif;
    padding-top: 120px;
    color: var(--text-primary);
    background-color: #ffffff;
}

/* Header Styles */
.top-bar {
    font-size: 0.9rem;
    background: var(--dark-gray) !important;
}

.top-bar a {
    transition: all 0.3s ease;
}

.top-bar a:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.navbar {
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Company Info Styles */
.navbar-brand {
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    padding: 5px;
    background: white;
    border-radius: 8px;
    box-shadow: 
        -6px -6px 10px rgba(255, 255, 255, 0.8),
        6px 6px 10px rgba(0, 0, 0, 0.2),
        inset -2px -2px 5px rgba(255, 255, 255, 0.4),
        inset 2px 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.navbar-brand img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    z-index: 1;
}

.navbar-brand img:hover {
    transform: translateY(-2px);
    box-shadow: 
        -8px -8px 12px rgba(255, 255, 255, 0.8),
        8px 8px 12px rgba(0, 0, 0, 0.2),
        inset -2px -2px 5px rgba(255, 255, 255, 0.4),
        inset 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand h1 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-brand p {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Navigation Links */
.navbar-nav {
    gap: 0.3rem;
}

.nav-link {
    padding: 0.6rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary) !important;
    position: relative;
    background: white;
    box-shadow: 
        -2px -2px 6px rgba(255, 255, 255, 0.8),
        2px 2px 6px rgba(0, 0, 0, 0.1),
        inset -1px -1px 3px rgba(255, 255, 255, 0.4),
        inset 1px 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
    box-shadow: 
        -4px -4px 8px rgba(255, 255, 255, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.15),
        inset -1px -1px 3px rgba(255, 255, 255, 0.4),
        inset 1px 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
    background: white;
    box-shadow: 
        -3px -3px 7px rgba(255, 255, 255, 0.8),
        3px 3px 7px rgba(0, 0, 0, 0.15),
        inset -2px -2px 5px rgba(255, 255, 255, 0.4),
        inset 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-link i {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Customer Zone Links */
.customer-zone .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    background: white;
    box-shadow: 
        -2px -2px 6px rgba(255, 255, 255, 0.8),
        2px 2px 6px rgba(0, 0, 0, 0.1),
        inset -1px -1px 3px rgba(255, 255, 255, 0.4),
        inset 1px 1px 3px rgba(0, 0, 0, 0.05);
}

.customer-zone .nav-link:hover {
    transform: translateY(-1px);
    box-shadow: 
        -4px -4px 8px rgba(255, 255, 255, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.15),
        inset -1px -1px 3px rgba(255, 255, 255, 0.4),
        inset 1px 1px 3px rgba(0, 0, 0, 0.05);
}

.customer-zone .nav-link i {
    position: relative;
    z-index: 1;
    color: var(--primary-color);
}

.customer-zone .nav-link span {
    position: relative;
    z-index: 1;
}

/* Navigation Divider */
.nav-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, transparent, var(--text-secondary), transparent);
    opacity: 0.2;
    margin: 0 0.5rem;
}

/* Responsive Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--light-gray);
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 
            -5px -5px 10px rgba(255, 255, 255, 0.8),
            5px 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        margin: 0.3rem 0;
    }

    .nav-divider {
        width: 100%;
        height: 1px;
        margin: 0.5rem 0;
    }

    .customer-zone {
        background: var(--light-gray);
        border-radius: 8px;
        margin: 2px 0;
    }
    
    .customer-zone .nav-link {
        padding: 1rem !important;
    }
    
    .customer-zone .nav-link::before {
        display: none;
    }
    
    .customer-zone .nav-link:hover {
        background: rgba(37, 99, 235, 0.1);
    }
}

/* Navbar Toggle Button */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: var(--light-gray);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0;
    margin-top: -20px;
    position: relative;
    overflow: hidden;
}

.hero-section::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 100 100"><rect fill="rgba(255,255,255,0.1)" x="0" y="0" width="100" height="100"/></svg>');
    opacity: 0.1;
    transform: rotate(45deg);
}

/* Hero Image Styles */
.hero-section .col-lg-6:last-child {
    position: relative;
    z-index: 1;
}

.hero-section .img-fluid {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hero-section .img-fluid::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    border-radius: 30px;
    opacity: 0.1;
    z-index: -1;
}

.hero-section .img-fluid::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    z-index: 1;
}

/* Decorative elements for hero image */
.hero-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--accent-color) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.1;
    z-index: 0;
}

.hero-dots-1 {
    top: -30px;
    right: -30px;
    transform: rotate(30deg);
}

.hero-dots-2 {
    bottom: -30px;
    left: -30px;
    transform: rotate(-30deg);
}

/* Package Cards */
.package-card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.package-card .card-body {
    padding: 2rem;
}

.package-card .package-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.package-card:hover .package-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.package-card .speed-badge {
    transition: all 0.3s ease;
}

.package-card:hover .speed-badge .badge {
    background: var(--primary-color) !important;
    color: white !important;
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 1rem;
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 1rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price {
    color: var(--primary-color);
    font-weight: 700;
}

/* Services Section */
.services .card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff, var(--light-gray));
}

.services .card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
}

/* Contact Section Improvements */
.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 
        -6px -6px 10px rgba(255, 255, 255, 0.8),
        6px 6px 10px rgba(0, 0, 0, 0.15),
        inset -2px -2px 5px rgba(255, 255, 255, 0.4),
        inset 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.contact-icon i {
    font-size: 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

#contact .card {
    border: none;
    background: white;
    box-shadow: 
        -8px -8px 16px rgba(255, 255, 255, 0.7),
        8px 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

#contact .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

#contact .card:hover {
    transform: translateY(-5px);
    box-shadow: 
        -12px -12px 20px rgba(255, 255, 255, 0.8),
        12px 12px 20px rgba(0, 0, 0, 0.15);
}

#contact .card:hover::before {
    transform: scaleX(1);
}

#contact .card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        -8px -8px 12px rgba(255, 255, 255, 0.8),
        8px 8px 12px rgba(0, 0, 0, 0.2),
        inset -2px -2px 5px rgba(255, 255, 255, 0.4),
        inset 2px 2px 5px rgba(0, 0, 0, 0.1);
}

#contact .card:hover .contact-icon::before {
    opacity: 0.1;
}

#contact .card-body {
    padding: 2rem;
}

#contact .card-body h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    font-size: 1.25rem;
}

#contact .card-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

#contact .contact-links {
    margin-top: 1.5rem;
}

#contact .contact-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0.5rem 0;
    box-shadow: 
        -4px -4px 8px rgba(255, 255, 255, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.1);
}

#contact .contact-links a:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
    box-shadow: 
        -6px -6px 10px rgba(255, 255, 255, 0.8),
        6px 6px 10px rgba(0, 0, 0, 0.15);
}

#contact .contact-links a i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

#contact .contact-links a:hover i {
    transform: scale(1.1);
}

#contact .contact-links .btn-whatsapp:hover {
    color: #25D366;
}

#contact .contact-links .btn-phone:hover {
    color: var(--primary-color);
}

#contact .contact-links .btn-email:hover {
    color: #EA4335;
}

/* Social Links */
.social-links a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--light-gray);
    color: var(--primary-color);
    border: none;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(37, 99, 235, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--dark-gray);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Section Headers */
section h2 {
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Custom Utilities */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 76px;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* About Image Styles */
.about-image-wrapper {
    position: relative;
    padding: 20px;
    z-index: 1;
}

.about-image-wrapper img {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 25px;
    transform: rotate(-3deg);
    opacity: 0.1;
    z-index: -1;
}

.about-image-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    opacity: 0.1;
}

.about-pattern {
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: linear-gradient(45deg, var(--primary-color) 25%, transparent 25%),
                      linear-gradient(-45deg, var(--primary-color) 25%, transparent 25%);
    background-size: 10px 10px;
    opacity: 0.05;
    z-index: -1;
}

.about-pattern-1 {
    top: -20px;
    right: -20px;
}

.about-pattern-2 {
    bottom: -20px;
    left: -20px;
}

/* Image hover effects */
.hero-section .img-fluid:hover,
.about-image-wrapper img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* WhatsApp Button Styles */
.btn-outline-light .fab.fa-whatsapp {
    font-size: 1.1em;
    vertical-align: -1px;
}

/* Contact Information Links */
.card-body a.text-decoration-none {
    transition: all 0.3s ease;
}

.card-body a.text-decoration-none:hover {
    color: var(--primary-color) !important;
}

.card-body a.text-decoration-none .fab.fa-whatsapp {
    color: #25D366;
}

/* Footer WhatsApp Link */
footer a.text-white.text-decoration-none {
    transition: all 0.3s ease;
}

footer a.text-white.text-decoration-none:hover {
    opacity: 0.8;
}

footer .fab.fa-whatsapp {
    color: #25D366;
} 