/* Color Palette */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #7b68ee;
    --accent-color: #ff6b6b;
    --success-color: #51c878;
    --warning-color: #ffa500;
    
    --primary-light: #6ba3e8;
    --primary-dark: #3478c7;
    --secondary-light: #9083f1;
    --secondary-dark: #5e4ee6;
    --accent-light: #ff8a8a;
    --accent-dark: #e55555;
    
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --background-light: #f8f9fa;
    --background-dark: #2c3e50;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header Styles */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
}

.text-muted {
    color: var(--text-light) !important;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 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 15px 35px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Service Items */
.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-item h5 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-dark), var(--secondary-dark));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
    text-align: center;
    padding: 2rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--background-dark) !important;
    color: white;
}

footer h5, footer h6 {
    color: white;
    margin-bottom: 1rem;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

footer .border-white-50 {
    border-color: rgba(255,255,255,0.3) !important;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: var(--text-light);
    padding: 0 0.5rem;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--warning-color));
}

/* Space Page */
#space {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Image Placeholders */
img[src*="DUZ_assets/DUZ_images/"] {
    background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
    min-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive Images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus Styles */
.btn:focus,
.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* Accordion Styles */
.accordion-button {
    background: white;
    border: none;
    font-weight: 500;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--primary-light);
    border-color: var(--primary-color);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(74, 144, 226, 0.25);
}

.accordion-item {
    border: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 0.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-body {
    background: var(--background-light);
}

/* Timeline Section */
.timeline .card {
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.timeline .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Process Section */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

@media (max-width: 767px) {
    .process-step::after {
        display: none;
    }
}

/* Gallery Section */
#gallery img {
    transition: all 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Career Section */
.career-item {
    transition: all 0.3s ease;
}

.career-item:hover {
    transform: translateY(-3px);
}

/* Core Info Icons */
.coreinfo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

/* Reviews/Testimonials Cards */
.review-card {
    background: linear-gradient(135deg, #fff 0%, var(--background-light) 100%);
    border-left: 4px solid var(--primary-color);
}

.review-card .card-text {
    font-style: italic;
    position: relative;
}

.review-card .card-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: -15px;
    font-family: serif;
}

/* Case Study Cards */
.casestudy-card {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: white;
}

.casestudy-card .card-title {
    color: white;
    font-weight: 700;
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s ease;
    border: none;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.blog-card .btn {
    background: var(--accent-color);
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
}

.blog-card .btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Team Cards */
.team-card img {
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.team-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-size: 1rem;
    font-weight: 500;
    color: white;
}

.lb-data .lb-number {
    color: rgba(255,255,255,0.7);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Section spacing improvements */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

/* Enhanced hover effects for service items */
.service-item:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: white;
}

.service-item:hover h5,
.service-item:hover p {
    color: white;
}

.service-item:hover i {
    color: white;
    transform: scale(1.1);
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
} 


/* 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);
}

.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;
    }
}
