/* ==========================================
   Urban Metal Laser Cutting Inc. - Metal Laser Cutting
   ========================================== */

:root {
    --primary-color: #1a365d;
    --secondary-color: #e53e3e;
    --accent-color: #f6ad55;
    --dark-bg: #0d1421;
    --light-bg: #f7fafc;
    --text-dark: #1a202c;
    --text-light: #718096;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    --gradient-accent: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--gradient-primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.logo a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.9;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Header Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    margin-left: 20px;
}

.header-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(229, 62, 62, 0.4);
}

.header-phone i {
    animation: phone-ring 1s ease-in-out infinite;
}

@keyframes phone-ring {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

/* Hero Phone */
.hero-phone {
    margin-bottom: 30px;
}

.hero-phone a {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.hero-phone a:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(229, 62, 62, 0.5);
}

.hero-phone a i {
    margin-right: 10px;
    animation: phone-ring 1s ease-in-out infinite;
}

.hero-phone span {
    display: block;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-top: 10px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13, 20, 33, 0.85), rgba(26, 54, 93, 0.9)),
                url('images/hero-banner.jpeg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    color: var(--white);
}

.hero-content {
    max-width: 900px;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Equipment Cards */
.equipment-section {
    background: var(--light-bg);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.equipment-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.equipment-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.05);
}

.equipment-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.equipment-content {
    padding: 30px;
}

.equipment-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.equipment-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.equipment-features {
    list-style: none;
    margin-bottom: 25px;
}

.equipment-features li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
}

.equipment-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about-section {
    background: var(--dark-bg);
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--white);
}

.about-content h2 span {
    color: var(--accent-color);
}

.about-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h4 {
    padding: 20px;
    text-align: center;
    color: var(--primary-color);
}

/* Video Section */
.video-section {
    background: var(--light-bg);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.video-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card h3 {
    padding: 25px;
    text-align: center;
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: var(--gradient-primary);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-details i {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Page Hero */
.page-hero {
    background: var(--gradient-primary);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    background: var(--light-bg);
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--primary-color);
}

/* Equipment Detail Page */
.equipment-detail {
    padding: 60px 0;
}

.equipment-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.equipment-main-image {
    position: relative;
}

.equipment-main-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.equipment-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.equipment-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.equipment-thumbnails img:hover,
.equipment-thumbnails img.active {
    opacity: 1;
}

.equipment-info h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.equipment-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.equipment-specs {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
}

.equipment-specs h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.specs-list {
    list-style: none;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list .label {
    font-weight: 600;
    color: var(--text-dark);
}

.specs-list .value {
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-accent);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-section .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid,
    .equipment-detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-phone {
        display: none;
    }

    .hero-phone a {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================
   QUOTE CALCULATOR STYLES
   ========================================== */

.calc-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.calc-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 0;
}

.calc-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.calc-step-indicator .step-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.calc-step-indicator.active .step-circle,
.calc-step-indicator.completed .step-circle {
    background: var(--gradient-accent);
    color: var(--white);
}

.calc-step-indicator span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.calc-step-indicator.active span {
    color: var(--secondary-color);
    font-weight: 600;
}

.step-line {
    width: 60px;
    height: 3px;
    background: #e2e8f0;
    margin: 0 10px;
    margin-bottom: 25px;
    transition: background 0.3s;
}

.calc-panel {
    display: none;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.calc-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.calc-panel h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.calc-panel h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Material Selection Grid */
.material-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.material-option input {
    display: none;
}

.material-card {
    padding: 25px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.material-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.material-option input:checked + .material-card {
    border-color: var(--secondary-color);
    background: rgba(229, 62, 62, 0.05);
    box-shadow: 0 5px 20px rgba(229, 62, 62, 0.15);
}

.material-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.material-card h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.material-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Thickness Grid */
.thickness-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.thickness-option input {
    display: none;
}

.thickness-card {
    padding: 15px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s;
    font-size: 0.95rem;
}

.thickness-card small {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.75rem;
}

.thickness-card:hover {
    border-color: var(--secondary-color);
}

.thickness-option input:checked + .thickness-card {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--white);
}

.thickness-option input:checked + .thickness-card small {
    color: rgba(255,255,255,0.8);
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 5px;
}

.calc-panel .form-group {
    margin-bottom: 20px;
}

.calc-panel .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.calc-panel .form-group input,
.calc-panel .form-group select,
.calc-panel .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.calc-panel .form-group input:focus,
.calc-panel .form-group select:focus,
.calc-panel .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Custom Upload Area */
.custom-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-upload-area:hover {
    border-color: var(--secondary-color);
    background: rgba(229, 62, 62, 0.02);
}

.custom-upload-area i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.custom-upload-area h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.custom-upload-area input[type="file"] {
    display: none;
}

.upload-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Calc Navigation */
.calc-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Quote Result Styles */
.quote-result {
    text-align: center;
}

.quote-header {
    margin-bottom: 30px;
}

.quote-header i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.quote-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.quote-summary-grid {
    margin-bottom: 30px;
}

.quote-total-card {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
}

.quote-label {
    font-size: 1rem;
    opacity: 0.9;
}

.quote-amount {
    font-size: 3rem;
    font-weight: 700;
    margin: 10px 0;
}

.quote-range {
    font-size: 0.95rem;
    opacity: 0.8;
}

.quote-breakdown {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: left;
}

.quote-breakdown h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    border-top: 2px solid var(--primary-color);
    margin-top: 5px;
    padding-top: 15px;
}

.quote-specs {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: left;
}

.quote-specs h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.spec-row:last-child {
    border-bottom: none;
}

.quote-disclaimer {
    background: #fff3cd;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 30px;
    text-align: left;
}

.quote-disclaimer i {
    color: #856404;
    font-size: 1.2rem;
    margin-top: 3px;
}

.quote-disclaimer p {
    font-size: 0.9rem;
    color: #856404;
}

.quote-actions {
    margin-top: 30px;
}

.quote-actions h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.quote-contact-form {
    max-width: 500px;
    margin: 20px auto;
    text-align: left;
}

.quote-alt-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.quote-alt-actions .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ==========================================
   PORTFOLIO STYLES
   ========================================== */

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #e2e8f0;
    background: var(--white);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s;
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.filter-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.portfolio-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info h3 {
    color: var(--white);
    margin-bottom: 5px;
}

.portfolio-info p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.portfolio-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 8px;
}

.portfolio-details {
    padding: 20px;
}

.portfolio-details h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.portfolio-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.portfolio-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.portfolio-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: var(--gradient-primary);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
}

.portfolio-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.portfolio-stats .stat-label {
    color: rgba(255,255,255,0.8);
}

/* ==========================================
   ORDER TRACKING STYLES
   ========================================== */

.tracking-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.tracking-search {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    margin-bottom: 30px;
}

.tracking-search h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tracking-search h2 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.tracking-search > p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.tracking-input-group {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.tracking-input-wrapper {
    flex: 1;
    position: relative;
}

.tracking-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.tracking-input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.tracking-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Tracking Result */
.tracking-result {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: var(--gradient-primary);
    color: var(--white);
    flex-wrap: wrap;
    gap: 15px;
}

.order-header h2 {
    font-size: 1.5rem;
}

.order-status-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--accent-color);
    color: var(--text-dark);
    margin-top: 8px;
}

.order-status-badge.status-complete {
    background: #48bb78;
    color: var(--white);
}

.order-status-badge.status-progress {
    background: var(--accent-color);
    color: var(--text-dark);
}

.order-eta span {
    font-size: 0.85rem;
    opacity: 0.8;
    display: block;
}

.order-eta strong {
    font-size: 1.2rem;
}

/* Timeline */
.tracking-timeline {
    padding: 30px;
    position: relative;
}

.timeline-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 15px 0;
    position: relative;
    padding-left: 10px;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 55px;
    bottom: -15px;
    width: 2px;
    background: #e2e8f0;
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-step.completed::before {
    background: #48bb78;
}

.timeline-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    z-index: 1;
    transition: all 0.3s;
}

.timeline-step.completed .timeline-icon {
    background: #48bb78;
    color: var(--white);
}

.timeline-step.active .timeline-icon {
    background: var(--secondary-color);
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(229, 62, 62, 0); }
}

.timeline-content h4 {
    color: var(--text-dark);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.timeline-desc {
    font-size: 0.8rem !important;
    color: #a0aec0 !important;
}

/* Order Details Grid */
.order-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 30px 30px;
}

.order-detail-card {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
}

.order-detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.order-detail-card h3 i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span:first-child {
    color: var(--text-light);
}

.detail-row span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

.tracking-contact {
    text-align: center;
    padding: 30px;
    background: var(--light-bg);
}

.tracking-contact h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.tracking-contact > p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Not Found */
.tracking-not-found {
    text-align: center;
    padding: 50px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.tracking-not-found i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.tracking-not-found h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tracking-not-found p {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* How It Works / Process */
.tracking-how-it-works {
    margin-top: 60px;
    text-align: center;
}

.tracking-how-it-works h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.process-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.process-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================
   MATERIALS DATABASE STYLES
   ========================================== */

.materials-search {
    margin-bottom: 40px;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 25px;
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.05rem;
    transition: border-color 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.material-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.material-section {
    margin-bottom: 40px;
}

.material-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color);
}

.material-section-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.material-section-header h2 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.material-badge {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Specs Table */
.specs-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.9rem;
}

.specs-table thead {
    background: var(--gradient-primary);
    color: var(--white);
}

.specs-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #edf2f7;
}

.specs-table tbody tr:hover {
    background: rgba(26, 54, 93, 0.03);
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

.badge-yes {
    display: inline-block;
    background: #c6f6d5;
    color: #22543d;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-warn {
    display: inline-block;
    background: #fefcbf;
    color: #744210;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-small {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(229, 62, 62, 0.3);
}

/* Weight Calculator */
.weight-calculator {
    max-width: 600px;
    margin: 50px auto 0;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.weight-calculator h2 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.weight-calculator h2 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.weight-calculator > p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.weight-calc-form {
    text-align: left;
}

.weight-calc-form .form-group {
    margin-bottom: 15px;
}

.weight-calc-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.weight-calc-form input,
.weight-calc-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.weight-calc-form input:focus,
.weight-calc-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.weight-result {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
}

.weight-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.weight-detail {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ==========================================
   RESPONSIVE - NEW FEATURES
   ========================================== */

@media (max-width: 768px) {
    .material-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .thickness-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .calc-panel {
        padding: 25px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-details-grid {
        grid-template-columns: 1fr;
    }

    .tracking-input-group {
        flex-direction: column;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calc-steps-bar {
        flex-wrap: wrap;
        gap: 5px;
    }

    .step-line {
        width: 30px;
    }

    .calc-step-indicator span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .material-grid {
        grid-template-columns: 1fr;
    }

    .thickness-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .portfolio-stats {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .quote-amount {
        font-size: 2rem;
    }
}
