@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    background: #00284C;
    background: linear-gradient(180deg, rgba(0, 40, 76, 1) 0%, rgba(162, 199, 228, 1) 100%);
    padding: 0 40px;
    min-height: 100vh;
}

.wrapper{
    max-width: 1140px;
    margin: 0 auto;
}

ul, ol{
    list-style: none;
}

a{
    text-decoration: none;
    color: #333333;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
    font-weight: 600;
    color: #333333;
}

p{
    color: #333333;
    line-height: 1.5;
    font-size: 13px;
}

/* Header Styles */
header{
    width: 98%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    background-color: white;
}
.inner-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 16px 57px 16px;
    background: url(../images/header-bg.webp) no-repeat center center;
    background-size: cover;
    border-radius: 5px;
}
.logo img{
    height: 50px;
}

.top-contact{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.top-contact p{
    font-size: 16px;
    color: #ffffff;
    text-align: right;
}
.not-stockist{
    background-color: #000000;
    padding: 5px 12px;
    border-radius: 4px;
    display: inline-block;
    animation: heartbeat-flash 2s ease infinite;
    text-align: center;
}
@keyframes heartbeat-flash {
    0%, 20% {
        color: #ffffff;
    }
    40%, 50% {
        color: transparent;
    }
    100% {
        color: #ffffff;
    }
}
.top-contact h4{
    font-size: 18px;
    color: #ffffff;
    text-align: right;
    margin-top: 5px;
}

/* Navigation */
nav{
    background: #B10C0B;
    background: linear-gradient(180deg, rgba(177, 12, 11, 1) 0%, rgba(115, 8, 1, 1) 100%);
    height: 50px;
    border-radius: 5px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: -25px;
}
nav ul{
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0 30px;
}
nav ul li a{
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 8px;
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffcccc 100%);
    background-size: 100% 0%;
    background-repeat: no-repeat;
    position: relative;
    transition: background-size 0.3s ease;
}
nav ul li a:hover{
    background-size: 100% 100%;
    color: #B10C0B;
}
nav ul li a::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #B10C0B;
    opacity: 0;
    transition: opacity 0.3s ease;
}
nav ul li a:hover::after,
nav ul li a.active::after{
    opacity: 1;
}
nav ul li a.active{
    background-size: 100% 100%;
    color: #B10C0B;
}

/* Body Styles */
.container{
    width: 96%;
    margin: 0 auto;
    padding: 10px;
    background-color: white;
    display: flex;
    gap: 10px;
}

/* Sidebar Styles */
.sidebar{
    width: 210px;
    padding: 10px;
    background-image: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%),
        url(../images/sidebar-bg.webp);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}
.sidebar-content{
    background-color: white;
    padding: 10px;
}
.sidebar-content h2{
    font-size: 20px;
}
.sidebar-content h3{
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 16px;
    color: #00284C;
}
.sidebar-content h4 {
    font-size: 13px;
    color: inherit;
    margin-bottom: 5px;
}

/* Socket List Styles */
.socket-list li{
    margin-bottom: 8px;
}
.socket-list li a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333333;
}
.socket-list li a::before{
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url(../images/sidebar-menu-arrow.png) no-repeat center center;
}
.socket-list li a:hover{
    color: #B10C0B;
}

/* Main Content Styles */
.main-content {
    flex: 1;
}
.about-area{
    width: 100%;
    background: linear-gradient(to bottom, #FFFFFF, #F5FBFF);
    padding: 16px;
    border: 1px solid #A2C7E4;
}
.about-area h2{
    font-size: 20px;
    margin-bottom: 10px;
}
.about-content{
    display: flex;
    gap: 20px;
}
.about-text {
    flex: 1;
}
.about-text p:not(:last-child) {
    margin-bottom: 15px;
}

.ceo-area{
    width: 272px;
    display: flex;
    gap: 16px;
}
.ceo-area img{
    width: 100px;
    height: 120px;
    border: 1px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20), 0 1px 5px rgba(0, 0, 0, 0.2);
}
.ceo-text h6 {
    font-size: 14px;
    color: #00284C;
    margin-bottom: 14px;
}
.ceo-text p {
    font-size: 12px;
    color: #333333;
    font-style: italic;
}
.ceo-text p span{
    font-size: 12px;
    color: #00284C;
    font-style: normal;
    font-weight: 600;
}

.about-inner-area {
    font-size: 13px;
    margin-top: 20px;
}
.about-inner-area h3{
    font-size: 16px;
    margin-bottom: 10px;
}
.inner-list{
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.about-inner-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(2, auto);  /* 2 rows */
    gap: 10px; /* space between images */
}

.about-inner-images img {
    width: 100%;
    height: auto;
    display: block;
}

.award {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
}

.award img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.award-caption-top h5 {
    font-size: 18px;
    font-weight: 600;
    color: #00284C !important;
    text-align: center;
    margin-bottom: 15px;
    padding: 0 20px;
}

.award-caption-bottom h5 {
    font-size: 16px;
    color: #666 !important;
    text-align: center;
    margin-top: 12px;
}

/* Form Area Styles */
.form-area{
    width: 100%;
    background: linear-gradient(to bottom, #FFFFFF, #F5FBFF);
    padding: 16px;
    border: 1px solid #A2C7E4;
    margin-top: 10px;
}
.form-area h2{
    font-size: 20px;
    margin-bottom: 10px;
}
.form-area h5{
    font-size: 16px;
    margin-bottom: 10px;
    color: #B10C0B;
}
.form-area p{
    font-size: 13px;
    margin-bottom: 16px;
}
.form-area p span{
    font-weight: 600;
}
.form-area p a{
    color: #333333;
    text-decoration: none;
}
.form-area p a:hover{
    color: #B10C0B;
}
.form-section{
    margin-bottom: 16px;
}
.form-section h3{
    background-color: #5F80BF;
    color: #ffffff;
    padding: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}
.form-row{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.form-row label{
    width: 40%;
    text-align: right;
    padding-right: 8px;
    font-size: 13px;
    color: #333333;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea{
    width: 60%;
    padding: 6px;
    border: 1px solid #A2C7E4;
    font-size: 13px;
}
.form-row textarea{
    resize: vertical;
}
.form-row select[multiple]{
    height: 120px;
    padding: 4px;
}

/* Manufacturer Blocks */
.manufacturer-blocks {
    width: 60%;
}
.manufacturer-blocks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.manufacturer-block {
    background: #ffffff;
    border: 1px solid #A2C7E4;
    padding: 12px;
    margin-bottom: 10px;
}
.manufacturer-block-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.manufacturer-row,
.details-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.manufacturer-row label,
.details-row label {
    width: 140px;
    text-align: right;
    font-size: 13px;
    color: #333333;
    flex-shrink: 0;
}
.manufacturer-select {
    flex: 1;
    padding: 6px;
    border: 1px solid #A2C7E4;
    font-size: 13px;
}
.details-textarea {
    flex: 1;
    padding: 6px;
    border: 1px solid #A2C7E4;
    font-size: 13px;
    resize: vertical;
}
.add-manufacturer-btn {
    background-color: #00284C;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 0px;
}
.add-manufacturer-btn:hover {
    background-color: #B10C0B;
}
.block-actions {
    display: flex;
    justify-content: flex-end;
}
.remove-btn {
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 0px;
}
.remove-btn:hover {
    background-color: #c82333;
}
.radio-group{
    width: 60%;
    display: flex;
    align-items: center;
    gap: 8px;
}
.radio-group input[type="radio"]{
    margin-right: 3px;
}
.radio-label{
    width: auto !important;
    margin-right: 8px;
}
.form-submit{
    margin-top: 16px;
    margin-left: 40%;
}
.form-submit button{
    background-color: #00284C;
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    cursor: pointer;
}
.form-submit button:hover{
    background-color: #B10C0B;
}

/* Footer Styles */
footer{
    width: 98%;
    margin: 0 auto;
    margin-bottom: 16px;
    padding: 16px 0;
    background: linear-gradient(to bottom, #0058A7, #00284C);
    border-radius: 10px;
}
footer p{
    text-align: center;
    margin: 0;
    font-size: 12px;
    color: #fff;
}
.footer-nav{
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
}
.footer-nav a{
    color: #fff;
    text-decoration: none;
    margin: 0 8px;
}
.footer-nav a:hover{
    color: #B10C0B;
}
.footer-nav .pipe{
    color: #fff;
}

/* Enquiry Form Styles */
.enquiry-section {
    margin-top: 20px;
}

.enquiry-section h3 {
    color: #00284C;
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #B10C0B;
}

.enquiry-form-group {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.enquiry-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    text-align: right;
}

.enquiry-input,
.enquiry-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #A2C7E4;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.enquiry-input:focus,
.enquiry-textarea:focus {
    outline: none;
    border-color: #00284C;
    box-shadow: 0 0 0 3px rgba(0, 40, 76, 0.1);
}

.enquiry-textarea {
    resize: vertical;
    min-height: 100px;
}

.enquiry-error {
    color: #B10C0B;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.enquiry-input.error,
.enquiry-textarea.error {
    border-color: #B10C0B;
}

.enquiry-submit-btn {
    background-color: #25D366;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 25px;
    display: inline-block;
    align-items: center;
    gap: 8px;
    width: auto;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.enquiry-submit-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

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

.enquiry-submit-btn svg {
    width: 20px;
    height: 20px;
}

.enquiry-success {
    background-color: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 16px;
    display: none;
    border: 1px solid #c3e6cb;
}

@media (max-width: 576px) {
    .enquiry-form-group {
        grid-template-columns: 1fr;
    }
    
    .enquiry-label {
        text-align: left;
    }
}

