/* Modern Digital Marketing Agency Styles */
:root {
    /* Modern Color Palette */
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary-color: #14b8a6;
    --secondary-light: #2dd4bf;
    --secondary-dark: #0f766e;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Enhanced Dark Colors */
    --dark-color: #0f172a;
    --dark-light: #1e293b;
    --dark-medium: #334155;
    
    /* Improved Light Colors */
    --light-color: #f8fafc;
    --light-dark: #e2e8f0;
    --light-medium: #cbd5e1;
    
    /* Better Text Colors */
    --text-color: #0f172a;
    --text-light: #475569;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;
    --white: #ffffff;
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #14b8a6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-hero: linear-gradient(135deg, #6366f1 0%, #14b8a6 50%, #22c55e 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.18);
    --shadow-colored: 0 10px 25px -5px rgba(99, 102, 241, 0.25);
    --shadow-colored-lg: 0 25px 50px -12px rgba(99, 102, 241, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Clean Typography & Text Colors */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 700;
}

/* Paragraphs and general text */
p {
    color: var(--text-light);
}

/* Text utility classes */
.text-muted {
    color: var(--text-muted);
}

.text-subtle {
    color: var(--text-subtle);
}

.text-dark {
    color: var(--text-color);
}

.text-white {
    color: var(--white);
}

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

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

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Form elements */
.form-label {
    color: var(--text-color);
    font-weight: 600;
}

.form-control {
    color: var(--text-color);
    background-color: var(--white);
    border-color: var(--light-medium);
}

.form-control:focus {
    color: var(--text-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

/* Navigation */
.navbar-brand {
    color: var(--primary-color);
    font-weight: 800;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
}

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

/* Hero section text */
.hero {
    color: var(--white);
}

.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6 {
    color: var(--white);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
}

.hero .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Fallback for gradient text */
@supports not (-webkit-background-clip: text) {
    .hero .text-gradient {
        color: var(--white);
        background: none;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    color: var(--primary-color);
}

/* Ensure gradient text is visible */
@supports (-webkit-background-clip: text) {
    .text-gradient {
        color: transparent;
    }
}

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

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

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-colored);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored-lg);
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #16a34a 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #16a34a 0%, var(--success-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, var(--accent-light) 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--warning-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, var(--danger-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Header */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(79, 70, 229, 0.2);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    /* Fallback color */
    color: var(--primary-color) !important;
}

/* Ensure navbar brand is visible */
@supports not (-webkit-background-clip: text) {
    .navbar-brand {
        color: var(--primary-color) !important;
        background: none;
    }
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white) !important;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Ensure hero text is always visible */
.hero * {
    color: var(--white);
}

.hero .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Fallback */
    color: var(--white) !important;
}

.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    color: var(--white) !important;
    opacity: 1 !important;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9 !important;
    color: var(--white) !important;
}

/* Sections */
.section {
    padding: 3rem 0;
    position: relative;
}

.section.bg-light {
    background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
    position: relative;
}

.section.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    color: var(--text-color);
    font-weight: 700;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.service-card {
    background: var(--gradient-card);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(99, 102, 241, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-colored-lg);
    border-color: rgba(99, 102, 241, 0.2);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, rgba(99, 102, 241, 0.02) 100%);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.service-card h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-colored);
    border-color: rgba(79, 70, 229, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.9) 0%, rgba(6, 182, 212, 0.9) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Team */
.team-card {
    text-align: center;
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid rgba(99, 102, 241, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-colored-lg);
    border-color: rgba(99, 102, 241, 0.2);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, rgba(99, 102, 241, 0.02) 100%);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid transparent;
    background: var(--gradient-primary);
    padding: 3px;
}

.team-avatar img {
    border-radius: 50%;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-social {
    margin-top: 1rem;
}

.team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: var(--light-color);
    color: var(--text-light);
    border-radius: 50%;
    line-height: 35px;
    text-align: center;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

/* Pricing */
.pricing-card {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(10px);
}

.pricing-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-colored);
}

.pricing-card.featured .pricing-price {
    color: var(--white);
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-colored-lg);
    border-color: rgba(99, 102, 241, 0.2);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, rgba(99, 102, 241, 0.02) 100%);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.4);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0.75rem 0;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* Blog */
.blog-card {
    background: var(--gradient-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-colored);
    border-color: rgba(79, 70, 229, 0.2);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact */
.contact-form {
    background: var(--gradient-card);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-dark);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    transform: translateY(-1px);
}

.form-control:hover {
    border-color: var(--primary-light);
}

.contact-info {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.contact-info>* {
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(20, 184, 166, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.footer>* {
    position: relative;
    z-index: 2;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--white);
    transform: translateX(3px);
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    border-radius: 10px;
    padding: 1.5rem;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        min-height: 60vh;
        padding: 1.5rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    .section-title {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero {
        min-height: 50vh;
        padding: 1rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 1.5rem 0;
    }

    .section-title {
        margin-bottom: 1rem;
    }

    .service-card,
    .team-card,
    .pricing-card,
    .contact-form,
    .contact-info {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .team-avatar {
        width: 80px;
        height: 80px;
    }

    .pricing-price {
        font-size: 2rem;
    }

    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
    }

    .btn {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.9rem;
    }

    .stat-item {
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem !important;
        font-weight: 700;
        display: block;
        color: var(--white) !important;
        opacity: 1 !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
        opacity: 0.9 !important;
        color: var(--white) !important;
    }

    .footer {
        padding: 1.5rem 0 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .section {
        padding: 1rem 0;
    }

    .service-card,
    .team-card,
    .pricing-card {
        padding: 0.75rem;
    }

    .contact-form,
    .contact-info {
        padding: 1rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .team-avatar {
        width: 70px;
        height: 70px;
    }

    .pricing-price {
        font-size: 1.75rem;
    }

    .btn {
        padding: 5px 12px;
        font-size: 0.8rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Badge Styles */
.badge {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
}

.badge.bg-primary {
    background: var(--primary-color) !important;
    color: var(--white);
}

.badge.bg-secondary {
    background: var(--secondary-color) !important;
    color: var(--white);
}

.badge.bg-success {
    background: var(--success-color) !important;
    color: var(--white);
}

.badge.bg-warning {
    background: var(--warning-color) !important;
    color: var(--white);
}

.badge.bg-danger {
    background: var(--danger-color) !important;
    color: var(--white);
}

.badge.bg-info {
    background: var(--secondary-color) !important;
    color: var(--white);
}

/* Additional Mobile Optimizations */
.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.row>* {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Compact spacing utilities */
.mb-compact {
    margin-bottom: 0.5rem !important;
}

.mt-compact {
    margin-top: 0.5rem !important;
}

.py-compact {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.px-compact {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

/* Blog and Portfolio optimizations */
.blog-card,
.portfolio-item {
    margin-bottom: 1rem;
}

.blog-image,
.portfolio-item img {
    height: 200px;
    object-fit: cover;
}

/* Form optimizations */
.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Navigation optimizations - moved to responsive section */

/* Stats section optimization - moved to responsive section */

/* Pricing optimizations */
.pricing-features {
    font-size: 0.9rem;
    margin: 1rem 0;
}

.pricing-features li {
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Contact optimizations */
.contact-item {
    margin-bottom: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

/* Team social links */
.team-social a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 0.9rem;
}

/* Accordion Improvements */
.accordion-item {
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 10px !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--gradient-card);
    color: var(--text-color);
    font-weight: 600;
    border: none;
    padding: 1rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    border: none;
}

.accordion-body {
    background: var(--white);
    color: var(--text-light);
    padding: 1.5rem;
}

/* Input Group Improvements */
.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-left: none;
    border: 2px solid var(--primary-color);
}

/* Filter Buttons */
.portfolio-filter,
.blog-categories .btn {
    margin: 0.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}

.portfolio-filter.active,
.blog-categories .btn.active,
.portfolio-filter:hover,
.blog-categories .btn:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-colored);
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Form Check Improvements */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Alert/Notification Improvements */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, var(--success-color), #34d399);
    color: var(--white);
}

.alert-danger {
    background: linear-gradient(135deg, var(--danger-color), #f87171);
    color: var(--white);
}

.alert-info {
    background: linear-gradient(135deg, var(--secondary-color), #38bdf8);
    color: var(--white);
}

.alert-warning {
    background: linear-gradient(135deg, var(--warning-color), #fbbf24);
    color: var(--white);
}

/* CRITICAL TEXT VISIBILITY FIXES */
/* Ensure all text is visible and readable */
.hero,
.hero *,
.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6,
.hero p,
.hero span,
.hero div {
    color: var(--white) !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-text-fill-color: var(--white) !important;
}

/* Override any transparent text in hero */
.hero .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: var(--white) !important;
    /* Ensure it's visible */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fallback for gradient text */
@supports not (-webkit-background-clip: text) {
    .hero .text-gradient {
        color: var(--white) !important;
        background: none !important;
        -webkit-text-fill-color: var(--white) !important;
    }
}

/* Ensure navbar brand is visible */
.navbar-brand {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force all text to be visible */
body * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Specific fixes for common invisible text issues */
.text-transparent {
    color: var(--text-color) !important;
    -webkit-text-fill-color: var(--text-color) !important;
}

/* Debug: Make all text visible with fallback colors */
h1:not(.hero h1) {
    color: var(--text-color) !important;
}

h2:not(.hero h2) {
    color: var(--text-color) !important;
}

h3:not(.hero h3) {
    color: var(--text-color) !important;
}

h4:not(.hero h4) {
    color: var(--text-color) !important;
}

h5:not(.hero h5) {
    color: var(--text-color) !important;
}

h6:not(.hero h6) {
    color: var(--text-color) !important;
}

p:not(.hero p) {
    color: var(--text-light) !important;
}

/* Fix Bootstrap h4 class in hero stats */
.hero .h4,
.hero h4 {
    color: var(--white) !important;
    opacity: 1 !important;
}

/* Fix small text in hero */
.hero small {
    color: var(--white) !important;
    opacity: 0.9 !important;
}

/* ULTIMATE TEXT VISIBILITY FIX */
html,
body,
* {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Remove any transparent text fills */
* {
    -webkit-text-fill-color: unset !important;
}

/* Basic text colors */
body {
    color: #1e293b !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #1e293b !important;
}

p {
    color: #64748b !important;
}

/* Hero text - white on gradient background */
.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6,
.hero p,
.hero span,
.hero div {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Navigation */
.navbar-brand {
    color: #4f46e5 !important;
    -webkit-text-fill-color: #4f46e5 !important;
}

.navbar-nav .nav-link {
    color: #1e293b !important;
}

/* Forms */
.form-label {
    color: #1e293b !important;
}

.form-control {
    color: #1e293b !important;
}

/* Buttons */
.btn-primary {
    color: #ffffff !important;
}

/* Override any gradient text issues */
.text-gradient {
    -webkit-text-fill-color: #4f46e5 !important;
    color: #4f46e5 !important;
}

.hero .text-gradient {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
}