/* =================================================================
   Raw Material Management System (RMMS) Styles
   ================================================================= */

body {
    font-family: 'Poppins', sans-serif !important;
}

/* Hero Section */
.raw-heading {
    width: 100%;
    overflow: hidden;
    background-image: 
        linear-gradient(rgba(7, 47, 133, 0.8), rgba(7, 47, 133, 0.8)), 
        url("../../img/products/Raw-image.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    min-height: 200px;
}

p{
    text-align: justify;
}

.raw-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.raw-heading-title {
    width: 90%;
    text-align: center;
    border-radius: 5px;
}

.raw-heading-title h1 {
    font-size: 2.2rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Layout */
.container {
    position: relative;
    z-index: 1;
    overflow: visible;
}


.S-T-content{
    width: 100%; 
    padding: 40px
}

.S-T-img{
    width: 100%;
}

.comman-img{
    float: left;
    width: 49%;
}

.comman-content{
    float:right;
    width: 50%;
}

/* Info Sections */
.info-section {
    margin-bottom: 40px;
    padding: 20px;
    /* background-color: #fff; */
    border-radius: 5px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    position: relative;
    z-index: 1;
}

.info-section img {
    border-radius: 5px;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
}

.info-content {
    padding: 0 15px;
}

.info-section h1 {
    color: #072f85;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
}

.info-section p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}

.info-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.info-section li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Specifications Section */
.specs {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.specs h3 {
    color: #072f85;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.specs ul {
    padding-left: 20px;
}

.specs li {
    margin-bottom: 10px;
}

/* Form Styles */
.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 3px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    width: 100%;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #072f85;
    outline: none;
    box-shadow: 0 0 5px rgba(7, 47, 133, 0.3);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #072f85;
    border-color: #072f85;
    color: white;
}

.btn-primary:hover {
    background-color: #051d52;
    border-color: #051d52;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

/* Text Alignment Utilities */
.text-center {
    text-align: center;
}

/* Margin/Padding Utilities */
.mt-4 {
    margin-top: 1.5rem;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-contact-btn button {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    background-color: #072f85;
    color: white;
    cursor: pointer;
}

.floating-contact-btn button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background-color: #051d52;
}

/* =================================================================
   Responsive Design
   ================================================================= */

/* Large screens and below */
@media (max-width: 992px) {
    .raw-heading {
        padding: 60px 15px;
    }
    
    .raw-heading-title h1 {
        font-size: 1.8rem;
    }
    
    .info-section {
        padding: 15px;
    }
    
    .info-section h1 {
        font-size: 1.6rem;
    }
}

/* Tablets and below */
@media (max-width: 768px) {
    .raw-heading {
        padding: 50px 15px;
        background-attachment: scroll;
    }
    
    .raw-heading-title h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .info-content {
        padding: 0 10px;
    }
    
    .floating-contact-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-contact-btn button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Mobile devices */
@media (max-width: 576px) {
    .raw-heading {
        padding: 40px 10px;
        min-height: 150px;
    }
    
    .raw-heading-title {
        width: 95%;
    }
    
    .raw-heading-title h1 {
        font-size: 1.4rem;
        line-height: 1.4;
    }
    
    .info-section {
        margin-bottom: 30px;
        padding: 15px 10px;
    }
    
    .info-section h1 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .info-section p {
        margin-bottom: 15px;
        font-size: 14px;
    }
    
    .btn {
        width: 100%;
        padding: 12px;
    }
    
    .floating-contact-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-contact-btn button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .raw-heading-title h1 {
        font-size: 1.2rem;
    }
    
    .info-section h1 {
        font-size: 1.2rem;
    }
    
    .specs {
        padding: 15px;
    }
    
    .specs h3 {
        font-size: 1.1rem;
    }
}

/* =================================================================
   Accessibility & Performance
   ================================================================= */

/* Focus states for better accessibility */
.btn:focus,
.form-control:focus {
    outline: 2px solid #072f85;
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .raw-heading-title h1 {
        animation: none;
    }
    
    .btn,
    .floating-contact-btn button {
        transition: none;
    }
    
    .btn:hover,
    .floating-contact-btn button:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .info-section {
        border: 2px solid #000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
}