/*
Theme Name: HünerliTema
Theme URI: https://hunermedya.com
Author: Hüner Yazılım - Melikşah Gök
Author URI: https://hunermedya.com
Description: Nexon Grup İnşaat için profesyonel, sade ve modern WordPress teması
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexon-theme
Tags: construction, business, corporate, responsive, modern
*/

/* ========================================
   CSS Variables & Root
======================================== */
:root {
    /* Colors */
    --primary: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f2544;
    --secondary: #d69e2e;
    --secondary-light: #ecc94b;
    --secondary-dark: #b7791f;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e2e8f0;
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc;
    --white: #ffffff;
    --success: #22c55e;
    --error: #ef4444;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Shadows (Premium Soft Diffused) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    /* Softer base shadow */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
    /* Premium hover shadow */
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother bezier */
    --transition-fast: all 0.15s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 6px;
    /* Matches Header */
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* ========================================
   Reset & Base
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    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;
    color: var(--dark);
    letter-spacing: -0.5px;
    /* Tight functional kerning */
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Utility Classes
======================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-white {
    color: var(--white);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--secondary);
}

.bg-light {
    background-color: var(--gray-100);
}

.bg-dark {
    background-color: var(--dark);
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   Top Bar
======================================== */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.875rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 25px;
}

.top-bar-contact a {
    color: var(--gray-300);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-contact a:hover {
    color: var(--secondary);
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    color: var(--gray-300);
    font-size: 1rem;
}

.top-bar-social a:hover {
    color: var(--secondary);
}

/* ========================================
   Header & Navigation
======================================== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 280px;
    /* Constrain container width */
}

.site-logo .custom-logo-link {
    display: block;
    line-height: 0;
}

.site-logo img,
.site-logo .custom-logo {
    height: auto;
    max-height: 55px;
    /* Fixed max height for desktop */
    width: auto;
    max-width: 100%;
    transition: var(--transition);
}

.site-logo-text {
    display: flex;
    flex-direction: column;
}

.site-logo-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.site-logo-subtitle {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    gap: 35px;
}

.main-nav a {
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 10px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
}

.header-phone-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/hero-pattern.svg') repeat;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-subtitle {
    display: inline-block;
    background: rgba(214, 158, 46, 0.2);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--secondary);
}

.hero-desc {
    color: var(--gray-300);
    font-size: 1.125rem;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: var(--font-heading);
}

.hero-stat-label {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-top: 5px;
}

/* ========================================
   About Section
======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: var(--dark);
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.about-image-badge-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.about-content {
    padding-left: 20px;
}

.about-content .section-subtitle {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.about-feature-text {
    font-weight: 500;
    color: var(--gray-800);
}

/* ========================================
   Services Section
======================================== */
.services {
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ========================================
   Projects Section
======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 37, 68, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.project-status {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.project-status.completed {
    background: var(--success);
    color: var(--white);
}

.project-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.project-location {
    color: var(--gray-400);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-link {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

.project-card:hover .project-link {
    opacity: 1;
    transform: translateY(0);
}

.project-link:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* ========================================
   Grup Şirketlerimiz
======================================== */
.grup-sirketler-section {
    padding: 60px 0;
}
.grup-sirketler-title {
    text-align: center;
    margin-bottom: 2rem;
}
.grup-sirketler-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}
.grup-sirketler-logo {
    flex: 0 0 auto;
}
.grup-sirketler-logo-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.grup-sirketler-logo img {
    max-width: 200px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.4);
    opacity: 0.9;
    transition: var(--transition);
}
.grup-sirketler-logo img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ========================================
   Anasayfa Giriş Videosu (Tam Ekran)
======================================== */
body.intro-video-active { overflow: hidden; }
.intro-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    transition: opacity 0.4s ease;
}
.intro-video-overlay.intro-video-closing {
    opacity: 0;
    pointer-events: none;
}
.intro-video-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.intro-video-player {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}
.intro-video-skip {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 2;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    font-family: var(--font-body, inherit);
}
.intro-video-skip:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
    color: #fff;
}

/* ========================================
   Stats Section
======================================== */
.stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--secondary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-300);
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials {
    background: var(--gray-100);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-size: 1.25rem;
    color: var(--gray-700);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: -30px;
    left: -10px;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.25rem;
}

.testimonial-info h4 {
    font-size: 1.125rem;
    margin-bottom: 3px;
}

.testimonial-info span {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* ========================================
   CTA Section
======================================== */
.cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.cta-desc {
    color: var(--gray-800);
    font-size: 1.125rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: var(--primary);
}

.cta .btn-primary:hover {
    background: var(--primary-dark);
}

/* ========================================
   Footer
======================================== */
.site-footer {
    background: var(--dark);
    color: var(--gray-400);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-about {
    padding-right: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-about p {
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--dark);
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gray-800);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

.footer-contact-text h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 3px;
}

.footer-contact-text p {
    margin: 0;
    font-size: 0.9375rem;
}

.footer-contact-text a {
    color: var(--gray-400);
}

.footer-contact-text a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 25px 0;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.875rem;
}

/* ========================================
   Page Header
======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/hero-pattern.svg') repeat;
    opacity: 0.05;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.breadcrumb a {
    color: var(--gray-300);
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb-separator {
    color: var(--gray-500);
}

/* ========================================
   Contact Page
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 35px;
}

.contact-info-card {
    background: #fafbfc;
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-content {
    flex: 1;
    text-align: left;
}

.contact-info-content h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--dark);
}

.contact-info-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-info-content a {
    color: var(--gray-600);
}

.contact-info-content a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-form-title {
    font-size: 1.35rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-map {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ========================================
   WhatsApp Button
======================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: #128c7e;
    color: var(--white);
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   Responsive Styles
======================================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 60px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--gray-200);
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-badge {
        right: 20px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 10px;
    }

    .site-logo {
        max-width: 200px;
    }

    .site-logo img,
    .site-logo .custom-logo {
        max-height: 40px;
        /* Smaller for mobile */
    }

    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .page-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ========================================
   WordPress Specific Styles
======================================== */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* FORCE LOGO SIZE FIX - 1.0.2 */
.site-logo {
    max-width: 280px !important;
}

.site-logo img,
.site-logo .custom-logo {
    display: block !important;
    max-height: 55px !important;
    width: auto !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .site-logo {
        max-width: 200px !important;
    }

    .site-logo img,
    .site-logo .custom-logo {
        max-height: 40px !important;
    }
}


/* FORCE NO GAP BELOW HEADER */
.site-header {
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.hero {
    margin-top: 0 !important;
}


/* HEADER ALIGNMENT FIX */
.header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    justify-content: unset !important;
}

.site-logo {
    justify-self: start !important;
}

.main-nav {
    justify-self: center !important;
    width: 100%;
    /* Ensure it spans if needed */
    display: flex;
    justify-content: center;
}

.header-cta {
    justify-self: end !important;
}

/* Mobile Alignment Override */
@media (max-width: 992px) {
    .header-inner {
        display: flex !important;
        justify-content: space-between !important;
    }

    .main-nav {
        display: none;
        /* Handled by toggle */
    }
}


/* ========================================
   COMPREHENSIVE RESPONSIVE DESIGN
======================================== */

/* ---- TABLET (max-width: 1024px) ---- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 25px;
    }

    /* Typography */
    .hero-title {
        font-size: 2.5rem !important;
    }

    .section-title {
        font-size: 2rem !important;
    }

    .page-title {
        font-size: 2rem !important;
    }

    /* Grids */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ---- MOBILE LANDSCAPE (max-width: 768px) ---- */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }

    .container {
        padding: 0 20px;
    }

    /* Typography - Mobile Sizes */
    h1,
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    h2,
    .section-title {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    h4 {
        font-size: 1.1rem !important;
    }

    .page-title {
        font-size: 1.75rem !important;
    }

    .hero-desc,
    .section-desc,
    .about-text {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    .hero-subtitle {
        font-size: 0.8rem !important;
        padding: 6px 14px !important;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* Hero Stats */
    .hero-stats {
        flex-wrap: wrap !important;
        gap: 15px !important;
        justify-content: center !important;
    }

    .hero-stat {
        min-width: auto !important;
        padding: 10px 15px !important;
    }

    .hero-stat-number {
        font-size: 1.5rem !important;
    }

    .hero-stat-label {
        font-size: 0.75rem !important;
    }

    /* Grids */
    .services-grid,
    .projects-grid,
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Page Header */
    .page-header {
        padding: 140px 0 60px !important;
    }

    .breadcrumb {
        font-size: 0.8rem !important;
        flex-wrap: wrap !important;
        gap: 5px 10px !important;
        line-height: 1.4 !important;
    }

    /* Sections */
    .section {
        padding: var(--section-padding) 0 !important;
    }

    .section-header {
        margin-bottom: 30px !important;
    }

    .section-subtitle {
        font-size: 0.75rem !important;
    }

    /* Cards */
    .service-card,
    .project-card {
        padding: 25px !important;
    }

    /* CTA Section */
    .cta {
        padding: 50px 0 !important;
    }

    .cta-title {
        font-size: 1.5rem !important;
    }

    .cta-desc {
        font-size: 0.95rem !important;
    }

    /* Contact */
    .contact-form {
        padding: 25px !important;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center;
    }

    .footer-social {
        justify-content: center !important;
    }
}

/* ---- MOBILE PORTRAIT (max-width: 480px) ---- */
@media (max-width: 480px) {
    :root {
        --section-padding: 40px;
    }

    .container {
        padding: 0 15px;
    }

    /* Typography - Smaller Mobile */
    h1,
    .hero-title {
        font-size: 1.65rem !important;
    }

    h2,
    .section-title {
        font-size: 1.35rem !important;
    }

    .page-title {
        font-size: 1.5rem !important;
    }

    .hero-desc,
    .section-desc {
        font-size: 0.9rem !important;
    }

    /* Buttons */
    .btn {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
    }

    /* Stats Grid Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .stat-number {
        font-size: 1.75rem !important;
    }

    .stat-label {
        font-size: 0.8rem !important;
    }

    /* Service/Project Cards */
    .service-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.25rem !important;
    }

    .service-title {
        font-size: 1rem !important;
    }

    .service-excerpt,
    .service-desc {
        font-size: 0.85rem !important;
    }

    /* About features */
    .about-features {
        grid-template-columns: 1fr !important;
    }

    /* Contact info items */
    .contact-info-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }
}

/* PROJECT CARDS - FULL IMAGE COVER */
.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--dark);
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    color: #fff;
    z-index: 2;
}

.project-status {
    display: inline-block;
    padding: 5px 12px;
    background: var(--secondary);
    color: var(--dark);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project-status.completed {
    background: var(--success);
    color: #fff;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.project-location {
    font-size: 0.85rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
}

.project-link {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 3;
    transition: all 0.3s;
}

.project-link:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        aspect-ratio: 3/4;
    }

    .project-overlay {
        padding: 20px;
    }

    .project-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .project-card {
        aspect-ratio: 4/5;
    }

    .project-overlay {
        padding: 15px;
    }

    .project-title {
        font-size: 1rem;
    }

    .project-location {
        font-size: 0.8rem;
    }
}

/* MOBILE HOMEPAGE IMPROVEMENTS */
@media (max-width: 768px) {

    /* Hero Stats - Compact Row */
    .hero-stats {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-around !important;
        gap: 5px !important;
        margin-top: 25px !important;
        padding: 15px 10px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: var(--radius-lg) !important;
    }

    .hero-stat {
        flex: 1 !important;
        min-width: auto !important;
        padding: 8px 5px !important;
        text-align: center !important;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-stat:last-child {
        border-right: none;
    }

    .hero-stat-number {
        font-size: 1.35rem !important;
        margin-bottom: 2px !important;
    }

    .hero-stat-label {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }

    /* Hero Cards - Better Mobile Layout */
    .hero-cards-wrapper {
        margin-top: 30px !important;
    }

    .hero-cards {
        height: 260px !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    .hero-card {
        width: 180px !important;
        height: 230px !important;
        border-radius: 16px !important;
    }

    /* Tighter arc for mobile */
    .hero-card:nth-child(1) {
        margin-left: -90px !important;
        transform: translateY(0) rotate(-6deg) !important;
    }

    .hero-card:nth-child(2) {
        margin-left: -70px !important;
        transform: translateY(-6px) rotate(-3deg) !important;
    }

    .hero-card:nth-child(3) {
        margin-left: -50px !important;
        transform: translateY(-9px) rotate(0deg) !important;
    }

    .hero-card:nth-child(4) {
        margin-left: -30px !important;
        transform: translateY(-6px) rotate(3deg) !important;
    }

    .hero-card:nth-child(5) {
        margin-left: -10px !important;
        transform: translateY(0) rotate(6deg) !important;
    }

    .hero-card-top {
        padding: 12px !important;
    }

    .hero-card-title {
        font-size: 0.85rem !important;
    }

    .hero-card-bottom {
        padding: 10px 12px !important;
    }

    .hero-card-status {
        font-size: 0.55rem !important;
        padding: 3px 8px !important;
    }

    .hero-dots {
        margin-top: 15px !important;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        padding: 12px 5px !important;
    }

    .hero-stat-number {
        font-size: 1.15rem !important;
    }

    .hero-stat-label {
        font-size: 0.6rem !important;
    }

    .hero-cards {
        height: 220px !important;
        max-width: 280px !important;
    }

    .hero-card {
        width: 150px !important;
        height: 195px !important;
    }

    .hero-card:nth-child(1) {
        margin-left: -75px !important;
    }

    .hero-card:nth-child(2) {
        margin-left: -58px !important;
    }

    .hero-card:nth-child(3) {
        margin-left: -41px !important;
    }

    .hero-card:nth-child(4) {
        margin-left: -24px !important;
    }

    .hero-card:nth-child(5) {
        margin-left: -7px !important;
    }

    .hero-card-title {
        font-size: 0.75rem !important;
    }
}

/* Mobile Swipe and Click Fixes */
.hero-cards-wrapper {
    touch-action: pan-y !important;
}

.hero-cards {
    touch-action: pan-y !important;
}

.hero-card {
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: pan-y !important;
}

/* ========================================
   COMPACT HEADER & MOBILE SIDEBAR
======================================== */

/* Compact Header */
.site-header {
    background: #fff;
    padding: 15px 0;
    /* Reduced from default */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-logo-text {
    line-height: 1;
}

.site-logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
    display: block;
}

.site-logo-subtitle {
    font-size: 0.75rem;
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Mobile Sidebar Styles */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -280px;
    /* Start off-canvas right */
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1100;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 25px;
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.sidebar-close:hover {
    background: #f5f5f5;
    color: var(--danger);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav li a {
    display: block;
    padding: 12px 0;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.mobile-nav li a:hover,
.mobile-nav li a.active {
    color: var(--secondary);
    padding-left: 5px;
}

.sidebar-contact {
    margin-top: auto;
    padding-top: 30px;
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.sidebar-contact-item i {
    width: 30px;
    height: 30px;
    background: rgba(214, 158, 46, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.sidebar-contact-item a {
    color: inherit;
}

/* Mobile Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin-bottom: 5px;
    transition: all 0.3s;
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    /* Hide desktop CTA on mobile if desired, or keep specific to header */
    .mobile-menu-toggle {
        display: block;
    }
}

/* ========================================
   REFINED DESKTOP NAVIGATION
======================================== */
.main-nav ul {
    gap: 30px;
    /* More spacing for cleaner look */
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--secondary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Refined Header CTA */
.header-phone {
    background: rgba(26, 54, 93, 0.05);
    /* Light primary bg */
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.header-phone:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
}

.header-phone-icon {
    width: 32px;
    /* Smaller icon */
    height: 32px;
    font-size: 0.9rem;
}

/* ========================================
   REFINED COMPACT HEADER (SLIM VERSION)
======================================== */
.site-header {
    padding: 10px 0 !important;
    /* Minimal vertical padding */
    height: 70px;
    /* Fixed small height */
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo Sizing */
.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img,
.custom-logo {
    max-height: 40px !important;
    /* Force small logo */
    width: auto;
}

.site-logo-title {
    font-size: 1.25rem !important;
    /* Smaller text logo */
}

.site-logo-subtitle {
    font-size: 0.65rem !important;
}

/* Navigation - Compact */
.main-nav ul {
    gap: 25px !important;
    margin: 0 !important;
}

.main-nav a {
    font-size: 0.85rem !important;
    /* Elegant small text */
    padding: 20px 0 !important;
    /* Extends click area without visual bulk */
    font-weight: 500 !important;
}

/* Phone Ribbon - Smaller */
.header-phone {
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
}

.header-phone-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
}

/* Sticky State */
.site-header.sticky {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* OVERRIDE HEADER GRID FOR COMPACT FLEX LAYOUT - DESKTOP ONLY */
@media (min-width: 993px) {
    .header-inner {
        display: flex !important;
        /* Revert to flex from grid */
        justify-content: space-between !important;
        gap: 20px;
    }

    .site-logo {
        justify-self: start !important;
        flex: 0 0 auto;
        padding-top: 5px;
        /* Added spacing above logo */
    }

    .main-nav {
        justify-self: center !important;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .header-cta {
        justify-self: end !important;
        flex: 0 0 auto;
    }
}

/* Ensure main-nav is hidden on mobile */
@media (max-width: 992px) {
    .main-nav {
        display: none !important;
    }
}

/* ========================================
   FINAL HEADER & SIDEBAR REFINEMENTS
======================================== */

/* Desktop Logo Reduction */
@media (min-width: 993px) {

    .site-logo img,
    .custom-logo {
        max-height: 32px !important;
        /* Even smaller logo */
        width: auto;
    }

    .site-logo-title {
        font-size: 1.1rem !important;
        /* Smaller text logo */
    }

    .site-logo-subtitle {
        font-size: 0.6rem !important;
        letter-spacing: 1px !important;
    }

    .site-header {
        height: 60px !important;
        /* Even slimmer header */
    }
}

/* Compact Mobile Sidebar */
.mobile-sidebar {
    width: 260px !important;
    /* Slightly narrower */
    padding: 20px !important;
}

.sidebar-header {
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
}

.sidebar-close {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.2rem !important;
}

/* Sidebar Nav - Compact */
.mobile-nav li a {
    padding: 10px 0 !important;
    /* Reduced padding */
    font-size: 0.95rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
}

/* Sidebar Contact - Compact */
.sidebar-contact {
    padding-top: 20px !important;
    margin-top: auto;
}

.sidebar-contact-item {
    margin-bottom: 10px !important;
    font-size: 0.85rem !important;
    gap: 8px !important;
}

.sidebar-contact-item i {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.75rem !important;
}

/* ========================================
   ABOUT PAGE IMPROVEMENTS
======================================== */

/* About Intro Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.about-img-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 5rem;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--secondary);
    color: #fff;
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 120px;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 5px;
}

.about-text {
    margin-bottom: 30px;
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item i {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-top: 3px;
}

.feature-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 5px;
}

.feature-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* Vision & Mission Cards */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
}

.vm-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary);
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 54, 93, 0.05);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.vm-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.5rem;
}

.vm-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.value-item:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    color: var(--secondary);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.value-item h4 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.25rem;
}

.value-item p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Adjustments for About Page */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .about-grid,
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        margin-bottom: 0;
    }

    .experience-badge {
        padding: 15px;
        min-width: 100px;
    }

    .experience-badge .years {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ========================================
   SERVICE CARD STYLES (Global)
======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: left;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 54, 93, 0.05);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-excerpt,
.service-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-top: auto;
}

.service-link:hover {
    gap: 12px;
}

/* ========================================
   FOOTER REDESIGN
======================================== */
.site-footer {
    background: var(--dark);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-image {
    max-width: 180px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-links i {
    font-size: 0.8rem;
    color: var(--secondary);
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

.footer-contact-text h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.footer-contact-text p,
.footer-contact-text a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo-image {
        margin: 0 auto 25px;
    }

    .footer-about,
    .footer-links-section,
    .footer-projects-section,
    .footer-contact-section {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact-item {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   MINIMALIST MOBILE SIDEBAR REFINEMENTS
======================================== */

.mobile-sidebar {
    width: 250px !important;
    /* Slightly narrower */
    padding: 20px !important;
    background: #ffffff !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08) !important;
}

.sidebar-header {
    border-bottom: none !important;
    /* Remove header border */
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
}

/* Make Sidebar Logo Smaller */
.mobile-sidebar .site-logo img,
.mobile-sidebar .custom-logo {
    max-height: 28px !important;
}

.sidebar-close {
    width: 30px !important;
    height: 30px !important;
    font-size: 1.1rem !important;
    background: #f8f9fa !important;
    /* Subtle bg for close button */
    color: var(--dark) !important;
    border-radius: 50% !important;
}

/* Minimalist Nav Link Styles */
.mobile-nav li {
    border-bottom: none !important;
    /* Remove dividers */
}

.mobile-nav li a {
    padding: 8px 0 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--dark) !important;
    transition: all 0.2s ease !important;
}

.mobile-nav li a:hover {
    color: var(--secondary) !important;
    padding-left: 5px !important;
    background: transparent !important;
}

/* Compact Contact Section */
.sidebar-contact {
    padding-top: 15px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    /* Add subtle top border to contact area only */
}

.sidebar-contact-item {
    margin-bottom: 8px !important;
    gap: 10px !important;
}

.sidebar-contact-item i {
    width: 20px !important;
    height: 20px !important;
    background: transparent !important;
    /* Remove icon background */
    color: var(--secondary) !important;
    font-size: 0.85rem !important;
    justify-content: flex-start !important;
    /* Align left */
    padding-left: 0 !important;
}

.sidebar-contact-text p,
.sidebar-contact-text a {
    font-size: 0.8rem !important;
    color: var(--gray-600) !important;
}

/* Hide extra info for ultra compact look */
.sidebar-contact-text h5 {
    display: none !important;
}

/* ========================================
   GLOBAL RESPONSIVE SAFETY
======================================== */
img {
    max-width: 100%;
    height: auto;
}

iframe,
embed,
object,
video {
    max-width: 100%;
}

/* Ensure content images don't overflow */
.service-content img,
.project-content img,
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* Specific Mobile Fixes for Detail Pages */
@media (max-width: 768px) {
    .service-hero::before {
        width: 300px;
        height: 300px;
    }

    .other-services-grid {
        grid-template-columns: 1fr !important;
    }

    .proje-nearby>div {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   NEW SLEEK ABOUT SECTION (COMPACT UI)
======================================== */
.about-intro {
    padding: 80px 0;
}

.about-eyebrow {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-headline {
    font-size: 2.25rem;
    color: var(--dark);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.about-subheadline {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.detail-block h3.detail-title {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.detail-block p.detail-text {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

/* Compact Feature List */
.about-features-list.compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-features-list.compact .feature-item {
    align-items: center;
    gap: 12px;
}

.about-features-list.compact .feature-item i {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-top: 0;
}

.about-features-list.compact .feature-item strong {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.about-features-list.compact .feature-item p {
    font-size: 0.85rem;
    display: block;
    /* Ensure it wraps if needed, or hide if too long for compact look */
    color: var(--gray-500);
}

/* Responsive for Headline */
@media (max-width: 768px) {
    .about-headline {
        font-size: 1.8rem;
    }

    .about-subheadline {
        font-size: 1.3rem;
    }
}

/* ========================================
   WHATSAPP BUTTON STYLE
======================================== */
.btn-whatsapp {
    background-color: #25D366;
    color: #fff !important;
    border: 1px solid #25D366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.1em;
}

/* Contact Page Mobile Responsive Fixes */
@media (max-width: 768px) {
    .contact-grid {
        gap: 25px;
    }

    .contact-info-card {
        padding: 20px !important;
    }

    .contact-form {
        padding: 25px !important;
    }

    .contact-form-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .contact-info-item {
        gap: 12px;
        margin-bottom: 20px;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-info-content h4 {
        font-size: 0.9rem;
    }

    .contact-info-content p {
        font-size: 0.85rem;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-control {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .contact-map {
        margin-top: 30px;
    }

    .contact-map iframe {
        height: 280px;
    }
}

/* ========================================
   MOBILE RESPONSIVENESS ENHANCEMENTS
======================================== */

/* WhatsApp Button Mobile Positioning */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 80px !important;
        right: 20px !important;
        width: 55px !important;
        height: 55px !important;
        font-size: 1.5rem !important;
    }
}

/* Service Card Text Contrast Improvement */
.service-card .service-excerpt,
.service-excerpt {
    color: #4a5568 !important;
}

/* ========================================
   PROFESSIONAL SIDEBAR CONTACT BUTTONS
======================================== */
.sidebar-contact {
    padding-top: 20px !important;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.sidebar-contact-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.sidebar-contact-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: var(--gray-100);
    color: var(--primary);
    border: 1px solid var(--gray-200);
}

.sidebar-contact-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
}

.sidebar-contact-btn-whatsapp {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.sidebar-contact-btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
}

/* Update sidebar contact buttons to include text labels */
.sidebar-contact-btn {
    width: auto !important;
    height: auto !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 70px;
}

.sidebar-contact-btn i {
    font-size: 1.2rem;
}

.sidebar-contact-btn span {
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ========================================
   ELEGANT SIDEBAR CONTACT BUTTONS V2
======================================== */
.sidebar-contact-buttons {
    display: flex;
    gap: 12px !important;
    justify-content: center;
    padding: 0 10px;
}

.sidebar-contact-btn {
    width: auto !important;
    height: auto !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 75px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sidebar-contact-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.25) !important;
    border-color: var(--primary) !important;
}

.sidebar-contact-btn i {
    font-size: 1.3rem !important;
    transition: transform 0.3s ease !important;
}

.sidebar-contact-btn:hover i {
    transform: scale(1.1) !important;
}

.sidebar-contact-btn span {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap;
}

.sidebar-contact-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #20bd5a 100%) !important;
    color: white !important;
    border-color: #25d366 !important;
}

.sidebar-contact-btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #0d6e5f 100%) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
}

/* ========================================
   DAP Style Hero & Layout Fixes
   ======================================== */

/* Hero Slider Full Height */
.hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    background: #1a1a2e;
}

.hero-swiper {
    height: 100%;
    width: 100%;
}

.hero-swiper .swiper-slide {
    height: 100%;
    width: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.4) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    color: #fff;
    max-width: 700px;
    padding: 0 5%;
}

.hero-slide-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
    color: #1a365d;
    font-weight: 600;
}

.hero-slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 30px;
    color: #fff;
}

.hero-slide-buttons .btn {
    padding: 14px 35px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 4px;
    background: #1a365d;
    color: #fff;
    border: none;
    font-weight: 600;
}

.hero-slide-buttons .btn:hover {
    background: #b3000b;
}

/* Swiper Navigation */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #fff;
    opacity: 0.7;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #1a365d;
    opacity: 1;
}

/* Header Transparent */
.site-header.transparent-header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.site-header.transparent-header .main-nav a {
    color: #fff;
    font-weight: 500;
}

.site-header.transparent-header .site-logo-title {
    color: #fff;
}

.header-phone-btn {
    background: #1a365d;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-phone-btn:hover {
    background: #b3000b;
}

/* Projects Coverflow */
.projects-showcase {
    padding: 80px 0;
    background: #f5f5f5;
}

.project-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 50px;
    flex-wrap: wrap;
}

.project-tab {
    background: transparent;
    border: 2px solid #ddd;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.project-tab.active,
.project-tab:hover {
    background: #1a365d;
    border-color: #1a365d;
    color: #fff;
}

.projects-swiper {
    padding: 20px 0 60px;
}

.project-slide {
    width: 350px;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
}

.swiper-slide-active .project-slide-content {
    opacity: 1;
    transform: translateY(0);
}

.project-slide-content h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.btn-white {
    background: #fff;
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.btn-white:hover {
    background: #1a365d;
    color: #fff;
}

/* Footer */
.site-footer {
    background: #1a1a2e;
    color: #aaa;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

.footer-logo-text {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
}

.footer-desc {
    margin: 20px 0;
    line-height: 1.7;
    color: #888;
}

.footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #1a365d;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #888;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #1a365d;
    padding-left: 5px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: #888;
}

.contact-item i {
    color: #1a365d;
    margin-top: 4px;
}

.contact-item a {
    color: #888;
}

.contact-item a:hover {
    color: #1a365d;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-slide-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-slide-title {
        font-size: 2rem;
    }

    .project-slide {
        width: 280px;
        height: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .header-phone-btn span {
        display: none;
    }
}

/* ========================================
   Header Layout Fix - Centered Menu
   ======================================== */

/* Header Container */
.site-header .container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    position: relative;
}

/* Logo - Left */
.site-header .site-logo {
    flex: 0 0 auto;
    z-index: 10;
}

.site-header .site-logo-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.site-header .site-logo-subtitle {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation - Absolute Center */
.site-header .main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.site-header .main-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header .main-nav a {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.site-header .main-nav a:hover {
    color: #1a365d;
}

/* Header Right - Phone */
.site-header .header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.header-phone-btn {
    background: transparent !important;
    color: #fff !important;
    padding: 0 !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    border: none !important;
    border-radius: 0 !important;
}

.header-phone-btn i {
    color: #fff;
    font-size: 1rem;
}

.header-phone-btn:hover {
    color: #1a365d !important;
    background: transparent !important;
}

/* Mobile menu toggle styling */
.site-header .mobile-menu-toggle {
    display: none;
}

/* Scrolled State */
.site-header.scrolled {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled .site-logo-title,
.site-header.scrolled .main-nav a,
.site-header.scrolled .header-phone-btn {
    color: #222 !important;
}

.site-header.scrolled .site-logo-subtitle {
    color: #666;
}

/* Responsive */
@media (max-width: 1100px) {
    .site-header .main-nav {
        position: static;
        transform: none;
    }

    .site-header .main-nav ul {
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .site-header .main-nav {
        display: none;
    }

    .site-header .mobile-menu-toggle {
        display: flex;
    }
}

/* ========================================
   CRITICAL Header Override - Centered Menu
   ======================================== */

/* Override base header */
/* Override base header */
.site-header.transparent-header {
    background-color: hsla(0, 0%, 100%, .45) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid hsla(0, 0%, 100%, .25) !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
    position: absolute !important;
    top: 25px !important;
    left: 250px !important;
    right: 250px !important;
    width: calc(100% - 500px) !important;
    height: 90px !important;
    /* Force explicit height */
    z-index: 1000 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.site-header.transparent-header .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 40px !important;
    display: flex !important;
    align-items: center !important;
}

.site-header.transparent-header .header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    position: relative !important;
}

/* Logo Left */
.site-header.transparent-header .site-logo {
    flex: 0 0 auto !important;
    z-index: 20 !important;
}

.site-header.transparent-header .site-logo-title {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    letter-spacing: 1px !important;
}

.site-header.transparent-header .site-logo-subtitle {
    font-size: 0.6rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* Menu Center */
body .site-header.transparent-header .main-nav a {
    color: #fff !important;
}

body .site-header.transparent-header .main-nav a:hover {
    color: #e0ad33 !important;
}

body .site-header.transparent-header .header-phone-btn {
    color: #fff !important;
}

body .site-header.transparent-header .header-phone-btn i {
    color: #fff !important;
}

.site-header.transparent-header .main-nav {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
}

.site-header.transparent-header .main-nav ul {
    display: flex !important;
    gap: 50px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header.transparent-header .main-nav li {
    list-style: none !important;
}

.site-header.transparent-header .main-nav a {
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    text-transform: capitalize !important;
    padding: 0 !important;
}

.site-header.transparent-header .main-nav a::after {
    display: none !important;
}

.site-header.transparent-header .main-nav a:hover {
    color: #1a365d !important;
}

/* Phone Right */
.site-header.transparent-header .header-right {
    flex: 0 0 auto !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
}

.site-header.transparent-header .header-phone-btn {
    background: transparent !important;
    color: #fff !important;
    padding: 0 !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: none !important;
    border-radius: 0 !important;
}

.site-header.transparent-header .header-phone-btn i {
    color: #fff !important;
}

.site-header.transparent-header .header-phone-btn:hover {
    color: #1a365d !important;
}

/* Mobile Toggle */
.site-header.transparent-header .mobile-menu-toggle {
    display: none !important;
}

.site-header.transparent-header .mobile-menu-toggle span {
    background: #fff !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .site-header.transparent-header {
        width: calc(100% - 40px) !important;
        left: 20px !important;
        right: 20px !important;
        top: 20px !important;
        padding: 0 !important;
    }

    .site-header.transparent-header .container-fluid {
        padding: 0 20px !important;
    }
}

@media (max-width: 1024px) {
    .site-header.transparent-header .main-nav {
        display: none !important;
    }

    .site-header.transparent-header .mobile-menu-toggle {
        display: flex !important;
    }

    /* Ensure Header content space distribution */
    .site-header.transparent-header .header-inner {
        justify-content: space-between !important;
    }
}

@media (max-width: 768px) {
    .site-header.transparent-header {
        height: 70px !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(8px) !important;
    }

    .site-header.transparent-header .site-logo-title {
        font-size: 1.4rem !important;
    }

    .header-phone-btn {
        display: none !important;
    }
}

/* ========================================
   SLOGAN SECTION (BELOW HERO)
   ======================================== */
.slogan-bar {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.slogan-grid {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 80px;
    align-items: center;
}

.slogan-title {
    font-size: 2rem;
    font-weight: 500;
    color: #222;
    line-height: 1.3;
    margin: 0;
}

.slogan-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

.slogan-text p {
    margin: 0;
}

@media (max-width: 992px) {
    .slogan-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .slogan-title {
        font-size: 1.75rem;
    }
}

/* Fix Slider Subtitle Color */
.hero-slide-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff !important;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* ========================================
   SAFETY OVERRIDES FOR RED COLORS
   ======================================== */
/* Buttons generic hover override */
.btn:hover,
button:hover,
input[type="submit"]:hover,
.elementor-button:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

.btn-secondary:hover {
    background-color: var(--secondary-light) !important;
    color: var(--dark) !important;
}

/* Swiper overrides */
.swiper-button-next:after,
.swiper-button-prev:after {
    color: var(--white) !important;
}

.swiper-pagination-bullet-active {
    background: var(--secondary) !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: transparent !important;
}

/* Social media hover override */
.social-icons a:hover,
.social-links a:hover,
.footer-social a:hover {
    color: var(--secondary) !important;
}

/* ========================================
   MEDIA CENTER & PRESS
   ======================================== */
.media-center-section {
    background-color: var(--white);
    padding: var(--section-padding) 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.media-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Media Image */
.media-image {
    display: block;
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--gray-100);
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-card:hover .media-image img {
    transform: scale(1.05);
}

.media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray-400);
}

/* Date Badge */
.media-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    color: var(--dark);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
}

/* Content */
.media-content {
    padding: 30px;
}

.media-title {
    font-size: 1.125rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.media-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.media-title a:hover {
    color: var(--primary);
}

.media-excerpt {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.media-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: gap 0.2s;
}

.media-link:hover {
    gap: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   COMPACT SERVICES DESIGN
   ======================================== */
.service-card.compact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    text-align: left;
}

.service-icon-compact {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.service-content-compact {
    flex: 1;
}

.service-card.compact-card .service-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.service-card.compact-card .service-excerpt {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-link-compact {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link-compact:hover {
    gap: 8px;
    color: var(--secondary-dark);
}

.service-card.compact-card:hover {
    transform: translateY(-5px);
}