/* VoiceCraft - Main CSS */
/* Color Palette - 5 Primary Colors with Light/Dark Shades */
:root {
    /* Primary Colors */
    --primary-1: #667eea;        /* Deep Blue */
    --primary-2: #764ba2;        /* Purple */
    --primary-3: #f093fb;        /* Pink */
    --primary-4: #f5f7fa;        /* Light Gray */
    --primary-5: #c3cfe2;        /* Soft Blue */
    
    /* Light Shades */
    --primary-1-light: #8fa4f3;
    --primary-2-light: #9b7bb8;
    --primary-3-light: #f5b7fc;
    --primary-4-light: #ffffff;
    --primary-5-light: #d6e1f0;
    
    /* Dark Shades */
    --primary-1-dark: #4a5bb8;
    --primary-2-dark: #5a3a7a;
    --primary-3-dark: #e668f8;
    --primary-4-dark: #e1e5e9;
    --primary-5-dark: #a8b8d1;
    
    /* Semantic Colors */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --dark: #343a40;
    --light: #f8f9fa;
    
    /* Typography */
    --font-family-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --line-height-base: 1.5;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;
    
    /* Borders */
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--dark);
    background-color: var(--light);
    scroll-behavior: smooth;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

/* Conservative font sizes for specific elements */
.navbar-brand {
    font-size: 1.25rem !important;
    font-weight: 700;
}

.display-4 {
    font-size: 2.5rem !important;
}

.lead {
    font-size: 1.125rem !important;
    font-weight: 400;
}

/* Custom Bootstrap Color Overrides */
.text-primary { color: var(--primary-1) !important; }
.bg-primary { background-color: var(--primary-1) !important; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-1-dark), var(--primary-2-dark));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border-color: var(--primary-1);
    color: var(--primary-1);
}

.btn-outline-primary:hover {
    background-color: var(--primary-1);
    border-color: var(--primary-1);
    color: white;
}

/* Header Styles */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(52, 58, 64, 0.95) !important;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar-brand {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-1) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-1), var(--primary-3));
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Service Cards */
.services-card {
    background: linear-gradient(135deg, var(--primary-4), var(--primary-5-light));
    border: 1px solid var(--primary-5);
}

/* Icon Styles */
.fa-3x {
    font-size: 2.5rem !important;
}

.fa-2x {
    font-size: 1.75rem !important;
}

/* Process Steps */
.process-step-icon {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Timeline */
.timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Accordion Styles */
.accordion-item {
    border: none;
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: linear-gradient(135deg, var(--primary-4), var(--primary-5-light));
    border: none;
    font-weight: 600;
    color: var(--dark);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background-color: var(--primary-4-light);
}

/* Form Styles */
.form-control {
    border: 2px solid var(--primary-5);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-1);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark), #2c3e50) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-1) !important;
}

/* Breadcrumb */
.breadcrumb-container {
    border-bottom: 1px solid var(--primary-5);
}

.breadcrumb-icon {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-icon:hover {
    opacity: 1;
}

/* Gallery */
.gallery img {
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Star Rating */
.fa-star {
    color: #ffc107;
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
}

.gradient-secondary {
    background: linear-gradient(135deg, var(--primary-3), var(--primary-5));
}

.gradient-accent {
    background: linear-gradient(135deg, var(--primary-2), var(--primary-3));
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease;
}

.slide-up.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-1), var(--primary-2)) border-box;
}

.shadow-custom {
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    .navbar-brand {
        font-size: 1.125rem !important;
    }
    
    .hero-section {
        padding-top: 60px;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    .fa-3x {
        font-size: 2rem !important;
    }
}

/* Custom spacing for sections */
.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Voice-over specific styles */
.voice-card {
    background: linear-gradient(135deg, var(--primary-4), var(--primary-5-light));
    border-left: 4px solid var(--primary-1);
    transition: all 0.3s ease;
}

.voice-card:hover {
    border-left-color: var(--primary-2);
    transform: translateX(5px);
}

/* Testimonial cards */
.testimonial-card {
    background: linear-gradient(135deg, var(--primary-4-light), var(--primary-5-light));
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-1), var(--primary-3));
}

/* Team member cards */
.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Pricing cards */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--primary-1);
    transform: scale(1.05);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-1);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-1);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-1: #0066cc;
        --primary-2: #6600cc;
        --primary-3: #cc0066;
        --primary-4: #f0f0f0;
        --primary-5: #cccccc;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    .footer {
        display: none !important;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
    
    .card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
} 


/* 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);
}

.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;
    }
}
