/*
Theme Name: Stage Real Estate
Description: Modern Arabic real estate theme with GSAP animations and RTL support
Author: Stage Development Team
Version: 1.0.0
Text Domain: stage-real-estate
Domain Path: /languages
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */
:root {
    /* Colors */
    --primary-color: #c48a36;
    --secondary-color: #111111;
    --background-color: #ffffff;
    --text-color: #333333;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;

    /* Typography */
    --font-regular: 'GE_Regular', Arial, sans-serif;
    --font-semibold: 'GE_SemiBold', Arial, sans-serif;
    --font-bold: 'GE_Bold', Arial, sans-serif;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --element-spacing: 2rem;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

@font-face {
    font-family: 'GE_Regular';
    src: url('assets/fonts/GE_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GE_SemiBold';
    src: url('assets/fonts/GE_SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GE_Bold';
    src: url('assets/fonts/GE_Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ==========================================================================
   RTL Support
   ========================================================================== */
html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}



html[dir="rtl"] body {
    font-family: var(--font-regular);
    direction: rtl;
    text-align: right;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

/* Universal box-sizing and reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Reset for common elements that might cause shifting */
#page,
.site,
.site-content,
.site-header,
.wp-site-blocks,
.wp-block-group {
    margin: 0 !important;
    padding: 0;
    position: relative;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
}

body {
    font-family: 'GE_Regular', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0 !important;
    padding: 0 !important;
    background-color: var(--background-color);
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    left: 0 !important;
    right: 0 !important;
}

/* Headings use GE_SemiBold */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'GE_SemiBold', Arial, sans-serif;
    font-weight: normal;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto !important;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    left: 0 !important;
    right: 0 !important;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-bold);
    color: var(--secondary-color);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

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: 0 0 1rem 0;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

a:focus,
a:hover,
a:active {
    outline: none;
}

/* ==========================================================================
   Responsive Grid System
   ========================================================================== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.wp-block-video video {
    max-height: 500px;
    width: 100%;
}

.entry-header {
    margin-top: 100px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
    }
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    transform: translateY(0) !important;
    margin: 0 !important;
    padding: 0;
}

.header-top {
    background: var(--primary-color);
    color: white;
    height: 5px;
    font-size: 0.9rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.header-main {
    padding: 1rem 0;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-family: var(--font-bold);
}

.site-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Navigation Styles */
.main-navigation {
    position: relative;
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition-fast);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu a {
    color: var(--secondary-color);
    text-decoration: none;
    font-family: var(--font-semibold);
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-fast);
    outline: none;
}

.nav-menu a:focus {
    outline: none;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Sub-menu Styles */
.nav-menu .menu-item-has-children {
    position: relative;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    list-style: none;
    margin: 0;
}

.nav-menu .menu-item-has-children.active .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 300px;
    padding: 1rem 0;
}

.nav-menu .sub-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-menu .sub-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    padding-right: 2rem;
}

.nav-menu .sub-menu li:last-child a {
    border-bottom: none;
}

/* Dropdown Arrow */
.nav-menu .menu-item-has-children>a::before {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-menu .menu-item-has-children.active>a::before {
    transform: rotate(180deg);
}

/* Hamburger Animation Styles */
.menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* phones icon only visibal in mobile view */
.call-icons {
    align-items: center;
    gap: 20px;
    display: none;
}

.fa-phone {
    color: black !important;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.fa-whatsapp {
    color: black;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.fa-phone:hover,
.fa-whatsapp:hover {
    color: var(--secondary-color);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .call-icons {
        display: flex;
    }



    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 280px;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 8px 8px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
        gap: 0;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
        width: 100%;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    /* Mobile Sub-menu */
    .nav-menu .sub-menu {
        position: static;
        background: var(--light-gray);
        box-shadow: none;
        border-radius: 4px;
        margin: 0.5rem 0;
        padding: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu .menu-item-has-children.active .sub-menu {
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .nav-menu .sub-menu li {
        margin: 0;
        padding: 0;
    }

    .nav-menu .sub-menu a {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        color: var(--text-color);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin-left: 1rem;
    }

    .nav-menu .sub-menu li:last-child a {
        border-bottom: none;
    }

    .nav-menu .menu-item-has-children>a {
        position: relative;
        padding-right: 2rem;
    }

    .nav-menu .menu-item-has-children>a::before {
        content: '▼';
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.7rem;
        transition: transform 0.3s ease;
        margin-left: 0;
        margin-right: 0;
        color: var(--primary-color);
        font-weight: bold;
    }

    .nav-menu .menu-item-has-children.active>a::before {
        transform: translateY(-50%) rotate(180deg);
    }
}

/* ==========================================================================
   Main Content Styles
   ========================================================================== */
.site {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    left: 0 !important;
    right: 0 !important;
}

.site-content {
    margin-top: 140px;
    /* Account for fixed header */
    min-height: 100vh;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    width: 100%;
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.hero-slide.active .hero-image img {
    transform: scale(1.1);
}

/* Responsive image display for desktop and mobile */
.hero-image-desktop,
.hero-image-mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s ease-out;
}

/* Show desktop image by default, hide mobile */
.hero-image-desktop {
    display: block;
}

.hero-image-mobile {
    display: none;
}



/* Mobile responsive - show mobile image, hide desktop */
@media (max-width: 768px) {
    .hero-image-desktop {
        display: none;
    }

    .hero-image-mobile {
        display: block;
    }
}

/* Apply zoom effect to both image types */
.hero-slide.active .hero-image-desktop,
.hero-slide.active .hero-image-mobile {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    z-index: 2;
}

.hero-content {
    text-align: right;
    color: white;
    max-width: 1000px;
    padding: 0 3rem 3rem 2rem;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease-out;
    margin-bottom: 50px;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.hero-slide.active .hero-title {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.5s;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.hero-slide.active .hero-description {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.7s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.hero-slide.active .hero-buttons {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.9s;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 160px;
    text-align: center;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.1) 100%);
    color: white;
    border-color: white;
}

.hero-buttons .btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 138, 54, 0.3);
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.hero-buttons .btn-secondary:hover {
    background: white;
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Hero Navigation */
.hero-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 3;
    pointer-events: none;
}

.hero-nav-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    pointer-events: auto;
    opacity: 0.7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-nav-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    opacity: 1;
}

.hero-nav-btn i {
    font-size: 1rem;
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-indicator.active,
.hero-indicator:hover {
    background: white;
    border-color: white;
    transform: scale(1.3);
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .hero-content {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 600px;
    }

    .hero-overlay {
        align-items: flex-end;
        justify-content: center;
        background: transparent;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        padding: 0 1.5rem 4rem 1.5rem;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    /* Hide navigation buttons on mobile */
    .hero-navigation {
        display: none;
    }

    .hero-indicators {
        bottom: 1.5rem;
        gap: 0.8rem;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
        /* Ensure full viewport height on mobile */
        height: calc(var(--vh, 1vh) * 90);
    }

    .hero-content {
        padding: 0 1rem 3rem 1rem;
        transform: translateY(30px);
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        line-height: 1.5;
    }

    .hero-buttons {
        gap: 0.6rem;
    }

    .hero-buttons .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
        min-width: 140px;
    }

    /* Navigation buttons are hidden on mobile */
    .hero-navigation {
        display: none;
    }

    .hero-indicators {
        bottom: 1rem;
        gap: 0.6rem;
    }

    .hero-indicator {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
        min-width: 120px;
    }

    /* Navigation buttons are hidden on mobile */
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 140px;
    }

    .hero-indicators {
        bottom: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

.hero-building_img {
    width: inherit;
    height: auto;
    display: block;
    height: 100vh;
}

.hero-building_img img {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 3;
    margin-left: 0;
    padding: 0 100px;
    box-sizing: border-box;
}

.hero-title {
    font-size: 2.5rem;
    font-family: 'GE_SemiBold', Arial, sans-serif;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    color: white;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-family: 'GE_Regular', Arial, sans-serif;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #666;
    max-width: 500px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: right;
    flex-wrap: wrap;
    opacity: 0;
    margin-top: 50px;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards 1.1s;
}

/* Scroll Down Button */
.btn-scroll-down {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'GE_SemiBold', Arial, sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulseGlow 3s infinite;
}

.btn-scroll-down:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 138, 54, 0.3);
}

.btn-text {
    font-weight: normal;
}

.btn-arrow {
    font-size: 1.2rem;
    animation: bounceDown 2s infinite;
    display: inline-block;
}

/* Bounce Down Animation */
@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    10% {
        transform: translateY(-8px);
    }

    30% {
        transform: translateY(-15px);
    }

    40% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(-8px);
    }

    70% {
        transform: translateY(-4px);
    }
}

/* Pulse Glow Animation */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(196, 138, 54, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(196, 138, 54, 0);
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--font-semibold);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #b8792e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 138, 54, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* hero responsive */

@media (max-width: 480px) {
    .hero-section {
        min-height: auto;
        margin-top: 100px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-building_img {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
        margin-top: 30px;
    }

}

/* ==========================================================================
   Section Styles
   ========================================================================== */

.fa-solid,
.fas {
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-family: var(--font-bold);
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.mission-box,
.vision-box {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: var(--transition-fast);
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-box h2,
.vision-box h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.service-icon img {
    width: 65%;
    height: auto;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   Video Section
   ========================================================================== */
.video-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-home video {
    height: auto;
    max-height: 80vh;
    max-width: 600px;
}

.video-text {
    padding: 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 3.9rem;
}

.video-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 3rem;
}

.video-text a {
    background: transparent;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--font-semibold);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
    max-width: 50%;
    color: var(--primary-color);
    border: 1px solid;
}

.video-text a:hover {
    background: #ffffff;
}

@media (max-width: 480px) {

    .video-home {
        padding: 0;
    }

    .video-home video {
        width: 100%;
        height: auto;
        padding: 0rem;
    }

    .video-text {
        margin-top: 20px;
        text-align: center;
    }

    .video-text h2 {
        font-size: 2.5rem;
    }

    .video-text p {
        font-size: 1.8rem;
    }

    .video-text a {
        margin: 5px auto;
        font-size: 1.2rem;
        padding: .5rem 1.5rem;
    }


}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
    cursor: pointer;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.project-content p {
    color: #666;
    line-height: 1.6;
}

.btn-link {
    position: relative;
    display: inline-block;
    color: #c48a36;
    font-weight: 600;
    font-size: .8rem;
    text-decoration: none;
    transition: color 0.3s ease;
    padding-left: 1.5rem;
    font-weight: 100;
}

.btn-link::after {
    content: "←";
    /* RTL arrow */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateX(10px) translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    color: #c48a36;
    font-size: 1.1rem;
}

/* Hover */
.btn-link:hover {
    color: #8a5d20;
    /* darker shade for hover */
}

.btn-link:hover::after {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
}


/* ==========================================================================
   Call to Action Section
   ========================================================================== */
.cta-section {
    padding: var(--section-padding);
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.site-footer {
    background: var(--secondary-color);
    color: white;
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-logo img {
    max-height: 80px;
    margin-bottom: 1.5rem;
}

.footer-description p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-contact .contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-contact .contact-item a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact .contact-item a:hover {
    color: var(--primary-color);
}

.widget-title {
    font-size: 1.5rem;
    font-family: var(--font-bold);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.footer-social {
    display: flex;
    justify-content: start;
    gap: 25px;
}

ul.footer-social li a i {
    font-size: 1.5rem;
    color: #ccc;
    transition: var(--transition-fast);
}

ul.footer-social li a i:hover {
    color: var(--primary-color);
    /* icon color */
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline;
    padding: 0.5rem 0;
}



.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 10px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    margin: 0;
    color: #ccc;
}

.footer-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.footer-nav-menu a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-nav-menu a:hover {
    color: var(--primary-color);
}

/* Contact Form 7 Modern & Responsive Styling */
.google-map {
    height: 100% !important;
}

.wpcf7 form {
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-regular);
}

.wpcf7 form p {
    margin-bottom: 1.5rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.6rem;
    background: #fafafa;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #4a90e2;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7 input[type="submit"] {
    background: var(--primary-color);
    font-family: var(--font-semibold);
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.wpcf7 input[type="submit"]:hover {
    background: #357ab8;
    transform: translateY(-2px);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

.wpcf7 .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

.wpcf7 .wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

.wpcf7 .wpcf7-validation-errors {
    background: #fdecea;
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

.wpcf7 .wpcf7-mail-sent-ok {
    background: #e8f9f0;
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

/* Responsive */
@media (max-width: 480px) {
    .wpcf7 form {
        padding: 1.5rem;
    }

    .wpcf7 input[type="submit"] {
        width: 100%;
        padding: 1rem;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .nav-menu a {
        color: black;
    }

    .nav-menu a:hover {
        color: var(--primary-color);
    }

    .nav-menu a::after {
        background: white;
    }

    .cta-section {
        background: var(--secondary-color);
    }

    .cta-content h2 {
        color: white;
    }

    .cta-content p {
        color: #ccc;
    }

}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        max-width: 150px;
        padding: .4rem 1rem;
    }

    .mission-box,
    .vision-box {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .service-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav-menu {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }



    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }

    .header-top {
        padding: 5px 0;
        font-size: 0.8rem;
    }

    .site-content {
        margin-top: 80px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   RTL-Specific Styles
   ========================================================================== */
html[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

html[dir="rtl"] .header-main-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .contact-info {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-bottom-content {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-nav-menu {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-menu a::after {
    right: 0;
    left: auto;
}

/* RTL Dropdown Support */
html[dir="rtl"] .nav-menu .sub-menu {
    left: auto;
    right: 0;
}

html[dir="rtl"] .nav-menu .menu-item-has-children>a::before {
    margin-left: 0;
    margin-right: 0.5rem;
}

html[dir="rtl"] .nav-menu .sub-menu a:hover {
    padding-right: 1.5rem;
    padding-left: 2rem;
}

html[dir="rtl"] .footer-links a:hover {
    padding-right: 0;
    padding-left: 10px;
}

html[dir="rtl"] .footer-contact .contact-item {
    flex-direction: row-reverse;
}

/* ==========================================================================
   Additional Header Scroll Effects
   ========================================================================== */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

/* ==========================================================================
   Loading Animation
   ========================================================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Accessibility Improvements
   ========================================================================== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999999;
    padding: 8px 16px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

/* Focus styles */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: var(--light-gray);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: var(--secondary-color);
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {

    .site-header,
    .site-footer,
    .hero-section,
    .cta-section {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid;
    }

    .project-item,
    .service-card {
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   Projects Gallery Enhancement
   ========================================================================== */
.projects-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-family: var(--font-semibold);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(196, 138, 54, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    text-align: center;
    color: white;
}

.project-overlay-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.project-category {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* ==========================================================================
   Project Modal
   ========================================================================== */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: 5% auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.project-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--light-gray);
}

.modal-header h2 {
    margin: 0;
    color: var(--secondary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary-color);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.project-gallery {
    position: relative;
    margin-bottom: 2rem;
}



.gallery-item.active {
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-details p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.project-info span {
    color: #666;
}

.project-info strong {
    color: var(--secondary-color);
}

/* ==========================================================================
   Modal Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        margin: 2% auto;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .gallery-item img {
        height: 250px;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }

    .projects-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/pattern.png') repeat;
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: var(--font-bold);
    color: var(--light-gray);
}

.page-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin: 0;
}

/* Company Introduction */
.company-intro {
    padding: var(--section-padding);
    background: white;
}

.intro-content {
    padding-right: 2rem;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.intro-content .lead {
    font-size: 1.3rem;
    font-family: var(--font-semibold);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.company-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-family: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--secondary-color);
    font-family: var(--font-semibold);
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Mission & Vision Detailed */
.mission-vision-detailed {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.mission-detailed,
.vision-detailed {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.mission-detailed h2,
.vision-detailed h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.mission-list,
.vision-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.mission-list li,
.vision-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-right: 2rem;
}

.mission-list li::before,
.vision-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.vision-goals h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

/* Company Values */
.company-values {
    padding: var(--section-padding);
    background: white;
}

.value-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-fast);
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: var(--transition-fast);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
    height: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.member-position {
    color: var(--primary-color);
    font-family: var(--font-semibold);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.member-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* About CTA */
.about-cta {
    padding: var(--section-padding);
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

.about-cta .cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.about-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Services Page Styles
   ========================================================================== */
.services-overview {
    padding: var(--section-padding);
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-overview-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-fast);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.service-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 138, 54, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-overview-card:hover::before {
    left: 100%;
}

.service-overview-card:hover,
.service-overview-card.active {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: white;
}

.service-overview-card .service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: var(--transition-fast);
}

.service-overview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-overview-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.expand-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-family: var(--font-semibold);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.expand-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.expand-btn:hover::before {
    width: 300px;
    height: 300px;
}

.expand-btn:hover,
.expand-btn.active {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Service Details Sections */
.service-details {
    padding: 4rem 0;
    background: var(--light-gray);
    border-top: 1px solid var(--border-color);
}

.service-details:nth-child(even) {
    background: white;
}

.service-content {
    padding: 2rem;
}

.service-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.service-intro {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-family: var(--font-semibold);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    margin-top: 2rem;
}

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
}

.feature-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.feature-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-medium);
    height: 100%;
}

.service-details:hover .service-image img {
    transform: scale(1.05);
}

/* Work Process Section */
.work-process {
    padding: var(--section-padding);
    background: var(--secondary-color);
    color: white;
}

.work-process .section-title {
    color: white;
}

.work-process .section-subtitle {
    color: #ccc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-family: var(--font-bold);
    color: white;
    position: relative;
    z-index: 2;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.process-step p {
    color: #ccc;
    line-height: 1.6;
}

/* Services CTA */
.services-cta {
    padding: var(--section-padding);
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.services-cta .cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.services-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-info-section {
    padding: var(--section-padding);
    background: white;
}

.contact-info-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-fast);
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: white;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: var(--transition-fast);
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-info-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-details a,
.contact-details span {
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-semibold);
    transition: var(--transition-fast);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

/* Contact Form Section */
.contact-form-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-form-wrapper p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-family: var(--font-semibold);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-regular);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 138, 54, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.checkbox-label input[type="checkbox"]:checked+.checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-semibold);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #c3e6cb;
}

.form-messages .error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #f5c6cb;
}

/* Map Section */
.map-wrapper {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    min-height: 500px;
}

.map-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.google-map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.map-fallback {
    width: 100%;
    height: 400px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.fallback-content {
    text-align: center;
    padding: 2rem;
}

.fallback-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.fallback-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Office Hours */
.office-hours {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.office-hours h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    text-align: center;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.hours-item:hover {
    background: var(--primary-color);
    color: white;
}

.hours-item .day {
    font-family: var(--font-semibold);
}

.hours-item .time {
    color: var(--primary-color);
    font-family: var(--font-semibold);
}

.hours-item:hover .time {
    color: white;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item.active {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(196, 138, 54, 0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--secondary-color);
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition-fast);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: white;
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    display: none;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Contact Page Responsive Design */
@media (max-width: 768px) {

    .contact-form-wrapper,
    .map-wrapper {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .contact-form-wrapper h2,
    .map-wrapper h2 {
        font-size: 2rem;
    }

    .google-map,
    .map-fallback {
        height: 300px;
    }

    .office-hours {
        padding: 1.5rem;
    }

    .hours-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer {
        padding: 0 1.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .contact-info-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .contact-form-wrapper,
    .map-wrapper {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
    }

    .submit-btn {
        padding: 1rem;
    }
}

/* ==========================================================================
   Custom Post Type - Projects Styles
   ========================================================================== */

/* Single Project Page */
.single-project .project-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.project-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.project-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.project-excerpt {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Project Gallery */
.project-gallery-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.main-project-image {
    margin-bottom: 2rem;
}

.main-project-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: var(--transition-medium);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(196, 138, 54, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* Project Details */
.project-details-section {
    padding: var(--section-padding);
    background: white;
}

.project-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.project-info-grid h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.info-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.info-label {
    font-family: var(--font-semibold);
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.info-value {
    color: #666;
}

/* Project Sidebar */
.project-sidebar {
    padding-left: 2rem;
}

.project-categories-widget,
.project-tags-widget,
.project-contact-widget {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.project-sidebar h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.categories-list,
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-link,
.tag-link {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.category-link:hover,
.tag-link:hover {
    background: var(--secondary-color);
}

.project-contact-widget {
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.project-contact-widget h3 {
    color: white;
}

.project-contact-widget p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Related Projects */
.related-projects-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-project-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.related-project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.related-project-item .project-image {
    height: 200px;
    overflow: hidden;
}

.related-project-item .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.related-project-item:hover .project-image img {
    transform: scale(1.1);
}

.related-project-item .project-content {
    padding: 1.5rem;
}

.related-project-item h3 {
    margin-bottom: 1rem;
}

.related-project-item h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.related-project-item h3 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-semibold);
    transition: var(--transition-fast);
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Project Navigation */
.project-navigation {
    padding: 2rem 0;
    background: var(--secondary-color);
    color: white;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-center {
    flex: 0 0 auto;
    margin: 0 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-direction {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-family: var(--font-semibold);
    font-size: 1.1rem;
}

/* Projects Archive Page */
.projects-archive .page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.projects-filter-section {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.projects-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.projects-filters .filter-btn {
    background: none;
    border: 2px solid var(--primary-color);
    padding: 0;
    border-radius: 25px;
    overflow: hidden;
}

.projects-filters .filter-btn a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.projects-filters .filter-btn:hover a,
.projects-filters .filter-btn.active a {
    background: var(--primary-color);
    color: white;
}

.projects-filters .count {
    font-size: 0.8rem;
    opacity: 0.8;
}

.projects-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.projects-search {
    flex: 1;
    max-width: 400px;
}

.projects-search form {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
}

.projects-search input[type="text"] {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    outline: none;
    font-family: var(--font-regular);
}

.projects-search button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.projects-search button:hover {
    background: var(--secondary-color);
}

.projects-sort select {
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-regular);
    background: white;
    cursor: pointer;
}

/* Projects Grid */
.projects-grid-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-card .project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-card .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(196, 138, 54, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.view-project {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.view-project i {
    font-size: 2rem;
}

.project-card .project-content {
    padding: 2rem;
}

.project-card .project-meta {
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.project-card .project-category {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-card .project-category a {
    color: white;
    text-decoration: none;
}

.project-card .project-date {
    color: #666;
    font-size: 0.9rem;
}

.project-card .project-title {
    margin-bottom: 1rem;
}

.project-card .project-title a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.3rem;
}

.project-card .project-title a:hover {
    color: var(--primary-color);
}

.project-details {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.project-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-family: var(--font-semibold);
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-in-progress {
    background: #fff3cd;
    color: #856404;
}

.status-planned {
    background: #d1ecf1;
    color: #0c5460;
}

/* Pagination */
.projects-pagination {
    margin-top: 3rem;
    text-align: center;
}

.projects-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.projects-pagination .page-numbers li {
    margin: 0;
}

.projects-pagination .page-numbers a,
.projects-pagination .page-numbers span {
    display: block;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition-fast);
}

.projects-pagination .page-numbers a:hover,
.projects-pagination .page-numbers .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* No Projects Found */
.no-projects-found {
    text-align: center;
    padding: 4rem 2rem;
}

.no-projects-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-projects-content i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 2rem;
    display: block;
}

.no-projects-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.no-projects-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.no-projects-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Featured Projects CTA */
.featured-projects-cta {
    padding: var(--section-padding);
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.featured-projects-cta .cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.featured-projects-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .single-project .project-title {
        font-size: 2rem;
    }

    .project-sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }

    .main-project-image img {
        height: 300px;
    }

    .project-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .gallery-item img {
        height: 120px;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-previous,
    .nav-next {
        text-align: center;
    }

    .projects-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .projects-search {
        max-width: none;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card .project-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .projects-filters {
        flex-direction: column;
        align-items: center;
    }

    .projects-filters .filter-btn {
        width: 200px;
    }

    .project-card .project-content {
        padding: 1.5rem;
    }

    .related-projects-grid {
        grid-template-columns: 1fr;
    }

    .no-projects-actions {
        flex-direction: column;
        align-items: center;
    }

    .no-projects-actions .btn {
        width: 200px;
    }
}

/* ==========================================================================
   Interior Design Section
   ========================================================================== */

.interior-design-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.interior-design-section::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23c48a36" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23c48a36" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.section-description {
    margin: 2rem auto;
    max-width: 800px;
}

.section-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.interior-features {
    margin: 4rem 0 3rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    border: 1px solid rgba(196, 138, 54, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(196, 138, 54, 0.15);
    border-color: rgba(196, 138, 54, 0.3);
}

.feature-icon {
    margin-left: 1rem;
    font-size: 2rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #d4a853);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(196, 138, 54, 0.3);
}

.feature-content h4 {
    font-family: var(--font-semibold);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.interior-cta {
    margin-top: 3rem;
}

.text-center {
    text-align: center;
}

/* Gallery Styles */
.interior-gallery {
    position: relative;
    margin: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 250px);
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    visibility: hidden;
}

.gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.gallery-item:nth-child(2) {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.gallery-item:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
}

.gallery-item:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

.gallery-item:nth-child(5) {
    grid-column: 4 / 5;
    grid-row: 2 / 4;
}

.gallery-item:nth-child(6) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.gallery-item:nth-child(7) {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
}

/* Hide extra images beyond 7 */
.gallery-item:nth-child(n+8) {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 138, 54, 0.8), rgba(17, 17, 17, 0.6));
    opacity: 0;
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.zoom-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Animation Classes */
.animate-text {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.animate-text.in-view {
    opacity: 1;
    transform: translateX(0);
}

.animate-image {
    transition: all 0.6s ease;
}

.animate-image.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 180px);
        gap: 10px;
    }

    .gallery-item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .gallery-item:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .gallery-item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .gallery-item:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }

    .gallery-item:nth-child(5) {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .gallery-item:nth-child(6) {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }

    .gallery-item:nth-child(n+7) {
        display: none;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .feature-icon {
        margin: 0 0 1rem 0;
    }

    .interior-features {
        margin: 2rem 0;
    }
}

/* ==========================================================================
   Lightbox Styles
   ========================================================================== */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(196, 138, 54, 0.8);
    transform: scale(1.1);
}

.lightbox-prev {
    margin-left: -60px;
}

.lightbox-next {
    margin-right: -60px;
}

body.lightbox-open {
    overflow: hidden;
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
    .lightbox-close {
        top: -40px;
        font-size: 1.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 10px 15px;
    }

    .lightbox-prev {
        margin-left: -40px;
    }

    .lightbox-next {
        margin-right: -40px;
    }
}





/* ==========================================================================
   Blog & Post Styles
   ========================================================================== */

/* Blog Page (home.php) */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-bold);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.post-card:hover .post-image {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.entry-title {
    margin-bottom: 1rem;
}

.entry-title a {
    color: var(--secondary-color);
    text-decoration: none;
    font-family: var(--font-semibold);
    font-size: 1.3rem;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-summary {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-footer {
    display: flex;
    justify-content: flex-start;
}

/* Single Post Page (single.php) */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.single-post .entry-header {
    text-align: center;
    margin-bottom: 2rem;
}

.single-post .entry-title {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: var(--font-bold);
    line-height: 1.3;
}

.single-post .entry-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
}

.single-post .entry-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.entry-featured-image {
    margin-bottom: 2rem;
    text-align: center;
}

.featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

a.pdf-link {
    text-decoration: none;
    color: var(--primary-color);
}

a.pdf-link:hover {
    text-decoration: underline;
}

a.pdf-link i {
    color: red;
    padding-left: 10px;
    font-size: 20px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--secondary-color);
    margin: 2rem 0 1rem 0;
    font-family: var(--font-semibold);
}

.entry-tags {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.entry-tags h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-family: var(--font-semibold);
}

.tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0.2rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.tag:hover {
    background: var(--secondary-color);
    color: white;
}

/* Post Navigation */
.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.nav-previous:hover,
.nav-next:hover {
    background: var(--primary-color);
    color: white !important;
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.nav-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-family: var(--font-semibold);
    font-size: 1.1rem;
    display: block;
}

.nav-previous:hover .nav-title,
.nav-previous:hover .nav-subtitle {
    color: white !important;
}

/* Pagination */
.pagination-nav {
    text-align: center;
    margin-top: 3rem;
}

.page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.page-numbers a,
.page-numbers span {
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition-fast);
}

.page-numbers a:hover,
.page-numbers .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* No Content States */
.no-content,
.no-posts {
    text-align: center;
    padding: 3rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.no-content h2,
.no-posts h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: var(--font-semibold);
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
        color: #fff;
    }

    .page-subtitle {
        color: #fff;
    }

    .single-post .entry-title {
        font-size: 1.8rem;
    }

    .single-post .entry-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }

    .single-post {
        padding: 1rem 0;
    }

    .post-content {
        padding: 1rem;
    }

    .page-header {
        margin-top: 100px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .single-post .entry-title {
        font-size: 1.5rem;
    }

    .single-post .entry-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }

    .single-post {
        padding: 1rem 0;
    }

    .post-content {
        padding: 1rem;
    }

    .page-header {
        margin-top: 100px;
    }

    .company-intro,
    .services-overview {
        padding: 0;
    }
}

/* ==========================================================================
   End of Blog & Post Styles
   ========================================================================== */