/* ==========================================================================
   Baagest Construction Theme - Custom Styles
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #f16127;
    --primary-dark: #d94e18;
    --primary-light: #ff7a45;
    --dark: #0a0a0a;
    --dark-2: #1a1a1a;
    --dark-3: #2a2a2a;
    --dark-4: #333333;
    --light: #f5f5f5;
    --gray: #888888;
    --white: #ffffff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-icon {
    width: 50px;
    height: 50px;
    border: 4px solid var(--dark-3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ---------- Buttons ---------- */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 32px;
    border-radius: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 97, 39, 0.4);
}

.btn-outline-light {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 32px;
    border-radius: 0;
    border-width: 2px;
}

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

.btn-light {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 32px;
    border-radius: 0;
    color: var(--dark);
}

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

/* ---------- Navigation ---------- */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 40px;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    color: var(--white);
    padding: 8px 16px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

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

.navbar-toggler {
    border: 2px solid var(--primary);
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(241, 97, 39, 0.2) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-section .container {
    z-index: 3;
}

.hero-badge {
    display: inline-block;
    background: rgba(241, 97, 39, 0.15);
    border: 1px solid rgba(241, 97, 39, 0.3);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 8px 20px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(42px, 7vw, 80px);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.05;
}

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

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-scroll-indicator span {
    display: block;
    width: 2px;
    height: 12px;
    background: var(--primary);
    animation: scrollDown 1.5s infinite;
}

.hero-scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollDown {
    0% { opacity: 0; transform: translateY(-8px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(8px); }
}

/* ---------- Section Common ---------- */
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
    color: var(--dark);
}

.section-desc {
    font-size: 17px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Services Section ---------- */
.section-services {
    padding: 100px 0;
    background: var(--light);
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    opacity: 0;
    transition: var(--transition);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    color: var(--primary);
}

.service-card:hover .service-link {
    color: var(--primary);
}

.service-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-link {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    color: var(--primary);
    transition: var(--transition);
}

.service-link:hover {
    letter-spacing: 2px;
}

/* ---------- About Preview ---------- */
.section-about-preview {
    padding: 100px 0;
}

.about-image-grid {
    position: relative;
}

.about-img-main {
    position: relative;
    overflow: hidden;
}

.placeholder-img {
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 80px;
}

.placeholder-img.large {
    height: 500px;
}

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    text-align: center;
    z-index: 2;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.exp-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.about-feature i {
    color: var(--primary);
    font-size: 20px;
}

.about-feature span {
    font-weight: 500;
}

/* ---------- Stats Section ---------- */
.section-stats {
    padding: 80px 0;
    background: var(--dark);
    position: relative;
}

.section-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(241, 97, 39, 0.1) 0%, transparent 50%);
}

.stat-item {
    position: relative;
    z-index: 1;
    padding: 30px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Projects Section ---------- */
.section-projects {
    padding: 100px 0;
    background: var(--light);
}

.project-card {
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

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

.project-img {
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    height: 300px;
    background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-4) 100%);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-cat {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    margin-bottom: 8px;
}

.project-overlay h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 0;
}

/* ---------- Why Choose Us ---------- */
.section-why-us {
    padding: 100px 0;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
    background: transparent;
}

.accordion-button {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    padding: 20px 0;
    background: transparent;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 24px;
    font-weight: 300;
    width: auto;
    height: auto;
    transform: none;
    transition: none;
}

.accordion-button:not(.collapsed)::after {
    content: '\2212';
    background-image: none;
    transform: none;
}

.accordion-body {
    padding: 0 0 20px 0;
    color: var(--gray);
}

.why-us-image {
    position: relative;
}

/* ---------- Testimonials ---------- */
.section-testimonials {
    padding: 100px 0;
    background: var(--dark);
}

.section-testimonials .section-title {
    color: var(--white);
}

.testimonial-card {
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    padding: 40px 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.testimonial-stars {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-name {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 2px;
    text-transform: none;
    letter-spacing: 0;
}

.author-role {
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
}

/* ---------- Contact Section ---------- */
.section-contact {
    padding: 100px 0;
    background: var(--light);
}

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-item h5 {
    font-size: 16px;
    margin-bottom: 4px;
    text-transform: none;
    letter-spacing: 0;
}

.contact-info-item p {
    margin-bottom: 0;
    color: var(--gray);
}

.contact-info-item a {
    color: var(--gray);
}

.contact-info-item a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.form-control,
.form-select {
    border-radius: 0;
    border-color: #ddd;
    padding: 12px 16px;
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(241, 97, 39, 0.15);
}

.form-floating > label {
    padding: 12px 16px;
}

/* ---------- Page Header ---------- */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    background: var(--dark);
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(241, 97, 39, 0.15) 100%);
}

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

.page-header-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--white);
    margin-bottom: 16px;
}

.min-vh-50 {
    min-height: 30vh;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
}

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

.breadcrumb-item.active {
    color: var(--primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- About Page ---------- */
.section-about-content {
    padding: 100px 0;
}

.section-about-content p {
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-img-wrapper {
    position: relative;
}

/* Mission Cards */
.section-mission {
    padding: 80px 0;
    background: var(--light);
}

.mission-card {
    background: var(--white);
    padding: 40px;
    height: 100%;
    border-bottom: 3px solid var(--primary);
    transition: var(--transition);
}

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

.mission-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.mission-card p {
    color: var(--gray);
    margin-bottom: 0;
}

/* Values */
.section-values {
    padding: 100px 0;
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 0;
}

/* ---------- Team Page ---------- */
.section-team-intro {
    padding: 80px 0 40px;
}

.section-team {
    padding: 40px 0 100px;
}

.team-card {
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.team-img {
    position: relative;
    overflow: hidden;
}

.team-placeholder {
    height: 320px;
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 80px;
    transition: var(--transition);
}

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

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.9);
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 12px;
    transform: translateY(100%);
    transition: var(--transition);
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-social a {
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.team-social a:hover {
    color: var(--primary);
}

.team-info {
    padding: 24px;
}

.team-info h4 {
    font-size: 20px;
    margin-bottom: 4px;
    text-transform: none;
    letter-spacing: 0;
}

.team-position {
    display: block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.team-info p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 0;
}

/* ---------- CTA Section ---------- */
.section-cta {
    padding: 80px 0;
    background: var(--dark);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 8px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 17px;
}

/* ---------- Blog Cards ---------- */
.blog-card {
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

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

.blog-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--gray);
}

.blog-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: 0;
}

.blog-content h3 a {
    color: var(--dark);
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.read-more {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    color: var(--primary);
}

/* Post Meta Header */
.post-meta-header {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.post-meta-header i {
    color: var(--primary);
    margin-right: 6px;
}

.post-meta-header a {
    color: rgba(255, 255, 255, 0.6);
}

.post-meta-header a:hover {
    color: var(--primary);
}

/* Single Post */
.single-post-content {
    font-size: 17px;
    line-height: 1.8;
}

.post-body p {
    margin-bottom: 20px;
}

.post-tags {
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.tags-label {
    font-weight: 600;
}

.post-navigation a {
    color: var(--dark);
    font-weight: 500;
}

.post-navigation a:hover {
    color: var(--primary);
}

/* Pagination */
.pagination-wrapper .nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

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

/* ---------- 404 Page ---------- */
.error-code {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

/* ---------- Sidebar ---------- */
.sidebar .widget {
    background: var(--white);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.sidebar .widget-title {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-logo {
    height: 45px;
    width: auto;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.8;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-3);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--dark-3);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------- WP Block Styles ---------- */
.section-page-content .wp-block-image {
    margin-bottom: 24px;
}

.section-page-content .wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* ---------- Contact Form 7 Styling ---------- */
.wpcf7 .wpcf7-form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 12px 16px;
    width: 100%;
    transition: var(--transition);
}

.wpcf7 .wpcf7-form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(241, 97, 39, 0.15);
}

.wpcf7 .wpcf7-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 40px;
    cursor: pointer;
    transition: var(--transition);
}

.wpcf7 .wpcf7-submit:hover {
    background: var(--primary-dark);
}

/* ---------- Form Feedback ---------- */
.form-success {
    background: #d4edda;
    color: #155724;
    padding: 16px;
    border: 1px solid #c3e6cb;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 10, 10, 0.98);
        padding: 20px;
        margin-top: 10px;
    }

    .hero-title {
        font-size: 42px;
    }

    .cta-box {
        padding: 40px;
        text-align: center;
    }

    .cta-box .text-lg-end {
        text-align: center !important;
        margin-top: 20px;
    }

    .about-experience-badge {
        right: 0;
        bottom: -20px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 90vh;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .section-services,
    .section-about-preview,
    .section-projects,
    .section-why-us,
    .section-testimonials,
    .section-contact,
    .section-about-content,
    .section-values {
        padding: 60px 0;
    }

    .footer-top {
        padding: 60px 0 30px;
    }

    .stat-item {
        padding: 15px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .page-header-title {
        font-size: 32px;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .cta-box h2 {
        font-size: 26px;
    }
}
