/*
	Theme Name: EQuran School
	Theme URI: https://facebook.com/mohsen.elgamasy/
	Description: Fully Build from Scratch for EQuran School
	Author: Dr Mohsen
	Author URI: https://facebook.com/mohsen.elgamasy/
	Version: 1.0
	Text Domain: quran-school
*/

/********** Template CSS **********/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif !important;
}

:root {
            --primary-color: #145362;
            --secondary-color: #f29837;
            --light-bg: #f8f9fa;
            --dark-text: #2c3e50;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--dark-text);
            overflow-x: hidden;
        }
        
        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .section-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            position: relative;
            display:block;
            text-shadow: 0 0 30px rgba(20, 83, 98, 0);
            transition: text-shadow 0.8s ease;
        }
        
        .section-title.visible {
            text-shadow: 0 0 30px rgba(20, 83, 98, 0.1);
        }
        
        .section-subtitle {
            color: var(--secondary-color);
            font-size: 1.1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }
        
        /* Buttons */
        .btn-primary-custom {
            background-color: var(--secondary-color);
            border: none;
            color: white;
            padding: 14px 35px;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(242, 152, 55, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .btn-primary-custom::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .btn-primary-custom:hover::before {
            width: 300px;
            height: 300px;
        }
        
        .btn-primary-custom:hover {
            background-color: #d67f1f;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(242, 152, 55, 0.4);
            color: white;
        }
        
        .btn-outline-custom {
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            padding: 12px 30px;
            font-weight: 600;
            border-radius: 50px;
            background: transparent;
            transition: all 0.3s ease;
        }
        
        .btn-outline-custom:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-2px);
        }

		.btn-white-custom {
            background: white;
            color: var(--primary-color);
            padding: 18px 45px;
            font-weight: 700;
            border-radius: 50px;
            border: none;
            font-size: 1.1rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }
        
        .btn-white-custom:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(242, 152, 55, 0.4);
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
        }
        
        @keyframes rotatePattern {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
        
        .animate-on-scroll {
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
        }


/* Custom animation */
@keyframes pulseGlow {
    0% {
        transform: scale(1);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 15px rgba(255, 107, 107, 0.7), 0 0 25px rgba(78, 205, 196, 0.5);
    }
    100% {
        transform: scale(1);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
}

/* Apply animation */
.unique-text {
    animation: pulseGlow 2s ease-in-out infinite; /* Continuous pulse effect */
}

/* Hover effect */
.unique-text:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.8); /* Glow effect */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .unique-text {
        font-size: 1.8rem; /* Smaller font for mobile */
    }
}

.back-to-top {
    position: fixed;
    display: none;
    left: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: 100px
}

/* ========================================================================
   Bootstrap 5 Split Navwalker - Final CSS
   Based on actual HTML output
   ======================================================================== */

/* ========================================================================
   SPLIT BUTTON STYLING
   ======================================================================== */

.dropdown-toggle-split,
.dropdown-toggle-split-nested {
    padding: 0;
    margin-left: 5px;
    background: transparent;
    border: none;
    color: rgba(0, 0, 0, 0.55);
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.15s ease;
}

.dropdown-toggle-split:hover,
.dropdown-toggle-split-nested:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.dropdown-toggle-split:focus,
.dropdown-toggle-split-nested:focus {
    outline: 2px solid #0d6efd;
    outline-offset: -2px;
}

/* Dark navbar variant */
.navbar-dark .dropdown-toggle-split,
.navbar-dark .dropdown-toggle-split-nested {
    color: rgba(255, 255, 255, 0.55);
    border-left-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .dropdown-toggle-split:hover,
.navbar-dark .dropdown-toggle-split-nested:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
}

/* ========================================================================
   DESKTOP STYLES (≥992px)
   ======================================================================== */

@media (min-width: 992px) {
    .navbar-nav .nav-item {
        margin-right: 35px;
		padding: 25px 0;
		color: var(--dark);
		font-size: 18px;
		font-weight: 500;
		outline: none;
		}
	.navbar-nav .nav-link {
		padding: 0 !important;
	}
	.navbar-nav .nav-link:hover,
	.navbar-nav .nav-link.active {
		color: var(--primary-color);
	}
    /* Top-level items with dropdown */
    .navbar-nav .nav-item.dropdown {
        display: flex;
        align-items: stretch;
        position: relative;
    }
    
    /* Nested items with dropdown - also use flexbox for split button */
    .dropdown-menu .dropdown-submenu-item.dropdown {
        display: flex;
        align-items: stretch;
    }
    
    /* Dropdown menu - hidden by default */
    .navbar-nav .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: none;
        min-width: 250px;
        padding: 0.5rem 0;
        margin: 0;
        background-color: #fff;
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 0.375rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    }
    
    /* Show top-level dropdown when has .show class */
    .navbar-nav .nav-item.dropdown.show > .dropdown-menu {
        display: block;
    }
    
    /* Dropdown items */
    .dropdown-menu .dropdown-item {
        display: block;
        width: 100%;
        padding: 0.5rem 1.5rem;
        color: #212529;
        text-decoration: none;
        background-color: transparent;
        border: 0;
        cursor: pointer;
        transition: background-color 0.15s ease;
    }
    
    .dropdown-menu .dropdown-item:hover {
        background-color: #e9ecef;
        color: #1e2125;
    }
    
    /* Nested submenu items */
    .dropdown-menu .dropdown-submenu-item {
        position: relative;
    }
    
    /* Nested submenu - hidden by default */
    .dropdown-menu .dropdown-submenu-item.dropdown > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
        margin-left: 0.125rem;
        margin-top: -0.5rem;
        display: none;
    }
    
    /* Show nested submenu on hover */
    .dropdown-menu .dropdown-submenu-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
    
    /* Show nested submenu when has .show class */
    .dropdown-menu .dropdown-submenu-item.dropdown.show > .dropdown-menu {
        display: block;
    }
    
    /* Arrow for nested items with submenus */
    .dropdown-submenu-item.dropdown .dropdown-arrow {
        float: right;
        margin-left: 1rem;
        opacity: 0.6;
        transition: opacity 0.15s ease;
    }
    
    .dropdown-submenu-item.dropdown:hover .dropdown-arrow {
        opacity: 1;
    }
    
    /* Custom scrollbar */
    .navbar-nav > .nav-item.dropdown > .dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    .navbar-nav > .nav-item.dropdown > .dropdown-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .navbar-nav > .nav-item.dropdown > .dropdown-menu::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }
    
    .navbar-nav > .nav-item.dropdown > .dropdown-menu::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
    
    /* No scroll restrictions on nested menus */
    .dropdown-submenu-item.dropdown > .dropdown-menu {
        max-height: none;
        overflow: visible;
    }
	.dropdown-toggle-split-nested {
		display: none;
	}
}

/* ========================================================================
   MOBILE STYLES (<992px)
   ======================================================================== */

@media (max-width: 991.98px) {
    .navbar-collapse {
		flex-basis: 100%;
		flex-grow: 1;
		align-items: center;
		max-width: 100%;
		overflow-y: scroll;
		max-height: 100vh;
	}
	
    /* Show split buttons on mobile */
    .dropdown-toggle-split,
    .dropdown-toggle-split-nested {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0.75rem;
        border: none;
        background: transparent;
        margin-left: auto;
    }
    
    /* Add arrow indicator to nav-link */
    .nav-item.dropdown > .nav-link::after {
        content: none;
    }
    
    /* Rotate arrow when open */
    .nav-item.dropdown.show > .nav-link::after {
        transform: rotate(180deg);
    }
    
    /* Stack dropdowns vertically */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
        background-color: transparent;
        border: none;
        box-shadow: none;
        display: none;
    }
    
    /* Show dropdown when has .show class */
    .navbar-nav .dropdown-menu.show {
        display: block;
    }
    
    /* Dropdown items - indented */
    .navbar-nav .dropdown-menu .dropdown-item {
		font-size: 14px;
        padding: 0.5rem 1rem;
        padding-left: 2rem;
        color: #212529;
        background-color: transparent;
        text-decoration: none;
        display: block;
        transition: background-color 0.15s ease;
		width: auto;
		max-width: 85%;
    }
    
    .navbar-nav .dropdown-menu .dropdown-item:hover {
        background-color: #e9ecef;
    }
    
    /* Nested items with submenus - add arrow */
    .dropdown-submenu-item.dropdown > .dropdown-item::after {
        content: none;
    }
    
    /* Rotate arrow when nested submenu is open */
    .dropdown-submenu-item.dropdown.show > .dropdown-item::after {
        transform: rotate(180deg);
    }
    
    /* Hide desktop arrow on mobile */
    .dropdown-item .dropdown-arrow {
        display: none !important;
    }
    
    /* Further indent for nested items */
    .dropdown-submenu-item .dropdown-menu .dropdown-item {
        padding-left: 3rem;
    }
    
    /* Third level */
    .dropdown-submenu-item .dropdown-submenu-item .dropdown-menu .dropdown-item {
        padding-left: 4rem;
    }
    
    /* Fourth level */
    .dropdown-submenu-item .dropdown-submenu-item .dropdown-submenu-item .dropdown-menu .dropdown-item {
        padding-left: 5rem;
    }
	
	.navbar-nav > .nav-item.dropdown, .navbar-nav .dropdown-submenu-item.dropdown {
		display: flex;
		flex-wrap: wrap;
	}
	
	
}

/* ========================================================================
   ACTIVE & CURRENT STATES
   ======================================================================== */

.navbar-nav .nav-item.active > .nav-link,
.navbar-nav .current-menu-item > .nav-link {
    color: #0d6efd;
    font-weight: 500;
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .current-menu-item > .dropdown-item {
    color: #fff;
    background-color: #0d6efd;
}

/* ========================================================================
   ACCESSIBILITY
   ======================================================================== */

.nav-link:focus,
.dropdown-item:focus,
.dropdown-toggle-split:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Remove outline when not using keyboard */
.nav-link:focus:not(:focus-visible),
.dropdown-item:focus:not(:focus-visible),
.dropdown-toggle-split:focus:not(:focus-visible) {
    outline: none;
}

/* ========================================================================
   UTILITIES
   ======================================================================== */

/* Cursor */
.dropdown-item {
    cursor: pointer;
	white-space: unset;
}

/* Prevent flash during collapse */
.navbar-collapse.collapsing .dropdown-menu {
    display: none !important;
}

/* WordPress admin bar compatibility */
@media screen and (min-width: 783px) {
    .admin-bar .navbar.fixed-top {
        top: 32px;
    }
}

@media screen and (max-width: 782px) {
    .admin-bar .navbar.fixed-top {
        top: 46px;
    }
}

/*** Header ***/
img.site-logo {
    width: 100px;
}

@media (max-width: 768px) {
    img.site-logo {
    width: 100px;
}
}

/* Breadcrumbs */
        .breadcrumb-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, #0d3d49 100%);
            padding: 40px 0;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .page-title {
            font-size: 2.5rem;
            color: white;
            margin-bottom: 15px;
            position: relative;
            z-index: 2;
        }
        
        .rank-math-breadcrumb {
            background: transparent;
            padding: 0;
            margin: 0;
            position: relative;
            z-index: 2;
        }
        
        .rank-math-breadcrumb a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .rank-math-breadcrumb a:hover {
            color: var(--secondary-color);
        }
        
        .rank-math-breadcrumb .last {
            color: var(--secondary-color);
        }



/* Ensure desktop styles remain consistent */
@media (min-width: 768px) {
    .features-section .col-3,
    .how-it-works-section .col-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.teacher-single-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-single-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.teacher-single-img img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.teacher-name {
    font-size: 1.8rem;
    font-weight: 700;
}

.teacher-position {
    font-size: 1rem;
    font-weight: 500;
}

.teacher-single-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.teacher-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.teacher-social a:hover {
    background: var(--primary, #007bff);
    color: #fff;
}


/*** Footer ***/
.footer {
	background: #105b68 !important;
}

img.footer-logo {
	width: 100px;
}

.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li a {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer-menu li a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer-menu li a:hover {
    color: var(--secondary-color);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #0d5562;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

.trial-form label {
    width: 100%;
    margin-bottom: 20px;
}

.trial-form label br {
    display: none;
}

.trial-form .wpcf7-list-item {
    margin: 0 1em 0 0 !important;
}

.trial-form .wpcf7-form-control.wpcf7-acceptance {
	padding: 0;
}

.trial-form .wpcf7-submit {
    background: #0777BF;
    color: #fff;
    border: none;
    width: 100%;
    border-radius: 3px;
}

.trial-form .wpcf7-submit:disabled {
    background: gray;
}

.wpcf7 .form-control {
    padding: 1rem 0.75rem;
}


.trial-form .wpcf7-form-control {
    padding: 1rem 0.75rem;
	line-height: 1;
}

nav.rank-math-breadcrumb {
    color: #fff;
}

nav.rank-math-breadcrumb a {
    color: #fff;
}

/* Floating Buttons Styles */
.floating-buttons {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    animation: floatButton 3s ease-in-out infinite;
}

@keyframes floatButton {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

/* Free Trial Button */
.trial-btn {
    background: linear-gradient(135deg, #f29837, #d67f1f);
}

.trial-btn:hover {
    background: linear-gradient(135deg, #d67f1f, #c36d12);
}

/* Tooltip */
.floating-btn-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.floating-btn-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid rgba(0,0,0,0.85);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.floating-btn:hover .floating-btn-tooltip {
    opacity: 1;
    right: 80px;
}

/* Pulse Animation for Free Trial */
.trial-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(242, 152, 55, 0.6);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #ff3b3b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    border: 3px solid white;
    animation: bounce 2s ease-in-out infinite;
	padding: 15px;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-buttons {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .floating-btn-tooltip {
        display: none;
    }
}

/* Smaller screens */
@media (max-width: 480px) {
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* ================= Blog Card ================= */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    transition: all .4s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,.15);
}

/* Image */
.blog-thumb {
    position: relative;
    display: block;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .6s ease;
}

.blog-card:hover img {
    transform: scale(1.08);
}

/* Overlay */
.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

/* Content */
.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.blog-title a {
    color: #145362;
    text-decoration: none;
}

.blog-title a:hover {
    color: var(--secondary-color);
}

.btn-primary-custom {
    background-color: #f29837;
    border: none;
    color: white;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 152, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom:hover {
    background-color: #d67f1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 152, 55, 0.4);
    color: white;
}

/* Read More */
.read-more {
    margin-top: auto;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more i {
    transition: transform .3s ease;
}

.blog-card:hover .read-more i {
    transform: translateX(5px);
}

/* Mobile */
@media (max-width: 767px) {
    .blog-thumb img {
        height: 220px;
    }
}

/* Category Badge */
.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    z-index: 2;
}

/* Meta */
.blog-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--primary-color);
}

/* ===== Courses Widget ===== */
.border-20 {
    border-radius: 20px;
    padding: 1.5rem !important;
}

.sidebar .widget-title {
    background: #105b68;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 15px;
    font-size: 18px;
}

.sidebar {
	position: sticky;
	top: 100px;
}

.sidebar .courses-widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar .course-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sidebar .course-thumb {
    height: auto;
}

.sidebar .course-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.sidebar .course-info {
    flex: 1;
}

.sidebar .course-title {
    font-size: 15px;
    margin: 0 0 4px;
}

.sidebar .course-title a {
    color: #111;
    text-decoration: none;
}

.sidebar .view-course {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.sidebar .view-all {
    margin-top: 10px;
    text-align: center;
}

.sidebar .btn-view-all {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
	width: 100%;
}

.sidebar .btn-view-all:hover {
    background: var(--secondary-color);
}

/* ================= Modern Comments ================= */
.comments-area {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.comments-area h3 {
    font-size: 1.75rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: #111;
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

.comment-list li:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 2px;
    height: calc(100% - 15px);
    background: #eee;
    z-index: -1;
}

.comment-list li:last-child:before {
    display: none;
}

/* Comment Avatar */
.comment-list .comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Comment Body */
.comment-body {
    flex: 1;
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 12px;
    position: relative;
}

.comment-body::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -7px;
    border-width: 7px;
    border-style: solid;
    border-color: transparent #f9f9f9 transparent transparent;
}

/* Comment Meta */
.comment-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 5px;
}

.comment-meta .comment-author {
    font-weight: 600;
    color: #111;
}

.comment-meta .comment-date {
    margin-left: 10px;
}

/* Reply Link */
.comment-reply-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-top: 8px;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

/* Comment Form */

.comment-respond h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.comment-respond form input,
.comment-respond form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.comment-respond form input:focus,
.comment-respond form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

/* Submit Button */
.comment-respond form input[type="submit"] {
    background: #313131;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
	margin: 0;
}

.comment-respond form input[type="submit"]:hover {
    background: var(--primary);
}

/* Nested Comments */
.children {
    margin-left: 60px;
}

/* Responsive */
@media (max-width: 767px) {
    .comment-list li {
        flex-direction: column;
    }

    .children {
        margin-left: 30px;
    }
}

:root {
            --primary-color: #145362;
            --secondary-color: #f29837;
            --light-bg: #f8f9fa;
            --dark-text: #2c3e50;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--dark-text);
            overflow-x: hidden;
        }
        
        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .section-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            position: relative;
            display:block;
            text-shadow: 0 0 30px rgba(20, 83, 98, 0);
            transition: text-shadow 0.8s ease;
        }
        
        .section-title.visible {
            text-shadow: 0 0 30px rgba(20, 83, 98, 0.1);
        }
        
        .section-subtitle {
            color: var(--secondary-color);
            font-size: 1.1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }
        
        /* Buttons */
        .btn-primary-custom {
            background-color: var(--secondary-color);
            border: none;
            color: white;
            padding: 14px 35px;
            font-weight: 600;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(242, 152, 55, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .btn-primary-custom::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .btn-primary-custom:hover::before {
            width: 300px;
            height: 300px;
        }
        
        .btn-primary-custom:hover {
            background-color: #d67f1f;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(242, 152, 55, 0.4);
            color: white;
        }
        
        .btn-outline-custom {
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            padding: 12px 30px;
            font-weight: 600;
            border-radius: 50px;
            background: transparent;
            transition: all 0.3s ease;
        }
        
        .btn-outline-custom:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-2px);
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
        }
        
        @keyframes rotatePattern {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
        
        .animate-on-scroll {
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
        }

/* Courses Section */
        .courses-section {
            padding: 100px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }
        
        .course-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            height: 100%;
            border: 2px solid #f0f0f0;
        }
        
        .course-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 50px rgba(20, 83, 98, 0.2);
            border-color: var(--secondary-color);
        }
        
        .course-thumb {
            position: relative;
            overflow: hidden;
            height: 250px;
        }
        
        .course-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .course-card:hover .course-thumb img {
            transform: scale(1.1);
        }
        
        .course-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--secondary-color);
            color: white;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            animation: pulse 3s ease-in-out infinite;
        }
        
        .course-content {
            padding: 30px;
        }
        
        .course-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

		.course-title {
            color: var(--primary-color);
        }
        
        .course-meta {
            display: flex;
            gap: 20px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            font-size: 0.9rem;
            color: #666;
        }
        
        .course-meta i {
            color: var(--secondary-color);
            margin-right: 5px;
        }

/* Course Overview */
        .course-overview {
            padding: 80px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }
        
        .course-thumbnail {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(20, 83, 98, 0.2);
            position: relative;
        }
        
        .course-thumbnail img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .course-badge-lg {
            position: absolute;
            top: 30px;
            right: 30px;
            background: var(--secondary-color);
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 700;
            box-shadow: 0 5px 20px rgba(242, 152, 55, 0.4);
        }
        
        .course-meta-list {
            list-style: none;
            padding: 0;
            margin: 25px 0;
        }
        
        .course-meta-list li {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 1.05rem;
        }
        
        .course-meta-list li:last-child {
            border-bottom: none;
        }
        
        .course-meta-list i {
            color: var(--secondary-color);
            font-size: 1.5rem;
            width: 30px;
        }
        
        /* Buttons */
		
		.overview-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            margin-bottom: 30px;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        
        .overview-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(20, 83, 98, 0.15);
            border-color: var(--secondary-color);
        }
		
		.overview-content {
            padding: 30px;
        }
		
		.overview-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }
        
        /* Outcomes Section */
        .outcomes-section {
            padding: 100px 0;
            background: var(--light-bg);
            position: relative;
            overflow: hidden;
        }
        
        .outcome-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            margin-bottom: 30px;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        
        .outcome-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(20, 83, 98, 0.15);
            border-color: var(--secondary-color);
        }
        
        .outcome-image {
            height: 280px;
            overflow: hidden;
            position: relative;
        }
        
        .outcome-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .outcome-card:hover .outcome-image img {
            transform: scale(1.1);
        }
        
        .outcome-number {
            position: absolute;
            top: 20px;
            left: 20px;
            width: 60px;
            height: 60px;
            background: var(--secondary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            box-shadow: 0 5px 15px rgba(242, 152, 55, 0.3);
        }
        
        .outcome-content {
            padding: 30px;
        }
        
        .outcome-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }
        
        /* Full CTA Sections */
        .full-cta-1 {
            background: linear-gradient(135deg, var(--primary-color) 0%, #0d3d49 100%);
            padding: 100px 0;
            position: relative;
            overflow: hidden;
            color: white;
        }
        
        .full-cta-1::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="cta1-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(242,152,55,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta1-pattern)"/></svg>');
        }
        
        .cta-content-box {
            position: relative;
            z-index: 2;
        }
        
        .cta-title {
            font-size: 3rem;
            color: white;
            margin-bottom: 20px;
            font-weight: 800;
        }
        
        .cta-description {
            font-size: 1.3rem;
            margin-bottom: 30px;
            opacity: 0.95;
        }
        
        .cta-features {
            list-style: none;
            padding: 0;
            margin: 30px 0;
        }
        
        .cta-features li {
            padding: 12px 0;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .cta-features i {
            color: var(--secondary-color);
            font-size: 1.5rem;
        }
        
        .btn-white-custom {
            background: white;
            color: var(--primary-color);
            padding: 18px 45px;
            font-weight: 700;
            border-radius: 50px;
            border: none;
            font-size: 1.1rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }
        
        .btn-white-custom:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(242, 152, 55, 0.4);
        }
        
        /* Full CTA 2 - Image Split */
        .full-cta-2 {
            background: white;
            padding: 0;
            position: relative;
            overflow: hidden;
        }
        
        .cta-image-section {
            height: 100%;
            min-height: 600px;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        
        .cta-image-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to right, rgba(20, 83, 98, 0.7), transparent);
        }
        
        .cta-content-section {
            padding: 80px 60px;
            background: var(--primary-color);
            color: white;
            position: relative;
        }
        
        .cta-content-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="cta2-pattern" width="80" height="80" patternUnits="userSpaceOnUse"><path d="M40,10 L50,30 L70,30 L55,42 L60,62 L40,50 L20,62 L25,42 L10,30 L30,30 Z" fill="rgba(242,152,55,0.05)"/></pattern></defs><rect width="80" height="80" fill="url(%23cta2-pattern)"/></svg>');
            opacity: 0.4;
        }
        
        .cta-content-section > * {
            position: relative;
            z-index: 2;
        }
        
        /* Full CTA 3 - Centered Box */
        .full-cta-3 {
            padding: 100px 0;
            background: linear-gradient(135deg, #0d3d49 0%, var(--primary-color) 100%);
            position: relative;
            overflow: hidden;
        }
        
        .full-cta-3::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(242,152,55,0.1) 0%, transparent 70%);
            animation: float 15s ease-in-out infinite;
        }
        
        .cta-box-centered {
            background: rgba(255,255,255,0.95);
            border-radius: 30px;
            padding: 60px;
            box-shadow: 0 30px 80px rgba(0,0,0,0.3);
            position: relative;
            z-index: 2;
            text-align: center;
        }
        
        .cta-box-centered h2 {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        
        .cta-box-centered p {
            font-size: 1.2rem;
            color: var(--dark-text);
            margin-bottom: 30px;
        }
        
        .cta-stats {
            display: flex;
            justify-content: space-around;
            margin: 40px 0;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: 800;
            color: var(--secondary-color);
            display: block;
            line-height: 1;
        }
        
        .stat-label {
            color: var(--primary-color);
            font-weight: 600;
            margin-top: 10px;
        }
        
        /* What You'll Learn */
        .learn-section {
            padding: 100px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }
        
        .learn-section::before {
            content: '';
            position: absolute;
            bottom: -50px;
            left: -50px;
            width: 300px;
            height: 300px;
            background-image: url('data:image/svg+xml,<svg width="300" height="300" xmlns="http://www.w3.org/2000/svg"><circle cx="150" cy="150" r="100" fill="none" stroke="%23145362" stroke-width="0.5" opacity="0.1"/><circle cx="150" cy="150" r="70" fill="none" stroke="%23f29837" stroke-width="0.5" opacity="0.1"/><path d="M150,50 L170,110 L230,110 L180,150 L200,210 L150,170 L100,210 L120,150 L70,110 L130,110 Z" fill="none" stroke="%23f29837" stroke-width="1" opacity="0.08"/></svg>');
            animation: pulse 8s ease-in-out infinite;
        }
        
        .learn-card {
            background: var(--light-bg);
            padding: 35px 30px;
            border-radius: 15px;
            margin-bottom: 25px;
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
            position: relative;
            overflow: hidden;
        }
        
        .learn-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 0;
            background: var(--secondary-color);
            transition: height 0.3s ease;
        }
        
        .learn-card:hover::before {
            height: 100%;
        }
        
        .learn-card:hover {
            background: white;
            box-shadow: 0 10px 30px rgba(20, 83, 98, 0.1);
            transform: translateX(10px);
        }
        
        .learn-card-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--secondary-color), #ffb366);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: white;
            font-size: 1.8rem;
        }
		
		/* Tutors Section */
        .tutors-section {
            padding: 100px 0;
            background: var(--light-bg);
            position: relative;
            overflow: hidden;
        }
        
        .tutor-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .tutor-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(20, 83, 98, 0.15);
        }
        
        .tutor-image {
            position: relative;
            overflow: hidden;
            height: 300px;
        }
        
        .tutor-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .tutor-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(20, 83, 98, 0.95), transparent);
            padding: 20px;
            color: white;
        }
        
        .tutor-info {
            padding: 25px;
        }
        
        .tutor-name {
            font-size: 1.3rem;
            color: var(--primary-color);
            margin-bottom: 5px;
        }
        
        .tutor-title {
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        .tutor-social {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 15px;
        }
        
        .tutor-social a {
            width: 40px;
            height: 40px;
            background: var(--light-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            transition: all 0.3s ease;
        }
        
        .tutor-social a:hover {
            background: var(--secondary-color);
            color: white;
        }

		/* Category Filter Styles (Same as courses) */
.category-filter-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.category-btn {
    padding: 12px 28px;
    border: 2px solid transparent;
    background: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(242, 152, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 152, 55, 0.2);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--secondary-color), #ffb366);
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 5px 20px rgba(242, 152, 55, 0.3);
}

.category-btn.active:hover {
    background: linear-gradient(135deg, #d67f1f, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 152, 55, 0.4);
}

.category-btn i {
    font-size: 1.1rem;
}

/* Course Item Animation */
.courses-grid-wrapper {
    position: relative;
    min-height: 400px;
}

.course-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

/* Hiding state - fade out */
.course-item.hiding {
    opacity: 0;
    transform: scale(0.95);
}

/* Hidden state - removed from layout */
.course-item.hidden {
    display: none !important;
    opacity: 0;
}

/* Showing state - fade in */
.course-item.showing {
    animation: fadeInScale 0.5s ease forwards;
}

/* Tutor Item Animation */
.tutors-grid-wrapper {
    position: relative;
    min-height: 400px;
}

.tutor-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

/* Hiding state - fade out */
.tutor-item.hiding {
    opacity: 0;
    transform: scale(0.95);
}

/* Hidden state - removed from layout */
.tutor-item.hidden {
    display: none !important;
    opacity: 0;
}

/* Showing state - fade in */
.tutor-item.showing {
    animation: fadeInScale 0.5s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .category-filters {
        padding: 15px;
        border-radius: 20px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .category-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .category-filters {
        gap: 8px;
        padding: 12px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .category-btn span {
        display: none; /* Hide text on very small screens, keep only icons */
    }
}
        
        /* Video Reviews */
        .video-reviews-section {
            padding: 100px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }
        
        .video-reviews-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml,<svg width="150" height="150" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="video-pattern" width="150" height="150" patternUnits="userSpaceOnUse"><path d="M75,25 Q85,45 75,65 Q65,45 75,25 M75,65 Q85,85 75,105 Q65,85 75,65 M25,75 Q45,85 65,75 Q45,65 25,75 M65,75 Q85,85 105,75 Q85,65 65,75" fill="none" stroke="rgba(20,83,98,0.04)" stroke-width="1.5"/></pattern></defs><rect width="150" height="150" fill="url(%23video-pattern)"/></svg>');
            opacity: 0.5;
        }
        
        .video-card {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            height: 280px;
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .video-card:hover {
            transform: scale(1.03);
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }
        
        .video-thumbnail {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(20, 83, 98, 0.3), rgba(20, 83, 98, 0.7));
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            color: white;
        }
        
        .play-button {
            width: 80px;
            height: 80px;
            background: var(--secondary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin-bottom: 15px;
            transition: all 0.3s ease;
            animation: float 3s ease-in-out infinite;
        }
        
        .video-card:hover .play-button {
            transform: scale(1.15);
            background: #d67f1f;
            animation: none;
        }
        
        .video-title {
            font-size: 1.1rem;
            font-weight: 600;
            text-align: center;
            padding: 0 20px;
        }
        
        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.95);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .lightbox.active {
            display: flex;
        }
        
        .lightbox-content {
            position: relative;
            max-width: 900px;
            width: 100%;
        }
        
        .lightbox-close {
            position: absolute;
            top: -40px;
            right: 0;
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
        }
        
        .lightbox iframe {
            width: 100%;
            height: 500px;
            border: none;
            border-radius: 10px;
        }
        
        /* Why Choose Us */
        .why-choose-section {
            padding: 100px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }
        
        .why-card {
            background: var(--light-bg);
            padding: 35px 25px;
            border-radius: 15px;
            height: 100%;
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
        }
        
        .why-card:hover {
            background: white;
            box-shadow: 0 10px 30px rgba(20, 83, 98, 0.1);
            border-left-color: var(--secondary-color);
            transform: translateX(5px);
        }
        
        .why-icon {
            width: 70px;
            height: 70px;
            background: white;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 2rem;
            color: var(--secondary-color);
            box-shadow: 0 5px 15px rgba(242, 152, 55, 0.2);
        }
        
        /* Related Courses */
        .related-courses-section {
            padding: 100px 0;
            background: var(--light-bg);
            position: relative;
            overflow: hidden;
        }
        
        /* FAQs */
        .faqs-section {
            padding: 100px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }
        
        .accordion-item {
            border: none;
            margin-bottom: 15px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .accordion-button {
            background: var(--light-bg);
            color: var(--primary-color);
            font-weight: 600;
            padding: 20px 25px;
            font-size: 1.1rem;
            border: none;
        }
        
        .accordion-button:not(.collapsed) {
            background: var(--primary-color);
            color: white;
            box-shadow: none;
        }
        
        .accordion-button:focus {
            box-shadow: none;
            border: none;
        }
        
        .accordion-button::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23145362'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        }
        
        .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        }
        
        .accordion-body {
            padding: 25px;
            background: white;
            color: #555;
            line-height: 1.8;
        }

		/* CTA Sections */
        .cta-section-main {
            padding: 100px 0;
            background: white;
        }
        
        .cta-section.alternate {
            background: var(--light-bg);
			color: #2c3e50;
        }
        
        .cta-image {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(20, 83, 98, 0.15);
            height: 100%;
            min-height: 400px;
        }
        
        .cta-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .cta-content {
            padding: 40px;
        }
		
		/* CTA Section */
        .footer-cta-section {
            padding: 100px 0;
            background: linear-gradient(135deg, var(--primary-color) 0%, #0d3d49 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .footer-cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="cta-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
        }
        
        .footer-cta-section .cta-content {
            position: relative;
            z-index: 2;
            text-align: center;
        }
        
        .footer-cta-section .cta-title {
            font-size: 2.8rem;
            color: white;
            margin-bottom: 20px;
            font-weight: 800;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .page-title {
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .cta-title {
                font-size: 2rem;
            }
            
            .cta-content-section {
                padding: 40px 30px;
            }
            
            .cta-box-centered {
                padding: 40px 30px;
            }
            
            .stat-number {
                font-size: 2rem;
            }
        }




.discount-badge {
            display: inline-block;
            background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
            color: white;
            padding: 8px 20px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.9rem;
            margin-left: 15px;
            animation: pulse 2s ease-in-out infinite;
        }
        
        /* Pricing Section */
        .pricing-section {
            padding: 60px 0 100px;
            background: white;
            position: relative;
            overflow: hidden;
        }
        
        /* Pricing Cards */
        .pricing-card {
            background: white;
            border-radius: 25px;
            padding: 45px 35px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            position: relative;
            transition: all 0.4s ease;
            border: 3px solid transparent;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .pricing-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 60px rgba(20, 83, 98, 0.2);
            border-color: var(--secondary-color);
        }
        
        .pricing-card.featured {
            background: linear-gradient(135deg, var(--primary-color) 0%, #0d3d49 100%);
            color: white;
            border-color: var(--secondary-color);
            transform: scale(1.05);
        }
        
        .pricing-card.featured:hover {
            transform: scale(1.08) translateY(-15px);
        }
        
        .pricing-card.featured h3,
        .pricing-card.featured .pricing-price,
        .pricing-card.featured .pricing-duration {
            color: white;
        }
        
        .pricing-card.featured .pricing-features li {
            color: rgba(255,255,255,0.95);
        }
        
        .pricing-card.featured .pricing-features i {
            color: var(--secondary-color);
        }
        
        .popular-badge {
            position: absolute;
            top: -15px;
            right: 30px;
            background: linear-gradient(135deg, var(--secondary-color), #ffb366);
            color: white;
            padding: 8px 25px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.9rem;
            box-shadow: 0 5px 20px rgba(242, 152, 55, 0.4);
            animation: pulse 2s ease-in-out infinite;
        }
        
        .pricing-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--secondary-color), #ffb366);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 2.5rem;
            color: white;
            transform: rotate(-5deg);
            transition: all 0.3s ease;
        }
        
        .pricing-card:hover .pricing-icon {
            transform: rotate(0deg) scale(1.1);
        }
        
        .pricing-card.featured .pricing-icon {
            background: white;
            color: var(--primary-color);
        }
        
        .pricing-name {
            font-size: 1.8rem;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .pricing-description {
            text-align: center;
            margin-bottom: 25px;
            font-size: 0.95rem;
            opacity: 0.9;
            min-height: 45px;
        }
        
        .pricing-price-wrapper {
            text-align: center;
            padding: 25px 0;
            border-top: 2px solid rgba(20, 83, 98, 0.1);
            border-bottom: 2px solid rgba(20, 83, 98, 0.1);
            margin-bottom: 30px;
        }
        
        .pricing-card.featured .pricing-price-wrapper {
            border-color: rgba(255,255,255,0.2);
        }
        
        .pricing-price {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--primary-color);
            line-height: 1;
        }
        
        .pricing-currency {
            font-size: 1.8rem;
            vertical-align: super;
        }
        
        .pricing-duration {
            display: block;
            margin-top: 8px;
            font-size: 1rem;
            color: #666;
            font-weight: 500;
        }
        
        .pricing-card.featured .pricing-duration {
            color: rgba(255,255,255,0.8);
        }
        
        .original-price {
            text-decoration: line-through;
            color: #999;
            font-size: 1.2rem;
            display: block;
            margin-top: 5px;
        }
        
        .pricing-features {
            list-style: none;
            padding: 0;
            margin: 0 0 30px 0;
            flex-grow: 1;
        }
        
        .pricing-features li {
            padding: 12px 0;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1rem;
        }
        
        .pricing-features i {
            color: var(--secondary-color);
            font-size: 1.3rem;
            flex-shrink: 0;
        }
        
        .pricing-btn {
            width: 100%;
            padding: 16px 30px;
            font-size: 1.1rem;
            font-weight: 700;
            border-radius: 50px;
            border: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .pricing-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .pricing-btn:hover::before {
            width: 400px;
            height: 400px;
        }
        
        .pricing-btn-primary {
            background: var(--secondary-color);
            color: white;
            box-shadow: 0 5px 20px rgba(242, 152, 55, 0.3);
        }
        
        .pricing-btn-primary:hover {
            background: #d67f1f;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(242, 152, 55, 0.4);
        }
        
        .pricing-btn-white {
            background: white;
            color: var(--primary-color);
            box-shadow: 0 5px 20px rgba(255,255,255,0.3);
        }
        
        .pricing-btn-white:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-3px);
        }
                
        /* Responsive */
        @media (max-width: 768px) {
            
            .pricing-card.featured {
                transform: scale(1);
                margin-bottom: 30px;
            }
            
            .pricing-card.featured:hover {
                transform: scale(1.02) translateY(-10px);
            }
            
        }

/* Hero Section */
        .hero-section {
            background-image: linear-gradient(135deg, rgba(20, 83, 98, 0.92) 0%, rgba(13, 61, 73, 0.95) 100%), 
                              url('https://images.pexels.com/photos/6588593/pexels-photo-6588593.jpeg?auto=compress&cs=tinysrgb&w=1920');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: white;
            padding: 120px 0 100px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="islamic-pattern" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="100" cy="100" r="2" fill="rgba(255,255,255,0.1)"/><path d="M100,50 Q125,75 100,100 Q75,75 100,50 M100,100 Q125,125 100,150 Q75,125 100,100 M50,100 Q75,125 100,100 Q75,75 50,100 M100,100 Q125,75 150,100 Q125,125 100,100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/><circle cx="100" cy="50" r="3" fill="rgba(242,152,55,0.2)"/><circle cx="100" cy="150" r="3" fill="rgba(242,152,55,0.2)"/><circle cx="50" cy="100" r="3" fill="rgba(242,152,55,0.2)"/><circle cx="150" cy="100" r="3" fill="rgba(242,152,55,0.2)"/></pattern></defs><rect width="200" height="200" fill="url(%23islamic-pattern)"/></svg>');
            opacity: 0.4;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
        }
        
        .hero-section h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            color: white;
            line-height: 1.2;
        }
        
        .hero-section p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            opacity: 0.95;
        }
        
        /* About Section */
        .about-section {
            padding: 100px 0;
            background-color: white;
            position: relative;
            overflow: hidden;
        }
        
        .about-section::before {
            content: '';
            position: absolute;
            top: -50px;
            left: -50px;
            width: 300px;
            height: 300px;
            background-image: url('data:image/svg+xml,<svg width="300" height="300" xmlns="http://www.w3.org/2000/svg"><circle cx="150" cy="150" r="100" fill="none" stroke="%23145362" stroke-width="0.5" opacity="0.1"/><circle cx="150" cy="150" r="70" fill="none" stroke="%23f29837" stroke-width="0.5" opacity="0.1"/><circle cx="150" cy="150" r="40" fill="none" stroke="%23145362" stroke-width="0.5" opacity="0.1"/><path d="M150,50 L170,110 L230,110 L180,150 L200,210 L150,170 L100,210 L120,150 L70,110 L130,110 Z" fill="none" stroke="%23f29837" stroke-width="1" opacity="0.08"/></svg>');
            animation: rotatePattern 60s linear infinite;
            opacity: 0.3;
        }
        
        .about-section::after {
            content: '';
            position: absolute;
            bottom: -50px;
            right: -50px;
            width: 300px;
            height: 300px;
            background-image: url('data:image/svg+xml,<svg width="300" height="300" xmlns="http://www.w3.org/2000/svg"><circle cx="150" cy="150" r="100" fill="none" stroke="%23145362" stroke-width="0.5" opacity="0.1"/><circle cx="150" cy="150" r="70" fill="none" stroke="%23f29837" stroke-width="0.5" opacity="0.1"/><circle cx="150" cy="150" r="40" fill="none" stroke="%23145362" stroke-width="0.5" opacity="0.1"/><path d="M150,50 L170,110 L230,110 L180,150 L200,210 L150,170 L100,210 L120,150 L70,110 L130,110 Z" fill="none" stroke="%23f29837" stroke-width="1" opacity="0.08"/></svg>');
            animation: rotatePattern 60s linear infinite reverse;
            opacity: 0.3;
        }
        
        .about-image {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(20, 83, 98, 0.15);
            position: relative;
        }
        
        .about-image::after {
            content: '';
            position: absolute;
            top: 20px;
            left: 20px;
            right: -20px;
            bottom: -20px;
            border: 3px solid var(--secondary-color);
            border-radius: 20px;
            z-index: -1;
            animation: pulse 4s ease-in-out infinite;
        }
        
        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Features Section */
        .features-section {
            padding: 100px 0;
            background-color: var(--light-bg);
            position: relative;
            overflow: hidden;
        }
        
        .features-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="mosque-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M50,20 L55,40 L65,40 L57,47 L60,60 L50,52 L40,60 L43,47 L35,40 L45,40 Z" fill="rgba(20,83,98,0.03)"/><circle cx="50" cy="70" r="8" fill="none" stroke="rgba(242,152,55,0.05)" stroke-width="1"/><rect x="45" y="78" width="10" height="15" fill="rgba(20,83,98,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23mosque-pattern)"/></svg>');
            opacity: 0.5;
        }
        
        .feature-card {
            background: white;
            padding: 40px 30px;
            border-radius: 15px;
            text-align: center;
            height: 100%;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(20, 83, 98, 0.15);
            border-color: var(--secondary-color);
        }
        
        .feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--secondary-color), #ffb366);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 2.5rem;
            color: white;
            animation: pulse 2s ease-in-out infinite;
        }
        
        .feature-card:hover .feature-icon {
            animation: none;
            transform: scale(1.1);
        }
        
        /* Areas We Serve Section */
        .areas-section {
            padding: 100px 0;
            background: var(--primary-color);
            color: white;
        }
        
        .area-card {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 40px 30px;
            border-radius: 15px;
            text-align: center;
            height: 100%;
            transition: all 0.3s ease;
            border: 2px solid rgba(255,255,255,0.2);
        }
        
        .area-card:hover {
            background: rgba(255,255,255,0.15);
            transform: translateY(-10px);
            border-color: var(--secondary-color);
        }
        
        .area-icon {
            font-size: 3rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
        }
        
        .area-card h4 {
            color: white;
            margin-bottom: 15px;
        }
        
        /* Testimonials Section */
        .testimonials-section {
            padding: 100px 0;
            background: var(--light-bg);
            position: relative;
            overflow: hidden;
        }
        
        .testimonials-section::before {
            content: '';
            position: absolute;
            top: -100px;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="calligraphy-pattern" width="200" height="200" patternUnits="userSpaceOnUse"><ellipse cx="100" cy="60" rx="40" ry="20" fill="none" stroke="rgba(20,83,98,0.03)" stroke-width="2" transform="rotate(15 100 60)"/><ellipse cx="100" cy="140" rx="40" ry="20" fill="none" stroke="rgba(242,152,55,0.03)" stroke-width="2" transform="rotate(-15 100 140)"/><path d="M70,100 Q100,80 130,100 Q100,120 70,100" fill="rgba(20,83,98,0.02)"/><circle cx="100" cy="100" r="5" fill="rgba(242,152,55,0.1)"/></pattern></defs><rect width="200" height="200" fill="url(%23calligraphy-pattern)"/></svg>');
            opacity: 0.4;
        }
        
        .testimonial-card {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            position: relative;
            margin: 20px;
        }
        
        .quote-icon {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 4rem;
            color: var(--secondary-color);
            opacity: 0.2;
        }
        
        .testimonial-text {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 25px;
            font-style: italic;
            color: #555;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .author-image {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid var(--secondary-color);
        }
        
        .author-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .author-info h5 {
            margin-bottom: 5px;
            color: var(--primary-color);
        }
        
        .author-info p {
            margin: 0;
            color: #777;
            font-size: 0.9rem;
        }
        
        .stars {
            color: var(--secondary-color);
            margin-top: 5px;
        }
        
        /* Carousel Controls */
        .carousel-control-prev,
        .carousel-control-next {
            width: 50px;
            height: 50px;
            background: var(--secondary-color);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            opacity: 1;
        }
        
        .carousel-control-prev {
            left: -25px;
        }
        
        .carousel-control-next {
            right: -25px;
        }
        
        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            background: var(--primary-color);
        }

/* Hero Section */
        .contact-hero-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, #0d3d49 100%);
            padding: 100px 0 120px;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .centered-page-title {
            font-size: 3.5rem;
            color: white;
            margin-bottom: 20px;
        }
        
        .centered-page-description {
            font-size: 1.3rem;
            opacity: 0.95;
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* Contact Info Section */
        .contact-info-section {
            padding: 80px 0;
            background: white;
            position: relative;
            z-index: 3;
        }
        
        .contact-info-wrapper {
            background: white;
            border-radius: 25px;
            box-shadow: 0 20px 60px rgba(20, 83, 98, 0.15);
            padding: 50px 40px;
			margin-top: -145px;
        }
        
        .info-card {
            background: var(--light-bg);
            border-radius: 20px;
            padding: 40px 30px;
            text-align: center;
            height: 100%;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }
        
        .info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        .info-card:hover::before {
            transform: scaleX(1);
        }
        
        .info-card:hover {
            background: white;
            box-shadow: 0 15px 40px rgba(20, 83, 98, 0.15);
            border-color: var(--secondary-color);
            transform: translateY(-10px);
        }
        
        .info-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--secondary-color), #ffb366);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 2.5rem;
            color: white;
            transform: rotate(-5deg);
            transition: all 0.3s ease;
        }
        
        .info-card:hover .info-icon {
            transform: rotate(0deg) scale(1.1);
            animation: pulse 1s ease-in-out infinite;
        }
        
        .info-title {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }
        
        .info-details {
            color: var(--dark-text);
            font-size: 1rem;
            line-height: 1.8;
        }
        
        .info-details a {
            color: var(--dark-text);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .info-details a:hover {
            color: var(--secondary-color);
        }
        
        /* Contact Form Section */
        .contact-form-section {
            padding: 80px 0;
            background: var(--light-bg);
            position: relative;
            overflow: hidden;
        }
        
        .contact-form-section::before {
            content: '';
            position: absolute;
            bottom: -50px;
            right: -50px;
            width: 400px;
            height: 400px;
            background-image: url('data:image/svg+xml,<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg"><circle cx="200" cy="200" r="150" fill="none" stroke="%23145362" stroke-width="0.5" opacity="0.1"/><circle cx="200" cy="200" r="100" fill="none" stroke="%23f29837" stroke-width="0.5" opacity="0.1"/><path d="M200,50 L220,110 L280,110 L230,150 L250,210 L200,170 L150,210 L170,150 L120,110 L180,110 Z" fill="none" stroke="%23f29837" stroke-width="1" opacity="0.08"/></svg>');
            animation: float 12s ease-in-out infinite;
            opacity: 0.3;
        }
        
        .form-container {
            background: white;
            border-radius: 25px;
            padding: 50px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.1);
            position: relative;
            z-index: 2;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-label {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 10px;
            font-size: 1rem;
        }
        
        .form-control,
        .form-select {
            padding: 15px 20px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .form-control:focus,
        .form-select:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 0.2rem rgba(242, 152, 55, 0.15);
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        .btn-submit {
            background: var(--secondary-color);
            color: white;
            padding: 16px 50px;
            font-size: 1.1rem;
            font-weight: 700;
            border-radius: 50px;
            border: none;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(242, 152, 55, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .btn-submit::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .btn-submit:hover::before {
            width: 400px;
            height: 400px;
        }
        
        .btn-submit:hover {
            background: #d67f1f;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(242, 152, 55, 0.4);
        }
        
        /* Map Section */
        .map-section {
            padding: 0;
            background: white;
        }
        
        .map-container {
            height: 450px;
            background: var(--light-bg);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        /* Social Links */
        .social-links {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 30px;
        }
        
        .social-link {
            width: 50px;
            height: 50px;
            background: var(--light-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .social-link:hover {
            background: var(--secondary-color);
            color: white;
            transform: translateY(-5px);
        }
        
        
        /* Responsive */
        @media (max-width: 768px) {
            .centered-page-title {
                font-size: 2.5rem;
            }
            
            .form-container {
                padding: 30px 25px;
            }
            
            .contact-info-wrapper {
                padding: 30px 20px;
            }
        }

.category-card {
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-decoration: none;
}

.category-card-body {
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-card h4 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Stats Section */
        .stats-section {
            background: white;
            padding: 60px 0;
            position: relative;
            z-index: 3;
        }
        
        .stats-container {
            background: white;
            border-radius: 25px;
            box-shadow: 0 20px 60px rgba(20, 83, 98, 0.15);
            padding: 50px 40px;
			margin-top: -150px;
        }
        
        .stat-item {
            text-align: center;
            padding: 20px;
        }
        
        .stat-number {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--secondary-color);
            line-height: 1;
            display: block;
            margin-bottom: 10px;
        }
        
        .stat-label {
            font-size: 1.1rem;
            color: var(--primary-color);
            font-weight: 600;
        }
        
        /* Story Section */
        .story-section {
            padding: 100px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }
        
        .story-section::before {
            content: '';
            position: absolute;
            top: -50px;
            left: -50px;
            width: 300px;
            height: 300px;
            background-image: url('data:image/svg+xml,<svg width="300" height="300" xmlns="http://www.w3.org/2000/svg"><circle cx="150" cy="150" r="100" fill="none" stroke="%23145362" stroke-width="0.5" opacity="0.1"/><circle cx="150" cy="150" r="70" fill="none" stroke="%23f29837" stroke-width="0.5" opacity="0.1"/></svg>');
            animation: pulse 8s ease-in-out infinite;
            opacity: 0.3;
        }
        
        .story-image {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(20, 83, 98, 0.2);
            position: relative;
        }
        
        .story-image::after {
            content: '';
            position: absolute;
            top: 20px;
            left: 20px;
            right: -20px;
            bottom: -20px;
            border: 3px solid var(--secondary-color);
            border-radius: 20px;
            z-index: -1;
        }
        
        .story-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Mission & Vision */
        .mission-section {
            padding: 100px 0;
            background: var(--light-bg);
            position: relative;
            overflow: hidden;
        }
        
        .mission-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="mission-pattern" width="120" height="120" patternUnits="userSpaceOnUse"><circle cx="60" cy="60" r="30" fill="none" stroke="rgba(20,83,98,0.03)" stroke-width="1"/><path d="M60,30 L70,50 L90,50 L75,62 L80,82 L60,70 L40,82 L45,62 L30,50 L50,50 Z" fill="rgba(242,152,55,0.02)"/></pattern></defs><rect width="120" height="120" fill="url(%23mission-pattern)"/></svg>');
            opacity: 0.5;
        }
        
        .mission-card {
            background: white;
            border-radius: 25px;
            padding: 50px 40px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.08);
            height: 100%;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .mission-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        }
        
        .mission-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 70px rgba(20, 83, 98, 0.15);
        }
        
        .mission-icon {
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, var(--secondary-color), #ffb366);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            font-size: 3rem;
            color: white;
            animation: pulse 3s ease-in-out infinite;
        }
        
        /* Values Section */
        .values-section {
            padding: 100px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }
        
        .value-card {
            background: var(--light-bg);
            border-radius: 20px;
            padding: 40px 30px;
            text-align: center;
            height: 100%;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
        }
        
        .value-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            opacity: 0;
            border-radius: 20px;
            transition: opacity 0.3s ease;
            z-index: 0;
        }
        
        .value-card:hover::before {
            opacity: 0.05;
        }
        
        .value-card:hover {
            background: white;
            box-shadow: 0 15px 40px rgba(20, 83, 98, 0.15);
            border-color: var(--secondary-color);
            transform: translateY(-10px);
        }
        
        .value-card > * {
            position: relative;
            z-index: 1;
        }
        
        .value-number {
            width: 60px;
            height: 60px;
            background: var(--secondary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: 700;
            margin: 0 auto 20px;
        }
        
        /* Timeline Section */
        .timeline-section {
            padding: 100px 0;
            background: white;
            position: relative;
            overflow: hidden;
        }
        
        .timeline-section::before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 400px;
            height: 400px;
            background-image: url('data:image/svg+xml,<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg"><circle cx="200" cy="200" r="150" fill="none" stroke="%23145362" stroke-width="0.5" opacity="0.05"/><circle cx="200" cy="200" r="100" fill="none" stroke="%23f29837" stroke-width="0.5" opacity="0.05"/></svg>');
            animation: pulse 10s ease-in-out infinite;
        }
        
        .timeline {
            position: relative;
            padding: 50px 0;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
            transform: translateX(-50%);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 50px;
            width: 50%;
            padding: 0 40px;
        }
        
        .timeline-item:nth-child(odd) {
            padding-right: 40px;
            text-align: right;
        }
        
        .timeline-item:nth-child(even) {
            margin-left: 50%;
            padding-left: 40px;
            text-align: left;
        }
        
        .timeline-dot {
            position: absolute;
            width: 25px;
            height: 25px;
            background: var(--secondary-color);
            border: 5px solid white;
            border-radius: 50%;
            box-shadow: 0 0 0 4px var(--secondary-color);
            top: 0;
        }
        
        .timeline-item:nth-child(odd) .timeline-dot {
            right: -12px;
        }
        
        .timeline-item:nth-child(even) .timeline-dot {
            left: -12px;
        }
        
        .timeline-content {
            background: var(--light-bg);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        
        .timeline-content:hover {
            background: white;
            box-shadow: 0 10px 30px rgba(20, 83, 98, 0.15);
            transform: scale(1.03);
        }
        
        .timeline-year {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--secondary-color);
            margin-bottom: 10px;
        }
        
        .timeline-title {
            font-size: 1.3rem;
            color: var(--primary-color);
            margin-bottom: 10px;
        }
        
        .timeline-description {
            color: #666;
            line-height: 1.6;
        }

 @media (max-width: 768px) {
            
            .stat-number {
                font-size: 2.5rem;
            }
            
            .timeline::before {
                left: 30px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 80px !important;
                padding-right: 0 !important;
                text-align: left !important;
            }
            
            .timeline-item:nth-child(even) {
                margin-left: 0;
            }
            
            .timeline-dot {
                left: 18px !important;
            }
        }

.pagination {
    justify-content: center;
}

.pagination-wrapper {
    text-align: center;
}

.page-numbers {
    padding: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 6px;
    min-width: 45px !important;
    display: inline-block;
}

.page-numbers.current, .page-numbers:hover {
    background: #f29837;
    color: #fff;
}

