/* ==========================================================================
   Irwin Contracting - Premium Stylesheet
   ========================================================================== */

/* Design System & Root Variables */
:root {
    --color-bg-dark: #0a0a0a;
    --color-bg-card: #141414;
    --color-primary-red: #c91c1c;
    --color-primary-red-hover: #e21b1b;
    --color-text-white: #ffffff;
    --color-text-gray: #b0b0b0;
    --color-text-muted: #707070;
    --font-primary: 'Montserrat', sans-serif;
    --header-height: 90px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-dark);
    font-family: var(--font-primary);
    color: var(--color-text-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 5px;
    border: 2px solid var(--color-bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-red);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: var(--transition-smooth);
}

/* Header container padding logic matches the mockup */
.header-container {
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding: 0 0 0 40px; /* Right padding is 0 because the phone CTA goes to the edge */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    height: 50px;
    position: relative;
    width: 320px;
}

.header-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 10;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: auto;
    margin-right: 40px;
    gap: 35px;
}

.nav-item {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-white);
    text-decoration: none;
    letter-spacing: 1.5px;
    position: relative;
    padding: 10px 0;
    transition: var(--transition-fast);
}

.nav-item:hover {
    color: var(--color-primary-red-hover);
}

/* Red underline indicator for active/hover state */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-red);
    transition: var(--transition-smooth);
}

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

/* CTA Phone Button block (spans full header height) */
.header-cta {
    height: 100%;
}

.phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 45px;
    background-color: var(--color-primary-red);
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    gap: 15px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.phone-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

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

.phone-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Glowing background effect for phone CTA on hover */
.phone-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: 0.6s;
}

.phone-btn:hover::before {
    left: 100%;
}

.mobile-phone-btn {
    display: none;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    margin-right: 20px;
    transition: var(--transition-fast);
}

.mobile-toggle:hover {
    color: var(--color-primary-red);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
    margin-top: 0; /* Starts under fixed header, padding-top will offset */
    padding-top: var(--header-height);
    background-color: #050505;
}

/* Shared full-screen background image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Left Content Panel (clipped) */
.hero-left {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    min-height: calc(800px - var(--header-height));
    z-index: 5;
    clip-path: polygon(0 0, 38vw 0, 56vw 100%, 0 100%);
    overflow: hidden;
}

.hero-left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient overlay to make text highly readable */
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.98) 0%, rgba(12, 12, 12, 0.93) 60%, rgba(15, 15, 15, 0.88) 100%);
    z-index: 1;
}

.hero-left-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 80px 32% 80px 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Right Content Panel (clipped) */
.hero-right {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    min-height: calc(800px - var(--header-height));
    z-index: 2;
    clip-path: polygon(38vw 0, 100% 0, 100% 100%, 56vw 100%);
    overflow: hidden;
}

.hero-right-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle dark overlay to let the beautiful deck image pop but remain premium */
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.5) 0%, rgba(5, 5, 5, 0.25) 100%);
    z-index: 1;
}

.hero-right-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 80px 10% 80px 8%;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align the logo card to the right side */
}

/* The Glowing Crimson Dividing Line */
.hero-divider {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    min-height: calc(800px - var(--header-height));
    z-index: 6;
    background-color: var(--color-primary-red);
    /* Clip a 3px thin diagonal band */
    clip-path: polygon(38vw 0, calc(38vw + 3px) 0, calc(56vw + 3px) 100%, 56vw 100%);
    pointer-events: none;
    box-shadow: 0 0 15px var(--color-primary-red);
    animation: dividerGlow 4s ease-in-out infinite alternate;
}

/* ==========================================================================
   Hero Content Typography & Buttons
   ========================================================================== */
.hero-title {
    font-size: clamp(2rem, 3.6vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

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

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

.hero-desc {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text-gray);
    max-width: 500px;
    margin-bottom: 45px;
}

/* CTA Buttons Layout */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 70px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 38px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    gap: 12px;
}

.btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary-red);
    color: var(--color-text-white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--color-primary-red-hover);
    box-shadow: 0 8px 25px rgba(201, 28, 28, 0.4);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-white);
}

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

/* ==========================================================================
   Trust / Benefit Badges
   ========================================================================== */
.hero-benefits {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 25px;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
    max-width: 750px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 20px;
    color: var(--color-primary-red);
}

.benefit-text {
    display: flex;
    flex-direction: column;
}

.benefit-text .label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--color-text-white);
    line-height: 1.2;
}

.benefit-text .sub-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-gray);
    line-height: 1.2;
}

/* ==========================================================================
   Right Panel - 3D Metallic Card & Logo
   ========================================================================== */
/* Right Panel - (Logo and card styling removed as requested) */

/* ==========================================================================
   Animations & Transitions
   ========================================================================== */

/* Animation Utility Classes */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes dividerGlow {
    0% {
        filter: drop-shadow(0 0 3px rgba(201, 28, 28, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(201, 28, 28, 0.95));
    }
}

/* ==========================================================================
   Responsive Design Media Queries
   ========================================================================== */

/* Ultra-wide Desktops (adjust spacing to scale layout cleanly) */
@media (min-width: 1600px) {
    .hero-title {
        font-size: 4.5rem;
    }
    .hero-desc {
        font-size: 1.25rem;
        max-width: 600px;
    }
    .hero-benefits {
        max-width: 850px;
        gap: 40px;
    }
}

/* Laptops / Smaller Desktops */
@media (max-width: 1399px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .metallic-card {
        padding: 20px;
        max-width: 420px;
        max-height: 420px;
    }
}

/* Tablets (landscape) */
@media (max-width: 1199px) {
    .header-container {
        padding-left: 20px;
    }
    .phone-btn {
        padding: 0 30px;
        font-size: 16px;
    }
    .nav-menu {
        gap: 20px;
        margin-right: 20px;
    }
    .hero-left {
        clip-path: polygon(0 0, 48vw 0, 60vw 100%, 0 100%);
    }
    .hero-right {
        clip-path: polygon(48vw 0, 100% 0, 100% 100%, 60vw 100%);
    }
    .hero-divider {
        clip-path: polygon(48vw 0, calc(48vw + 3px) 0, calc(60vw + 3px) 100%, 60vw 100%);
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

/* Stacked Layout: Tablets (portrait) & Mobiles */
@media (max-width: 991px) {
    .header {
        height: 80px;
    }
    .header-container {
        padding-right: 0px;
    }
    .logo-wrapper {
        width: 300px;
        height: 40px;
    }
    .header-logo {
        height: 105px;
    }
    .mobile-toggle {
        display: block;
    }
    
    /* Navigation drawer overlay */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-bg-dark);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 60px;
        gap: 40px;
        margin: 0;
        transition: var(--transition-smooth);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu.nav-active {
        left: 0;
    }

    .mobile-phone-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-primary-red);
        color: var(--color-text-white);
        text-decoration: none;
        font-weight: 700;
        font-size: 16px;
        padding: 15px 30px;
        width: 80%;
        max-width: 300px;
        border-radius: 4px;
        gap: 12px;
        margin-top: 20px;
        transition: var(--transition-smooth);
    }

    .mobile-phone-btn:hover {
        background-color: var(--color-primary-red-hover);
    }

    .nav-item {
        font-size: 18px;
    }
    
    .header-cta {
        display: none; /* Hide top phone button, or show secondary in drawer */
    }

    /* Transform Hero to Stacked View */
    .hero-section {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding-top: 80px;
        overflow: visible;
    }

    .hero-bg {
        display: none;
    }

    /* Left Panel stacked below the photo */
    .hero-left {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
        min-height: auto;
        clip-path: none;
        padding: 60px 30px 40px;
        order: 2;
        background-color: var(--color-bg-dark);
    }

    .hero-left-overlay {
        display: none;
    }

    .hero-left-content {
        padding: 0;
    }

    .hero-title {
        font-size: 2.8rem;
        text-align: center;
    }

    .hero-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-benefits {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        margin: 0 auto;
        width: 100%;
    }

    /* Hide diagonal divider in stacked mode */
    .hero-divider {
        display: none;
    }

    /* Right Panel stacked on top (photo) */
    .hero-right {
        position: relative;
        top: 0;
        width: 100%;
        height: 420px;
        min-height: auto;
        clip-path: none;
        padding: 0;
        order: 1;
        background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1920&q=80');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-right-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    }

    .hero-right-content {
        padding: 0;
        justify-content: center;
    }

    .metallic-card-wrapper {
        margin-right: 0;
        width: 100%;
        max-width: 400px;
    }

    .metallic-card {
        max-width: 100%;
        max-height: 400px;
    }
}

/* Small Mobiles */
@media (max-width: 575px) {
    .logo-wrapper {
        width: 240px;
        height: 35px;
    }
    .header-logo {
        height: 82px;
    }
    .hero-left {
        padding: 40px 20px 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 16px 20px;
    }

    .hero-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
        padding-top: 30px;
    }
    
    .benefit-item {
        border-bottom: none;
        padding-bottom: 0;
    }

    .hero-right {
        padding: 0;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    background-color: #080808;
    position: relative;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-width: 1920px;
    margin: 0 auto;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 650px;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    position: relative;
}

.about-heading .accent-line {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary-red);
    margin-top: 12px;
}

.about-text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--color-text-gray);
    margin-bottom: 50px;
}

.about-badges {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
    gap: 15px;
}

.about-badge-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 10px;
    transition: var(--transition-smooth);
}

.about-badge-item:last-child {
    border-right: none;
}

.about-badge-item .badge-icon-wrapper {
    font-size: 32px;
    color: var(--color-primary-red);
    margin-bottom: 18px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.about-badge-item .badge-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.about-badge-item .badge-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-gray);
    line-height: 1.3;
    white-space: nowrap;
}

/* About Hover Effects */
.about-badge-item:hover {
    transform: translateY(-5px);
}

.about-badge-item:hover .badge-icon-wrapper {
    color: var(--color-primary-red-hover);
    transform: scale(1.1);
}

.about-badge-item:hover .badge-title {
    color: var(--color-primary-red);
}

/* ==========================================================================
   About Section Responsive Media Queries
   ========================================================================== */

@media (max-width: 1199px) {
    .about-heading {
        font-size: 1.8rem;
    }
    .about-text {
        font-size: 1rem;
        margin-bottom: 35px;
    }
    .about-badge-item .badge-title {
        font-size: 12px;
    }
    .about-badge-item .badge-subtitle {
        font-size: 10px;
    }
}

@media (max-width: 991px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-image-wrapper {
        height: 420px;
        min-height: auto;
    }
    .about-content {
        padding: 60px 40px;
    }
    .about-badges {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 15px;
    }
    .about-badge-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 20px;
    }
    .about-badge-item:nth-child(4),
    .about-badge-item:nth-child(5) {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 650px) {
    .about-badges {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-badge-item:nth-child(3) {
        border-bottom: none;
        padding-bottom: 0;
    }
    .about-badge-item:nth-child(4),
    .about-badge-item:nth-child(5) {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    .about-content {
        padding: 50px 20px;
    }
    .about-badges {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-badge-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 15px;
    }
    .about-badge-item:last-child {
        border-bottom: none;
    }
}

/* Scroll-triggered animations base states */
.scroll-trigger {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-trigger.fade-in-left {
    transform: translateX(-60px);
}

.scroll-trigger.fade-in-right {
    transform: translateX(60px);
}

.scroll-trigger.fade-in-up {
    transform: translateY(40px);
}

/* Activated state trigger */
.scroll-trigger.animated {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    background-color: var(--color-bg-dark);
    padding: 100px 4%;
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-container {
    max-width: 1920px;
    margin: 0 auto;
}

.services-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 50px;
    letter-spacing: -0.5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-heading .accent-line {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary-red);
    margin-top: 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

.service-card {
    background: linear-gradient(145deg, #121212 0%, #0c0c0c 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    aspect-ratio: 1 / 1;
    transition: var(--transition-smooth);
}

.service-icon-wrapper {
    font-size: 28px;
    color: var(--color-primary-red);
    margin-bottom: 15px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-white);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Service Card Hover States */
.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 28, 28, 0.4);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(201, 28, 28, 0.1);
}

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

/* ==========================================================================
   Services Responsive Media Queries
   ========================================================================== */

@media (max-width: 1599px) {
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .service-card {
        padding: 25px 10px;
    }
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .services-section {
        padding: 80px 30px;
    }
    .services-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 650px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .service-card {
        padding: 20px 10px;
    }
    .service-title {
        font-size: 12px;
    }
    .service-icon-wrapper {
        font-size: 24px;
        margin-bottom: 10px;
    }
}

@media (max-width: 400px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-section {
    background-color: #080808; /* Alternating section backgrounds */
    padding: 100px 4%;
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.why-container {
    max-width: 1920px;
    margin: 0 auto;
}

.why-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 50px;
    letter-spacing: -0.5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-heading .accent-line {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary-red);
    margin-top: 12px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.why-card {
    background: linear-gradient(145deg, #121212 0%, #0c0c0c 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.why-card .why-icon-wrapper {
    font-size: 32px;
    color: var(--color-primary-red);
    margin-bottom: 20px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.why-card-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.why-card-desc {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text-gray);
}

/* Why Card Hover States */
.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 28, 28, 0.4);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(201, 28, 28, 0.1);
}

.why-card:hover .why-icon-wrapper {
    color: var(--color-primary-red-hover);
    transform: scale(1.1);
}

.why-card:hover .why-card-title {
    color: var(--color-primary-red);
}

/* ==========================================================================
   Why Choose Us Responsive Media Queries
   ========================================================================== */

@media (max-width: 1399px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .why-section {
        padding: 80px 30px;
    }
    .why-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 575px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        margin: 0 auto;
        gap: 12px;
    }
    .why-card {
        padding: 20px 10px;
    }
    .why-card .why-icon-wrapper {
        font-size: 24px;
        margin-bottom: 12px;
        height: 35px;
    }
    .why-card-title {
        font-size: 11px;
        margin-bottom: 10px;
    }
    .why-card-desc {
        font-size: 10px;
        line-height: 1.4;
    }
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-section {
    background-color: var(--color-bg-dark); /* Alternating backgrounds */
    padding: 100px 4%;
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.projects-container {
    max-width: 1920px;
    margin: 0 auto;
}

.projects-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 50px;
    letter-spacing: -0.5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects-heading .accent-line {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary-red);
    margin-top: 12px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 55px;
}

.project-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Dark Red Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(201, 28, 28, 0.85); /* Semi-transparent red */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 10px;
    padding: 20px;
}

.project-overlay i {
    font-size: 32px;
    color: var(--color-text-white);
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
    text-align: center;
}

/* Hover Project Card Animations */
.project-card:hover .project-image {
    transform: scale(1.08);
}

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

.project-card:hover .project-overlay i,
.project-card:hover .project-overlay-title {
    transform: translateY(0);
}

/* View More Button Alignment */
.projects-cta {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   Projects Responsive Media Queries
   ========================================================================== */

@media (max-width: 1399px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 991px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects-section {
        padding: 80px 30px;
    }
    .projects-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 575px) {
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto 35px;
    }
    .project-card {
        aspect-ratio: 4 / 3;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    background-color: #080808; /* Alternating section backgrounds */
    padding: 100px 4%;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Left Column: Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-heading .accent-line {
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary-red);
    margin-top: 12px;
}

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

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

.contact-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background: rgba(201, 28, 28, 0.1);
    color: var(--color-primary-red);
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.contact-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-white);
    letter-spacing: 0.2px;
}

.contact-link {
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-primary-red);
}

.contact-item:hover .contact-icon-wrapper {
    background-color: var(--color-primary-red);
    color: var(--color-text-white);
    transform: translateY(-2px);
}

/* Right Column: Contact Form */
.contact-form-container {
    position: relative;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-form.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-family: var(--font-primary);
    color: var(--color-text-white);
    font-size: 13px;
    font-weight: 600;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6a6a6a;
    font-weight: 500;
}

/* Input Focus States */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary-red);
    background-color: #1e1e1e;
    box-shadow: 0 0 15px rgba(201, 28, 28, 0.15);
}

/* Dropdown Wrapper & Styling */
.select-wrapper {
    position: relative;
    width: 100%;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 50px;
}

.form-group select:invalid {
    color: #6a6a6a;
}

.form-group select option {
    background-color: #161616;
    color: var(--color-text-white);
    padding: 10px;
}

.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6a6a6a;
    font-size: 12px;
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-group select:focus + .select-arrow {
    color: var(--color-primary-red);
    transform: translateY(-50%) rotate(180deg);
}

/* Validation Style */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #c91c1c;
    box-shadow: 0 0 10px rgba(201, 28, 28, 0.2);
}

.form-group textarea {
    resize: none;
}

/* Submit Button styling */
.btn-submit {
    width: 100%;
    background-color: var(--color-primary-red);
    color: var(--color-text-white);
    border: none;
    border-radius: 4px;
    padding: 18px 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background-color: var(--color-primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 28, 28, 0.25);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit.loading span {
    opacity: 0;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: var(--color-text-white);
    border-radius: 50%;
    animation: button-spinner 0.6s linear infinite;
}

@keyframes button-spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Success Message styling */
.form-success-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(100% - 80px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-message.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.success-icon {
    font-size: 56px;
    color: var(--color-primary-red);
    margin-bottom: 20px;
    animation: success-pulse 1.5s infinite ease-in-out;
}

@keyframes success-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
        text-shadow: 0 0 15px rgba(201, 28, 28, 0.4);
    }
}

.form-success-message h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.form-success-message p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text-gray);
    max-width: 320px;
}

/* ==========================================================================
   Contact Responsive Media Queries
   ========================================================================== */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-section {
        padding: 80px 30px;
    }
    .contact-heading {
        font-size: 1.8rem;
        align-items: center;
        text-align: center;
    }
    .contact-heading .accent-line {
        margin-top: 10px;
    }
    .contact-info {
        align-items: center;
    }
    .contact-details {
        align-items: flex-start;
        max-width: 400px;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .contact-form-container {
        padding: 30px 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Shake animation for validation feedback */
.contact-form.shake {
    animation: form-shake 0.5s ease;
}

@keyframes form-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background-color: #050505;
    padding: 80px 4% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-white);
    width: 100%;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    color: var(--color-text-white);
}

.footer-logo .red-text {
    color: var(--color-primary-red);
}

.brand-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text-gray);
    margin-bottom: 25px;
    font-weight: 500;
}

.footer-abn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.footer-abn i {
    color: var(--color-primary-red);
}

.footer-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--color-primary-red);
    padding-bottom: 8px;
    width: fit-content;
    text-transform: uppercase;
}

.footer-links,
.footer-contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--color-text-gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-primary-red);
    transform: translateX(5px);
}

.footer-contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--color-text-gray);
    font-weight: 600;
}

.footer-contact-details li i {
    color: var(--color-primary-red);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-details li a {
    color: var(--color-text-gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.hours-title {
    margin-top: 30px;
}

.hours-text {
    font-size: 13px;
    color: var(--color-text-gray);
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.copyright-text {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 600;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-gray);
    font-size: 13px;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--color-primary-red);
    color: var(--color-text-white);
    transform: translateY(-3px) rotate(360deg);
    border-color: var(--color-primary-red);
    box-shadow: 0 5px 15px rgba(201, 28, 28, 0.3);
}

/* ==========================================================================
   Footer Responsive Media Queries
   ========================================================================== */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .brand-col {
        grid-column: span 2;
    }
    .footer {
        padding: 60px 30px 30px;
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .brand-col {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    background-color: var(--color-bg-dark); /* Alternating backgrounds */
    padding: 100px 4%;
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 50px;
    letter-spacing: -0.5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-heading .accent-line {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary-red);
    margin-top: 12px;
}

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

.testimonial-card {
    position: relative;
    background: linear-gradient(145deg, #121212 0%, #0c0c0c 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 28, 28, 0.4);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(201, 28, 28, 0.1);
}

.card-quote-icon {
    position: absolute;
    right: 35px;
    top: 30px;
    font-size: 55px;
    color: rgba(201, 28, 28, 0.05);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.testimonial-card:hover .card-quote-icon {
    color: rgba(201, 28, 28, 0.1);
    transform: scale(1.08);
}

.star-rating {
    display: flex;
    gap: 4px;
    color: var(--color-primary-red);
    margin-bottom: 20px;
    font-size: 13px;
}

.star-rating i {
    text-shadow: 0 0 5px rgba(201, 28, 28, 0.2);
}

.testimonial-quote {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-text-gray);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 3px;
}

.author-location {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Testimonials Responsive Media Queries
   ========================================================================== */
@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    .testimonials-section {
        padding: 80px 30px;
    }
    .testimonials-heading {
        font-size: 1.8rem;
    }
    .testimonial-card {
        padding: 30px 25px;
    }
}





