/*
Theme Name: Capital One - Ayman Aref
Theme URI: https://capitalone-eg.com
Author: Capital One
Author URI: https://capitalone-eg.com
Description: موقع مكتب كابيتال وان - أيمن عارف وشركاه للمحاسبون القانونيون والمستشارون. Professional accounting and tax consultancy website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: capitalone
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar, custom-colors, custom-header, custom-background, footer-widgets

Capital One - Ayman Aref & Partners
Chartered Accountants and Tax Consultants
*/

/* ========================================
   CSS Variables - Brand Colors
======================================== */
:root {
    /* Primary Colors */
    --co-primary: #052b2c;
    --co-primary-dark: #031a1b;
    --co-primary-light: #0a4547;
    --co-gold: #a07f2c;
    --co-gold-light: #c9a84a;
    --co-gold-dark: #7d6322;
    --co-teal: #177972;
    --co-light-green: #cde4d3;

    /* Text Colors */
    --co-text: #333333;
    --co-text-light: #666666;
    --co-text-muted: #999999;
    --co-white: #ffffff;

    /* Background Colors */
    --co-bg-light: #f8f9fa;
    --co-bg-section: #fafafa;

    /* Gradients */
    --co-gold-gradient: linear-gradient(135deg, #c9a84a 0%, #a07f2c 50%, #c9a84a 100%);
    --co-primary-gradient: linear-gradient(135deg, var(--co-primary) 0%, var(--co-primary-dark) 100%);

    /* Shadows */
    --co-shadow-sm: 0 2px 4px rgba(5, 43, 44, 0.08);
    --co-shadow-md: 0 4px 12px rgba(5, 43, 44, 0.12);
    --co-shadow-lg: 0 8px 24px rgba(5, 43, 44, 0.16);
    --co-shadow-xl: 0 12px 40px rgba(5, 43, 44, 0.2);

    /* Spacing */
    --co-spacing-xs: 0.5rem;
    --co-spacing-sm: 1rem;
    --co-spacing-md: 2rem;
    --co-spacing-lg: 3rem;
    --co-spacing-xl: 5rem;

    /* Border Radius */
    --co-radius-sm: 4px;
    --co-radius-md: 8px;
    --co-radius-lg: 16px;
    --co-radius-xl: 24px;

    /* Transitions */
    --co-transition: all 0.3s ease;
    --co-transition-fast: all 0.15s ease;
}

/* ========================================
   Reset & Base Styles
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--co-text);
    background-color: var(--co-white);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--co-primary);
    margin-bottom: var(--co-spacing-sm);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--co-spacing-sm);
    color: var(--co-text-light);
}

a {
    color: var(--co-gold);
    text-decoration: none;
    transition: var(--co-transition);
}

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

/* ========================================
   Layout & Container
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--co-spacing-md);
}

.section-padding {
    padding: var(--co-spacing-xl) 0;
}

.bg-light {
    background-color: var(--co-bg-light);
}

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

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

.text-white h2,
.text-white h3,
.text-white h4 {
    color: var(--co-white);
}

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

/* Section Headers */
.section-header {
    margin-bottom: var(--co-spacing-lg);
}

.section-badge {
    display: inline-block;
    background: rgba(160, 127, 44, 0.1);
    color: var(--co-gold);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--co-spacing-sm);
}

.badge-light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--co-gold-light);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: var(--co-spacing-sm);
}

.section-description {
    color: var(--co-text-light);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--co-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--co-transition);
    text-decoration: none;
    line-height: 1.5;
}

.btn-primary {
    background: var(--co-gold);
    color: var(--co-white);
    border-color: var(--co-gold);
}

.btn-primary:hover {
    background: var(--co-gold-dark);
    border-color: var(--co-gold-dark);
    color: var(--co-white);
}

.btn-secondary {
    background: var(--co-primary);
    color: var(--co-white);
    border-color: var(--co-primary);
}

.btn-secondary:hover {
    background: var(--co-primary-dark);
    border-color: var(--co-primary-dark);
    color: var(--co-white);
}

.btn-outline {
    background: transparent;
    color: var(--co-gold);
    border-color: var(--co-gold);
}

.btn-outline:hover {
    background: var(--co-gold);
    color: var(--co-white);
}

.btn-outline-white {
    background: transparent;
    color: var(--co-white);
    border-color: var(--co-white);
}

.btn-outline-white:hover {
    background: var(--co-white);
    color: var(--co-primary);
}

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

.btn-block {
    width: 100%;
}

/* ========================================
   Header - Top Bar
======================================== */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: var(--co-white);
    transition: var(--co-transition);
}

.site-header.scrolled {
    box-shadow: var(--co-shadow-md);
}

.top-bar {
    display: none; /* Hidden - removed pre-header */
    background: var(--co-primary);
    color: var(--co-white);
    padding: 0.625rem 0;
    font-size: 0.875rem;
}

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

.top-bar-contact {
    display: flex;
    gap: var(--co-spacing-md);
}

.top-contact-item {
    color: var(--co-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--co-transition);
}

.top-contact-item:hover {
    color: var(--co-gold-light);
}

.top-contact-item i {
    font-size: 0.875rem;
}

.top-bar-social {
    display: flex;
    gap: 0.75rem;
}

.top-bar-social .social-icons {
    display: flex;
    gap: 0.75rem;
}

.top-bar-social .social-icons a {
    color: var(--co-white);
    font-size: 0.875rem;
    transition: var(--co-transition);
}

.top-bar-social .social-icons a:hover {
    color: var(--co-gold-light);
}

/* ========================================
   Header - Main Header
======================================== */
.main-header {
    padding: 1rem 0;
    background: var(--co-primary-dark);
    box-shadow: var(--co-shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--co-spacing-md);
}

/* Site Branding / Logo */
.site-branding {
    flex-shrink: 0;
}

.site-branding .custom-logo-link img {
    max-height: 45px;
    width: auto;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text-ar {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--co-white);
    line-height: 1.2;
}

.logo-text-sub {
    font-size: 0.875rem;
    color: var(--co-gold-light);
    font-weight: 500;
}

/* Main Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--co-white);
    font-weight: 600;
    font-size: 0.9375rem;
    position: relative;
    transition: var(--co-transition);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    left: 1rem;
    height: 2px;
    background: var(--co-gold-light);
    transform: scaleX(0);
    transition: var(--co-transition);
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after,
.nav-menu li.current_page_item a::after {
    transform: scaleX(1);
}

.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    color: var(--co-gold-light);
}

/* Header CTA */
.header-cta {
    flex-shrink: 0;
}

.header-cta .btn {
    padding: 0.625rem 1.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--co-white);
    margin: 5px 0;
    transition: var(--co-transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation - Hidden by default on desktop */
.mobile-navigation {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--co-white);
    padding: 5rem var(--co-spacing-md) var(--co-spacing-md);
    box-shadow: var(--co-shadow-xl);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    visibility: hidden;
}

.mobile-navigation.active {
    right: 0;
    visibility: visible;
}

/* Body overlay when mobile menu is open */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-nav-menu {
    margin-bottom: var(--co-spacing-md);
}

.mobile-nav-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-menu li a {
    display: block;
    padding: 1rem 0;
    color: var(--co-primary);
    font-weight: 600;
}

.mobile-nav-menu li a:hover {
    color: var(--co-gold);
}

.mobile-nav-contact {
    margin-bottom: var(--co-spacing-md);
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--co-text-light);
}

.mobile-contact-item i {
    color: var(--co-gold);
    width: 20px;
}

.mobile-nav-social {
    padding-top: var(--co-spacing-sm);
    border-top: 1px solid #eee;
}

.mobile-nav-social .social-icons {
    display: flex;
    gap: 1rem;
}

.mobile-nav-social .social-icons a {
    width: 40px;
    height: 40px;
    background: var(--co-bg-light);
    color: var(--co-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--co-transition);
}

.mobile-nav-social .social-icons a:hover {
    background: var(--co-gold);
    color: var(--co-white);
}

/* ========================================
   Page Header (Inner Pages)
======================================== */
.page-header {
    background: var(--co-primary-gradient);
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    background-size: 30px 30px;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    color: var(--co-white);
    font-size: 2.5rem;
    margin-bottom: var(--co-spacing-sm);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.breadcrumb a {
    color: var(--co-gold-light);
}

.breadcrumb a:hover {
    color: var(--co-white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Hero Section (Home Page)
======================================== */
.hero-section {
    min-height: 70vh;
    background: var(--co-white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

.hero-section::before {
    display: none;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--co-primary);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--co-primary-dark);
    color: var(--co-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--co-spacing-md);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--co-gold-light);
    border-radius: 50%;
}

.hero-title {
    color: var(--co-primary-dark);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: var(--co-spacing-md);
}

.hero-title span {
    color: var(--co-gold);
}

.hero-description {
    color: var(--co-text);
    font-size: 1.125rem;
    margin-bottom: var(--co-spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--co-radius-lg);
    box-shadow: var(--co-shadow-xl);
}

.hero-features {
    display: flex;
    gap: var(--co-spacing-md);
    margin-top: var(--co-spacing-lg);
    padding-top: var(--co-spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-feature i {
    color: var(--co-gold);
    font-size: 1.25rem;
}

.hero-feature span {
    color: var(--co-text);
    font-size: 0.9375rem;
}

.hero-overlay {
    display: none;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--co-primary-dark);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    display: block;
    margin-top: 0.5rem;
}

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

/* ========================================
   Stats Section
======================================== */
.stats-section {
    padding: var(--co-spacing-xl) 0;
    background: var(--co-bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--co-spacing-md);
}

.stat-item {
    text-align: center;
    padding: var(--co-spacing-md);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--co-primary) 0%, var(--co-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--co-spacing-sm);
}

.stat-icon i {
    font-size: 1.75rem;
    color: var(--co-white);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--co-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--co-text-light);
    font-size: 1rem;
    font-weight: 500;
}

/* ========================================
   About Section (Home Preview)
======================================== */
.about-preview {
    padding: var(--co-spacing-xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--co-spacing-xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--co-radius-lg);
    box-shadow: var(--co-shadow-lg);
}

/* About Preview Image (Front Page) */
.about-preview-section {
    padding: var(--co-spacing-xl) 0;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--co-spacing-xl);
    align-items: center;
}

.about-preview-image {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.about-preview-image .image-frame {
    position: relative;
}

.about-preview-image .image-frame img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: var(--co-radius-lg);
    box-shadow: var(--co-shadow-lg);
}

.about-preview-image .experience-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: var(--co-gold);
    color: var(--co-white);
    padding: 1rem 1.25rem;
    border-radius: var(--co-radius-md);
    text-align: center;
    box-shadow: var(--co-shadow-lg);
}

.about-preview-image .exp-number {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.about-preview-image .exp-text {
    font-size: 0.75rem;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--co-gold);
    color: var(--co-white);
    padding: 1.5rem;
    border-radius: var(--co-radius-md);
    text-align: center;
    box-shadow: var(--co-shadow-lg);
}

.about-experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 0.875rem;
}

/* Founder Section */
.founder-section {
    padding: var(--co-spacing-xl) 0;
}

.founder-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--co-spacing-xl);
    align-items: center;
}

.founder-image {
    position: relative;
    max-width: 300px;
}

.founder-image img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: var(--co-radius-lg);
    box-shadow: var(--co-shadow-lg);
}

.founder-content {
    padding: var(--co-spacing-md);
}

.founder-name {
    color: var(--co-primary);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.founder-title {
    color: var(--co-gold);
    font-size: 1rem;
    margin-bottom: var(--co-spacing-md);
}

.founder-bio {
    color: var(--co-text);
    line-height: 1.8;
    margin-bottom: var(--co-spacing-md);
}

.founder-credentials {
    list-style: none;
    padding: 0;
    margin: 0;
}

.founder-credentials li {
    padding: 0.5rem 0;
    color: var(--co-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.founder-credentials li i {
    color: var(--co-primary-dark);
}

.founder-social {
    margin-top: var(--co-spacing-md);
}

.about-content .section-badge {
    margin-bottom: var(--co-spacing-sm);
}

.about-content .section-title {
    margin-bottom: var(--co-spacing-sm);
}

.about-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: var(--co-spacing-md);
    margin-bottom: var(--co-spacing-md);
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-feature-item i {
    color: var(--co-gold);
    font-size: 1rem;
}

/* ========================================
   About Page Specific Styles
======================================== */
.about-main-section .about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--co-spacing-xl);
    align-items: center;
}

.about-intro-content .section-badge {
    margin-bottom: var(--co-spacing-sm);
}

.about-intro-content .section-title {
    margin-bottom: var(--co-spacing-md);
}

.lead-text {
    font-size: 1.125rem;
    color: var(--co-text-light);
    line-height: 1.8;
}

.about-intro-image img {
    width: 100%;
    border-radius: var(--co-radius-lg);
    box-shadow: var(--co-shadow-lg);
}

/* Vision & Mission */
.vision-mission-section {
    padding: var(--co-spacing-xl) 0;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--co-spacing-md);
}

.vm-card {
    background: var(--co-white);
    padding: var(--co-spacing-lg);
    border-radius: var(--co-radius-lg);
    text-align: center;
    box-shadow: var(--co-shadow-sm);
    transition: var(--co-transition);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--co-shadow-lg);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--co-primary) 0%, var(--co-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--co-spacing-md);
}

.vm-icon i {
    font-size: 2rem;
    color: var(--co-white);
}

.vm-title {
    font-size: 1.375rem;
    margin-bottom: var(--co-spacing-sm);
}

.vm-text {
    color: var(--co-text-light);
    margin: 0;
}

/* Company Story Timeline */
.company-story-section {
    padding: var(--co-spacing-xl) 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--co-spacing-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 2px;
    background: var(--co-gold);
    transform: translateX(50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--co-spacing-lg);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: left;
}

.timeline-marker {
    width: 80px;
    height: 80px;
    background: var(--co-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    z-index: 1;
    box-shadow: var(--co-shadow-md);
}

.timeline-marker span {
    color: var(--co-white);
    font-weight: 700;
    font-size: 1rem;
}

.timeline-content {
    width: calc(50% - 60px);
    background: var(--co-white);
    padding: var(--co-spacing-md);
    border-radius: var(--co-radius-md);
    box-shadow: var(--co-shadow-sm);
}

.timeline-content h4 {
    color: var(--co-gold);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin: 0;
    color: var(--co-text-light);
}

/* Why Choose Us */
.why-choose-section {
    padding: var(--co-spacing-xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--co-spacing-md);
}

.feature-item {
    text-align: center;
    padding: var(--co-spacing-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--co-spacing-sm);
    transition: var(--co-transition);
}

.feature-item:hover .feature-icon {
    background: var(--co-gold);
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--co-gold-light);
}

.feature-item:hover .feature-icon i {
    color: var(--co-white);
}

.feature-item h4 {
    color: var(--co-white);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9375rem;
}

/* Certifications */
.certifications-section {
    padding: var(--co-spacing-xl) 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--co-spacing-md);
}

.cert-item {
    background: var(--co-white);
    padding: var(--co-spacing-lg);
    border-radius: var(--co-radius-lg);
    text-align: center;
    box-shadow: var(--co-shadow-sm);
    transition: var(--co-transition);
    border: 1px solid #eee;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--co-shadow-lg);
    border-color: var(--co-gold);
}

.cert-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--co-gold) 0%, var(--co-gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--co-spacing-md);
}

.cert-icon i {
    font-size: 1.75rem;
    color: var(--co-white);
}

.cert-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.cert-item p {
    margin: 0;
    color: var(--co-text-light);
    font-size: 0.9375rem;
}

/* ========================================
   Services Section
======================================== */
.services-section {
    padding: var(--co-spacing-xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--co-spacing-md);
}

.service-card {
    background: var(--co-white);
    padding: var(--co-spacing-lg);
    border-radius: var(--co-radius-lg);
    box-shadow: var(--co-shadow-sm);
    transition: var(--co-transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--co-gold);
    transform: scaleX(0);
    transition: var(--co-transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--co-shadow-lg);
    border-color: rgba(160, 127, 44, 0.2);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--co-primary) 0%, var(--co-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--co-spacing-md);
    transition: var(--co-transition);
}

.service-card:hover .service-icon {
    background: var(--co-gold-gradient);
}

.service-icon i {
    font-size: 2rem;
    color: var(--co-white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9375rem;
    margin-bottom: var(--co-spacing-sm);
}

.service-card .read-more {
    color: var(--co-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card .read-more i {
    transition: var(--co-transition);
}

.service-card:hover .read-more i {
    transform: translateX(-5px);
}

/* Services Page Specific */
.services-intro {
    padding: var(--co-spacing-xl) 0;
}

.intro-content {
    max-width: 700px;
    margin: 0 auto;
}

.service-detail-section {
    padding: var(--co-spacing-xl) 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--co-spacing-xl);
    align-items: center;
}

.service-detail-grid.reverse {
    direction: ltr;
}

.service-detail-grid.reverse .service-detail-content {
    direction: rtl;
    text-align: right;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--co-gold) 0%, var(--co-gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--co-spacing-md);
}

.service-detail-icon i {
    font-size: 2rem;
    color: var(--co-white);
}

.service-detail-title {
    font-size: 1.75rem;
    margin-bottom: var(--co-spacing-sm);
}

.service-detail-description {
    font-size: 1.0625rem;
    margin-bottom: var(--co-spacing-md);
}

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

.service-detail-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--co-text-light);
}

.service-detail-list li i {
    color: var(--co-gold);
    font-size: 0.875rem;
}

.service-detail-image img {
    width: 100%;
    border-radius: var(--co-radius-lg);
    box-shadow: var(--co-shadow-lg);
}

/* ========================================
   Team Section
======================================== */
.team-section {
    padding: var(--co-spacing-xl) 0;
    background: var(--co-bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--co-spacing-md);
}

.team-card {
    background: var(--co-white);
    border-radius: var(--co-radius-lg);
    overflow: hidden;
    box-shadow: var(--co-shadow-sm);
    transition: var(--co-transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--co-shadow-lg);
}

.team-card-image {
    position: relative;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: var(--co-transition);
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.team-card-info {
    padding: var(--co-spacing-md);
    text-align: center;
}

.team-card-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.team-card-info .position {
    color: var(--co-gold);
    font-size: 0.875rem;
    margin: 0;
}

/* Team Page - Team List */
.team-list-section {
    padding: var(--co-spacing-xl) 0;
}

.team-category {
    margin-bottom: var(--co-spacing-xl);
}

.team-category-title {
    font-size: 1.5rem;
    margin-bottom: var(--co-spacing-md);
    padding-bottom: var(--co-spacing-sm);
    border-bottom: 2px solid var(--co-gold);
    display: inline-block;
}

.team-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--co-spacing-md);
}

/* ========================================
   Clients Section
======================================== */
.clients-section {
    padding: var(--co-spacing-xl) 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--co-spacing-md);
    align-items: center;
}

.client-logo {
    background: var(--co-white);
    padding: var(--co-spacing-md);
    border-radius: var(--co-radius-md);
    box-shadow: var(--co-shadow-sm);
    transition: var(--co-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    border: 1px solid #eee;
}

.client-logo:hover {
    box-shadow: var(--co-shadow-md);
    transform: translateY(-3px);
    border-color: var(--co-gold);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--co-transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Client Logo Slider/Carousel */
.clients-logo-grid,
.clients-logo-grid-large {
    display: flex;
    overflow: hidden;
    position: relative;
}

.clients-slider-track {
    display: flex;
    animation: slide 25s linear infinite;
    gap: var(--co-spacing-md);
}

.clients-slider-track:hover {
    animation-play-state: paused;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.clients-logo-grid .client-logo,
.clients-logo-grid-large .client-logo {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    background: var(--co-white);
    padding: var(--co-spacing-sm);
    border-radius: var(--co-radius-md);
    box-shadow: var(--co-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    transition: var(--co-transition);
}

.clients-logo-grid-large .client-logo {
    width: 180px;
    height: 120px;
}

.clients-logo-grid .client-logo:hover,
.clients-logo-grid-large .client-logo:hover {
    box-shadow: var(--co-shadow-md);
    transform: scale(1.05);
    border-color: var(--co-gold);
}

.clients-logo-grid .client-logo img,
.clients-logo-grid-large .client-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(50%);
    opacity: 0.8;
    transition: var(--co-transition);
}

.clients-logo-grid .client-logo:hover img,
.clients-logo-grid-large .client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Clients by Sector - Fixed Grid */
.sector-section {
    margin-bottom: var(--co-spacing-xl);
    background: var(--co-white);
    padding: var(--co-spacing-lg);
    border-radius: var(--co-radius-lg);
    box-shadow: var(--co-shadow-sm);
}

.sector-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--co-primary);
    margin-bottom: var(--co-spacing-md);
    padding-bottom: var(--co-spacing-sm);
    border-bottom: 2px solid var(--co-gold);
}

.sector-title i {
    color: var(--co-gold);
    font-size: 1.5rem;
}

.sector-section .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--co-spacing-sm);
}

.client-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--co-bg-light);
    border-radius: var(--co-radius-md);
    transition: var(--co-transition);
}

.client-item:hover {
    background: rgba(160, 127, 44, 0.1);
    transform: translateX(-5px);
}

.client-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--co-primary) 0%, var(--co-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-icon i {
    color: var(--co-white);
    font-size: 1rem;
}

.client-name {
    font-weight: 500;
    color: var(--co-text);
    font-size: 0.9375rem;
}

/* Client Stats Section */
.client-stats-section {
    background: var(--co-bg-light);
}

.client-stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--co-spacing-md);
}

@media (max-width: 992px) {
    .sector-section .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .sector-section .clients-grid {
        grid-template-columns: 1fr;
    }

    .client-stats-section .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .clients-logo-grid .client-logo,
    .clients-logo-grid-large .client-logo {
        width: 120px;
        height: 80px;
    }
}

/* Clients Page */
.clients-industries {
    padding: var(--co-spacing-xl) 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--co-spacing-md);
}

.industry-card {
    background: var(--co-white);
    padding: var(--co-spacing-lg);
    border-radius: var(--co-radius-lg);
    text-align: center;
    box-shadow: var(--co-shadow-sm);
    transition: var(--co-transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--co-shadow-lg);
}

.industry-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--co-primary) 0%, var(--co-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--co-spacing-sm);
}

.industry-icon i {
    font-size: 1.75rem;
    color: var(--co-white);
}

.industry-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.industry-card p {
    margin: 0;
    color: var(--co-text-light);
    font-size: 0.9375rem;
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
    padding: var(--co-spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--co-spacing-xl);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--co-white);
    padding: var(--co-spacing-lg);
    border-radius: var(--co-radius-lg);
    box-shadow: var(--co-shadow-md);
}

.form-header {
    margin-bottom: var(--co-spacing-md);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--co-text-light);
    margin: 0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--co-spacing-sm);
}

.contact-form .form-group {
    margin-bottom: var(--co-spacing-sm);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--co-primary);
    font-size: 0.9375rem;
}

.contact-form .required {
    color: #dc3545;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--co-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--co-transition);
    background: var(--co-white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--co-gold);
    box-shadow: 0 0 0 3px rgba(160, 127, 44, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--co-text-muted);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-block {
    margin-top: var(--co-spacing-sm);
}

.form-message {
    padding: 1rem;
    border-radius: var(--co-radius-sm);
    margin-top: var(--co-spacing-sm);
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Info */
.contact-info-wrapper {
    position: sticky;
    top: 120px;
}

.contact-info-card {
    background: var(--co-primary);
    padding: var(--co-spacing-lg);
    border-radius: var(--co-radius-lg);
    color: var(--co-white);
}

.info-title {
    color: var(--co-white);
    font-size: 1.375rem;
    margin-bottom: var(--co-spacing-md);
}

.contact-info-list {
    margin-bottom: var(--co-spacing-md);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--co-spacing-md);
}

.info-icon {
    width: 45px;
    height: 45px;
    background: var(--co-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--co-white);
    font-size: 1rem;
}

.info-content h4 {
    color: var(--co-white);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.info-content p,
.info-content a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9375rem;
}

.info-content a:hover {
    color: var(--co-gold-light);
}

.contact-social {
    padding-top: var(--co-spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--co-spacing-md);
}

.contact-social h4 {
    color: var(--co-white);
    font-size: 1rem;
    margin-bottom: var(--co-spacing-sm);
}

.contact-social .social-links,
.contact-social .social-icons {
    display: flex;
    gap: 0.75rem;
}

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

.contact-social .social-icons a:hover {
    background: var(--co-gold);
}

/* WhatsApp Buttons */
.whatsapp-cta {
    margin-top: var(--co-spacing-sm);
}

.whatsapp-btn,
.whatsapp-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366;
    color: var(--co-white);
    padding: 0.875rem 1.5rem;
    border-radius: var(--co-radius-sm);
    font-weight: 600;
    transition: var(--co-transition);
    width: 100%;
}

.whatsapp-btn:hover,
.whatsapp-btn-large:hover {
    background: #128c7e;
    color: var(--co-white);
}

.whatsapp-btn i,
.whatsapp-btn-large i {
    font-size: 1.25rem;
}

/* Map Section */
.map-section {
    background: var(--co-bg-light);
}

.map-container {
    width: 100%;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ Section */
.faq-section {
    padding: var(--co-spacing-xl) 0;
}

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

.faq-item {
    background: var(--co-white);
    border-radius: var(--co-radius-md);
    margin-bottom: var(--co-spacing-sm);
    overflow: hidden;
    box-shadow: var(--co-shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem var(--co-spacing-md);
    cursor: pointer;
    transition: var(--co-transition);
}

.faq-question:hover {
    background: var(--co-bg-light);
}

.faq-question h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--co-gold);
    transition: var(--co-transition);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--co-transition);
}

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

.faq-answer p {
    padding: 0 var(--co-spacing-md) 1.25rem;
    margin: 0;
    color: var(--co-text-light);
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
    position: relative;
    background: var(--co-primary-gradient);
    padding: var(--co-spacing-xl) 0;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    background-size: 30px 30px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    color: var(--co-white);
    font-size: 2rem;
    margin-bottom: var(--co-spacing-sm);
}

.cta-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: var(--co-spacing-md);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: var(--co-primary-dark);
    color: var(--co-white);
}

.footer-main {
    padding: var(--co-spacing-xl) 0 var(--co-spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--co-spacing-lg);
}

/* Footer About */
.footer-about {
    padding-left: var(--co-spacing-md);
}

.footer-logo {
    margin-bottom: var(--co-spacing-md);
}

.footer-logo img {
    max-height: 40px;
    width: auto;
}

.footer-logo-text {
    margin-bottom: var(--co-spacing-md);
}

.footer-logo-text .logo-text-ar {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--co-white);
}

.footer-logo-text .logo-text-sub {
    display: block;
    font-size: 0.875rem;
    color: var(--co-gold);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--co-spacing-md);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social .social-icons {
    display: flex;
    gap: 0.75rem;
}

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

.footer-social .social-icons a:hover {
    background: var(--co-gold);
}

/* Footer Widgets */
.footer-widget .widget-title {
    color: var(--co-white);
    font-size: 1.125rem;
    margin-bottom: var(--co-spacing-md);
    padding-bottom: 0.75rem;
    position: relative;
}

.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--co-gold);
}

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

.footer-menu li {
    margin-bottom: 0.625rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--co-transition);
    font-size: 0.9375rem;
}

.footer-menu a:hover {
    color: var(--co-gold-light);
    padding-right: 5px;
}

/* Footer Contact */
.contact-list {
    list-style: none;
}

.contact-list .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.contact-list .contact-item i {
    color: var(--co-gold);
    margin-top: 0.25rem;
    width: 16px;
}

.contact-list .contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

.contact-list .contact-item a:hover {
    color: var(--co-gold-light);
}

.footer-contact .whatsapp-btn {
    margin-top: var(--co-spacing-sm);
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--co-spacing-md) 0;
}

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

.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.copyright strong {
    color: var(--co-white);
}

.footer-tagline {
    margin: 0;
    color: var(--co-gold);
    font-size: 0.875rem;
}

/* ========================================
   Scroll to Top & WhatsApp Float
======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--co-primary);
    color: var(--co-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--co-transition);
    z-index: 999;
    box-shadow: var(--co-shadow-md);
}

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

.scroll-to-top:hover {
    background: var(--co-gold);
    transform: translateY(-3px);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--co-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--co-shadow-lg);
    z-index: 999;
    transition: var(--co-transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    color: var(--co-white);
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========================================
   404 Page
======================================== */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--co-bg-light);
    padding: var(--co-spacing-xl) var(--co-spacing-md);
    padding-top: 120px;
}

.error-content h1 {
    font-size: 8rem;
    color: var(--co-gold);
    margin-bottom: 0;
    line-height: 1;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: var(--co-spacing-md);
}

.error-content p {
    font-size: 1.125rem;
    margin-bottom: var(--co-spacing-md);
}

/* ========================================
   Blog/Archive Styles
======================================== */
.blog-section {
    padding: var(--co-spacing-xl) 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--co-spacing-md);
}

.post-card {
    background: var(--co-white);
    border-radius: var(--co-radius-lg);
    overflow: hidden;
    box-shadow: var(--co-shadow-sm);
    transition: var(--co-transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--co-shadow-lg);
}

.post-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: var(--co-spacing-md);
}

.post-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--co-text-muted);
}

.post-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-card-title a {
    color: var(--co-primary);
}

.post-card-title a:hover {
    color: var(--co-gold);
}

.post-card-excerpt {
    color: var(--co-text-light);
    font-size: 0.9375rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--co-spacing-lg);
}

.pagination .page-numbers {
    padding: 0.5rem 1rem;
    background: var(--co-white);
    color: var(--co-primary);
    border-radius: var(--co-radius-sm);
    transition: var(--co-transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--co-gold);
    color: var(--co-white);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 120px;
}

.widget {
    background: var(--co-white);
    padding: var(--co-spacing-md);
    border-radius: var(--co-radius-md);
    margin-bottom: var(--co-spacing-md);
    box-shadow: var(--co-shadow-sm);
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: var(--co-spacing-sm);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--co-gold);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--co-spacing-md);
    }

    .team-grid,
    .team-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-description {
        margin: 0 auto var(--co-spacing-md);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .about-grid,
    .about-main-section .about-intro,
    .about-preview-grid,
    .service-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image,
    .about-intro-image,
    .about-preview-image,
    .founder-image {
        order: -1;
        max-width: 280px;
        margin: 0 auto;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-content {
        padding: var(--co-spacing-sm);
    }

    .service-detail-grid.reverse {
        direction: rtl;
    }

    .services-grid,
    .vm-grid,
    .features-grid,
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid,
    .team-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile Navigation - Show mobile elements, hide desktop */
    .main-navigation,
    .header-cta {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }

    .mobile-navigation {
        display: block;
    }

    .top-bar-social {
        display: none;
    }

    .timeline::before {
        right: 40px;
    }

    .timeline-marker {
        right: 0;
        transform: none;
        width: 60px;
        height: 60px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-right: 80px;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: row;
        text-align: right;
    }
}

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

    .section-padding {
        padding: var(--co-spacing-lg) 0;
    }

    .hero-section {
        padding-top: 6rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-features {
        flex-direction: column;
        gap: var(--co-spacing-sm);
    }

    .page-header {
        padding: 8rem 0 3rem;
    }

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

    .services-grid,
    .vm-grid,
    .features-grid,
    .certifications-grid,
    .team-grid,
    .team-list-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--co-spacing-sm);
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-widget .widget-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-about {
        padding-left: 0;
    }

    .footer-social,
    .footer-social .social-icons {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-wrapper {
        position: static;
    }

    .top-bar {
        display: none;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .timeline {
        padding-right: 60px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--co-spacing-sm);
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: var(--co-spacing-sm);
    }

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

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        right: 20px;
        bottom: 20px;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        left: 20px;
        bottom: 20px;
    }
}

/* ========================================
   Utility Classes
======================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--co-spacing-xs) !important; }
.mb-2 { margin-bottom: var(--co-spacing-sm) !important; }
.mb-3 { margin-bottom: var(--co-spacing-md) !important; }
.mb-4 { margin-bottom: var(--co-spacing-lg) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--co-spacing-xs) !important; }
.mt-2 { margin-top: var(--co-spacing-sm) !important; }
.mt-3 { margin-top: var(--co-spacing-md) !important; }
.mt-4 { margin-top: var(--co-spacing-lg) !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: var(--co-spacing-xs) !important; padding-bottom: var(--co-spacing-xs) !important; }
.py-2 { padding-top: var(--co-spacing-sm) !important; padding-bottom: var(--co-spacing-sm) !important; }
.py-3 { padding-top: var(--co-spacing-md) !important; padding-bottom: var(--co-spacing-md) !important; }
.py-4 { padding-top: var(--co-spacing-lg) !important; padding-bottom: var(--co-spacing-lg) !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.justify-center { justify-content: center !important; }
.align-center { align-items: center !important; }
.flex-wrap { flex-wrap: wrap !important; }
.gap-1 { gap: var(--co-spacing-xs) !important; }
.gap-2 { gap: var(--co-spacing-sm) !important; }
.gap-3 { gap: var(--co-spacing-md) !important; }

/* WordPress Core Styles */
.alignnone { margin: var(--co-spacing-sm) 0; }
.aligncenter { display: block; margin: var(--co-spacing-sm) auto; }
.alignright { float: right; margin: 0 0 var(--co-spacing-sm) var(--co-spacing-sm); }
.alignleft { float: left; margin: 0 var(--co-spacing-sm) var(--co-spacing-sm) 0; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--co-text-muted); margin-top: 0.5rem; }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
