/* Color Variables */
:root {
    --primary-color: #6c5ce7;
    --primary-light: #a29bfe;
    --primary-dark: #5f3dc4;
    
    --secondary-color: #fd79a8;
    --secondary-light: #fdcb6e;
    --secondary-dark: #e84393;
    
    --accent-color: #00cec9;
    --accent-light: #55efc4;
    --accent-dark: #00b894;
    
    --neutral-color: #636e72;
    --neutral-light: #b2bec3;
    --neutral-dark: #2d3436;
    
    --background-color: #dfe6e9;
    --background-light: #f8f9fa;
    --background-dark: #74b9ff;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    overflow-x: hidden;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Conservative Typography */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--neutral-color);
}

/* Header Styles */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: var(--background-light) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--neutral-dark);
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Button Styles */
.btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    text-transform: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

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

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

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

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

/* Section Spacing */
section {
    position: relative;
}

.py-5 {
    padding: 4rem 0;
}

/* Background Variations */
.bg-light {
    background-color: var(--background-light) !important;
}

/* Icon Styling */
.fa-3x {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.fa-2x {
    color: var(--primary-color);
}

/* Team Member Images */
.team img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--primary-light);
    transition: transform 0.3s ease;
}

.team img:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

/* Timeline Styles */
.timeline .card {
    position: relative;
    margin-bottom: 2rem;
}

.timeline .card::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    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(108, 92, 231, 0.25);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--neutral-dark) 0%, var(--primary-dark) 100%) !important;
}

footer a {
    color: var(--neutral-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Gallery Styles */
#gallery img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 10px;
}

#gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Process Steps */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--primary-light);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

/* Pricing Cards */
.border-primary {
    border-color: var(--primary-color) !important;
    border-width: 3px !important;
}

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

.text-primary {
    color: var(--primary-color) !important;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item:hover img {
    opacity: 1;
}

/* Animation Classes for Sal.js */
.sal-animate {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .py-5 {
        padding: 2rem 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* High Contrast Footer Colors */
footer {
    background-color: #1a1a1a !important;
    color: #ffffff;
}

footer h4, footer h5 {
    color: #ffffff;
}

footer p, footer small {
    color: #cccccc;
} 

.hero-section h1 {
    padding-top: 275px;
}


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
