/*
Theme Name: Vertexx Enterprises Theme
Theme URI: https://vertexxenterprises.com
Author: Vertexx Enterprises LLP
Author URI: https://vertexxenterprises.com
Description: Custom WordPress theme for heavy infrastructure, excavation, aggregates, transportation, and RMC services.
Version: 1.0.0
Text Domain: vertexx
*/

/* --- CSS Custom Variables --- */
:root {
    --primary-orange: #f97316;
    --primary-orange-hover: #ea580c;
    --slate-dark: #0f172a;
    --slate-navy: #1e293b;
    --slate-light: #334155;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 5rem 0; }
.bg-white { background-color: var(--bg-white); }
.bg-dark { background-color: var(--slate-dark); color: #fff; }

/* --- Section Titles --- */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3.5rem auto;
}

.section-subtitle {
    color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--slate-dark);
    line-height: 1.25;
}

.bg-dark .section-title { color: #fff; }

.section-description {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 1.05rem;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--slate-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.brand-logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-md);
}

/* WordPress Nav Menu Styling */
.nav-menu {
    display: flex;
    gap: 1.15rem;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    gap: 1.15rem;
    align-items: center;
}

.nav-menu a {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.88rem;
    white-space: nowrap;
}

.nav-menu a:hover, 
.nav-menu .current-menu-item > a {
    color: var(--primary-orange);
}

.nav-cta {
    background-color: var(--primary-orange);
    color: #fff !important;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
}

.nav-cta:hover {
    background-color: var(--primary-orange-hover);
}

/* --- Hero Slider --- */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 82vh;
    min-height: 550px;
    background: var(--slate-dark);
}

.swiper { width: 100%; height: 100%; }

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    color: #fff;
}

.slide-badge {
    background: rgba(249, 115, 22, 0.2);
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.slide-title {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.slide-desc {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.btn-group { display: flex; gap: 1rem; }

.btn-primary {
    background-color: var(--primary-orange);
    color: #fff;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover { background-color: var(--primary-orange-hover); }

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.btn-secondary:hover { background-color: #fff; color: var(--slate-dark); }

.swiper-button-next, .swiper-button-prev {
    color: #fff;
    background: rgba(255,255,255,0.15);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 1.2rem; font-weight: bold; }
.swiper-pagination-bullet-active { background: var(--primary-orange) !important; width: 24px; border-radius: 4px; }

/* --- Stats Banner --- */
.stats-banner {
    background: var(--slate-navy);
    color: #fff;
    padding: 2.5rem 0;
    border-bottom: 3px solid var(--primary-orange);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-orange);
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-badge-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-orange);
    color: #fff;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.about-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-icon {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.08);
}

.service-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--slate-dark);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.service-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--slate-dark);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-orange);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* --- Process Grid --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-card {
    background: var(--slate-navy);
    padding: 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    border-top: 4px solid var(--primary-orange);
}

.process-step {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 15px;
    right: 20px;
}

.process-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.process-desc {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* --- Contact Section --- */
.contact-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info-side {
    background: var(--slate-dark);
    color: #fff;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(249, 115, 22, 0.15);
    color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-form-side { padding: 3.5rem; }

.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
}

/* --- Footer --- */
.site-footer {
    background: var(--slate-dark);
    color: #94a3b8;
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--slate-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links li { margin-bottom: 0.75rem; }
.footer-links a:hover { color: var(--primary-orange); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--slate-navy);
    padding-top: 2rem;
    font-size: 0.875rem;
}

@media (max-width: 992px) {
    .about-grid, .contact-cta-grid, .footer-grid { grid-template-columns: 1fr; }
    .slide-title { font-size: 2.25rem; }
}


/* About & Services Section Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img-rounded {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin: 20px 0 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-image-wrap {
    position: relative;
    height: 200px;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6600;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.card-content {
    padding: 20px;
}

.card-link {
    color: #ff6600;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}


/* Call to Action Banner Styles */
.cta-banner-section {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    text-align: center;
}

.cta-banner-content {
    max-width: 850px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    color: #ff6600;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-cta-phone {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-phone:hover {
    background: #ffffff;
    color: #0f172a !important;
}


/* Inner Page Header & Grid Layout */
.inner-page-header {
    background: #0f172a;
    padding: 50px 0 30px;
    color: #ffffff;
    border-bottom: 3px solid #ff6600;
}

.inner-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 5px;
    margin-bottom: 10px;
}

.inner-page-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin: 0;
}

.inner-page-wrapper {
    padding: 60px 0;
    background-color: #f8fafc;
}

.inner-page-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.inner-page-media {
    flex: 0 0 45%;
    max-width: 45%;
}

.sticky-media-wrap {
    position: sticky;
    top: 100px;
}

.inner-side-img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.inner-page-content-area {
    flex: 0 0 55%;
    max-width: 55%;
    background: #ffffff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 30px;
}

.entry-content h2, .entry-content h3 {
    color: #0f172a;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Page Call to Action Box */
.page-cta-box {
    background: #f1f5f9;
    border-left: 5px solid #ff6600;
    padding: 25px;
    border-radius: 6px;
    margin-top: 30px;
}

.page-cta-box h3 {
    font-size: 1.3rem;
    margin: 0 0 8px 0;
    color: #0f172a;
}

.page-cta-box p {
    margin: 0 0 18px 0;
    color: #475569;
    font-size: 0.95rem;
}

.page-cta-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-secondary-phone {
    background: #0f172a;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-secondary-phone:hover {
    background: #ff6600;
}

/* Mobile Responsive Breakpoint */
@media (max-width: 991px) {
    .inner-page-grid {
        flex-direction: column;
    }
    .inner-page-media, .inner-page-content-area {
        flex: 0 0 100%;
        max-width: 100%;
    }
}