:root {
    --primary-blue: #002147;
    --accent-gold: #FFD700;
    --white: #ffffff;
    --light-gray: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* STICKY WRAPPER */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: all 0.3s ease;
}

/* TOP BLUE BAR */
.top-header {
    background: var(--primary-blue);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}
.top-header a { color: white; text-decoration: none; margin: 0 5px; }

/* MAIN NAVBAR */

.logo h2 span { color: var(--accent-gold); }

/* DESKTOP MENU & DROPDOWN */
.nav-right-area { display: flex; align-items: center; gap: 30px; }
.desktop-menu ul { display: flex; list-style: none; gap: 20px; }
.desktop-menu ul li { position: relative; }
.desktop-menu ul li a { 
    text-decoration: none; color: var(--primary-blue); 
    font-weight: 600; font-family: 'Lato', sans-serif; font-size: 16px; 
}

.dropdown-menu {
    display: none !important; 
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    border-top: 3px solid #023919;
    z-index: 1000;
}
.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a { padding: 10px 20px; text-transform: none; }
.dropdown:hover > .dropdown-menu {
    display: block !important;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    text-transform: none;
    color: var(--primary-blue);
    text-decoration: none;
    transition: 0.3s;
	font-family:lato;
	letter-spacing:0.3px;
	font-size:15px;
}

.dropdown-menu li a:hover {
    background: var(--light-gray);
    color: #005826;
}



/* HAMBURGER MENU ICON */
.menu-icon { cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.menu-icon span { width: 25px; height: 3px; background:#b92b2b; display: block; }
.menu-icon small { font-size: 10px; font-weight: bold; color: var(--primary-blue); }

/* SIDE DRAWER */
.drawer {
    height: 100%; width: 0; position: fixed; z-index: 2001;
    top: 0; right: 0; background: white; transition: 0.4s; overflow-x: hidden;
}
.drawer-header { background: var(--primary-blue); color: white; padding: 20px; display: flex; justify-content: space-between; }
.drawer-content a, .drawer-dropbtn {
    padding: 15px 25px; display: block; text-decoration: none; color: var(--primary-blue);
    width: 100%; text-align: left; border: none; background: none; font-size: 16px; border-bottom: 1px solid #eee;
}
.drawer-drop-content { display: none; background: #f9f9f9; }
.drawer-drop-content a { padding-left: 45px; font-size: 14px; }

.overlay-bg {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 2000;
}


@media (max-width: 992px) { .desktop-menu { display: none; } }



:root {
    --bg-light: #f4f7fa;
    --text-dark: #0e214b;
    --text-gray: #6b7280;
    --text-hover-light: #ffffff;
    /* Optional: Replace with your actual image URL */
    --hover-bg-image: url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?q=80&w=600&auto=format&fit=crop'); 
}


.header {
    text-align: center;
    margin-bottom: 30px;
}

.badge {
    color: #4361ee;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.header h1 {
    color: var(--text-dark);
    font-size: 42px;
    margin: 0;
    line-height: 1.2;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card Structure */
.card-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* 1. Updated Card Shape for Hover Container */
.card-shape {
    background: var(--bg-light);
    width: 100%;
    padding: 35px 20px;
    border-radius: 8px;
    transform: skewX(-10deg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    /* Essential for positioning the hover overlay */
    position: relative; 
    overflow: hidden; 
    cursor: pointer;
    /* Smooth transition for text color change */
    transition: all 0.3s ease-out; 
    z-index: 0; /* Ensure this is the stacking context base */
}

/* Reversing the skew for content inside */
.card-inner {
    transform: skewX(10deg); 
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2; /* Content sits above the overlay */
}

/* 2. ADDED: Hover Overlay with Background and Image */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Combine solid color base and image pattern */
    background-color: transparent; /* Changed by color-bg classes */
    background-image: var(--hover-bg-image);
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply; /* Blends color and image for the tint effect */
    opacity: 0; /* Hidden by default */
    transform: translateY(100%); /* Start off-screen at the bottom */
    transition: opacity 0.3s ease-out, transform 0.4s ease-out;
	border:none;
    z-index: 1; /* Sits between card-shape and card-inner */
}

/* 3. ADDED: Hover States for Effects */
/* When the card shape is hovered... */
.card-shape:hover .hover-overlay {
    opacity: 0.9; /* Show with 90% opacity */
    transform: translateY(0%); /* Slide in from the bottom */
}




/* Change text to light color on hover */
.card-shape:hover .text-content h3,
.card-shape:hover .text-content p {
    color: var(--text-hover-light) !important;
}

/* Optional: Slight lift effect on the card */
.card-shape:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: skewX(-10deg) translateY(-5px);
}

/* The vertical accent line on the left */
.accent-line {
    position: absolute;
    left: -3px;
    top: 0;
    height: 100%;
    width: 3px;
    z-index: 1;
	opacity: 1; 
    transform: skewX(-10deg);
}

.card-wrapper:hover .accent-line {
    opacity: 0;
    transition: opacity 0.3s ease; /* धीरे से गायब होने के लिए */
}

/* Icon Circle */
.icon-circle {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
    margin-left: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	z-index:1;
	position:relative
}

.icon-circle i {
    color: white;
    font-size: 24px;
}

/* Text Styling */
.text-content h3 {
    margin: 0 0 8px 0;
    color: var(--text-dark);
    font-size: 22px;
	font-weight:500;
    transition: color 0.3s ease-out; /* Smooth color change */
}

.text-content p {
    margin: 0;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s ease-out; /* Smooth color change */
}

/* Colors (Using background-color to tint the hover image) */
.purple-bg { background-color: #9d66ff; }
.blue-bg { background-color: #4d8eff; }
.teal-bg { background-color: #20c997; }
.olive-bg { background-color: #a4ad31; }
.orange-bg { background-color: #ff8552; }
.red-bg { background-color: #ff5e62; }

/* Responsive */
@media (max-width: 992px) {
    .grid-layout { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-layout { grid-template-columns: 1fr; }
    .card-shape { transform: none; }
    .card-inner { transform: none; }
    .accent-line { transform: none; left: 0; }
    .hover-overlay { transform: none; } /* Disable animation skew on mobile */
    .card-shape:hover { transform: translateY(-5px); } /* Standard lift only */
}




.modern-admission-banner {
    position: relative;
    padding: 40px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: white;
    text-align: center;
}

/* बैकग्राउंड इमेज और ओवरले सेटिंग */
.banner-bg-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/ipem-slider-9.jpg'); /* अपनी इमेज यहाँ डालें */
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.color-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9), rgba(42, 82, 152, 0.8)); /* नीला ओवरले */
    z-index: -1;
}

.date-text {
    font-size: 14px;
    opacity: 0.9;
}

.main-title {
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 0px;
	color: #ffcc00;
}

.highlight-text {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    border-left: 4px solid #ffcc00;
    margin-bottom: 25px;
}

.classes-info {
    font-size: 18px;
    margin-bottom: 35px;
    color: #e0e0e0;
}

.classes-info span {
    color: #ffcc00;
	font-weight:400;

}

.btn-primary {
    display: inline-block;
    background: #ffffff;
    color: #1e3c72;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: #ffcc00;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 5px rgba(255, 204, 0, 0.1);
}

.portal-link {
    margin-top: 15px;
    font-size: 16px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 600px) {
    .main-title { font-size: 28px; }
    .highlight-text { font-size: 16px; }
    .admission-banner { padding: 40px 15px; border-radius: 0; }
}


/* About Section Styles */
.about-ipem {
    padding: 30px 0px 20px 0px;
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden; /* Elements staying within bounds */
}



.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

/* 1. Left Image & Badge Layout */
.about-image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column; /* Stack main image and badge vertically */
    align-items: center;
}

/* 2. Main Circular Image with internal overflow allowed */
.main-image-circle {
    width: 480px;
    height: 480px;
    border-radius: 50%;
    position: relative;
    border: 20px solid #f0f4f8;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 20px; /* Space for the badge below */
}

.main-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* 3. Small Top-Circle Image on the left-top edge */
.top-circle-img {
    position: absolute;
    top: -30px; /* Overlaps edge */
    left: -30px; /* Overlaps edge */
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 10px solid white;
    z-index: 3;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.top-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* 4. Legacy Badge BELOW the main image */
.legacy-badge-bar {
    background: #00d2d3; /* Teal color like in image_7 */
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-align: center;
    border: 6px solid white;
    box-shadow: 0 10px 25px rgba(0,210,211,0.2);
    z-index: 2;
	animation: float 3s ease-in-out infinite;
    margin-top: -30px; /* Overlaps slightly with main circle for design flow */
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-inner h3 { margin: 0; font-size: 24px; font-weight: 400; line-height: 1; }
.badge-inner p { margin: 0; font-size: 14px; font-weight: 500; text-transform: uppercase; }

/* Text Content Side (No changes) */
.sub-heading {
    color: #4361ee;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.main-heading {
    font-size: 24px;
    color: #0e214b;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 25px;
}

.main-heading span { color: #1764ab; }

.intro-p {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
}

.philosophy-p {
    font-size: 16px;
    color: #6b7280;
    font-style: italic;
    border-left: 4px solid #ffcc00;
    padding-left: 15px;
    margin-bottom: 35px;
}

/* Features List with Icons */
.ipem-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.ipem-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.f-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
}

.f-text h4 { margin: 0 0 5px 0; font-size: 19px; color: #0e214b; }
.f-text p { margin: 0; font-size: 14px; color: #6b7280; line-height: 1.5; }

/* Colors & Button */
.purple-bg { background-color: #9d66ff; }
.teal-bg { background-color: #00d2d3; }
.orange-bg { background-color: #ff8552; }

.read-more-btn {
    display: inline-block;
    background: #0e214b;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(14, 33, 75, 0.2);
}

.read-more-btn:hover {
    background: #4361ee;
    transform: translateY(-3px);
}

/* Decorative Pattern - for visual interest like image_0.jpg feel */
.shape-dots {
    position: absolute;
    bottom: -30px;
    left: 20px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(#d0d9e0 15%, transparent 15%), radial-gradient(#d0d9e0 15%, transparent 15%);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
    opacity: 0.7;
    z-index: 1;
}

/* Responsive for Mobile */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .main-image-circle { width: 350px; height: 350px; margin: 0 auto; margin-bottom: 20px; }
    .top-circle-img { width: 90px; height: 90px; top: -10px; left: -10px; }
    .legacy-badge-bar { margin-top: -15px; padding: 10px 20px; }
    .badge-inner h3 { font-size: 22px; }
    .ipem-features li { justify-content: center; text-align: left; }
    .philosophy-p { text-align: left; margin: 0 auto 35px; max-width: 500px; }
}




.text-justify
{
	text-align:justify
}

.aim-facilities-section {
    background: #f8fbff;
}

.heading-line {
    width: 80px;
    height: 4px;
    background: #4361ee;
    border-radius: 2px;
    margin-top: 15px;
}

/* Aim Cards */
.aim-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    text-align: center;
}

.aim-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.aim-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}

.purple-gradient { background: linear-gradient(135deg, #a55eea, #8854d0); }
.blue-gradient { background: linear-gradient(135deg, #45aaf2, #2d98da); }
.teal-gradient { background: linear-gradient(135deg, #2bcbba, #0fb9b1); }
.orange-gradient { background: linear-gradient(135deg, #fd9644, #fa8231); }

/* Facility Items */
.facility-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.facility-image {
    width: 100%;
    height: 100%;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px;
    color: white;
    transform: translateY(20px);
    transition: 0.5s;
}

.facility-item:hover img { transform: scale(1.1); }
.facility-item:hover .facility-overlay { transform: translateY(0); }


/* ************************* Footer Section */

/* Footer Base Styling */
.the-study-footer {
    position: relative;
    background: linear-gradient(rgba(0, 33, 71, 0.95), rgba(0, 33, 71, 0.92)), 
                url('footer-bg.jpg') no-repeat center center/cover;
    color: #ffffff;
    padding-top: 80px; /* इंफो बार के लिए जगह छोड़ी गई है */
    font-family: 'Poppins', sans-serif;
}


/* Floating Info Bar Adjustment */




.next-level-infobar {
    position: relative;
    padding: 20px 0;
	z-index: 10;
	max-width:1150px;
	margin: 0 auto -70px auto;
    overflow: hidden;
    background: #25356e;
	border:5px solid #ffffff;
	
	border-radius:40px;
    font-family: 'Poppins', sans-serif;
}

.animated-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /*background: radial-gradient(circle at 15% 15%, rgba(67, 97, 238, 0.25) 0%, transparent 45%),
                radial-gradient(circle at 85% 85%, rgba(157, 102, 255, 0.25) 0%, transparent 45%);*/
    animation: pulseBg 12s infinite alternate ease-in-out;
}

.glass-grid {
    display: flex; /* Dividers के लिए Grid की जगह Flex बेहतर है */
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}




/* Premium Card with Higher Contrast */
.premium-card {
    background: rgba(255, 255, 255, 0.08); /* थोडा और साफ़ */
    backdrop-filter: blur(20px);
    border: 0px solid rgba(255, 255, 255, 0.12);
    padding: 15px 25px;
    border-radius: 18px;
    flex: 1;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.premium-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Vertical Divider Lines */
.divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Icon Spheres */
.icon-sphere {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}


/* Typography Contrast */
.content-box label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #94a3b8; /* Professional Muted Blue-Grey */
    margin-bottom: 8px;
    font-weight: 500;
}

.content-box a, .content-box .highlight {
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
	letter-spacing:0.3px;
    text-decoration: none;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .glass-grid { flex-direction: column; }
    .divider { display: none; } /* मोबाइल पर लाइनें हटा दें */
    .premium-card { width: 100%; margin: 15px 0; }
}



.footer-main-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 0px;
}

/* Left Side Branding */
.footer-left {
	text-align:center;
	width:100%
    /* स्क्रीनशॉट के हिसाब से चौड़ाई */
}

.footer-logo-box img {
    height: 80px;
    margin-bottom: 15px;
	text-align:center;
	margin:0 auto
}

.footer-logo-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-logo-box h2 span {
    color: var(--accent-gold); /* Gold Color */
}

.footer-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #d1d1d1;
}

/* Right Side Links */
.footer-right {
    display: flex;
    gap: 80px; /* दोनों कॉलम के बीच का गैप */
}

.footer-links h3 {
    font-size: 18px;
    color: var(--accent-gold);
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0px;
	float:left; margin-right:10px
}

.footer-links ul li a {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
    display: table ;
	cursor:pointer;
	font-family:Mulish
	
}

.footer-links ul li a:hover {
    color: #ffffff ;
    transform: translateX(5px);
}

.footer-link ul {
    list-style: none;
	padding-left:0px;
	margin:10px auto;
	max-width:1040px

}

.footer-link ul li {
    margin-bottom: 10px;
	float:left; margin-right:10px
}

.footer-link ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
    display: table ;
	cursor:pointer;
	font-family:lato;
	font-weight:500
	
}

.footer-link ul li a:hover {
    color: #ffffff ;
    transform: translateX(5px);
}

/* Bottom Copyright Bar */
.footer-copyright {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center; 
}

.footer-copyright p {
    font-size: 13px;
    color: #bbb;
	text-align:center
}

/* Social Links Styling */
/*.footer-social-links {
    margin: 25px auto 0px auto;
    display: flex;
	width:100%;
	text-align:center;
    gap: 15px;
	border:1px solid #ccc
	
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; 
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent-gold); 
    color: var(--primary-blue);   
    transform: translateY(-5px);    
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}*/


.footer-social-links {
    margin: 25px auto 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 42px;
    height: 42px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hover Base Effect */
.social-icon:hover {
    transform: translateY(-3px) scale(1.08);
}

/* Facebook */
a.facebook {
    background: #1877f2;
}



.social-icon.facebook:hover {
    background: #1877f2;
    color: #fff;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

/* YouTube */
a.youtube {
    background: #ff0000;
}

.social-icon.youtube:hover {
    background: #ff0000;
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.social-icon i {
    transition: transform 0.1s ease;
}

.social-icon:hover i {
    transform: scale(1.1);
}
/* Responsive */
@media (max-width: 992px) {
    .footer-main-flex {
        flex-direction: column;
    }
    .footer-left {
        width: 100%;
        margin-bottom: 0px;
    }
    .footer-right {
        width: 100%;
        justify-content: space-between;
        gap: 20px;
    }
}






.sidebar-box {
	margin-bottom: 30px;
	padding: 5px;
	font-size: 15px;
	min-width:250px;
	float: left;
	background: #fffad5;
	border: 1px solid #cec795;
	border-radius: 15px 5px;
	z-index:0
}
.sidebar-box *:last-child {
	margin-bottom: 0;
}
.sidebar-box h3 {
	font-size: 18px;
	margin-bottom: 5px;
	padding: 10px 15px;
	color: #ffffff;
	border-radius: 10px 0px;
	background-color: #045775;
	
}
.sidebar {
	/*background-color: #f7f3c1;*/
	/*padding: 5px 5px 10px 5px;
	border-left: 1px solid #cec795;*/
	border-right:0px solid #cec795;  
	/*border-bottom:1px solid #cec795;  
	border-top:1px solid #cec795;  */
	box-shadow: -8px 8px 24px rgba(0, 0, 0, 0.05);
	border-radius: 15px 5px;
	max-width:300px;
	padding-top:10px;
	background-color:#fbfcfa
}

/*.sidebar::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -15px;
  height: 30px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0)
  );
  filter: blur(10px);
  z-index: -1;
}*/

.categories li
{
	  position: relative;
  margin-bottom: 3px;
  padding-bottom: 3px;
  border-bottom: 1px dotted #84815b;
  list-style: none;
	margin-left:13px;
	
}

.categories li:last-child
{
	  position: relative;
  margin-bottom: 3px;
  padding-bottom: 3px;
  border-bottom: 0px dotted #84815b;
  list-style: none;
	margin-left:13px;
	
}
.categories li a
 {
  color: #000000;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  text-decoration: none;
  font-family:Roboto;
  font-size:15px;
 }
 
.img-gallery
{
	border-radius:15px;
	margin-bottom:5px;
	margin-top:5px;
	min-width:350px
	
}

.post-img
{
	background: #f7f5c8;
background: radial-gradient(circle,rgba(247, 245, 200, 1) 0%, rgba(255, 255, 255, 1) 100%);
	text-align:center !important;
	border-radius:15px;
	border:1px dotted #e5e3b8;
}

h5.title a
{
	text-decoration:none;
	font-family:Merienda;
	color:#023667;
	font-size:18px;
	letter-spacing:0.1px;
	padding-top:15px;
	
}

.post-date
{
	font-family:lato;
	font-size:14px;
	color:#8c8d8e;
	letter-spacing:0.4px
}

.read-more a {
  display: inline-flex;
  align-items: right;
  font-size: 16px;
  color: #3f8203;
  text-decoration:none;
  float:right;
  transition: all 0.3s ease;
}



.read-more:hover {
  transform: translateY(-2px);
}

.p-content
{
	font-family:roboto;
	font-size:16px;
	
	line-height:24px;
}

.p-content p, .p-content strong
{
	line-height:23px;
	font-family:Figtree;
	text-align:justify;
	font-size:16px;
	color:#222;
	font-weight:700px;
	letter-spacing:0.1px;
	margin-bottom:10px;
}

.p-content li, .p-content li a
{
	line-height:23px;
	font-family:Figtree;
	text-align:justify;
	font-size:16px;
	color:#222;
	font-weight:700px;
	letter-spacing:0.1px;
}

.p-img
{
	border-radius:15px;
	border:1px dotted #b1b0b0;
	padding:4px 

}


/* Main Table */
.custom-table {
  --bs-table-bg: #eaf4f7;
  --bs-table-striped-bg: #f4f9fb;
  --bs-table-hover-bg: #d6ecf3;
  --bs-table-border-color: #b5cfd6;

  overflow: hidden;
  font-family:Figtree;
  font-size:14px;
}

/* Header Fix (IMPORTANT) */
.table.custom-table thead th {
  background: linear-gradient(45deg, #0d3b66, #1a5f8a) !important;
  color: #fff !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-color: #0d3b66;
}

/* Table Body */
.table.custom-table tbody td {
  background-color: var(--bs-table-bg);
  vertical-align: middle;
}

/* Zebra Striping */
.table.custom-table tbody tr:nth-child(even) td {
  background-color: #f4f9fb;
}

/* Hover Effect */
.table.custom-table tbody tr:hover td {
  background-color: #d6ecf3 !important;
  transition: 0.3s;
}

/* Borders */
.table.custom-table td,
.table.custom-table th {
  border: 1px solid #b5cfd6;
  padding: 5px;
}

/* Rank Column Highlight */
.table.custom-table tbody td:first-child {
  font-weight: normal;
  color: #0d3b66;
  text-align: center;
}

/* Center Align Percentage */
.table.custom-table tbody td:last-child {
  text-align: center;
  font-weight: 400;
}

/* Responsive Fix */
.table-responsive {
  border-radius: 12px;
  overflow: hidden;
}


@media only screen and (min-width: 1024px) and (max-width: 22767px) {
.section-heading
{
	font-family: 'Merienda';
	color: #023046;;
    font-size: 36px;
    font-weight: 500;
	letter-spacing:0px;
    text-decoration: none;
	text-align:center; margin-bottom:30px;

}

.flex-row { display: flex; justify-content: space-between; align-items: center; }

.main-nav {
    background: var(--white);
    padding: 15px 0 0px 0px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-content
{
	padding:0rem 1rem 0rem 1rem; display: table;
 position:relative; left:280px; 
 margin-top:15px; box-shadow: rgba(149, 157, 165, 0.2) 1px 4px 0px 2px;
transform: none; border-radius:20px; padding-left:25px; z-index:10; background-color:#fbfdf6
}

}

@media only screen and (min-width: 823px) and (max-width: 1023px) {
.section-heading
{
	font-family: 'Merienda';
	color: #023046;;
    font-size: 30px;
    font-weight: 500;
	letter-spacing:0px;
    text-decoration: none;
	text-align:center; margin-bottom:30px;

}

.flex-row { display: flex; justify-content: space-between; align-items: center; }

.main-nav {
    background: var(--white);
    padding: 15px 0 0px 0px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

}
 
@media only screen and (min-width: 523px) and (max-width: 822px) {
.section-heading
{
	font-family: 'Merienda';
	color: #023046;;
    font-size: 28px;
    font-weight: 500;
	letter-spacing:0px;
    text-decoration: none;
	text-align:center; margin-bottom:30px;

}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img
{
	float:right;
	width:300px;
}

.flex-row { display: flex; justify-content: space-between; align-items: center; }

.main-nav {
    background: var(--white);
    padding: 15px 0 0px 0px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
}
 
@media only screen and (min-width: 323px) and (max-width: 522px) {
.section-heading
{
	font-family: 'Merienda';
	color: #023046;;
    font-size: 24px;
    font-weight: 500;
	letter-spacing:0px;
    text-decoration: none;
	text-align:center; margin-bottom:30px;

}

.top-header
{
	display:none
}

.logo img
{ position:absolute; left:70px; top:5px;
	width:300px; z-index:11111111111
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

.flex-row { display: block; justify-content: space-between; align-items: center; }

.navbar-toggler
{
	padding:2px 5px 2px 5px;
	top:-8px;
	position:relative
}

.main-nav {
    background: var(--white);
    padding: 5px 0 0px 0px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}




ul.navbar-nav
{
	background-color:#1a7ad4;
}

ul.navbar-nav li a
{
	padding-left:10px;
	color:#fff !important;

}

ul.navbar-nav li li a
{
	padding-left:10px;
	color:#00213f !important;

}

.sidebar
{
	display:none
}

.message-img-wrapper
{
	margin-bottom:30px
}

}

ul.navbar-nav li a
{
	font-family:Lato !important;
	letter-spacing:0.3px;
	color:#00213f; padding:5px 10px; /*font-weight:600; opacity: 0.8;*/
	

}

