/* ==========================================================================
   VENTURE FABRICATIONS - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-primary: #0b0f19;
    --bg-secondary: #131b2e;
    --bg-tertiary: #1e2942;
    --accent-orange: #198754;
    --accent-orange-hover: #146c43;
    --accent-orange-glow: rgba(25, 135, 84, 0.25);
    --accent-blue: #5a5b5d;
    --accent-blue-hover: #454648;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --glass-bg: rgba(19, 27, 46, 0.93);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --border-radius: 12px;
    --container-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-white);
    font-family: var(--font-primary);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

p {
    color: var(--text-muted);
}

/* Utilities & Common Layout Elements */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.py-120 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.bg-dark-secondary {
    background-color: #ffffff;
}

.text-center {
    text-align: center;
}

.align-center {
    align-items: center;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Section Headers */
.section-tag {
    display: inline-block;
    color: var(--accent-orange);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    position: relative;
    padding-left: 24px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 2px;
    background-color: var(--accent-orange);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 56px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-accent {
    background-color: var(--accent-orange);
    color: var(--text-white);
}

.btn-accent:hover {
    background-color: var(--accent-orange-hover);
    box-shadow: 0 0 20px var(--accent-orange-glow);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    background-color: transparent;
}

.btn-outline:hover {
    border-color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn i {
    margin-left: 8px;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--accent-orange);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 12px 0;
    background-color: #0b0f19;
    border-bottom: 2px solid var(--accent-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 64px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
    height: 38px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    gap: 22px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.08);
    transition: transform 6s ease-out;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.01);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.95) 0%, rgba(19, 27, 46, 0.75) 50%, rgba(11, 15, 25, 0.9) 100%);
    z-index: 3;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(11, 15, 25, 0.6);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
}

.slider-control:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 40px;
}

.slider-control.next {
    right: 40px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.slider-dot:hover,
.slider-dot.active {
    background-color: var(--accent-orange);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-control {
        display: none; /* Hide arrow controls on mobile to avoid clutter */
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding-top: 80px;
}

.hero-title {
    font-size: 3.75rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease forwards;
}

.highlight-text {
    background: linear-gradient(120deg, var(--accent-orange) 0%, #38b000 55%, #ccff33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    animation: fadeInUp 1s ease forwards;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-white);
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.1s ease forwards;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1.2s ease forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 1.5rem;
}

.hero-scroll-indicator a {
    color: var(--text-muted);
}

.hero-scroll-indicator a:hover {
    color: var(--accent-orange);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-description {
    font-size: 1.15rem;
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 24px;
}

.about-text {
    margin-bottom: 32px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.highlight-icon {
    font-size: 1.5rem;
    color: var(--accent-orange);
    background-color: rgba(249, 115, 22, 0.1);
    padding: 12px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.highlight-item h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 0.9rem;
}

.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.about-img {
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 2;
    position: relative;
    width: 85%;
    object-fit: cover;
    aspect-ratio: 4/3;
    border: 1px solid var(--glass-border);
}

.image-border {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 85%;
    height: 100%;
    border: 3px solid var(--accent-orange);
    border-radius: var(--border-radius);
    z-index: 1;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    left: 40px;
    background-color: var(--accent-orange);
    color: var(--text-white);
    padding: 20px 32px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--accent-orange-glow);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Services Section */
.cards-container {
    margin-top: 16px;
}

.service-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(249, 115, 22, 0.1);
}

.service-icon-wrapper {
    font-size: 2.25rem;
    color: var(--accent-orange);
    margin-bottom: 24px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
    color: var(--accent-blue);
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.service-text {
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.service-link i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

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

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* Why Choose Us Section */
.why-image-grid {
    position: relative;
    height: 480px;
}

.main-img-card {
    background-image: linear-gradient(rgba(11, 15, 25, 0.5), rgba(11, 15, 25, 0.8)), url('assets/about_img.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    height: 100%;
    width: 100%;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.why-card-glass {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background-color: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent-orange);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 15px 30px var(--glass-shadow);
}

.why-card-glass h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.why-card-glass p {
    font-size: 0.9rem;
    color: var(--text-white);
}

.why-subtitle-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.value-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.value-item {
    display: flex;
    gap: 24px;
}

.value-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    background-color: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.value-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.value-text p {
    font-size: 0.95rem;
}

/* Statistics Counter Section */
.bg-gradient-accent {
    background: linear-gradient(135deg, #1e2942 0%, #0f172a 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.counter-item {
    padding: 24px;
}

.counter-icon-box {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 16px;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.number-flex {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
}

.number-flex span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-orange);
    margin-left: 2px;
}

.counter-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-top: 8px;
}

/* Featured Projects Portfolio */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.filter-btn {
    background: none;
    border: 2px solid rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--text-white);
    border-color: var(--accent-orange);
    background-color: var(--accent-orange);
}

.projects-grid {
    transition: var(--transition-smooth);
}

.project-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--glass-border);
}

.project-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-item:hover img {
    transform: scale(1.08) translateZ(0);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.4) 60%, rgba(11, 15, 25, 0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 32px;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-cat {
    color: var(--accent-orange);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.project-item-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-white);
}

.project-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials-container {
    margin-top: 16px;
}

.testimonial-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.rating-stars {
    color: var(--accent-orange);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-white);
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.6;
}

.client-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-name {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.client-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Call to Action (CTA) */
.bg-gradient-dark {
    background: linear-gradient(135deg, #131b2e 0%, #0b0f19 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cta-box {
    max-width: 800px;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Contact Section */
.contact-subtitle {
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    font-size: 1.35rem;
    color: var(--accent-orange);
    background-color: rgba(249, 115, 22, 0.1);
    padding: 14px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(249, 115, 22, 0.2);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-item h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.contact-detail-item p,
.contact-detail-item a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-detail-item a:hover {
    color: var(--accent-orange);
}

.contact-form-block {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 1.6rem;
    margin-bottom: 32px;
}

.form-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    padding: 14px;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}

.form-group select option {
    background-color: var(--bg-secondary);
}

.error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #ef4444;
}

.form-group.invalid .error-msg {
    display: block;
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
    display: block;
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

/* Footer */
.main-footer {
    background-color: #060911;
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

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

.social-links a {
    background-color: var(--bg-secondary);
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.social-links a:hover {
    background-color: var(--accent-orange);
    color: var(--text-white);
    border-color: var(--accent-orange);
    box-shadow: 0 5px 15px var(--accent-orange-glow);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
}

.footer-links h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--accent-orange);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 6px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    background-color: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 6px;
    overflow: hidden;
}

.newsletter-form input {
    background: none;
    border: none;
    padding: 12px;
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    width: 100%;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background-color: var(--accent-orange);
    color: var(--text-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background-color: var(--accent-orange-hover);
}

.newsletter-status {
    display: block;
    font-size: 0.8rem;
    margin-top: 8px;
    text-align: left;
}

.newsletter-status.success {
    color: #4ade80;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--text-white);
}

/* Animations Trigger Classes (JS Linked) */
[data-animate] {
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="zoom-in"] {
    transform: scale(0.92);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .py-120 {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 1.35rem;
        margin-bottom: 16px;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 28px;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-image-wrapper {
        justify-content: center;
        margin-top: 40px;
    }

    .about-img,
    .image-border {
        width: 100%;
    }

    .image-border {
        left: 0;
        top: -15px;
    }

    .about-badge {
        left: 20px;
        bottom: -15px;
        padding: 16px 24px;
    }

    /* Header menu responsive */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 48px;
        gap: 24px;
        transition: var(--transition-smooth);
        z-index: 999;
        border-top: 1px solid var(--glass-border);
    }

    .main-header.scrolled .nav-menu {
        top: 64px;
        height: calc(100vh - 64px);
    }

    .nav-menu.open {
        left: 0;
    }

    .btn-header {
        display: none;
        /* Hide standard header button on small screen if menu button is more prominent, or keep it */
    }

    .header-actions .btn-header {
        display: inline-flex;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .why-image-grid {
        height: 360px;
    }

    .why-card-glass {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 20px;
    }

    .project-filters {
        flex-wrap: wrap;
    }

    .form-group-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .cta-actions {
        flex-direction: column;
        gap: 12px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-actions .btn-header {
        display: none;
        /* Hide on extremely small viewports to avoid layout break */
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .counter-number {
        font-size: 2.75rem;
    }
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */
.contact-page-body {
    background-color: var(--bg-primary);
}

.contact-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.96) 0%, rgba(19, 27, 46, 0.8) 55%, rgba(11, 15, 25, 0.95) 100%);
}

.contact-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-top: 120px;
    /* Offset for sticky header */
}

.glass-card {
    background-color: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Tablet & Mobile tweaks for contact page */
@media (max-width: 1024px) {
    .contact-hero-section {
        height: auto;
        min-height: 100vh;
        padding-bottom: 60px;
    }

    .contact-hero-content .grid-2 {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .contact-hero-content {
        padding-top: 100px;
    }

    .contact-info-block {
        text-align: center;
    }

    .contact-info-block .section-title {
        font-size: 2rem;
    }

    .contact-details-list {
        align-items: center;
        text-align: left;
    }

    .contact-detail-item {
        max-width: 450px;
        width: 100%;
    }
}

/* ==========================================================================
   EXPERTISE DETAILS PAGE STYLES
   ========================================================================== */
.detail-hero-section {
    position: relative;
    height: 45vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

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

.detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.95) 0%, rgba(19, 27, 46, 0.85) 100%);
}

.detail-hero-content {
    position: relative;
    z-index: 10;
    padding-top: 80px;
    /* Offset for sticky header */
}

.detail-hero-title {
    font-size: 3rem;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.detail-hero-subtitle {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
}

.detail-img {
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.detail-section-title {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.detail-text-desc {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.specs-table-wrapper {
    margin-top: 36px;
    margin-bottom: 36px;
}

.specs-table-wrapper h3,
.detail-benefits h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 0;
    font-size: 0.95rem;
}

.specs-table td:first-child {
    color: var(--accent-orange);
    font-weight: 600;
    width: 40%;
}

.specs-table td:last-child {
    color: var(--text-white);
}

.detail-benefits {
    margin-bottom: 36px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.benefits-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--accent-orange);
    font-size: 1.1rem;
}

.mt-32 {
    margin-top: 32px;
}

/* Tablet & Mobile Tweaks for details pages */
@media (max-width: 768px) {
    .detail-hero-title {
        font-size: 2rem;
    }

    .detail-hero-subtitle {
        font-size: 1rem;
    }

    .detail-section-title {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   NAVIGATION DROPDOWN MENU
   ========================================================================== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-arrow {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.dropdown:hover .nav-arrow {
    transform: rotate(180deg);
    color: var(--accent-orange);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-secondary);
    min-width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 12px 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, visibility 0.3s;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 10px 24px;
    font-size: 0.88rem;
    font-family: var(--font-primary);
    color: var(--text-muted);
    font-weight: 500;
    text-align: left;
    transition: var(--transition-smooth);
    border-left: 2px solid transparent;
}

.dropdown-content a:hover {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.04);
    border-left-color: var(--accent-orange);
    padding-left: 28px;
}

/* Responsive drop down menu on mobile/tablets */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-toggle {
        justify-content: center;
    }

    .dropdown-content {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        /* toggle via active class */
        background-color: rgba(255, 255, 255, 0.02);
        box-shadow: none;
        border: none;
        width: 100%;
        padding: 8px 0;
        margin-top: 8px;
        border-radius: 8px;
        text-align: center;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown.active .nav-arrow {
        transform: rotate(180deg);
        color: var(--accent-orange);
    }

    .dropdown-content a {
        padding: 10px 20px;
        font-size: 0.9rem;
        text-align: center;
        border-left: none;
    }

    .dropdown-content a:hover {
        padding-left: 20px;
        background-color: rgba(255, 255, 255, 0.05);
    }
}

/* Project Case Study Page & Lightbox Gallery Styles */
.project-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-img-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: var(--transition-smooth);
}

.gallery-img-wrapper:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.3);
}

.gallery-img-wrapper:hover img {
    transform: scale(1.08) translateZ(0);
}

.gallery-hover-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-hover-icon i {
    font-size: 2rem;
    color: var(--text-white);
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.gallery-img-wrapper:hover .gallery-hover-icon {
    opacity: 1;
}

.gallery-img-wrapper:hover .gallery-hover-icon i {
    transform: scale(1);
}

/* Project Specs Card */
.project-specs-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--glass-shadow);
    position: sticky;
    top: 100px;
}

.project-specs-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-orange);
}

.specs-list {
    list-style: none;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list li strong {
    color: var(--text-muted);
    font-weight: 500;
}

.specs-list li span {
    color: var(--text-white);
    font-weight: 600;
    text-align: right;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--text-white);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.lightbox-nav:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--text-white);
    box-shadow: 0 0 15px var(--accent-orange-glow);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

@media (max-width: 1024px) {
    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-specs-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 20px;
        top: auto;
        bottom: -70px;
        transform: none;
    }

    .lightbox-next {
        right: 20px;
        top: auto;
        bottom: -70px;
        transform: none;
    }

    .lightbox-close {
        top: -60px;
        right: 10px;
    }
}

/* Top Utility Bar & Footer Contact Info */
.top-bar {
    background-color: #080b12;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    height: 40px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-contact a {
    color: var(--text-muted);
    margin-right: 24px;
    font-weight: 500;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.top-bar-contact a i {
    color: var(--accent-orange);
    margin-right: 8px;
}

.top-bar-contact a:hover {
    color: var(--text-white);
}

.top-bar-office {
    color: var(--text-muted);
    font-weight: 500;
}

.top-bar-office strong {
    color: var(--accent-orange);
}

/* Adjust main header when top bar is present */
.main-header {
    top: 40px;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    top: 40px;
}

/* Footer contact overrides */
.footer-contact-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-orange);
}

.footer-contact-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.6;
}

.footer-contact-info p i {
    color: var(--accent-orange);
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.footer-contact-info a {
    color: var(--text-muted);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer-contact-info a:hover {
    color: var(--text-white);
}

@media (max-width: 992px) {
    .top-bar {
        display: none;
    }

    .main-header {
        top: 0;
    }

    .main-header.scrolled {
        top: 0;
    }
}

/* Alternating Section Heading Colors for Local rhythm */
section:nth-of-type(even) .section-title {
    color: var(--accent-orange); /* Brand Green */
}

section:nth-of-type(odd) .section-title {
    color: var(--text-dark); /* Dark Slate */
}

/* Override for Dark sections */
.hero-banner .section-title,
.hero-banner .hero-title,
.cta-section .section-title,
.detail-hero-section .detail-hero-title {
    color: var(--text-white) !important;
}

/* Alternating Project Card Category Font Colors */
.project-item:nth-of-type(even) .project-cat {
    color: var(--accent-orange); /* Brand Green */
}

.project-item:nth-of-type(odd) .project-cat {
    color: var(--accent-blue); /* Secondary Slate/Blue */
}