/* Color Palette Variables */
:root {
    /* Primary Colors */
    --primary-color: #6366f1;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --neutral-color: #64748b;
    --danger-color: #ef4444;
    
    /* Light Shades */
    --primary-light: #a5b4fc;
    --secondary-light: #6ee7b7;
    --accent-light: #fbbf24;
    --neutral-light: #cbd5e1;
    --danger-light: #fca5a5;
    
    /* Dark Shades */
    --primary-dark: #4338ca;
    --secondary-dark: #047857;
    --accent-dark: #d97706;
    --neutral-dark: #334155;
    --danger-dark: #dc2626;
    
    /* Bootstrap Override */
    --bs-primary: var(--primary-color);
    --bs-success: var(--secondary-color);
    --bs-warning: var(--accent-color);
    --bs-secondary: var(--neutral-color);
    --bs-danger: var(--danger-color);
}

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

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--neutral-color);
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.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 {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 80px;
}

#hero h1 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

#hero .lead {
    color: var(--primary-color);
    font-weight: 500;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Services Section */
#services .card {
    height: 100%;
}

#services .card-title {
    color: var(--primary-dark);
}

#services .list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Team Section */
#team img {
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

/* Price Plan Cards */
#priceplan .card.border-primary {
    border-color: var(--primary-color) !important;
}

#priceplan .card-header.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Process Section Steps */
#process .bg-primary {
    background-color: var(--primary-color) !important;
}

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

/* Contact Form */
.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    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(99, 102, 241, 0.25);
}

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

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

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

/* Footer */
footer {
    background-color: var(--neutral-dark) !important;
}

footer h5 {
    color: #ffffff;
    margin-bottom: 1rem;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* FAQ Cards */
#faq .card {
    border-left: 4px solid var(--primary-color);
    background-color: #ffffff;
}

#faq .card-title {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

/* Blog Section */
#blog .card-img-top {
    height: 200px;
    object-fit: cover;
}

#blog .card-title {
    color: var(--primary-dark);
}

/* Career Section */
#career .badge {
    background-color: var(--primary-color) !important;
}

/* Timeline Section */
#timeline .text-primary {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Core Info Icons */
#coreinfo .fa-3x {
    color: var(--primary-color);
}

/* Features Section Icons */
#features .fa-2x {
    color: var(--primary-color);
}

/* About Section Icons */
#about .fa-3x {
    color: var(--primary-color);
}

/* Background Sections */
.bg-light {
    background-color: #f8fafc !important;
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

/* Breadcrumb (for additional pages) */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item {
    color: var(--neutral-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/* Utility Classes */
.section-padding {
    padding: 4rem 0;
}

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

/* Animation Classes */
.fade-in {
    opacity: 1; /* Always visible by default */
    animation: fadeIn 0.8s ease forwards;
}

/* Only apply fade effect when specifically requested and animations are enabled */
@media (prefers-reduced-motion: no-preference) {
    .fade-in-animated {
        opacity: 0;
        animation: fadeIn 0.8s ease forwards;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Custom Decorative Elements */
.hero-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: 50% 40% 60% 30%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    z-index: -1;
}

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

/* Border Utilities */
.border-start {
    border-left: 4px solid var(--primary-color) !important;
}

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

/* Shadow Utilities */
.shadow-custom {
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Remove scroll-behavior on mobile to prevent animation issues */
@media (max-width: 768px) {
    html {
        scroll-behavior: auto;
    }
}


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.9);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 1);
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

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

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

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