/* Color Palette */
:root {
    --primary-color: #6b73ff;
    --primary-light: #9ba3ff;
    --primary-dark: #4b5acc;
    --secondary-color: #f8f9fa;
    --secondary-light: #ffffff;
    --secondary-dark: #e9ecef;
    --accent-color: #20c997;
    --accent-light: #6edcc4;
    --accent-dark: #198754;
    --text-color: #2d3436;
    --text-light: #636e72;
    --text-dark: #2d3436;
    --neutral-color: #ddd6fe;
    --neutral-light: #f3f4f6;
    --neutral-dark: #9ca3af;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    body {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.display-4 {
    font-size: 2.5rem;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--neutral-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-shape {
    width: 200px;
    height: 200px;
    background: var(--neutral-color);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    opacity: 0.3;
    z-index: 1;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: var(--secondary-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--secondary-color);
}

/* Icons */
.fas {
    color: var(--primary-color);
}

/* Features Section */
#features .fas {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#about .fas {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Team Section */
#team img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

#team img:hover {
    transform: scale(1.1);
}

/* Reviews Section */
#reviews .card {
    background: var(--secondary-light);
    border-left: 4px solid var(--primary-color);
}

/* Gallery Section */
#gallery img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

#gallery img:hover {
    transform: scale(1.02);
}

/* Contact Form */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--neutral-light);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(107, 115, 255, 0.25);
}

.contact-info {
    background: var(--neutral-light);
    border-radius: 12px;
}

/* Footer */
footer {
    background: var(--text-dark);
}

footer a:hover {
    color: var(--primary-light);
}

/* Breadcrumbs */
.breadcrumb-image {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

/* Price Plans */
.border-primary {
    border: 2px solid var(--primary-color);
    position: relative;
}

.border-primary::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Animations */
.sal-animate {
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-shape {
        display: none;
    }
    
    #hero {
        padding: 2rem 0;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    #team img {
        width: 80px;
        height: 80px;
    }
    
    /* Disable animations on mobile for performance */
    @media (prefers-reduced-motion: no-preference) {
        .card:hover {
            transform: none;
        }
        
        .btn-primary:hover {
            transform: none;
        }
        
        #gallery img:hover {
            transform: none;
        }
        
        #team img:hover {
            transform: none;
        }
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rounded-4 {
    border-radius: 1rem;
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

.card-img-top {
    loading: lazy;
} 


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
