/* ===================================
   COGNIONIX - Custom Styles
   Modern, Responsive Design
   =================================== */

/* ========== CSS Variables ========== */
:root {
    /* Primary Colors */
    --primary-color: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #3385ff;
    --secondary-color: #00d4ff;
    --accent-color: #ff6b35;

    /* Neutral Colors */
    --dark: #0a0e27;
    --dark-light: #1a1f3a;
    --gray-dark: #2d3748;
    --gray: #718096;
    --gray-light: #e2e8f0;
    --light: #f7fafc;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 102, 255, 0.9) 0%, rgba(0, 212, 255, 0.8) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    /* Spacing */
    --section-padding: 5rem 0;
}

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

a {
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--section-padding);
}

/* ========== Navigation ========== */
.navbar {
    background: transparent;
    padding: 1.5rem 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

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

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition-base);
}

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

.navbar .btn-primary {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-dark);
    background-image: 
        url('../images/hero/hero.svg'),
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 14, 39, 0.5) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--white);
    font-size: 2rem;
    opacity: 0.7;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========== Buttons ========== */
.btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
    background: var(--primary-dark);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========== Stats Section ========== */
.stats-section {
    background: var(--white);
    padding: 3rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--gray-light);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* ========== FixiBo Featured Section ========== */
.fixibo-featured {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.feature-badge i {
    margin-right: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

.feature-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.5rem;
}

.feature-content h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-content p {
    color: var(--gray);
    margin: 0;
}

.fixibo-image-placeholder {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray);
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
}

.placeholder-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* ========== Services Section ========== */
.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid var(--gray-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* ========== Why Choose Section ========== */
.why-choose-section {
    background: var(--dark);
    color: var(--white);
}

.why-choose-section .section-title,
.why-choose-section .section-subtitle {
    color: var(--white);
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
    height: 100%;
    text-align: center;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.why-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ========== Testimonials Section ========== */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author h5 {
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--gray);
    margin: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

/* ========== CTA Section ========== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5rem 0;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
}

/* ========== Footer ========== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-brand {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-base);
}

.footer-link:hover {
    color: var(--secondary-color);
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: none;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ========== About Page Styles ========== */
.page-header {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
}

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

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.company-story {
    background: var(--white);
}

.story-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.skill-bar {
    margin-bottom: 2rem;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.progress {
    height: 10px;
    border-radius: 50px;
    background: var(--gray-light);
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 50px;
    transition: width 1.5s ease;
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.team-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gray);
}

.team-member h4 {
    margin-bottom: 0.5rem;
}

.team-member .text-muted {
    font-size: 0.95rem;
}

/* ========== Services Page Styles ========== */
.service-detail {
    padding: 4rem 0;
}

.service-detail:nth-child(even) {
    background: var(--light);
}

.service-detail h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray-dark);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.2rem;
}

/* ========== Portfolio Page Styles ========== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    color: var(--gray-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: var(--white);
}

.portfolio-item {
    margin-bottom: 2rem;
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.portfolio-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--gray);
}

.portfolio-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-category {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-content h4 {
    margin-bottom: 0.75rem;
}

.portfolio-content p {
    color: var(--gray);
    margin: 0;
}

/* ========== Pricing Page Styles ========== */
.pricing-section {
    background: var(--light);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    height: 100%;
    border: 2px solid var(--gray-light);
}

.pricing-card:hover,
.pricing-card.featured {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    background: var(--gradient-dark);
    color: var(--white);
}

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

.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-period {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 400;
}

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

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.pricing-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ========== Contact Page Styles ========== */
.contact-section {
    background: var(--white);
}

.contact-info-card {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    height: 100%;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.contact-details h5 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin: 0;
    opacity: 0.9;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-control,
.form-select {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 255, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

/* ========== FAQ Page Styles ========== */
.faq-section {
    background: var(--white);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: var(--white);
    color: var(--dark);
    font-weight: 600;
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--gray-dark);
    line-height: 1.8;
}

/* ========== Responsive Design ========== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-collapse {
        background: rgba(10, 14, 39, 0.98);
        padding: 1rem;
        border-radius: var(--radius-md);
        margin-top: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-card,
    .why-card {
        padding: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 1rem;
        right: 1rem;
    }
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== Utility Classes ========== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========== Mobile Fixes - Prevent Horizontal Scrolling ========== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    /* Fix carousel controls on mobile */
    .carousel-control-prev {
        left: 5px !important;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-control-next {
        right: 5px !important;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Ensure all containers don't overflow */
    .container, .container-fluid {
        overflow-x: hidden;
    }

    /* Fix navbar on mobile */
    .navbar {
        overflow: hidden;
    }

    /* Fix sections padding on mobile */
    section {
        overflow-x: hidden;
    }

    /* Fix hero section */
    .hero-section {
        overflow-x: hidden;
    }

    /* Fix page header */
    .page-header {
        overflow-x: hidden;
    }

    /* Fix footer */
    .footer {
        overflow-x: hidden;
    }

    /* Fix feature-item alignment on mobile */
    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .feature-item.justify-content-center {
        justify-content: center;
    }

    .feature-content {
        text-align: center !important;
    }

    /* Pricing cards mobile alignment */
    .pricing-card {
        margin: 0 auto;
    }

    /* FixiBo pricing section mobile */
    .row.g-4 .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}