/*
Theme Name: Okanta Engineering Theme
Theme URI: https://www.okanta.lk
Author: Okanta Engineering
Author URI: https://www.okanta.lk
Description: A professional, modern WordPress theme for Okanta Engineering. Features a clean, corporate design with responsive layout, custom widgets, and optimized performance.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
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: okanta-theme
Tags: business, corporate, engineering, professional, responsive, custom-header, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* 
=====================================
    TABLE OF CONTENTS
=====================================
1. CSS Reset & Base Styles
2. Typography
3. Layout & Structure
4. Header & Navigation
5. Hero Section
6. Content Areas
7. Sidebar & Widgets
8. Footer
9. Forms & Buttons
10. Responsive Design
11. Utilities
=====================================
*/

/* ==============================================
   1. CSS RESET & BASE STYLES
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #004499;
}

/* ==============================================
   2. TYPOGRAPHY
   ============================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/* ==============================================
   3. LAYOUT & STRUCTURE
   ============================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #f8f9fa;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
}

/* ==============================================
   4. HEADER & NAVIGATION
   ============================================== */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.main-navigation li {
    position: relative;
    white-space: nowrap;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 0;
    display: block;
    position: relative;
    white-space: nowrap;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ==============================================
   5. HERO SECTION
   ============================================== */
.hero-section {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #ffffff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/pattern.svg') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
}

/* ==============================================
   6. CONTENT AREAS
   ============================================== */
.content-area {
    padding: 60px 0;
}

.main-content {
    flex: 1;
    max-width: 800px;
}

.sidebar {
    width: 300px;
    padding-left: 30px;
}

.post-entry {
    margin-bottom: 60px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-entry:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-thumbnail {
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    transition: transform 0.5s ease;
}

.post-entry:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 30px;
}

.post-title {
    margin-bottom: 15px;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-meta span {
    margin-right: 15px;
}

/* Stats Section (like Litro Gas) */
.stats-section {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #ffffff;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services/Products Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    margin-bottom: 20px;
}

/* ==============================================
   7. SIDEBAR & WIDGETS
   ============================================== */
.widget {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.widget li:last-child {
    border-bottom: none;
}

/* ==============================================
   8. FOOTER
   ============================================== */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
}

.footer-main {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h3.footer-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0066cc;
    display: inline-block;
}

/* Footer About */
.footer-about .footer-logo {
    margin-bottom: 20px;
}

.footer-about .footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-description {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background: #0066cc;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
    transition: left 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 25px;
}

.footer-links a:hover::before {
    left: 5px;
}

/* Footer Contact */
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

.footer-contact-list a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: #0066cc;
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom .copyright {
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-bottom .copyright a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom .copyright a:hover {
    color: #0066cc;
}

.footer-legal-menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.footer-legal-menu a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-menu a:hover {
    color: #0066cc;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* ==============================================
   9. FORMS & BUTTONS
   ============================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #0066cc;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #004499;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #0066cc;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0066cc;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==============================================
   9. SINGLE SERVICE & PROJECT PAGES
   ============================================== */

/* Service Hero Section */
.service-hero,
.project-hero {
    position: relative;
    background: linear-gradient(135deg, #004499 0%, #0066cc 100%);
    padding: 80px 0 60px;
    margin-bottom: 50px;
    overflow: hidden;
}

.service-hero::before,
.project-hero::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.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.service-hero .container,
.project-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero .entry-title,
.project-hero .entry-title {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.service-intro, .service-hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 800px;
}

.service-hero .btn-group,
.project-hero .btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Breadcrumbs */
.breadcrumbs {
    background: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs li::after {
    content: '›';
    margin-left: 8px;
    color: #999;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #004499;
}

/* Service Content Wrapper */
.service-content-wrapper,
.project-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 60px;
}

.service-main-content,
.project-main-content {
    background: #ffffff;
}

/* Featured Image */
.service-featured-image,
.project-featured-image {
    margin-bottom: 35px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-featured-image img,
.project-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-featured-image:hover img,
.project-featured-image:hover img {
    transform: scale(1.05);
}

/* Entry Content */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.entry-content h2,
.entry-content h3 {
    color: #004499;
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
}

.entry-content h2 {
    font-size: 2rem;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 10px;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content strong {
    color: #004499;
    font-weight: 600;
}

/* Service Sidebar */
.service-sidebar,
.project-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.sidebar-widget h3 {
    color: #004499;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0066cc;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-block {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
}

.btn-success {
    background: #25d366;
    color: #ffffff;
    border: none;
}

.btn-success:hover {
    background: #1da851;
}

/* Services Menu */
.services-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-menu li {
    margin-bottom: 8px;
}

.services-menu li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.services-menu li a:hover {
    background: #f8f9fa;
    border-left-color: #0066cc;
    padding-left: 20px;
}

.services-menu li.active a {
    background: linear-gradient(135deg, #004499 0%, #0066cc 100%);
    color: #ffffff;
    font-weight: 600;
    border-left-color: #ffffff;
}

/* Project Category Badge */
.project-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Project Details Grid */
.project-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 35px;
    border: 1px solid #e9ecef;
}

.project-detail-item {
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.project-detail-item strong {
    color: #004499;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Project Gallery */
.project-gallery {
    margin-top: 50px;
}

.project-gallery h3 {
    color: #004499;
    font-size: 2rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0066cc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Related Projects Section */
.related-projects {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 60px;
}

.related-projects h2 {
    text-align: center;
    color: #004499;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-project-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.related-project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.related-project-card .card-content {
    padding: 25px;
}

.related-project-card h3 {
    color: #004499;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.related-project-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-project-card .btn {
    width: 100%;
    text-align: center;
}

/* ==============================================
   9B. PAGE HEADER
   ============================================== */
.page-header {
    background: linear-gradient(135deg, #004499 0%, #0066cc 100%);
    padding: 80px 0 60px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.page-header::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.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* ==============================================
   9C. CLIENTS PAGE
   ============================================== */
.clients-section {
    padding: 60px 0;
}

.clients-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.client-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.client-logo-wrapper {
    width: 100%;
    text-align: center;
}

.client-logo-wrapper img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-card:hover .client-logo-wrapper img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-name-fallback {
    color: #004499;
    font-size: 1.1rem;
    text-align: center;
}

/* Clients Stats */
.clients-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Clients CTA */
.clients-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #004499 0%, #0066cc 100%);
    border-radius: 12px;
    color: #ffffff;
}

.clients-cta h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.clients-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.clients-cta .btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==============================================
   10. RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .sidebar {
        width: 100%;
        padding-left: 0;
        margin-top: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-content-wrapper,
    .project-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar,
    .project-sidebar {
        position: static;
    }
    
    .service-hero .entry-title,
    .project-hero .entry-title {
        font-size: 2.2rem;
    }
    
    .related-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-details-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Responsive */
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
    
    /* Clients Page Responsive */
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .clients-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    .main-navigation.active ul {
        display: flex;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Mobile */
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-menu ul {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Clients Page Mobile */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .client-card {
        padding: 20px;
        min-height: 120px;
    }
    
    .clients-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .clients-cta h3 {
        font-size: 1.8rem;
    }
    
    .clients-cta p {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   11. UTILITIES
   ============================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Skip to content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0066cc;
    color: #fff;
    padding: 8px;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}
