:root {
    --primary-color: #6f42c1;
    --primary-light: #9a6dd7;
    --primary-dark: #5a359a;
    --secondary-color: #fd7e14;
    --secondary-light: #fd9544;
    --secondary-dark: #cc6311;
    --accent-color: #20c997;
    --accent-light: #46d8ab;
    --accent-dark: #1ba085;
    --neutral-color: #6c757d;
    --neutral-light: #adb5bd;
    --neutral-dark: #495057;
    --success-color: #198754;
    --success-light: #52b788;
    --success-dark: #146c43;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.display-4 {
    font-size: 2.5rem;
}

.h3 {
    font-size: 1.75rem;
}

.h4 {
    font-size: 1.5rem;
}

.h5 {
    font-size: 1.25rem;
}

.h6 {
    font-size: 1.1rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Header */
#header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #fff;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--neutral-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(111, 66, 193, 0.1) 0%, transparent 70%);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(111, 66, 193, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Cards */
.card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Services Section */
#services .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Team Section */
#team img {
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Features Section */
#features i {
    color: var(--primary-color);
}

/* Process Section */
#process .bg-primary {
    background-color: var(--primary-color);
}

/* Pricing Section */
#priceplan .border-primary {
    border-color: var(--primary-color);
    position: relative;
}

#priceplan .border-primary::before {
    content: 'Most Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Contact Form */
.form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

/* Footer */
#footer {
    background-color: #212529;
}

#footer a {
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-light);
}

/* Background Sections */
.bg-light {
    background-color: #f8f9fa;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

/* Section Spacing */
section {
    padding: 80px 0;
}

/* FAQ Section */
#faq .card {
    margin-bottom: 1rem;
}

/* Blog Section */
#blog .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Reviews Section */
#reviews .blockquote-footer {
    font-size: 0.9rem;
    color: var(--neutral-color);
}

/* Animations - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
    .sal-animate {
        transition-duration: 0.5s;
        transition-timing-function: ease-out;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sal-animate {
        transition: none;
    }
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .h3 {
        font-size: 1.5rem;
    }
    
    #hero {
        padding-top: 100px;
        min-height: 100vh;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Accessibility */
.btn:focus,
.form-control:focus {
    outline: none;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Additional Bootstrap customizations */
.container {
    max-width: 1200px;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col,
[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
} 


/* 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;
    }
}
