/* 
 * İnşaat Theme - V3 High-End Traditional Corporate CSS
 */

:root {
    --primary: #1A365D;
    /* Deep Corporate Navy */
    --secondary: #2B6CB0;
    /* Brand Blue */
    --accent: #D69E2E;
    /* Muted Corporate Gold */
    --text-dark: #2D3748;
    --text-muted: #718096;
    --text-light: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-light: #F7FAFC;
    --bg-gray: #EDF2F7;
    --font-main: 'Inter', sans-serif;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Buttons (Polished & Elegant V3.2)
   ========================================================================== */
.btn-corporate-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(26, 54, 93, 0.85) 100%);
    color: var(--text-light);
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-corporate-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s;
}

.btn-corporate-primary:hover::before {
    left: 100%;
}

.btn-corporate-primary:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.3);
}

.btn-corporate-outline {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: var(--primary);
    padding: 12px 26px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    border-radius: 4px;
    transition: all 0.4s ease;
}

.btn-corporate-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.15);
}

.btn-corporate-outline i {
    transition: transform 0.3s;
}

.btn-corporate-outline:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   V4.0: Premium Header Top Bar
   ========================================================================== */
.top-bar-v4 {
    background-color: var(--primary);
    color: var(--bg-white);
    font-size: 0.85rem;
    padding: 10px 0;
}

.top-bar-inner-v4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left-v4 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tb-link {
    color: var(--bg-white);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tb-link i {
    color: var(--accent);
}

.tb-link:hover {
    color: var(--accent);
}

.tb-text {
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tb-text i {
    color: var(--accent);
}

.tb-divider {
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.2);
}

.social-links-v4 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links-v4 a {
    color: var(--bg-white);
    transition: all 0.3s ease;
}

.social-links-v4 a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* ==========================================================================
   V4.0: Premium Main Header
   ========================================================================== */
.site-header-v4 {
    background: var(--bg-white);
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1000;
}

.site-header-v4.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    animation: slideDownV4 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideDownV4 {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-inner-v4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.4s ease;
}

.site-header-v4.sticky-header .header-inner-v4 {
    height: 70px;
}

.site-branding-v4 img {
    max-height: 50px;
    width: auto;
    transition: max-height 0.4s ease;
}

.site-header-v4.sticky-header .site-branding-v4 img {
    max-height: 40px;
}

.site-title-v4 a {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.main-navigation-v4 {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    height: 100%;
}

.nav-menu-wrapper-v4 {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu-v4 {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-menu-v4>li {
    margin: 0 18px;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu-v4>li>a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.nav-menu-v4>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu-v4>li:hover>a {
    color: var(--accent);
}

.nav-menu-v4>li:hover>a::after {
    width: 100%;
}

/* V4 Dropdown Sub-menu */
.nav-menu-v4 .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--bg-white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--accent);
    list-style: none;
    z-index: 1000;
    padding: 15px 0;
    animation: fadeInV4 0.3s ease forwards;
    opacity: 0;
}

@keyframes fadeInV4 {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu-v4 li:hover>.sub-menu {
    display: block;
}

.nav-menu-v4 .sub-menu li {
    margin: 0;
    display: block;
}

.nav-menu-v4 .sub-menu a {
    padding: 12px 25px;
    font-size: 0.95rem;
    color: var(--text-dark);
    display: block;
    text-transform: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-menu-v4 .sub-menu li:last-child a {
    border-bottom: none;
}

.nav-menu-v4 .sub-menu a:hover {
    background: rgba(222, 172, 70, 0.05);
    color: var(--accent);
    padding-left: 30px;
}

/* Header V4 CTA & Lang */
.header-cta-v4 {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher-v4 {
    display: flex;
    align-items: center;
    padding-right: 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-flag {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.lang-flag img {
    width: 24px;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-header-v4 {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-header-v4 i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn-header-v4:hover i {
    transform: translateX(4px);
}

.menu-toggle-v4 {
    display: none;
}

/* --- V5 Desktop Navigation Styles --- */
.site-header-v5 {
    background: var(--bg-white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
}

.header-inner-v5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.main-navigation-desktop {
    margin: 0 40px;
}

.nav-menu-desktop {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu-desktop a {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu-desktop a:hover {
    color: var(--accent);
}

.header-right-v5 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header-cta-v5 {
    background: var(--accent);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(214, 158, 46, 0.2);
}

.btn-header-cta-v5:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .main-navigation-desktop {
        display: none !important;
    }
    .menu-toggle-v5 {
        display: block !important;
    }
}
@media (min-width: 992px) {
    .menu-toggle-v5 {
        display: none !important;
    }
    /* Hide duplicate Contact in horizontal menu */
    .nav-menu-desktop li:last-child {
        display: none !important;
    }
}

.menu-toggle-v5 {
    display: none;
    background: #f8fafc;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 1001;
    position: relative;
}

@media (max-width: 991px) {
    .menu-toggle-v5 {
        display: flex;
        margin-right: 15px; /* Add margin to prevent clipping */
    }
}

.menu-toggle-v4 {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}


/* ==========================================================================
   Hero Slider (UX/UI Optimized Corporate)
   ========================================================================== */
.hero-corporate {
    position: relative;
    height: 75vh;
    min-height: 550px;
    background-color: var(--primary);
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.swiper-slide.swiper-slide-corporate {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.swiper-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.swiper-slide-active .swiper-slide-bg {
    transform: scale(1);
}

.swiper-slide-corporate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 32, 55, 0.75) 0%, rgba(15, 32, 55, 0.2) 100%);
    z-index: 1;
}

.hero-corp-content {
    position: relative;
    z-index: 2;
    width: 100%;
    /* Let .container control max-width and margin:0 auto */
    text-align: left;
    color: var(--text-light);
}

.hero-corp-title {
    color: var(--text-light);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-corp-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0;
    max-width: 600px;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-btn-wrap {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.swiper-slide-active .hero-corp-title {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.swiper-slide-active .hero-corp-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}

.swiper-slide-active .hero-btn-wrap {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--bg-white);
    background: transparent;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-corp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title-corp {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title-corp::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.text-center .section-title-corp::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-corp-img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.about-corp-img:hover {
    transform: translateY(-5px);
}

.about-img-col {
    position: relative;
    padding: 20px;
}

/* Decorative frame behind the About image */
.about-img-col::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 90%;
    border: 3px solid var(--accent);
    border-radius: 4px;
    z-index: 1;
    transition: all 0.5s ease;
}

.about-img-col:hover::before {
    transform: translate(-10px, 10px);
}

/* ==========================================================================
   V3.7: Vision & Mission Section
   ========================================================================== */
.vision-mission-wrapper {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 40px;
    margin-top: 80px;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 60px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.vm-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.vm-divider {
    background: linear-gradient(to bottom, transparent, rgba(222, 172, 70, 0.4), transparent);
}

.vm-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.vm-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 800;
}

.vm-text {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .vision-mission-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 30px;
    }

    .vm-divider {
        height: 2px;
        width: 100%;
        background: linear-gradient(to right, transparent, rgba(222, 172, 70, 0.4), transparent);
    }

    .vm-box {
        padding: 0;
    }
}

/* ==========================================================================
   Services & Projects Grid
   ========================================================================== */
.corp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* --- V3.4 Advanced Premium Services Cards --- */
.service-advanced-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 380px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    text-align: left;
}

.service-advanced-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-adv-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    z-index: 1;
}

.service-advanced-card:hover .service-adv-img {
    transform: scale(1.08);
}

/* Base Gradient Overlay for Readability */
.service-adv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 32, 55, 0.95) 0%, rgba(15, 32, 55, 0.3) 50%, rgba(15, 32, 55, 0) 100%);
    z-index: 2;
    transition: background 0.5s ease;
}

.service-advanced-card:hover .service-adv-overlay {
    background: linear-gradient(to top, rgba(15, 32, 55, 0.98) 0%, rgba(15, 32, 55, 0.7) 100%);
}

.service-adv-content {
    position: relative;
    z-index: 3;
    padding: 30px 25px;
    width: 100%;
    transform: translateY(60px);
    /* Push details down */
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-advanced-card:hover .service-adv-content {
    transform: translateY(0);
    /* Slide up on hover */
}

.service-adv-title {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.service-adv-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.4s ease;
}

.service-advanced-card:hover .service-adv-title::after {
    width: 100%;
}

.service-adv-hidden {
    opacity: 0;
    transition: opacity 0.5s ease 0.1s;
}

.service-advanced-card:hover .service-adv-hidden {
    opacity: 1;
}

.service-adv-excerpt {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-adv-btn {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s;
}

.service-adv-btn::after {
    content: '\f30b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    transition: transform 0.3s;
}

.service-adv-btn:hover {
    color: var(--text-light);
}

.service-adv-btn:hover::after {
    transform: translateX(5px);
}

/* --- End V3.4 Advanced Services Cards --- */

/* --- Old Legacy Corp Card --- */
.corp-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--bg-gray);
}

.corp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.corp-icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.corp-icon-wrap i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.corp-card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.corp-card-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    margin-top: 1rem;
}

.corp-card-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.corp-card-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   V3.6 Projects Filter Grid (Masonry Style)
   ========================================================================== */
.projects-filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-color);
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(222, 172, 70, 0.3);
}

.projects-grid-v4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    /* Helps fill gaps horizontally */
    gap: 20px;
    margin-bottom: 50px;
}

.project-card-v4 {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    transform: scale(1);
}

/* Let the 'large' card span 2 rows and 2 columns */
.project-card-v4.large {
    grid-column: span 2;
    grid-row: span 2;
    height: 620px;
    /* 300px + 300px + 20px gap */
}

/* Filtering animation classes */
.project-card-v4.hide {
    display: none !important;
}

.proj-img-wrap-v4 {
    width: 100%;
    height: 100%;
    position: relative;
    background: #0f2037;
    /* Base color while image loads */
}

.proj-img-wrap-v4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card-v4:hover .proj-img-wrap-v4 img {
    transform: scale(1.08);
}

.proj-overlay-v4 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 32, 55, 0.9) 0%, rgba(15, 32, 55, 0.1) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px 25px;
    transition: background 0.4s ease;
}

.project-card-v4:hover .proj-overlay-v4 {
    background: linear-gradient(to top, rgba(15, 32, 55, 0.98) 0%, rgba(15, 32, 55, 0.4) 100%);
}

.proj-content-v4 {
    position: relative;
    z-index: 2;
    transform: translateY(15px);
    transition: transform 0.4s ease;
    width: 100%;
}

.project-card-v4:hover .proj-content-v4 {
    transform: translateY(0);
}

.proj-badge-v4 {
    display: inline-block;
    background: var(--accent);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.proj-title-v4 {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.project-card-v4.large .proj-title-v4 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.proj-loc-v4 {
    color: #cbd5e1;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
}

.proj-loc-v4 i {
    color: var(--accent);
    margin-right: 6px;
}

.project-card-v4:hover .proj-loc-v4 {
    opacity: 1;
}

/* Responsive Grid */
@media (max-width: 991px) {
    .projects-grid-v4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card-v4.large {
        grid-column: span 2;
        grid-row: span 1;
        height: 400px;
    }
}

@media (max-width: 767px) {
    .projects-grid-v4 {
        grid-template-columns: 1fr;
    }

    .project-card-v4.large,
    .project-card-v4 {
        grid-column: span 1;
        grid-row: span 1;
        height: 350px;
    }
}

/* ==========================================================================
   V3.8: Why Choose Us
   ========================================================================== */
.why-choose-us-corp {
    background: var(--bg-white);
}

.why-corp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-corp-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.why-corp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.why-corp-img:hover img {
    transform: scale(1.05);
}

.why-experience-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background: var(--primary);
    color: var(--text-light);
    padding: 30px 40px;
    border-top-left-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -10px -10px 30px rgba(0, 0, 0, 0.1);
}

.we-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 5px;
}

.we-text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-corp-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.why-features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.wf-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(222, 172, 70, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.why-feature-item:hover .wf-icon {
    background: var(--accent);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(222, 172, 70, 0.3);
}

.wf-text h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.wf-text p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   V3.9: Blog Loop Homepage
   ========================================================================== */
.blog-grid-corp {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-corp-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.blog-corp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-corp-card:hover .blog-img-wrap img {
    transform: scale(1.08);
}

.blog-date-badge {
    position: absolute;
    bottom: 0;
    left: 25px;
    background: var(--accent);
    color: var(--bg-white);
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.bd-day {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.bd-month {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
}

.blog-corp-content {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-meta a {
    color: var(--accent);
    text-decoration: none;
}

.blog-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--accent);
}

.blog-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
}

.blog-read-more i {
    margin-left: 8px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: var(--accent);
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .why-corp-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
/* ==========================================================================
   V4.0: Modern Premium Footer
   ========================================================================== */
.site-footer-corp {
    background-color: #0b1524;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 5rem;
    border-top: 3px solid var(--accent);
}

.footer-corp-grid-v4 {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-text {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-desc-text {
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-social-modern {
    display: flex;
    gap: 15px;
}

.footer-social-modern a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social-modern a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(222, 172, 70, 0.3);
}

.footer-corp-title-v4 {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-corp-title-v4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links-menu-v4,
.footer-contact-list-v4 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-menu-v4 li {
    margin-bottom: 12px;
}

.footer-links-menu-v4 a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links-menu-v4 a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.8rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links-menu-v4 a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-links-menu-v4 a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-list-v4 li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 15px;
}

.fc-icon {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 3px;
}

.fc-text,
.fc-text a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.fc-text a:hover {
    color: var(--accent);
}

.site-bottom-corp-v4 {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.site-bottom-flex p {
    margin: 0;
}

.developer-text span {
    color: var(--accent);
    font-weight: 600;
}

/* ==========================================================================
   V4.1: Internal Pages (Hero, Breadcrumbs, Subpages)
   ========================================================================== */
.page-hero-v4 {
    position: relative;
    padding: 8rem 0 5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: var(--bg-white);
    margin-bottom: 0;
}

.ph-overlay-v4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 21, 36, 0.8), rgba(11, 21, 36, 0.95));
    z-index: 1;
}

.ph-content-v4 {
    position: relative;
    z-index: 2;
}

.ph-title-v4 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--bg-white);
}

.breadcrumbs-v4 {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumbs-v4 a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs-v4 a:hover {
    color: var(--accent);
}

.bc-sep {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.bc-current {
    color: var(--accent);
    font-weight: 700;
}

.entry-content-v4 {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.entry-content-v4 img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

/* --- V4.2 Magazine & Editorial Typography (Drop-cap removed) --- */


.blockquote-v4 {
    position: relative;
    padding: 40px 50px;
    margin: 3rem 0;
    background: #fcfcfc;
    border-left: 5px solid var(--accent);
    border-radius: 0 10px 10px 0;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary);
    line-height: 1.8;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.blockquote-v4::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(222, 172, 70, 0.15);
    /* Accent with opacity */
    font-size: 4rem;
    z-index: 0;
}

.blockquote-v4 p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.text-columns-v4 {
    column-count: 2;
    column-gap: 3rem;
    column-rule: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .text-columns-v4 {
        column-count: 1;
        column-gap: 0;
        column-rule: none;
    }

    .blockquote-v4 {
        padding: 30px 20px;
        font-size: 1.2rem;
    }
}

/* --- V4.5 Premium "Hakkımızda" Layout (Tall Image Column) --- */
.about-tall-v4 {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 5rem;
}

.at-image-v4 {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 600px;
}

.at-image-v4 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 !important;
}

.at-text-v4 {
    padding-top: 10px;
}

.at-text-v4 h2 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.at-text-v4 h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.at-text-v4 p {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.vision-mission-v4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 5rem;
}

.vm-card-v4 {
    background: var(--primary);
    color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(11, 21, 36, 0.15);
    transition: transform 0.4s ease;
}

.vm-card-v4:hover {
    transform: translateY(-8px);
}

.vm-icon-v4 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.vm-card-v4 h3 {
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.vm-card-v4 p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0;
}

.about-values-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.av-item-v4 {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.av-item-v4:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(222, 172, 70, 0.3);
}

.av-icon-v4 {
    width: 80px;
    height: 80px;
    background: rgba(222, 172, 70, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.av-item-v4:hover .av-icon-v4 {
    background: var(--accent);
    color: var(--bg-white);
    transform: rotateY(180deg);
}

.av-item-v4 h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.av-item-v4 p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .about-tall-v4 {
        grid-template-columns: 1fr;
    }

    .at-image-v4 {
        min-height: 450px;
    }

    .vision-mission-v4 {
        grid-template-columns: 1fr;
    }
}

/* --- V4.6 Premium "İnsan Kaynakları" (HR) Layout --- */
.hr-intro-v4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 5rem;
}

.hi-text-v4 h2 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.hi-text-v4 h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.hi-text-v4 p {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hi-image-v4 {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hi-image-v4 img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 !important;
}

.hr-form-container-v4 {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    margin-top: 3rem;
}

.hr-form-container-v4 h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.hr-form-container-v4>p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.hr-form-grid-v4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.hr-form-group-v4 {
    display: flex;
    flex-direction: column;
}

.hr-form-group-v4 label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.hr-form-group-v4 input,
.hr-form-group-v4 select,
.hr-form-group-v4 textarea {
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fdfdfd;
    font-family: inherit;
    font-size: 1rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.hr-form-group-v4 input:focus,
.hr-form-group-v4 select:focus,
.hr-form-group-v4 textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(222, 172, 70, 0.1);
    background: var(--bg-white);
}

.hr-form-group-v4.full-width {
    grid-column: 1 / -1;
}

.hr-submit-btn-v4 {
    background: var(--primary);
    color: var(--bg-white);
    border: none;
    padding: 16px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.hr-submit-btn-v4:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(222, 172, 70, 0.2);
}

@media (max-width: 992px) {
    .hr-intro-v4 {
        grid-template-columns: 1fr;
    }

    .hr-form-grid-v4 {
        grid-template-columns: 1fr;
    }

    .hr-form-container-v4 {
        padding: 30px 20px;
    }
}

.subpages-container-v4 {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.subpages-title-v4 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 3rem;
    font-weight: 800;
}

.subpages-grid-v4-elegant {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.subpage-card-v4-elegant {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 40px 30px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.subpage-card-v4-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.subpage-card-v4-elegant:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.subpage-card-v4-elegant:hover::before {
    transform: scaleY(1);
}

.sc-icon-v4 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: color 0.4s ease;
}

.subpage-card-v4-elegant:hover .sc-icon-v4 {
    color: var(--accent);
}

.subpage-card-v4-elegant h4 {
    font-size: 1.35rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.sc-arrow-v4 {
    margin-top: auto;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    align-self: flex-start;
}

.subpage-card-v4-elegant:hover .sc-arrow-v4 {
    background: var(--accent);
    color: var(--bg-white);
    transform: translateX(10px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .about-corp-grid {
        grid-template-columns: 1fr;
    }

    .footer-corp-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   Comprehensive Responsive Fixes (V4.5 Premium)
   ========================================================================== */
@media (max-width: 991px) {
    .header-inner-v4 {
        height: 70px !important;
        justify-content: space-between !important;
    }

    .site-branding-v4 img {
        max-height: 40px !important;
    }

    .menu-toggle-v4 {
        display: block !important;
        order: 3;
    }

    .main-navigation-v4 {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: var(--bg-white) !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        padding: 20px 0 !important;
        z-index: 999 !important;
    }

    .main-navigation-v4.toggled {
        display: block !important;
    }

    .nav-menu-wrapper-v4 {
        height: auto !important;
        display: block !important;
    }

    .nav-menu-v4 {
        flex-direction: column !important;
        height: auto !important;
        align-items: center !important;
    }

    .nav-menu-v4 > li {
        margin: 15px 0 !important;
        height: auto !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .nav-menu-v4 > li > a {
        font-size: 1.1rem !important;
        padding: 10px !important;
    }

    .header-cta-v4 {
        display: none !important;
    }

    /* Submenu fixes for mobile */
    .nav-menu-v4 .sub-menu {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        border-top: none !important;
        background: #f8fafc !important;
        padding: 10px 0 !important;
        display: block !important; /* Always show or use JS to toggle */
        opacity: 1 !important;
        transform: none !important;
    }

    /* Hero & Content adjustments */
    .page-hero-v4 {
        padding: 5rem 0 3rem !important;
    }

    .ph-title-v4 {
        font-size: 2rem !important;
    }

    .about-tall-v4 {
        grid-template-columns: 1fr !important;
    }

    .at-image-v4 {
        min-height: 350px !important;
    }
}

@media (max-width: 768px) {
    .top-bar-corporate {
        display: none;
    }

    .menu-toggle-corporate, .menu-toggle-v4 {
        display: block;
    }

    .main-navigation-corporate, .main-navigation-v4 {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        box-shadow: var(--box-shadow);
        padding: 1rem 0;
        z-index: 99;
    }

    .main-navigation-corporate.toggled, .main-navigation-v4.toggled {
        display: block;
    }

    .nav-menu-corporate, .nav-menu-v4 {
        flex-direction: column;
        text-align: center;
        height: auto !important;
    }

    .nav-menu-corporate li, .nav-menu-v4 li {
        margin: 10px 0;
        height: auto !important;
        display: block !important;
    }

    .header-cta, .header-cta-v4 {
        display: none;
    }

    .hero-corporate {
        height: 50vh;
    }

    .footer-corp-grid {
        grid-template-columns: 1fr;
    }

    .top-bar-v4 {
        display: none !important;
    }
}

/* ==================== V4.1: VIDEO SECTION STYLES ==================== */
.video-section-v4 {
    background: #0f172a; /* Custom Dark Navy */
    position: relative;
    overflow: hidden;
}

.video-section-v4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(200, 159, 93, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.video-container-v4 {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.video-wrapper-v4 {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-wrapper-v4:hover {
    transform: scale(1.01);
}

.video-wrapper-v4 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.text-gold {
    color: #c89f5d !important;
}

@media (max-width: 768px) {
    .video-wrapper-v4 {
        border-radius: 12px;
    }
    .video-section-v4 {
        padding: 60px 0;
    }
}

/* --- Yellow Frame for About Video --- */
.video-yellow-frame {
    padding: 15px;
    background: #c89f5d; /* Mabeyn Gold/Yellow */
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(200, 159, 93, 0.3);
    position: relative;
    max-width: 100%; /* Fix mobile overflow */
}

.video-yellow-frame .video-wrapper-v4 {
    border-radius: 20px;
    border: none;
}

/* Fix mobile overflow for other elements */
@media (max-width: 768px) {
    .hero-form-wrapper-v4, 
    .inquiry-form-v4,
    .ap-content-v4 {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Ensure the about-tall grid doesn't break horizontal width */
    .about-tall-v4 {
        display: block !important;
        width: 100% !important;
        overflow: hidden;
    }

    /* Hide names on mobile top bar */
    .tb-name {
        display: none !important;
    }
}

/* ==================== V5: BURGER ICON CENTERING & STYLES ==================== */
.menu-toggle-v5 {
    display: none;
    background: #f8fafc;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 1001;
    position: relative;
    padding: 0; /* Important for alignment */
}

@media (max-width: 991px) {
    .menu-toggle-v5 {
        display: flex;
        margin-right: 15px;
    }
}

.burger-icon {
    width: 24px;
    height: 14px; /* Total height of the 2 lines + gap */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle-v5.toggled .burger-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle-v5.toggled .burger-icon span:nth-child(2) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==================== SPACING REFINEMENTS ==================== */
.btn-submit-v4, 
.btn-v4-submit, 
.btn-corporate-primary,
.btn-project-v4 {
    margin-top: 30px !important;
}

/* Ensure form buttons also have space */
.inquiry-form-v4 button,
.modern-form-v6 button,
.btn-submit-v4 {
    margin-top: 25px !important;
}

/* Add more space below headings and descriptions if needed */
.hero-desc-v4 {
    margin-bottom: 35px !important;
}

.at-text-v4 p {
    margin-bottom: 25px !important;
}

/* ==================== LOCATION TEASER GRID ==================== */
.location-teaser-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.lt-item-v4 {
    background: #fff;
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lt-item-v4:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(200, 159, 93, 0.15);
    border-color: #c89f5d;
}

.lt-item-v4 strong {
    display: block;
    font-size: 2.2rem;
    color: #c89f5d;
    margin-bottom: 8px;
    font-weight: 900;
    line-height: 1;
}

.lt-item-v4 span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Fix spacing for the outline button below location grid */
.btn-corporate-outline {
    margin-top: 50px !important;
}
