/*
Theme Name: sohoj school
Theme URI: https://example.com/sohoj-school
Author: Saad
Description: গর্জিয়াস হেডার, প্রফেশনাল মেনু এবং কমপ্লিট হোমপেজ লেআউট।
Version: 6.0.0
*/

:root {
    --theme-primary: #006a4e; 
    --theme-secondary: #f42a41;
    --theme-bg: #eef2f5;
    --text-dark: #1e293b;
}

body { font-family: 'Hind Siliguri', sans-serif; background-color: var(--theme-bg); color: var(--text-dark); }
.main-container { background: #ffffff; box-shadow: 0 5px 30px rgba(0,0,0,0.08); margin-top: 20px; margin-bottom: 30px; border-radius: 10px; overflow: hidden; }
a { text-decoration: none; }

/* Header & Nav */
.header-banner { background: linear-gradient(135deg, #004d38 0%, var(--theme-primary) 100%); border-bottom: 4px solid var(--theme-secondary); padding: 25px 30px; color: white; }
.site-logo img { max-height: 90px; background: white; padding: 5px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.site-title-area h1 { font-weight: 700; font-size: 32px; margin: 0; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.address-bar { font-size: 15px; background: rgba(0,0,0,0.3); padding: 6px 15px; border-radius: 30px; display: inline-block; margin-top: 8px; color: #fff; }

.main-navbar { background: #0f172a; padding: 0; }
.main-navbar .nav-link { color: #f8fafc !important; font-weight: 600; padding: 15px 20px !important; position: relative; transition: 0.3s; }
.main-navbar .nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 3px; background: var(--theme-secondary); transition: 0.3s; }
.main-navbar .nav-link:hover::after { width: 100%; }

/* Sub-menu (Dropdown) */
.dropdown-menu { background: #ffffff; border: none; border-top: 3px solid var(--theme-primary); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 0 0 8px 8px; padding: 10px 0; }
.dropdown-item { padding: 10px 20px; font-weight: 500; color: #334155; border-bottom: 1px dashed #e2e8f0; }
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: #f1f5f9; color: var(--theme-primary); padding-left: 25px; transition: 0.3s; }


/* Sections */
.section-title { color: var(--theme-primary); font-weight: bold; border-bottom: 2px solid var(--theme-secondary); display: inline-block; padding-bottom: 5px; margin-bottom: 25px; }
.content-box { border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 20px; background: #fff; overflow: hidden; }
.box-header { background: var(--theme-primary); color: #fff; padding: 12px 20px; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.box-body { padding: 20px; }

/* Profile & Stats */
.person-profile img { width: 130px; height: 130px; border-radius: 50%; border: 4px solid var(--theme-primary); object-fit: cover; margin-bottom: 15px; }
.stat-box { background: linear-gradient(45deg, var(--theme-primary), #00b082); color: white; padding: 20px; border-radius: 8px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.3s; }
.stat-box:hover { transform: translateY(-5px); }
.stat-box h2 { font-weight: bold; font-size: 32px; margin: 0; }

/* Lists (Notice, Event) */
.list-group-item-custom { padding: 12px 15px; border-bottom: 1px dashed #cbd5e1; display: flex; align-items: center; gap: 10px; color: #334155; transition: 0.2s; }
.list-group-item-custom:hover { color: var(--theme-primary); padding-left: 20px; background: #f8fafc; }

/* 🔴 Teacher Cards (Fixed Image Issue) */
.member-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; text-align: center; padding: 25px 20px; transition: 0.3s; }
.member-card:hover { border-color: var(--theme-primary); box-shadow: 0 10px 20px rgba(0,0,0,0.08); transform: translateY(-5px); }
.member-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid var(--theme-primary); margin-bottom: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.member-card h6 { font-weight: 700; color: var(--theme-primary); margin-bottom: 5px; font-size: 18px; }
.member-card p { font-size: 14px; color: #64748b; margin: 0; font-weight: 600; }

/* 🔴 Managing Committee Card (Name & Designation Only - No Image) */
.committee-card { 
    background: linear-gradient(to right, #ffffff, #f8fafc); 
    border: 1px solid #e2e8f0; 
    border-left: 5px solid var(--theme-secondary); 
    border-radius: 8px; 
    padding: 20px; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    transition: 0.3s; 
}
.committee-card:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.05); border-left-color: var(--theme-primary); }
.committee-icon { 
    background: rgba(244, 42, 65, 0.1); color: var(--theme-secondary); 
    width: 45px; height: 45px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; font-size: 20px; 
}
.committee-card h5 { margin: 0; font-weight: 700; color: #0f172a; font-size: 17px; }
.committee-card p { margin: 3px 0 0 0; color: #475569; font-size: 14px; font-weight: 600; }

/* Photo Gallery Grid */
.gallery-wrap { overflow: hidden; border-radius: 8px; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.gallery-img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-wrap:hover .gallery-img { transform: scale(1.08); }
.gallery-title { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: white; padding: 20px 15px 10px; text-align: center; margin: 0; font-size: 15px; }

/* Single Page Content */
.single-post-wrap { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.single-post-wrap img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px; }
/* 🔴 লোগো ফিক্স (চ্যাপ্টা হবে না) */
/* 🔴 লোগো ফিক্স (লোগো আর চ্যাপ্টা হবে না এবং সুন্দর গোল দেখাবে) */
.site-logo {
    flex-shrink: 0; /* এটি লোগোকে টেনে লম্বা হতে বাধা দেবে */
}

.site-logo img, 
.site-logo a img.custom-logo { 
    width: 95px !important; /* ফিক্সড চওড়া */
    height: 95px !important; /* ফিক্সড উচ্চতা */
    object-fit: contain !important; /* ছবির আসল রেশিও ঠিক রাখবে, চ্যাপ্টা করবে না */
    background: #ffffff !important; 
    padding: 5px !important; 
    border-radius: 50% !important; /* ব্যাকগ্রাউন্ডকে সম্পূর্ণ গোল করে দেবে */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important; 
    display: block !important;
}


/* 🔴 গুরুত্বপূর্ণ লিঙ্কস মেনু ডিজাইন */
.custom-links-menu ul { list-style: none; padding: 0; margin: 0; }
.custom-links-menu li a { 
    display: block; 
    padding: 12px 15px; 
    border-bottom: 1px dashed #cbd5e1; 
    color: #334155; 
    text-decoration: none; 
    transition: 0.3s; 
    font-weight: 500;
}
.custom-links-menu li a:before { 
    content: "\f0c1"; 
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    margin-right: 10px; 
    color: #0dcaf0; 
}
.custom-links-menu li a:hover { 
    color: var(--theme-primary); 
    padding-left: 20px; 
    background: #f8fafc; 
}
