/* Dedicated CSS for web-design.html page */
/* This file contains all styling specific to the web design page */

/* Hero Section Enhancement */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.dark-theme .hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%234361ee" fill-opacity="0.03"><circle cx="30" cy="30" r="1"/></g></svg>');
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark-color);
}

.dark-theme .hero-title {
    color: var(--light-color);
}

.gradient-text {
    background: linear-gradient(45deg, #4361ee, #7209b7, #f72585);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 32px;
    font-weight: 400;
}

.dark-theme .hero-subtitle {
    color: #94a3b8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(67, 97, 238, 0.1), rgba(114, 9, 183, 0.1));
    border-radius: 20px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 5px;
    font-weight: 500;
}

.dark-theme .stat-label {
    color: #94a3b8;
}

/* Services Section Enhancement */
.services-section {
    padding: 100px 0;
    background: white;
}

.dark-theme .services-section {
    background: var(--dark-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.dark-theme .service-card {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(71, 97, 238, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.02), rgba(114, 9, 183, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(67, 97, 238, 0.15);
}

.dark-theme .service-card:hover {
    box-shadow: 0 20px 50px rgba(67, 97, 238, 0.25);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #4361ee 0%, #7209b7 50%, #f72585 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.dark-theme .service-icon {
    background: linear-gradient(135deg, #60a5fa 0%, #8b5cf6 50%, #ec4899 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
}

.service-icon i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    font-weight: 900;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.4);
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
}

.dark-theme .service-card:hover .service-icon {
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.5);
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    z-index: 2;
}

.dark-theme .service-card h3 {
    color: var(--light-color);
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.dark-theme .service-card p {
    color: #94a3b8;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Expert Web Design Process Section */
.expert-web-design {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.dark-theme .expert-web-design {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.expert-web-design::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%234361ee" fill-opacity="0.02"><circle cx="20" cy="20" r="1"/></g></svg>');
    pointer-events: none;
}

.dark-theme .expert-web-design::before {
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><circle cx="20" cy="20" r="1"/></g></svg>');
}

.expert-content {
    position: relative;
    z-index: 2;
}

.process-list {
    margin-bottom: 60px;
}

.process-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark-theme .process-item {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(71, 97, 238, 0.2);
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(71, 97, 238, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.process-item:hover::before {
    opacity: 1;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(71, 97, 238, 0.1);
}

.dark-theme .process-item:hover {
    box-shadow: 0 20px 40px rgba(71, 97, 238, 0.2);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 25px;
    flex-shrink: 0;
    position: relative;
    counter-increment: process-counter;
}

.process-list {
    counter-reset: process-counter;
}

.process-number::before {
    content: counter(process-counter);
}

.process-number::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.process-info h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.dark-theme .process-info h3 {
    color: var(--light-color);
}

.process-info p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1.1rem;
    margin: 0;
}

.dark-theme .process-info p {
    color: #94a3b8;
}

.expert-cta {
    text-align: center;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.dark-theme .expert-cta {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(71, 97, 238, 0.2);
}

.expert-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(71, 97, 238, 0.1), rgba(139, 92, 246, 0.1));
    pointer-events: none;
}

.expert-cta h3 {
    color: var(--dark-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.dark-theme .expert-cta h3 {
    color: var(--light-color);
}

.expert-cta p {
    color: #64748b;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.dark-theme .expert-cta p {
    color: #94a3b8;
}

.expert-cta .btn {
    position: relative;
    z-index: 2;
}

/* Portfolio Preview Section */
.portfolio-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    position: relative;
}

.dark-theme .portfolio-preview {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(67, 97, 238, 0.1);
    border-radius: 50px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.dark-theme .filter-btn {
    background: rgba(30, 41, 59, 0.8);
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.1);
}

.filter-btn::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.6s ease;
}

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

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
}

.dark-theme .filter-btn:hover,
.dark-theme .filter-btn.active {
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

/* Portfolio Grid and Cards */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.portfolio-item {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                opacity 0.3s ease, 
                transform 0.3s ease;
}

/* Portfolio item filtering animation */
.portfolio-item.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    height: auto; /* Let height adjust based on content */
}

.dark-theme .portfolio-card {
    background: #1e293b;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.dark-theme .portfolio-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Portfolio Image Container */
.portfolio-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    overflow: hidden;
}

.dark-theme .portfolio-image-container {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.portfolio-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    padding: 20px;
    display: block;
    margin: 0 auto;
}

/* Special fix for MP Films image if needed */
.portfolio-image-container img[src*="mpfilms-mockup.png"] {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 240px;
    margin: 0 auto;
    display: block;
    background: none;
    padding: 0;
}

/* Portfolio Content */
.portfolio-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-header {
    margin-bottom: 15px;
}

.portfolio-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--dark-color);
}

.dark-theme .portfolio-header h3 {
    color: #f8fafc;
}

.portfolio-type {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dark-theme .portfolio-type {
    color: #60a5fa;
}

.portfolio-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to fill available space */
}

.dark-theme .portfolio-description {
    color: #94a3b8;
}

/* Portfolio Metrics */
.portfolio-metrics {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    flex-wrap: wrap; /* Allow metrics to wrap on smaller screens */
}

.dark-theme .portfolio-metrics {
    border-color: rgba(71, 85, 105, 0.5);
}

.metric {
    text-align: center;
    flex: 1 1 calc(50% - 10px); /* Allow metrics to take half width minus gap */
}

.metric strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.dark-theme .metric strong {
    color: #60a5fa;
}

.metric span:not(strong) {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dark-theme .metric span:not(strong) {
    color: #94a3b8;
}

/* Portfolio Actions */
.portfolio-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.btn.btn-sm {
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Note: .btn-primary styles consolidated in main styles.css */

/* Note: .btn-outline styles consolidated in main styles.css */

/* Portfolio CTA Enhancement */
.portfolio-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px 0;
}

.portfolio-stats-summary {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.dark-theme .portfolio-stats-summary {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(148, 163, 184, 0.2);
}

.summary-stat {
    text-align: center;
}

.summary-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.dark-theme .summary-number {
    color: #60a5fa;
}

.summary-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dark-theme .summary-label {
    color: #94a3b8;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background: var(--light-color);
}

.dark-theme .why-choose-us {
    background: var(--dark-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.dark-theme .feature-item h3 {
    color: var(--light-color);
}

.feature-item p {
    color: #64748b;
    line-height: 1.6;
}

.dark-theme .feature-item p {
    color: #94a3b8;
}

/* CTA Section Enhancement */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dark-theme .cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #334155 70%, #475569 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 200, 255, 0.3) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.dark-theme .cta-section::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(71, 97, 238, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="40" cy="40" r="1.5"/></g></svg>');
    pointer-events: none;
    animation: drift 8s linear infinite;
}

.dark-theme .cta-section::after {
    background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="40" cy="40" r="1.5"/></g></svg>');
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(1deg);
    }
    66% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

@keyframes drift {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-80px);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-theme .cta-content {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content h2 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-theme .cta-content h2 {
    color: #f8fafc;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.dark-theme .cta-content p {
    color: rgba(248, 250, 252, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    color: #1e293b;
    border: none;
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.cta-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dark-theme .cta-buttons .btn-primary {
    background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
    color: #0f172a;
}

.dark-theme .cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

/* Portfolio Info Bar - Always visible at bottom */
.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: white;
    padding: 15px 20px;
    z-index: 1;
}

.portfolio-info h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Enhanced mobile responsive for portfolio */
@media (max-width: 768px) {
    .portfolio-filters {
        gap: 10px;
        margin: 30px 0 40px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .portfolio-content {
        padding: 20px;
    }
    
    .portfolio-metrics {
        padding: 10px 0;
        gap: 10px;
    }
    
    .portfolio-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 15px;
    }
    
    .portfolio-actions .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .metric strong {
        font-size: 1.1rem;
    }
    
    .metric span:not(strong) {
        font-size: 0.75rem;
    }
    
    /* Fix portfolio stats summary on mobile */
    .portfolio-cta {
        margin-top: 30px;
        padding: 20px 0;
    }
    
    .portfolio-stats-summary {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        margin: 10px 15px 20px;
    }
    
    .summary-number {
        font-size: 1.8rem;
    }
    
    .summary-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .filter-btn {
        min-width: 140px;
        text-align: center;
    }
    
    .portfolio-item {
        aspect-ratio: 3/4;
    }
    
    .portfolio-badges {
        flex-direction: row;
        top: 10px;
        right: 10px;
        left: 10px;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
    
    .portfolio-overlay {
        padding: 15px;
    }
    
    .portfolio-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .summary-number {
        font-size: 1.4rem;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    /* Improved portfolio card responsiveness */
    .portfolio-card {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    
    .portfolio-content {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 20px;
    }
    
    .portfolio-description {
        flex-grow: 1;
        margin-bottom: 15px;
    }
    
    .portfolio-metrics {
        flex-wrap: wrap;
        padding: 5px 0;
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .metric {
        flex: 1 1 calc(50% - 10px);
    }
    
    .portfolio-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .portfolio-actions .btn {
        width: 100%;
    }
    
    /* Expert Web Design Process Mobile */
    .process-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .process-number {
        margin-right: 0;
        margin-bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .process-info h3 {
        font-size: 1.3rem;
    }
    
    .process-info p {
        font-size: 1rem;
    }
    
    .expert-cta {
        padding: 40px 25px;
    }
    
    .expert-cta h3 {
        font-size: 1.5rem;
    }
    
    .expert-cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Portfolio Mobile Improvements */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-image-container {
        height: 180px;
    }
    
    .portfolio-metrics {
        flex-direction: column;
        gap: 12px;
    }
    
    .metric {
        flex: 1 1 100%;
    }
    
    .metric strong {
        font-size: 1.1rem;
    }
    
    .portfolio-header h3 {
        font-size: 1.2rem;
    }
    
    .portfolio-description {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .portfolio-actions .btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Portfolio Animation Enhancements */
.portfolio-item {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                opacity 0.3s ease, 
                transform 0.3s ease;
}

.portfolio-image img {
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.portfolio-image.loaded img {
    opacity: 1;
}

/* Enhanced filter animations */
.filter-btn {
    position: relative;
    overflow: hidden;
}

.filter-btn::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.6s ease;
}

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

/* Staggered animation for portfolio grid */
.portfolio-item:nth-child(1) {
    transition-delay: 0ms;
}

.portfolio-item:nth-child(2) {
    transition-delay: 100ms;
}

.portfolio-item:nth-child(3) {
    transition-delay: 200ms;
}

/* Loading state for portfolio items */
.portfolio-item.loading {
    opacity: 0.5;
    transform: scale(0.95);
}

/* Enhanced hover effects for portfolio stats */
.portfolio-stats .stat-item:hover .stat-number {
    color: #60a5fa;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Improved accessibility for portfolio filters */
.filter-btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(67, 97, 238, 0.1);
}

/* Portfolio item entrance animation */
@keyframes portfolioSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.portfolio-item.animate-in {
    animation: portfolioSlideIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Enhanced portfolio overlay entrance */
@keyframes overlaySlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.portfolio-overlay {
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    animation-fill-mode: forwards;
}

/* ============================================================================
   NEW SECTION STYLES - SEO ENHANCEMENTS
   ============================================================================ */

/* Breadcrumb Navigation Styles */
.breadcrumb-nav {
    background: var(--light-color);
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
    margin-top: 20px;
    margin-bottom: 0;
}

.dark-theme .breadcrumb-nav {
    background: var(--dark-color);
    border-bottom-color: #334155;
}

.breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin: 0 12px;
    color: #94a3b8;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

.dark-theme .breadcrumb-item a {
    color: #94a3b8;
}

.dark-theme .breadcrumb-item.active {
    color: #60a5fa;
}

/* Industries Section Styles */
.industries-section {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
}

.dark-theme .industries-section {
    background: #0f172a;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.industry-card {
    background: var(--light-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.dark-theme .industry-card {
    background: #1e293b;
    border-color: #334155;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #7209b7, #f72585);
    transition: left 0.4s ease;
}

.industry-card:hover::before {
    left: 0;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.1);
}

.dark-theme .industry-card:hover {
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.2);
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #7209b7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(5deg);
}

.industry-icon i {
    font-size: 32px;
    color: white;
}

.industry-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.dark-theme .industry-card h3 {
    color: var(--light-color);
}

.industry-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.dark-theme .industry-card p {
    color: #94a3b8;
}

.industry-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.industry-link:hover {
    color: #7209b7;
    transform: translateX(4px);
}

.industry-link i {
    transition: transform 0.2s ease;
}

.industry-link:hover i {
    transform: translateX(4px);
}

/* Testimonial Highlight Section */
.testimonial-highlight {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7209b7 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonial-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="20" cy="20" r="1"/></g></svg>');
    pointer-events: none;
}

.testimonial-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 4rem;
    opacity: 0.2;
    margin-bottom: 30px;
}

.testimonial-quote blockquote {
    font-size: 1.75rem;
    line-height: 1.4;
    font-weight: 400;
    margin: 0 0 50px;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 50px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

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

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-info p {
    opacity: 0.8;
    margin-bottom: 8px;
}

.author-location {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.7;
    font-size: 0.875rem;
}

.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-stat {
    text-align: center;
}

.testimonial-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.testimonial-stat .stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FAQ Section Styles */
.faq-section {
    padding: 100px 0;
    background: var(--light-color);
}

.dark-theme .faq-section {
    background: var(--dark-color);
}

.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: #f8fafc;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.dark-theme .faq-item {
    background: #1e293b;
    border-color: #334155;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(67, 97, 238, 0.1);
}

.faq-question {
    padding: 30px;
    cursor: pointer;
    display: flex;
    justify-content: between;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: rgba(67, 97, 238, 0.05);
}

.dark-theme .faq-question:hover {
    background: rgba(67, 97, 238, 0.1);
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    flex: 1;
}

.dark-theme .faq-question h3 {
    color: var(--light-color);
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 30px 30px;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.dark-theme .faq-answer p {
    color: #94a3b8;
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background: #f1f5f9;
    border-radius: 20px;
}

.dark-theme .faq-cta {
    background: #1e293b;
}

.faq-cta h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.dark-theme .faq-cta h3 {
    color: var(--light-color);
}

.faq-cta p {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.dark-theme .faq-cta p {
    color: #94a3b8;
}

/* Enhanced CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%234361ee" fill-opacity="0.1"><circle cx="30" cy="30" r="1"/></g></svg>');
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(45deg, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.benefit-item i {
    color: #10b981;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Inline link styles for blog links */
.inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.inline-link:hover {
    border-bottom-color: var(--primary-color);
    color: #7209b7;
}

.dark-theme .inline-link {
    color: #60a5fa;
}

.dark-theme .inline-link:hover {
    border-bottom-color: #60a5fa;
    color: #93c5fd;
}

/* Enhanced SEO intro paragraphs */
.seo-intro .location-intro {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
}

.dark-theme .seo-intro .location-intro {
    color: #94a3b8;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .industry-card {
        padding: 30px 20px;
    }
    
    .testimonial-highlight {
        padding: 50px 0;
    }
    
    .testimonial-quote blockquote {
        font-size: 1.4rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
    
    .testimonial-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }
    
    .testimonial-stat .stat-number {
        font-size: 2rem;
    }
    
    .testimonial-stat .stat-label {
        font-size: 0.85rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .faq-cta {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .filter-btn {
        min-width: 140px;
        text-align: center;
    }
    
    .portfolio-item {
        aspect-ratio: 3/4;
    }
    
    .portfolio-badges {
        flex-direction: row;
        top: 10px;
        right: 10px;
        left: 10px;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
    
    .portfolio-overlay {
        padding: 15px;
    }
    
    .portfolio-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .summary-number {
        font-size: 1.4rem;
    }
}

/* Enhanced portfolio overlay entrance */
@keyframes overlaySlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.portfolio-overlay {
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    animation-fill-mode: forwards;
}
