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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #141B2C;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background-color: #CF142B;
    color: white;
    padding: 4px 0;
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.top-bar-content {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.top-bar-text {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 28px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(20, 27, 44, 0.1);
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    width: 100%;
}

.nav-logo {
    flex-shrink: 0;
    margin: 0;
    padding-left: 10px;
}

.nav-logo .logo {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0;
    padding: 0 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #141B2C;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link:hover {
    color: #CF142B;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #CF142B;
    transition: width 0.3s ease;
}

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

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.arrow {
    font-size: 0.8rem;
    margin-left: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #141B2C;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background-color: #f8f9fa;
    color: #CF142B;
    border-left-color: #CF142B;
}

/* Contact Button */
.nav-actions {
    flex-shrink: 0;
    margin: 0;
    padding-right: 10px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #CF142B;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid #CF142B;
    white-space: nowrap;
}

.contact-btn:hover {
    background-color: #B01224;
    border-color: #B01224;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 20, 43, 0.3);
}

.phone-icon,
.contact-btn i {
    width: 20px;
    height: 20px;
    object-fit: contain;
    font-size: 18px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #141B2C;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 27, 44, 0.35);
    z-index: 1;
}

.hero-content {
    text-align: left;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
    margin-left: 5%;
    margin-right: auto;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #CF142B;
    color: white;
    border-color: #CF142B;
}

.btn-primary:hover {
    background-color: #B01224;
    border-color: #B01224;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 20, 43, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #141B2C;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #141B2C;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.anniversary-logo {
    margin: 2rem 0;
    text-align: center;
}

.anniversary-image {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #CF142B;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.portfolio-item:hover .portfolio-placeholder {
    background: linear-gradient(135deg, #CF142B 0%, #B01224 100%);
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-placeholder h4 {
    color: white;
    transform: translateY(-2px);
}

.portfolio-item:hover .portfolio-placeholder p {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.portfolio-link {
    cursor: pointer;
}

.portfolio-placeholder {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #141B2C 0%, #1a2332 100%);
    color: white;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.portfolio-placeholder h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.portfolio-placeholder p {
    opacity: 0.9;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #666;
}

.contact-item strong {
    color: #141B2C;
    font-weight: 600;
}

.contact-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #CF142B;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #141B2C;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: #CF142B;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-logo .logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #CF142B;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: #CF142B;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 15px 5px;
    }
    
    .nav-menu {
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .top-bar-content {
        padding: 0 15px;
    }
    
    .top-bar-left,
    .top-bar-right {
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }
    
    .navbar {
        top: 0 !important;
        position: fixed;
    }
    
    /* Fix mobile navbar spacing issues */
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Ensure hero section starts at top on mobile */
    .hero {
        margin-top: 0 !important;
        padding-top: 80px;
    }
    
    .service-hero {
        margin-top: 0;
        padding-top: 80px;
        background: #141B2C !important;
    }
    
    body {
        padding-top: 0;
    }
    
    /* Ensure no top spacing on mobile */
    .service-hero,
    .hero-section,
    .service-overview,
    .benefits-section,
    .capabilities-section,
    .industries-served,
    .why-choose-us,
    .cta-section {
        margin-top: 0;
    }
    
    /* Mobile hero backgrounds - solid dark blue */
    .service-hero,
    .team-hero,
    .bids-hero,
    .safety-hero,
    .story-hero {
        background: #141B2C !important;
        background-image: none !important;
        background-gradient: none !important;
    }
    
    /* Center hero text on mobile only */
    .hero-content {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 2 !important;
    }
    
    .hero-text {
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    
    .hero-title {
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero-subtitle {
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        margin: 0 auto;
        margin-top: 10px;
    }
    
    /* Hide hero image on mobile but keep background container for overlay */
    .hero-image {
        display: none !important;
    }
    
    /* Keep hero background visible on mobile for overlay positioning */
    .hero-background {
        display: block !important;
        z-index: 0 !important;
    }
    
    /* Hide hero overlay on mobile - using ::before pseudo-element instead */
    .hero-overlay {
        display: none !important;
    }
    
    /* Force solid dark blue background on mobile for all hero sections */
    section.service-hero,
    section.team-hero,
    section.bids-hero,
    section.safety-hero,
    section.story-hero {
        background: #141B2C !important;
        background-image: none !important;
    }
    
    /* Main hero section (index page) - mobile background image with overlay */
    section.hero {
        background: #141B2C;
        background-image: url('../images/hero-image2.jpg') !important;
        background-size: cover;
        background-position: center 30%;
        background-repeat: no-repeat;
        position: relative;
    }
    
    /* Add overlay tint on mobile using pseudo-element */
    section.hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(20, 27, 44, 0.35);
        z-index: 1;
    }
    
    /* Fix any potential spacing issues */
    main,
    .main-content {
        margin-top: 0;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-actions {
        display: none;
    }
    
    .nav-container {
        padding: 15px 20px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 95px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

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

    .nav-item {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-link {
        padding: 15px 20px;
        display: block;
        width: 100%;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #f8f9fa;
        margin: 0;
        padding: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-link {
        padding: 12px 40px;
        border-left: none;
        border-top: 1px solid #e0e0e0;
    }

    .dropdown-link:hover {
        background-color: #e9ecef;
        border-left: none;
        border-top-color: #CF142B;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: auto;
        min-width: 160px;
        max-width: 220px;
        padding: 10px 20px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .technology-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .benefit-icon {
        margin: 0 auto;
    }
    
    .capability-item {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-header h2 {
        font-size: 1.75rem;
    }

    .service-card,
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Hover Effects */
.service-card,
.portfolio-item {
    transition: all 0.3s ease;
}

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

/* Page Hero Sections - Fixed Navigation Spacing */
.team-hero,
.service-hero,
.bids-hero,
.safety-hero,
.story-hero {
    background: linear-gradient(135deg, #141B2C 0%, #1a2332 100%);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
    margin-top: 28px;
}

.team-hero-content h1,
.service-hero-content h1,
.bids-hero-content h1,
.safety-hero-content h1,
.story-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.team-hero-content p,
.service-hero-content p,
.bids-hero-content p,
.safety-hero-content p,
.story-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Company Photo Section */
.company-photo-section {
    padding: 100px 0;
    background-color: white;
}

.company-photo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.company-photo-text {
    padding-right: 2rem;
}

.company-photo-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #141B2C;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.company-photo-text p {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.company-photo-image {
    position: relative;
}

.company-photo {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.company-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

/* Our Story Page Styles */
.story-mission {
    padding: 100px 0;
    background-color: white;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #141B2C;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.mission-text p {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.family-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.family-photo:hover {
    transform: scale(1.02);
}

.story-values {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #CF142B 0%, #B01224 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(207, 20, 43, 0.3);
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Highlight Link Styling */
.highlight-link {
    color: #CF142B;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #CF142B;
    transition: all 0.3s ease;
}

.highlight-link:hover {
    color: #B01224;
    border-bottom-color: #B01224;
    background-color: rgba(207, 20, 43, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
}

/* Enhanced Technology Section */
.technology-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.technology-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.tech-feature {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.tech-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CF142B 0%, #141B2C 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tech-feature:hover::before {
    transform: scaleX(1);
}

.tech-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.tech-visual {
    text-align: center;
    margin-bottom: 2rem;
}

.tech-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #CF142B 0%, #B01224 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 15px 35px rgba(207, 20, 43, 0.3);
    transition: all 0.3s ease;
}

.tech-feature:hover .tech-icon-large {
    transform: scale(1.1);
    box-shadow: 0 20px 45px rgba(207, 20, 43, 0.4);
}

.tech-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.tech-visual h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #141B2C;
    margin: 0;
}

.tech-feature p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    text-align: center;
}

/* BIM Process Section */
.bim-process {
    padding: 100px 0;
    background-color: white;
}

.process-content {
    margin-top: 3rem;
}

.process-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.process-intro p {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.process-benefits {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #CF142B 0%, #B01224 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(207, 20, 43, 0.3);
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: white;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-content p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
}

.benefit-content .advantage {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #CF142B;
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    margin-top: 1rem;
}

.benefit-content .advantage strong {
    color: #141B2C;
    font-weight: 600;
}

/* VDC Capabilities Section */
.vdc-capabilities {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.capabilities-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.capability-item {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.capability-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CF142B 0%, #141B2C 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.capability-item:hover::before {
    transform: scaleX(1);
}

.capability-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.capability-icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #CF142B 0%, #B01224 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(207, 20, 43, 0.3);
    transition: all 0.3s ease;
}

.capability-item:hover .capability-icon {
    transform: scale(1.1);
    box-shadow: 0 20px 45px rgba(207, 20, 43, 0.4);
}

.capability-icon i {
    font-size: 2.5rem;
    color: white;
}

/* Capability card icon centering */
.capability-card .capability-icon {
    margin: 0 auto 1.5rem auto;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #CF142B 0%, #B01224 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(207, 20, 43, 0.3);
    transition: all 0.3s ease;
}

.capability-card .capability-icon i {
    font-size: 2rem;
    color: white;
}

/* Industries Showcase - Horizontal Layout */
.industries-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.industry-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.industry-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #CF142B;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.industry-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left-color: #141B2C;
}

.industry-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #CF142B 0%, #B01224 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.industry-item:hover .industry-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(207, 20, 43, 0.3);
}

.industry-icon i {
    font-size: 1.5rem;
    color: white;
}

.industry-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 0.5rem;
}

.industry-content p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Design for Industries */
@media (max-width: 768px) {
    .industry-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .industry-item {
        padding: 1.5rem;
    }
    
    .industry-icon {
        width: 50px;
        height: 50px;
        margin-right: 1rem;
    }
    
    .industry-icon i {
        font-size: 1.25rem;
    }
    
    .industry-content h3 {
        font-size: 1.1rem;
    }
    
    .industry-content p {
        font-size: 0.9rem;
    }
}

.capability-content {
    flex: 1;
}

.capability-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.capability-content p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.advantage {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #CF142B;
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
}

.advantage strong {
    color: #141B2C;
    font-weight: 600;
}

/* Service Page Layouts */
.service-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #141B2C;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.overview-text p {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.overview-image {
    position: relative;
}

.service-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-placeholder {
    background: linear-gradient(135deg, #CF142B 0%, #B01224 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(207, 20, 43, 0.2);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.image-placeholder:hover {
    transform: rotate(0deg) scale(1.02);
}

.image-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.image-placeholder p {
    opacity: 0.9;
    font-size: 1rem;
}

/* Fabrication Images */
.overview-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.fabrication-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fabrication-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.fabrication-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.team-section {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.team-section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CF142B 0%, #141B2C 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-photo {
    margin-bottom: 1.5rem;
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #CF142B;
    margin: 0 auto;
    display: block;
}

.team-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 0.5rem;
}

.team-info p {
    color: #666;
    font-size: 0.95rem;
}

.team-info .email-link {
    color: #CF142B;
    text-decoration: none;
    margin-top: 0.5rem;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(207, 20, 43, 0.1);
}

.team-info .email-link:hover {
    color: #B01224;
    background: rgba(207, 20, 43, 0.2);
    transform: translateY(-2px) scale(1.1);
}

.team-info .email-link i {
    display: block;
    width: 20px;
    height: 20px;
    font-size: 18px;
}

/* Bids Page Styles */
.bids-hero {
    background: linear-gradient(135deg, #141B2C 0%, #1a2332 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.bids-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bids-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.bids-form-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #141B2C;
    margin-bottom: 1rem;
}

.form-header p {
    color: #666;
    font-size: 1.125rem;
}

.bid-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #CF142B;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.submit-btn {
    background-color: #CF142B;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: #B01224;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 20, 43, 0.3);
}

.why-choose-us {
    padding: 80px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Enhanced Service Page Layouts */
.service-capabilities,
.engineering-services,
.utility-services,
.safety-programs,
.quality-assurance,
.certifications,
.benefits-section,
.capabilities-section,
.infrastructure-section,
.project-types {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.service-capabilities:nth-child(even),
.engineering-services:nth-child(even),
.utility-services:nth-child(even),
.safety-programs:nth-child(even),
.quality-assurance:nth-child(even),
.certifications:nth-child(even),
.benefits-section:nth-child(even),
.capabilities-section:nth-child(even),
.infrastructure-section:nth-child(even),
.project-types:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Enhanced Card Designs */
.capability-card,
.benefit-card,
.quality-item,
.cert-item,
.infrastructure-item,
.type-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.capability-card::before,
.benefit-card::before,
.quality-item::before,
.cert-item::before,
.infrastructure-item::before,
.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CF142B 0%, #141B2C 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.capability-card:hover::before,
.benefit-card:hover::before,
.quality-item:hover::before,
.cert-item:hover::before,
.infrastructure-item:hover::before,
.type-card:hover::before {
    transform: scaleX(1);
}

.capability-card:hover,
.benefit-card:hover,
.quality-item:hover,
.cert-item:hover,
.infrastructure-item:hover,
.type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.process-timeline-container {
    background: white;
    padding: 2rem 0.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}


.timeline-item {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #CF142B 0%, #B01224 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(207, 20, 43, 0.3);
}

.timeline-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 1rem;
}

.timeline-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section Enhancement */
.cta-section {
    background: linear-gradient(135deg, #141B2C 0%, #1a2332 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for New Layouts */
@media (max-width: 768px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-placeholder {
        transform: none;
        padding: 2rem 1rem;
    }
    
    .overview-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .fabrication-img {
        height: 200px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: auto;
        min-width: 160px;
        max-width: 220px;
        padding: 10px 20px;
        text-align: center;
    }
}

/* Bids Listing Styles */
.bids-listing-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.bids-header {
    text-align: center;
    margin-bottom: 60px;
}

.bids-header h2 {
    font-size: 2.5rem;
    color: #141B2C;
    margin-bottom: 1rem;
}

.bids-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.bids-header a {
    color: #CF142B;
    text-decoration: none;
}

.bids-header a:hover {
    color: #B01224;
    text-decoration: none;
}

.bids-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bid-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #CF142B;
}

.bid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.bid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.bid-header h3 {
    font-size: 1.4rem;
    color: #141B2C;
    margin: 0;
}

.bid-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.bid-status.active {
    background: #d4edda;
    color: #155724;
}

.bid-status.not-active {
    background: #f8d7da;
    color: #721c24;
}

.bid-details {
    margin-bottom: 1.5rem;
}

.bid-details p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
}

.bid-description {
    margin-bottom: 1.5rem;
}

.bid-description p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.bid-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.bid-date {
    color: #888;
}

.bid-deadline {
    color: #CF142B;
    font-weight: 600;
}

@media (max-width: 768px) {
    .bids-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bid-card {
        padding: 1.5rem;
    }
    
    .bid-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .bid-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Projects Page Styles */
.projects-hero {
    background: linear-gradient(135deg, #141B2C 0%, #1a2332 100%);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
    margin-top: 28px;
}

.projects-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.projects-hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Section */
.filter-section {
    padding: 40px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #CF142B;
    color: #CF142B;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-btn:hover {
    background: #CF142B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(207, 20, 43, 0.3);
}

.filter-btn.active {
    background: #CF142B;
    color: white;
}

/* Projects Gallery */
.projects-gallery {
    padding: 80px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(207, 20, 43, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.view-project-btn {
    background: white;
    color: #CF142B;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.view-project-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 0.5rem;
}

.project-category {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Projects CTA Section */
.projects-cta {
    background: linear-gradient(135deg, #141B2C 0%, #2C3E50 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .projects-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .projects-hero-content p {
        font-size: 1.1rem;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .filter-btn {
        width: 200px;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 20px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .company-photo-section {
        padding: 60px 0;
    }
    
    .company-photo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .company-photo-text {
        padding-right: 0;
        order: 2;
    }
    
    .company-photo-text h2 {
        font-size: 2rem;
    }
    
    .company-photo-text p {
        font-size: 1rem;
    }
    
    .company-photo-image {
        order: 1;
    }
    
    .company-photo {
        border-radius: 12px;
    }
}

/* Admin Portal Styles */

/* Admin Login Page */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #141B2C 0%, #1a2332 100%);
    padding: 20px;
}

.admin-login-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.admin-login-box {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.admin-login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #141B2C;
    margin-bottom: 0.5rem;
}

.admin-login-header p {
    color: #666;
    font-size: 1rem;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.admin-login-btn {
    width: 100%;
    margin-top: 0.5rem;
}

.error-message {
    color: #CF142B;
    font-size: 0.9rem;
    margin-top: -0.5rem;
    min-height: 0;
}

.error-message:not(:empty) {
    min-height: 1.2rem;
}

.admin-login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.admin-home-link {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.admin-home-link:hover {
    color: #CF142B;
    text-decoration: underline;
}

/* Admin Dashboard */
.admin-dashboard {
    min-height: 100vh;
    background: #f8f9fa;
}

.admin-dashboard-content {
    padding: 140px 0 80px;
    margin-top: 28px;
}

.admin-header {
    text-align: center;
    margin-bottom: 3rem;
}

.admin-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #141B2C;
    margin-bottom: 0.5rem;
}

.admin-header p {
    color: #666;
    font-size: 1.125rem;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.admin-tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.admin-tab-btn:hover {
    color: #CF142B;
}

.admin-tab-btn.active {
    color: #CF142B;
    border-bottom-color: #CF142B;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

/* Admin Section Header */
.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #141B2C;
}

/* Admin Table */
.admin-table-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

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

.admin-table thead {
    background: #f8f9fa;
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #141B2C;
    border-bottom: 2px solid #e0e0e0;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.admin-table tbody tr:hover {
    background: #f8f9fa;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.btn-icon:hover {
    background: #f0f0f0;
    color: #CF142B;
}

.btn-icon.delete-btn:hover {
    color: #CF142B;
    background: #f8d7da;
}

.loading, .no-data, .error {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.error {
    color: #CF142B;
}

/* Admin Modal */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.admin-modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.admin-modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #141B2C;
    margin: 0;
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.admin-modal-close:hover {
    background: #f0f0f0;
    color: #CF142B;
}

.admin-modal-form {
    padding: 2rem;
}

.admin-modal-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.admin-modal-form label {
    display: block;
    font-weight: 600;
    color: #141B2C;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.admin-modal-form input,
.admin-modal-form select,
.admin-modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.admin-modal-form input:focus,
.admin-modal-form select:focus,
.admin-modal-form textarea:focus {
    outline: none;
    border-color: #CF142B;
}

.admin-modal-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-help {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

.admin-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

/* Loading and Error Messages for Bids Page */
.loading-message,
.no-bids-message,
.error-message-box {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.125rem;
    grid-column: 1 / -1;
}

.error-message-box {
    padding: 2rem;
    color: #CF142B;
    background: #f8d7da;
    border-radius: 8px;
    margin: 2rem 0;
}

.error-message-box a {
    color: #CF142B;
    text-decoration: underline;
}

/* Responsive Admin Styles */
@media (max-width: 768px) {
    .admin-login-box {
        padding: 2rem 1.5rem;
    }
    
    .admin-dashboard-content {
        padding: 100px 0 60px;
    }
    
    .admin-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .admin-tab-btn {
        padding: 0.75rem 1rem;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .admin-tab-btn.active {
        border-bottom-color: #CF142B;
    }
    
    .admin-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .admin-table-container {
        padding: 1rem;
    }
    
    .admin-table {
        font-size: 0.9rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .admin-modal-content {
        max-width: 100%;
        margin: 0;
    }
    
    .admin-modal-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-modal-actions {
        flex-direction: column-reverse;
    }
    
    .admin-modal-actions .btn {
        width: 100%;
    }
}

/* Floating Admin Dashboard Button */
.floating-admin-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #CF142B 0%, #B01224 100%);
    color: white;
    border: none;
    border-radius: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(207, 20, 43, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.floating-admin-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(207, 20, 43, 0.5);
    background: linear-gradient(135deg, #B01224 0%, #CF142B 100%);
    color: white;
}

.floating-admin-btn i {
    color: white;
    font-size: 1.2rem;
}

/* Show button when user is logged in */
.floating-admin-btn.show {
    display: flex;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-admin-btn {
        padding: 12px 20px;
        bottom: 20px;
        right: 20px;
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .floating-admin-btn i {
        font-size: 1rem;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: white;
    color: #141B2C;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid #141B2C;
    pointer-events: auto;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: #28a745;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast-icon {
    font-size: 1.25rem;
}

.toast.success .toast-icon {
    color: #28a745;
}

.toast.error .toast-icon {
    color: #dc3545;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.toast-message {
    font-size: 0.85rem;
    color: #666;
}

/* Update overlay z-index to be below toast */
.hero-overlay {
    z-index: 1;
}
