/* ===================================
   BOHRA ENGINEERING - PROFESSIONAL CSS
   ===================================== */

* {
    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: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 12px 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu .nav-link {
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-bottom: 2px solid transparent;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    color: #ffc107;
    border-bottom-color: #ffc107;
}

/* ===== MAIN LAYOUT ===== */
body {
    padding-top: 70px;
}

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

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.header-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-subtitle {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 300;
    color: #e8f0f7;
}

.header-description {
    font-size: 1.1rem;
    color: #d0e1f0;
    font-weight: 300;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: calc(100vh - 200px);
}

.main-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.full-width {
    width: 100%;
}

/* ===== CONTENT BLOCKS ===== */
.content-block {
    margin-bottom: 40px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.8rem;
    color: #1e3c72;
    margin-bottom: 25px;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
    display: inline-block;
}

/* ===== ABOUT GRID ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

.about-grid.reverse .about-image {
    order: -1;
}

.about-text {
    line-height: 1.8;
    color: #555;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.about-text strong {
    color: #1e3c72;
    font-weight: 600;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
}

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

.feature-card h4 {
    color: #1e3c72;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #e74c3c;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f8f9fa;
}

.product-content {
    padding: 20px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.6;
}

.product-price {
    font-size: 1.3rem;
    color: #e74c3c;
    font-weight: 700;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

/* ===== AUTO-SCROLL SECTION ===== */
.scroll-showcase {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.scroll-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scroll-content {
    display: flex;
    flex-direction: column;
    height: 400px;
    transition: transform 0.5s ease;
}

.scroll-item {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    flex-shrink: 0;
}

.scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e74c3c;
    background: #fff;
    color: #e74c3c;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: #e74c3c;
    color: #fff;
    transform: scale(1.1);
}

.scroll-btn:active {
    transform: scale(0.95);
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.contact-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.contact-card h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item label {
    display: block;
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-item p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item a {
    color: #2a5298;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #1e3c72;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.15);
}

.form-group textarea {
    resize: vertical;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: #f8f9fa;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e74c3c;
    color: #fff;
    transform: translateY(-3px);
}

/* ===== QUICK LINKS ===== */
.quick-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.quick-link-item {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #1e3c72;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.quick-link-item:hover {
    background: #1e3c72;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

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

.footer-content p {
    margin: 8px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-content a {
    color: #ffc107;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

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

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }

    body {
        padding-top: 65px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 15px;
        font-size: 0.9rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .main-section {
        padding: 25px;
    }

    .header {
        padding: 40px 15px;
    }

    .header-title {
        font-size: 1.6rem;
    }

    .header-subtitle {
        font-size: 1.1rem;
    }

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

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .scroll-showcase {
        padding: 25px;
    }

    .scroll-container {
        max-width: 100%;
    }

    .scroll-item {
        height: 300px;
    }

    .scroll-content {
        height: 300px;
    }

    .quick-links {
        flex-direction: column;
    }

    .quick-link-item {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 10px;
        font-size: 0.85rem;
    }

    .nav-link {
        padding: 5px 8px !important;
    }

    .main-section {
        padding: 15px;
    }

    .header {
        padding: 30px 15px;
    }

    .header-title {
        font-size: 1.3rem;
    }

    .header-subtitle {
        font-size: 0.95rem;
    }

    .header-description {
        font-size: 0.9rem;
    }

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

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .scroll-item {
        height: 250px;
    }

    .scroll-content {
        height: 250px;
    }

    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .btn-primary {
        width: 100%;
        padding: 12px 20px;
    }

    .product-price {
        margin-top: 10px;
        padding-top: 8px;
    }
}