/* --- Global Theme & Reset Rules --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #1e293b; /* Accent Dark Text */
    line-height: 1.6;
}

html{
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

img, video {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* --- Sticky Top Layout --- */
.headmain {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #1e3a8a; /* Primary Deep Blue */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* .search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
}

.search-container input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    margin-left: 8px;
    font-size: 0.9rem;
}

.search-container input::placeholder {
    color: rgba(255,255,255,0.7);
} */

.nav-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.ullist {
    display: flex;
    list-style: none;
    gap: 20px;
}

.ullist a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

.ullist a:hover {
    color: #f59e0b; /* Accent Gold */
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* --- Branding & Category Sub-Menu --- */
.hero-brand {
    text-align: center;
    padding: 40px 20px 20px;
    background: linear-gradient(180deg, rgba(30,58,138,0.04) 0%, rgba(255,255,255,0) 100%);
}

.ojologo {
    width: 120px;
    height: auto;
    margin-bottom: 25px;
}

.middle-menu-container {
    border-y: 1px solid #e2e8f0;
    padding: 12px 0;
    margin-top: 15px;
}

.Middlemenu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 25px;
}

.Middlemenu a {
    color: #1e3a8a !important; /* Forces your primary brand blue */
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.Middlemenu a:hover {
    color: #f59e0b !important;
}

/* --- Content Typography --- */
.ojokoromain {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
}

.ojokorotext {
    color: #1e3a8a;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.Theappointed {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 15px;
}

/* --- Chairman Bio Block --- */
.chairman-card {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
    margin: 50px 0;
    border: 1px solid #e2e8f0;
}

.chairman-img-frame {
    flex: 1;
    min-width: 350px;
}

.chairman-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.chairman-info {
    flex: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nike {
    color: #1e3a8a;
    font-size: 1.8rem;
    font-weight: 700;
}

.Excutive {
    color: #f59e0b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.deve {
    color: #475569;
}

/* --- Gallery & Inspection Blocks --- */
.activities-showcase {
    text-align: center;
    margin: 40px 0;
}

.barractivities {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 15px;
}

.barractivities img {
    width: 48%;
    object-fit: cover;
    height: 350px;
}

.ojotextt {
    font-weight: 600;
    color: #1e3a8a;
    font-size: 1.2rem;
}

/* --- Multimedia Area --- */
.videoojo {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 15px;
    align-items: center;
    margin: 50px 0;
}

.videoojo img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.videoojo video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Community Portfolio Grid --- */
.community-section {
    margin: 60px 0;
}

.commu {
    color: #1e3a8a;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.mainimagwall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.undertext {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.undertext img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
}

.undertext p {
    padding: 15px;
    font-size: 0.9rem;
    color: #64748b;
}

.text-block {
    background: rgba(30,58,138,0.03);
    padding: 25px;
    border-left: 4px solid #1e3a8a;
    border-radius: 4px;
}

/* --- Badge Components --- */
.color-shapes-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.shape-badge {
    padding: 10px 25px;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.greenshape { background-color: #10b981; }
.yellow { background-color: #f59e0b; }
.blueshape { background-color: #1e3a8a; }
.redshape { background-color: #ef4444; }

/* --- News Engine Columns --- */
.Newsmain-section {
    background: #f8fafc;
    padding: 40px 20px;
    border-radius: 12px;
    margin: 50px 0;
}

.section-title {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 30px;
}

.Newsmain {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.News {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.newsheading {
    background: rgba(245,158,11,0.15);
    color: #f59e0b;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.News img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    margin-bottom: 12px;
}

.newsnote {
    font-size: 0.85rem;
    color: #475569;
}

.newsclick {
    display: block;
    margin-top: 10px;
    color: #1e3a8a;
    font-weight: bold;
}

/* --- Category Structural Blocks --- */
.category-block {
    margin: 60px 0;
}

.category-block h2 {
    color: #1e3a8a;
    border-left: 5px solid #f59e0b;
    padding-left: 15px;
    margin-bottom: 25px;
}

.image-gallery-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.image-gallery-3col img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.split-view img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin: 15px 0;
}

.feature-banner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin: 15px 0;
}

.constrained-img {
    max-width: 600px !important;
    display: block;
    margin: 0 auto;
}

/* --- Structural Footer Layout --- */
footer {
    background-color: #1e293b; /* Dark Slate text tone used as background */
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.action-btn {
    background: #1e3a8a;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.action-btn img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.Social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.Social a {
    color: #fff;
    transition: transform 0.2s ease, color 0.2s ease;
}

.Social a:hover {
    color: #f59e0b;
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* --- Responsive Layout Breakpoints --- */
@media (max-width: 900px) {
    .chairman-card { flex-direction: column; }
    .chairman-img-frame { min-width: 100%; height: 300px; }
    .videoojo { grid-template-columns: 1fr; }
    .videoojo img { display: none; } /* Drops clutter side-images on tablets/mobile */
    .split-view { grid-template-columns: 1fr; }
    .image-gallery-3col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .ullist {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1e3a8a;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .ullist.active { display: flex; }
    .barractivities { flex-direction: column; }
    .barractivities img { width: 100%; height: auto; }
}