:root {
    --primary-light: #1b4ebc;
    --primary-dark: #030e56;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f7f8fc;
}
header {
    background-color: var(--primary-dark);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap;
}
header a.logo-link img { height: 50px; }
.nav-buttons a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    background-color: var(--primary-light);
    border-radius: 4px;
    font-weight: bold;
}
.img-slider-container {
    width: 96vw;
    max-width: 1200px;
    height: 35vw;
    max-height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin: 24px auto 32px auto;
    display: block;
    min-height: 120px;
}
.img-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
    z-index: 1;
}
.img-slide.active {
    opacity: 1;
    z-index: 2;
}
.company-description {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    padding: 16px 20px 12px 20px;
    font-size: 1.08rem;
    color: #252525;
}
.company-details-layout {
    max-width: 1200px;
    margin: 0 auto 32px auto;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.company-profile-box {
    flex: 2;
    min-width: 300px;
    background: #fff;
    padding: 24px 16px 16px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.company-profile-box h2 {
    color: #030e56;
    font-size: 2rem;
    margin-bottom: 6px;
    margin-top: 0;
    letter-spacing: .5px;
    word-break: break-word;
}
.company-meta {
    font-size: 1rem;
    color: #222;
    margin-bottom: 18px;
    word-break: break-word;
}
.company-meta .active {
    color: green;
    font-weight: bold;
    margin-left: 2px;
}
.details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
    font-size: 1rem;
    background: #f5f8fa;
    word-break: break-word;
}
.details-table td {
    border: 1px solid #dde3ea;
    padding: 6px 10px;
    vertical-align: top;
    color: #222;
}
.details-table td:first-child {
    font-weight: bold;
    background: #eef2f7;
    width: 36vw;
    max-width: 230px;
    color: #222;
}
.directors-section {
    margin-top: 18px;
}
.directors-section h3 {
    background: #030e56;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 0 4px 0;
    padding: 5px 10px;
    border-radius: 4px 4px 0 0;
    letter-spacing: 0.5px;
}
.directors-table {
    width: 100%;
    border-collapse: collapse;
    background: #f8fafb;
    margin: 0;
}
.directors-table th, .directors-table td {
    border: 1px solid #dde3ea;
    padding: 5px 10px;
    text-align: left;
    font-size: 1rem;
    word-break: break-word;
}
.directors-table th {
    background: #dbe5fc;
    color: #030e56;
    font-weight: bold;
}
.directors-table td a {
    color: #1b4ebc;
    text-decoration: underline;
}
.right-side {
    flex: 1;
    min-width: 290px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.contact-form-box {
    background: #fff;
    padding: 20px 18px 18px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    width: 100%;
    max-width: 350px;
}
.contact-form-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-dark);
    text-align: center;
    font-size: 1.1rem;
}
.contact-form-box label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}
.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 13px;
    border: 1px solid #ccd6e0;
    border-radius: 4px;
    font-size: 1rem;
    background: #f7f8fc;
    box-sizing: border-box;
}
.contact-form-box textarea { min-height: 65px; }
.contact-form-box button {
    background: var(--primary-light);
    color: #fff;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}
.contact-form-box button:hover {
    background: var(--primary-dark);
}
.faq-section {
    max-width: 1200px;
    margin: 0 auto 28px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    padding: 20px 18px 14px 18px;
}
.faq-section h2 {
    color: #030e56;
    font-size: 1.25rem;
    margin: 0 0 12px 0;
    text-align: left;
}
.faq-item {
    margin-bottom: 15px;
}
.faq-item h3 {
    margin: 0 0 3px 0;
    font-size: 1.06rem;
    color: var(--primary-dark);
    font-weight: bold;
}
.faq-item p {
    margin: 0 0 0 10px;
    color: #222;
    font-size: 1rem;
}
.disclaimer-section {
    max-width: 1200px;
    margin: 0 auto 18px auto;
    background: #fff;
    color: #555;
    font-size: .98rem;
    padding: 18px 16px 14px 16px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    font-style: italic;
}
.footer {
    width: 100%;
    background: #f3f3f3;
    border-top: 1px solid #e2e2e2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    min-height: 60px;
}
.footer .copyright {
    font-size: 0.98rem;
    color: #555;
    letter-spacing: .1px;
    margin-left: 40px;
    padding: 12px 0;
}
.footer .social-icons {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-right: 40px;
    padding: 12px 0;
}
.footer .social-icons a img {
    width: 30px;
    height: 30px;
    display: block;
    transition: filter .2s;
    filter: grayscale(20%);
}
.footer .social-icons a img:hover {
    filter: none;
}
@media (max-width: 1200px) {
    .company-details-layout {
        padding-left: 2vw;
        padding-right: 2vw;
    }
    .img-slider-container {
        width: 98vw;
        min-width: 0;
    }
}
@media (max-width: 900px) {
    .company-details-layout {
        flex-direction: column;
        gap: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .right-side { min-width: 0; margin-top: 24px; }
    .contact-form-box { margin: 0 auto; }
    .footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        min-height: unset;
    }
    .footer .copyright {
        margin-left: 0;
        margin-bottom: 6px;
        text-align: center;
    }
    .footer .social-icons {
        margin-right: 0;
        margin-bottom: 8px;
        justify-content: center;
    }
}
@media (max-width: 600px) {
    .img-slider-container { height: 100px; max-height: 130px; min-height: 70px; }
    .company-profile-box h2 { font-size: 1.2rem;}
    .details-table, .directors-table { font-size: .9rem; }
    .details-table td { padding: 4px 4px;}
    .directors-table td, .directors-table th { padding: 4px 4px;}
    .company-profile-box { padding: 2vw 1vw 2vw 1vw;}
    .disclaimer-section, .company-description, .faq-section { padding: 12px 4vw 8px 4vw;}
    .footer .copyright, .footer .social-icons {
        padding: 8px 0;
    }
}
.img-slider-container {
    width: 96vw;
    max-width: 1200px;
    height: auto; /* Height adjusted automatically */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin: 24px auto 32px auto;
    display: block;
    min-height: 120px;
    padding-top: 21.67%; /* Aspect ratio maintained (1084/5001*100) */
}

.img-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
    z-index: 1;
    border-radius: 8px;
}

.img-slide.active {
    opacity: 1;
    z-index: 2;
}

@media (max-width: 900px) {
    .img-slider-container {
        padding-top: 30%; /* Increase aspect ratio slightly for better visibility */
    }
}

@media (max-width: 600px) {
    .img-slider-container {
        padding-top: 45%; /* Mobile-friendly aspect ratio */
    }
}
