/*
Theme Name: RankVigor
Theme URI: https://rankvigor.com
Author: RankVigor Team
Author URI: https://rankvigor.com
Description: Professional SEO Services WordPress Theme - Clean, modern design optimized for digital marketing agencies. Mobile responsive with centered layouts.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rankvigor
Tags: business, marketing, seo, one-column, custom-header, custom-menu, featured-images, threaded-comments, responsive-layout
*/

/* ====================================
   RANKVIGOR - CUSTOM CSS STYLESHEET
   ==================================== */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
    font-weight: 500;
}

.nav-link {
    color: #64748b;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link.cta-btn {
    background: #2563eb;
    color: white;
    padding: 8px 24px;
    border-radius: 9999px;
    transition: background 0.3s ease;
}

.nav-link.cta-btn:hover {
    background: #1d4ed8;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #0f172a;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    padding-top: 128px;
    padding-bottom: 80px;
    background: #f8fafc;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 10;
}

.hero-left, .hero-right {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse-dot {
    position: relative;
    display: flex;
    height: 8px;
    width: 8px;
}

.ping {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background: #60a5fa;
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dot {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 8px;
    width: 8px;
    background: #2563eb;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: #475569;
    margin-bottom: 40px;
    max-width: 640px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
}

.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f8fafc;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    opacity: 0.6;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.stat-divider {
    height: 40px;
    width: 1px;
    background: #e2e8f0;
}

.hero-card {
    position: relative;
    z-index: 10;
    background: white;
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #f1f5f9;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #eab308; }
.browser-dot.green { background: #22c55e; }

.browser-url {
    flex: 1;
    height: 24px;
    background: #f1f5f9;
    border-radius: 8px;
}

.hero-image {
    width: 100%;
    border-radius: 12px;
}

.floating-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: #2563eb;
    color: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    animation: bounce-slow 3s ease-in-out infinite;
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.badge-number {
    font-size: 24px;
    font-weight: 700;
}

.badge-text {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
}

.hero-blur {
    position: absolute;
    width: 256px;
    height: 256px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero-blur-1 {
    top: -40px;
    right: -40px;
    background: rgba(52, 211, 153, 0.2);
}

.hero-blur-2 {
    bottom: -40px;
    left: -40px;
    background: rgba(59, 130, 246, 0.2);
}

/* ===== TRUSTED BY SECTION ===== */
.trusted-section {
    padding: 48px 0;
    background: white;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}

.trusted-label {
    text-align: center;
    color: #94a3b8;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 32px;
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.trusted-logos:hover {
    filter: grayscale(0%);
}

.brand-logo {
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 96px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.text-white .section-title,
.section-header.text-white .section-description {
    color: white;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: #64748b;
    max-width: 640px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    color: #60a5fa;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 32px;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: #f8fafc;
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #2563eb;
    color: white;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.service-description {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-benefits {
    list-style: none;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
}

.service-benefits i {
    color: #10b981;
}

/* ===== AUDIT SECTION ===== */
.audit-section {
    padding: 96px 0;
    background: #0f172a;
    color: white;
    position: relative;
    overflow: hidden;
}

.audit-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.2;
    background: linear-gradient(to left, rgba(59, 130, 246, 0.3), transparent);
    pointer-events: none;
}

.audit-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.audit-form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.audit-form {
    margin-bottom: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.8;
}

.form-input {
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-audit {
    width: 100%;
    padding: 16px;
    background: #2563eb;
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-audit:hover {
    background: #1d4ed8;
}

.btn-audit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-audit i.fa-circle-notch {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.audit-error {
    color: #f87171;
    text-align: center;
    margin-top: 16px;
}

.audit-results {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    color: #0f172a;
    animation: fadeIn 0.5s ease;
}

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

.results-layout {
    display: flex;
    gap: 48px;
}

.results-left {
    flex: 0 0 33.333%;
    text-align: center;
}

.results-right {
    flex: 1;
}

.score-circle {
    position: relative;
    width: 128px;
    height: 128px;
    margin: 0 auto 24px;
    border: 8px solid #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-number {
    font-size: 36px;
    font-weight: 900;
    color: #2563eb;
}

.score-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.score-url {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 32px;
}

.analyze-again-btn {
    color: #2563eb;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    margin: 0 auto;
}

.analyze-again-btn:hover {
    gap: 12px;
}

.results-section {
    margin-bottom: 32px;
}

.results-section h4 {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.results-section h4.critical {
    color: #dc2626;
}

.results-section h4.recommendations {
    color: #2563eb;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.issue-item {
    padding: 12px;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #fee2e2;
}

.recommendations-list {
    list-style: none;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.recommendation-item i {
    color: #3b82f6;
    margin-top: 6px;
}

.recommendation-item span {
    color: #334155;
}

.results-summary {
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.results-summary p {
    color: #64748b;
    font-style: italic;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 96px 0;
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stars {
    display: flex;
    gap: 4px;
    color: #eab308;
    font-size: 14px;
    margin-bottom: 24px;
}

.testimonial-text {
    color: #334155;
    font-style: italic;
    margin-bottom: 32px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: #0f172a;
}

.author-role {
    font-size: 12px;
    color: #64748b;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 96px 0;
    background: #2563eb;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 32px;
}

.cta-description {
    color: #bfdbfe;
    font-size: 20px;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.btn-cta-primary {
    width: auto;
    padding: 20px 40px;
    background: white;
    color: #2563eb;
    border-radius: 16px;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: scale(1.05);
}

.btn-cta-secondary {
    width: auto;
    padding: 20px 40px;
    background: rgba(29, 78, 216, 0.3);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-weight: 900;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(29, 78, 216, 0.5);
}

/* ===== FOOTER ===== */
.footer {
    background: #f8fafc;
    padding-top: 80px;
    padding-bottom: 40px;
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    background: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.footer-description {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #2563eb;
    border-color: #2563eb;
}

.footer-heading {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: #64748b;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2563eb;
}

.footer-newsletter-text {
    color: #64748b;
    margin-bottom: 16px;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 8px 16px;
    border-radius: 8px 0 0 8px;
    background: white;
    border: 1px solid #e2e8f0;
    font-size: 14px;
}

.newsletter-input:focus {
    outline: none;
    border-color: #2563eb;
}

.newsletter-btn {
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    border-radius: 0 8px 8px 0;
    transition: background 0.3s ease;
    font-weight: 600;
}

.newsletter-btn:hover {
    background: #1d4ed8;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 32px;
    font-size: 14px;
}

.footer-legal a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #64748b;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    /* Mobile mein service cards center align */
    .service-card {
        text-align: center;
    }
    
    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-benefits {
        display: inline-block;
        text-align: left;
    }
    
    /* Mobile mein testimonial cards center */
    .testimonial-card {
        text-align: center;
    }
    
    .testimonial-author {
        justify-content: center;
    }
    
    .results-layout {
        flex-direction: column;
    }
    
    .results-left {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        width: 100%;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .trusted-logos {
        gap: 24px;
    }
}

/* ====================================
   NEW PAGES CSS
   ==================================== */

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    text-align: center;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 20px;
    color: #64748b;
    line-height: 1.6;
}

/* ===== SERVICES DETAILED PAGE ===== */
.services-detailed {
    padding: 80px 0;
    background: #fff;
}

.service-detail-card {
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 48px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    flex-shrink: 0;
}

.service-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.service-detail-tagline {
    font-size: 16px;
    color: #64748b;
}

.service-detail-description {
    font-size: 18px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 32px;
}

.service-features h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}

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

.feature-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.feature-item i {
    color: #10b981;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

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

.service-cta {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #f1f5f9;
}

/* ===== ABOUT PAGE ===== */
.about-story {
    padding: 80px 0;
    background: #fff;
}

.about-story-content {
    display: flex;
    gap: 64px;
    align-items: center;
}

.about-story-text {
    flex: 1;
}

.about-story-text p {
    font-size: 18px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-story-image {
    flex: 1;
}

.about-story-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-vision {
    padding: 80px 0;
    background: #f8fafc;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.mission-card {
    background: #fff;
    padding: 48px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 24px;
}

.mission-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.mission-card p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
}

.values-section {
    padding: 80px 0;
    background: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.value-card {
    padding: 32px;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

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

.stat-number {
    font-size: 56px;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 18px;
    color: #bfdbfe;
}

.why-choose-us {
    padding: 80px 0;
    background: #f8fafc;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.why-card {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
}

.why-number {
    font-size: 48px;
    font-weight: 900;
    color: #dbeafe;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-filters {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.case-studies {
    padding: 80px 0;
    background: #f8fafc;
}

.case-study-card {
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 48px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.case-study-header {
    margin-bottom: 32px;
}

.case-study-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-study-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.case-study-subtitle {
    font-size: 18px;
    color: #64748b;
}

.case-study-challenge,
.case-study-solution,
.case-study-results {
    margin-bottom: 32px;
}

.case-study-challenge h3,
.case-study-solution h3,
.case-study-results h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-study-challenge h3 i {
    color: #dc2626;
}

.case-study-solution h3 i {
    color: #f59e0b;
}

.case-study-results h3 i {
    color: #10b981;
}

.case-study-solution ul {
    list-style: none;
    padding: 0;
}

.case-study-solution li {
    padding: 8px 0 8px 32px;
    position: relative;
    color: #475569;
    line-height: 1.6;
}

.case-study-solution li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.result-stat {
    text-align: center;
    padding: 24px;
    background: #f8fafc;
    border-radius: 16px;
}

.result-number {
    font-size: 36px;
    font-weight: 900;
    color: #2563eb;
    margin-bottom: 8px;
}

.result-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.case-study-testimonials {
    padding: 80px 0;
    background: #fff;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.form-description {
    color: #64748b;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.btn-submit {
    width: 100%;
    margin-top: 16px;
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: center;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #dc2626;
}

.contact-info-wrapper p {
    color: #64748b;
    margin-bottom: 32px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.contact-info-content a {
    color: #2563eb;
    font-weight: 600;
}

.contact-info-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.info-note {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
}

.contact-social {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #f1f5f9;
}

.contact-social h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.social-links-large {
    display: flex;
    gap: 12px;
}

.social-link-large {
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link-large:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.contact-faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.faq-item {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.schedule-call-section {
    padding: 80px 0;
    background: #fff;
}

.schedule-call-card {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
}

.schedule-call-content i {
    font-size: 48px;
    color: #bfdbfe;
    margin-bottom: 24px;
}

.schedule-call-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.schedule-call-content p {
    font-size: 18px;
    color: #bfdbfe;
    margin-bottom: 32px;
}

.schedule-call-content .btn {
    background: white;
    color: #2563eb;
}

.schedule-call-content .btn:hover {
    background: #f8fafc;
}

/* ===== PAGE CTA SECTION ===== */
.page-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    text-align: center;
}

.page-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.page-cta-content p {
    font-size: 18px;
    color: #bfdbfe;
    margin-bottom: 32px;
}

/* ===== MOBILE RESPONSIVE FOR NEW PAGES ===== */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .service-detail-card {
        padding: 24px;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-detail-icon {
        margin: 0 auto;
    }
    
    .service-detail-title {
        font-size: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-story-content {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .schedule-call-card {
        padding: 32px 24px;
    }
    
    .schedule-call-content h2 {
        font-size: 24px;
    }
    
    .filter-buttons {
        gap: 8px;
    }
    
    .filter-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .case-study-card {
        padding: 24px;
    }
    
    .case-study-title {
        font-size: 24px;
    }
    
    .results-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
