/* SFON Website Styles - Light Purple Theme */
:root {
    --primary-color: #9B5A9B; /* Light Purple */
    --secondary-color: #8B4A8B; /* Medium Purple */
    --accent-color: #AB6AAB; /* Lighter Purple */
    --highlight-color: #BB7ABB; /* Lightest Purple */
    --light-bg: #F8F9FA;
    --dark-text: #333333;
    --white: #FFFFFF;
    --gray-light: #6C757D;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Public Sans', sans-serif;
    line-height: 1.6;
    color: #2c2c2c; /* Darker text for better readability */
    overflow-x: hidden;
}

/* Ensure all text has proper contrast */
p, span, div, li, td, th {
    color: #2c2c2c;
}

/* Light backgrounds need dark text */
.bg-light, .bg-white, .card, .modal-content {
    color: #2c2c2c;
}

.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6,
.bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4, .bg-white h5, .bg-white h6,
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
    color: #1a1a1a; /* Even darker for headings */
}

/* Dark backgrounds need light text */
.bg-primary, .bg-secondary, .bg-dark, .hero, .banner {
    color: #ffffff;
}

.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6,
.bg-secondary h1, .bg-secondary h2, .bg-secondary h3, .bg-secondary h4, .bg-secondary h5, .bg-secondary h6,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6,
.banner h1, .banner h2, .banner h3, .banner h4, .banner h5, .banner h6 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Ensure no gap at the very top */
.all-navbar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.top-navbar {
    margin-top: 0 !important;
    padding: 15px 0;
    background: linear-gradient(90deg, #9B5A9B 0%, #AB6AAB 50%, #8B4A8B 100%);
    color: var(--white);
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    height: auto;
    min-height: 60px;
}

.top-navbar .content-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c2c2c; /* Dark text for better readability */
}

/* Ensure text contrast on colored backgrounds */
.text-white,
h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white,
h5.text-white,
h6.text-white {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.text-dark {
    color: #2c2c2c !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

/* Top Navbar */
.website-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 15px;
}

.website-info li {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.website-info li i {
    margin-right: 5px;
    font-size: 14px;
}

.website-info li a {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
}

.website-info li a:hover {
    text-decoration: underline;
}

.website-icon-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.website-icon-social li {
    margin-bottom: 0;
}

.website-icon-social li a {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: var(--transition);
    display: inline-block;
    font-weight: 500;
}

.website-icon-social li a:hover {
    background: var(--white);
    color: var(--primary-color);
}

.conference-info {
    text-align: center;
    margin: 0;
}

.conference-info a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.conference-info a:hover {
    text-decoration: underline;
}

.top-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.top-center {
    flex: 1 1 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-right {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Main Navbar */
.nav-bar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    min-height: 95px;
}

.nav-bar .content-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 80px;
}

/* Add padding to body content to prevent overlap */
body {
    padding-top: 130px;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: auto;
    padding: 5px 0;
}

.logo-nav {
    display: block;
    line-height: 0;
}

.organization-name {
    margin-left: 15px;
}

.organization-name h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.logo-nav img {
    height: 75px;
    max-width: 260px;
    width: auto;
    display: block;
}

.open-nav-bar {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    margin-left: 15px;
    padding: 5px;
}

.open-nav-bar span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 2px 0;
    transition: var(--transition);
}

.nav-bar-links {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.level-1 {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.item-level-1 {
    position: relative;
    margin: 0 10px;
}

.link-level-1 {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    transition: var(--transition);
    position: relative;
}

.link-level-1:hover,
.link-level-1.color-active {
    color: var(--primary-color);
}

.link-level-1.color-active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
}

/* Dropdown Menu */
.has-menu {
    position: relative;
}

.level-2 {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    border-radius: 4px;
    overflow: hidden;
}

.has-menu:hover .level-2,
.has-menu:focus-within .level-2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.item-level-2 {
    border-bottom: 1px solid #eee;
}

.item-level-2:last-child {
    border-bottom: none;
}

.link-level-2 {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.link-level-2:hover {
    background: var(--primary-color);
    color: var(--white);
    padding-left: 25px;
}

/* Banner */
.banner {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-slider-item {
    position: relative;
    height: 600px;
}

.banner-slider-item-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-slider-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slider-item-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.banner-slider-item-content-text {
    color: var(--white);
    max-width: 600px;
}

.banner-slider-item-content-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.banner-slider-item-content-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.banner-slider-item-content-text-btn .btn {
    margin-right: 15px;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about-content .lead {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #444444; /* Better contrast for body text */
}

.about-img img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Membership Banner Section */
.membership-banner {
    background: linear-gradient(135deg, #9B5A9B 0%, #AB6AAB 50%, #8B4A8B 100%);
    position: relative;
    overflow: hidden;
}

/* Blog Section */
.blog-section {
    background: var(--white);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.blog-title {
    flex: 1;
}

.blog-label {
    color: var(--gray-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.blog-main-title {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.blog-button {
    margin-top: 1rem;
}

.blog-button .btn {
    background: var(--accent-color);
    border-color: var(--accent-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--white);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.blog-content .blog-title {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.membership-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.membership-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.membership-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.membership-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.membership-btn .btn {
    background: var(--white);
    color: var(--accent-color);
    border: 2px solid var(--white);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.membership-btn .btn:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    background: var(--light-bg);
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray-light);
    font-size: 1.1rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-item-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-item-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-item-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-item-content p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #9B5A9B 0%, #8B4A8B 100%);
    color: var(--white);
}

.stat-item {
    padding: 2rem;
}

.stat-item-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Elegant Footer */
.footer {
    background: linear-gradient(135deg, 
        rgba(40, 40, 50, 0.98) 0%, 
        rgba(30, 30, 40, 0.99) 50%, 
        rgba(20, 20, 30, 1) 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #9B5A9B 20%, 
        #AB6AAB 50%, 
        #9B5A9B 80%, 
        transparent 100%);
    opacity: 0.8;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(155, 90, 155, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(171, 106, 171, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(155, 90, 155, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.footer-about h5,
.footer-brand h5 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.footer-about h5::after,
.footer-brand h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #9B5A9B 0%, #AB6AAB 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(155, 90, 155, 0.5);
}

.footer-logo {
    max-height: 80px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.footer-logo img {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(171, 106, 171, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 15px rgba(171, 106, 171, 0.5));
}

.footer-brand img {
    max-width: 200px;
    max-height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(171, 106, 171, 0.3));
    transition: all 0.3s ease;
}

.footer-brand img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 15px rgba(171, 106, 171, 0.5));
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.65);
}

.footer h6 {
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

.footer h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #9B5A9B 0%, #AB6AAB 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(155, 90, 155, 0.5);
}

.footer-social {
    margin-top: 1.5rem;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #9B5A9B 0%, #AB6AAB 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social a:hover {
    color: #FFFFFF;
    transform: translateY(-3px);
    border-color: #9B5A9B;
    box-shadow: 0 8px 20px rgba(155, 90, 155, 0.4);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 5px 0;
    font-weight: 400;
}

.footer-links ul li a::before {
    content: '→';
    color: #9B5A9B;
    margin-right: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-links ul li a:hover {
    color: #FFFFFF;
    transform: translateX(5px);
}

.footer-links ul li a:hover::before {
    transform: translateX(3px);
    color: #AB6AAB;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.footer-contact ul li:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(3px);
}

.footer-contact ul li i {
    color: #9B5A9B;
    margin-right: 12px;
    margin-top: 3px;
    width: 18px;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.footer-contact ul li:hover i {
    color: #AB6AAB;
}

.footer-newsletter p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

.newsletter-form {
    position: relative;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 25px;
    padding: 12px 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #9B5A9B;
    box-shadow: 0 0 0 3px rgba(155, 90, 155, 0.15);
    color: var(--white);
    outline: none;
}

.newsletter-form .btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #9B5A9B 0%, #8B4A8B 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(155, 90, 155, 0.3);
}

.newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(155, 90, 155, 0.4);
    background: linear-gradient(135deg, #8B4A8B 0%, #7B3A7B 100%);
}

.footer hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    margin: 50px 0 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #AB6AAB 50%, transparent 100%);
    border-radius: 2px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
    transition: color 0.3s ease;
}

.footer-bottom p:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom .text-md-end {
    text-align: right;
}

.footer-bottom .text-md-right {
    text-align: right;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9B5A9B 0%, #8B4A8B 100%);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 5px 20px rgba(155, 90, 155, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #8B4A8B 0%, #7B3A7B 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(155, 90, 155, 0.5);
}

/* Enhanced Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-about h5,
    .footer-brand h5,
    .footer h6 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .footer-social {
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .footer-links ul,
    .footer-contact ul {
        text-align: center;
    }
    
    .footer-links ul li a {
        justify-content: center;
    }
    
    .footer-newsletter {
        text-align: center;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom .text-md-end,
    .footer-bottom .text-md-right {
        text-align: center;
    }
    
    .footer hr {
        margin: 40px 0 20px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-about h5,
    .footer-brand h5,
    .footer h6 {
        font-size: 1rem;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-links ul li a,
    .footer-contact ul li {
        font-size: 0.9rem;
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #9B5A9B, #AB6AAB);
    border-color: #9B5A9B;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(155, 90, 155, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8B4A8B, #9B5A9B);
    border-color: #8B4A8B;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 90, 155, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: #9B5A9B;
    color: white;
    border-color: #9B5A9B;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(155, 90, 155, 0.3);
}

.btn-outline-white {
    color: white;
    border-color: white;
    background: transparent;
    font-weight: 600;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Gallery Page Styles */
.gallery-category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.gallery-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.category-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.gallery-category-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.gallery-category-card p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: var(--white);
    padding: 1rem;
}

.gallery-info h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* About Us Page Styles */
.about-sfon {
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image-wrapper img {
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 20px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover .about-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.overlay-content p {
    margin: 5px 0 0 0;
    font-size: 1rem;
    opacity: 0.9;
}

.about-content {
    padding-left: 20px;
}

.about-stats {
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

/* Mission & Vision Section */
.mission-vision {
    background: var(--light-bg);
}

.principle-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.principle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.principle-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.principle-card .card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.principle-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.principle-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* History Section */
.history-section {
    background: var(--white);
}

.history-content {
    padding-right: 20px;
}

.history-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.history-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.8) 0%, rgba(0, 128, 0, 0.8) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.history-image-wrapper:hover .history-overlay {
    opacity: 1;
}

.history-overlay .overlay-content {
    text-align: center;
}

.history-overlay .overlay-content h4 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.history-overlay .overlay-content p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
}

/* Timeline */
.timeline {
    position: relative;
    margin-top: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -6px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

/* Values Section */
.values-section {
    background: var(--light-bg);
}

.value-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.value-card .value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-card .value-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.value-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* What We Do Section */
.what-we-do {
    background: var(--white);
}

.service-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--highlight-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-card .service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.service-card h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.cta-buttons .btn-light:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.cta-buttons .btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .history-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .principle-card {
        padding: 30px 20px;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .about-stats .row {
        margin: 0 -10px;
    }
    
    .stat-item {
        padding: 15px 5px;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -4px;
        width: 12px;
        height: 12px;
    }
}

/* Enhanced About Us Page Styles */
.about-sfon {
    background: var(--white);
    position: relative;
}

/* Enhanced Page Header Styles */
.page-header {
    position: relative;
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.header-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
}

.decoration-icon {
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.decoration-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Remove redundant section header */
.section-header {
    display: none;
}

/* About Image Enhancements */
.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.about-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.about-image-wrapper img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image-wrapper:hover img {
    transform: scale(1.1);
}

.about-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 25px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.about-image-wrapper:hover .about-overlay {
    transform: translateY(0);
}

.overlay-content h4 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.overlay-content p {
    margin: 8px 0 0 0;
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Floating Stats */
.floating-stats {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.stat-bubble {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    animation: float 3s ease-in-out infinite;
}

.stat-bubble:nth-child(2) {
    animation-delay: 1.5s;
}

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

.stat-bubble .stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-bubble .stat-label {
    font-size: 0.7rem;
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
}

/* About Content Enhancements */
.about-content {
    padding-left: 30px;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.05) 0%, rgba(0, 128, 0, 0.05) 100%);
    border-radius: 10px;
    border-left: 4px solid var(--success);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.1) 0%, rgba(0, 128, 0, 0.1) 100%);
}

.feature-item i {
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 600;
    color: var(--text-color);
}

/* Enhanced Principle Cards */
.principle-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.principle-card:hover::before {
    transform: scaleX(1);
}

.principle-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.principle-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.principle-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.principle-card .card-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.principle-card .card-icon i {
    font-size: 2.2rem;
    color: var(--white);
}

.card-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.principle-card:hover .card-decoration {
    transform: scaleX(1);
}

/* Enhanced History Section */
.history-section {
    background: var(--white);
    position: relative;
}

.history-content {
    padding-right: 30px;
}

.history-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(5deg);
    transition: all 0.5s ease;
}

.history-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.history-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.history-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.9) 0%, rgba(0, 128, 0, 0.9) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.history-image-wrapper:hover .history-overlay {
    opacity: 1;
}

.history-overlay .overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.history-image-wrapper:hover .history-overlay .overlay-content {
    transform: translateY(0);
}

.history-overlay .overlay-content h4 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.history-overlay .overlay-content p {
    font-size: 1.3rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 600;
}

/* Achievement Badges */
.achievement-badges {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
}

.achievement-badge {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 12px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: slideInLeft 0.6s ease-out;
}

.achievement-badge:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.achievement-badge i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

.achievement-badge span {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Enhanced Timeline */
.timeline {
    position: relative;
    margin-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 35px;
}

.timeline-marker {
    position: absolute;
    left: -8px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: var(--accent-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px var(--primary-color);
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.timeline-content h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

/* Enhanced Value Cards */
.value-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.value-card .value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.value-card .value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover .value-decoration {
    transform: scaleX(1);
}

/* Enhanced Service Cards */
.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--highlight-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--highlight-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.service-card .service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--highlight-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover .service-decoration {
    transform: scaleX(1);
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.stat-counter {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Enhanced Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,0 100,50 50,100 0,50" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-buttons .btn-light {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.cta-buttons .btn-light:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .history-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .principle-card {
        padding: 30px 20px;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .floating-stats {
        position: relative;
        top: auto;
        right: auto;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    
    .stat-bubble {
        margin: 0 10px;
    }
    
    .achievement-badges {
        position: relative;
        bottom: auto;
        left: auto;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    
    .achievement-badge {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 2.5rem;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-marker {
        left: -6px;
        width: 14px;
        height: 14px;
    }
    
    .header-badge {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .section-badge {
        padding: 6px 15px;
        font-size: 0.75rem;
    }
}

/* Hide any unwanted buttons in page header */
.page-header button,
.page-header .btn,
.header-shape button,
.header-shape .btn {
    display: none !important;
}

/* Hide any unwanted elements that might appear in the header area */
.page-header .unwanted-button,
.header-shape .unwanted-button,
.page-header .unwanted-element,
.header-shape .unwanted-element {
    display: none !important;
}

/* Ensure no unwanted elements appear after the header shape */
.page-header + button,
.page-header + .btn,
.page-header + .unwanted-button,
.page-header + .unwanted-element {
    display: none !important;
}

/* Hide any button-like elements that might appear in the white content area */
.about-sfon button:first-child,
.about-sfon .btn:first-child,
.about-sfon > button,
.about-sfon > .btn {
    display: none !important;
}

/* Hide any unwanted elements that might appear immediately after the page header */
.page-header ~ button,
.page-header ~ .btn,
.page-header ~ .unwanted-button,
.page-header ~ .unwanted-element {
    display: none !important;
}

/* Banner Section */
.banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 80px 0;
    margin-top: 0 !important;
    padding-top: 80px;
}

/* Ensure banner starts immediately after navbar */
.nav-bar {
    margin-bottom: 0 !important;
    padding-bottom: 15px;
}

.banner {
    margin-top: 0 !important;
    padding-top: 80px;
}

/* Executive Committee Styles - Modern Attractive Design */
.role-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 25px 35px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.role-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.role-banner:hover::before {
    left: 100%;
}

.role-banner h3 {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.member-card {
    text-align: center;
    margin-bottom: 35px;
    padding: 35px 25px 30px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    border: 2px solid transparent;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.member-card:hover::before {
    transform: scaleX(1);
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(135, 206, 235, 0.25);
    border-color: var(--primary-color);
    background: linear-gradient(145deg, #ffffff 0%, #e8f4fd 100%);
}

.member-photo {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid transparent;
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 5px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
    flex-shrink: 0;
    margin-top: 10px;
}

.member-photo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.member-photo:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.member-photo:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(135, 206, 235, 0.4);
    background: linear-gradient(45deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    transition: all 0.3s ease;
    display: block;
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60px;
    width: 100%;
}

.member-info h4 {
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    word-wrap: break-word;
    hyphens: auto;
}

.member-card:hover .member-info h4 {
    color: var(--accent-color);
    transform: scale(1.02);
}

.member-info p {
    margin: 0;
    font-family: 'Public Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 15px;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 20px;
    display: inline-block;
    align-self: center;
}

.member-card:hover .member-info p {
    background: var(--primary-color);
    color: white !important;
    transform: scale(1.05);
}

/* Also turn text white when hovering the badge itself */
.member-info p:hover {
    background: var(--primary-color);
    color: #ffffff !important;
}

/* Ensure role banner text stays white on hover */
.role-banner:hover h3 {
    color: #ffffff !important;
}

/* Enhanced section header */
.section-header {
    display: none;
}

/* Decorative elements for visual interest */
.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .member-photo {
        width: 120px;
        height: 120px;
    }
    
    .role-banner {
        font-size: 1.2rem;
        padding: 20px 25px;
    }
    
    .member-info h4 {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .member-card {
        padding: 25px 20px;
        min-height: 250px;
    }
    
    .member-info {
        min-height: 50px;
    }
}

@media (max-width: 576px) {
    .member-card {
        padding: 20px 15px;
        min-height: 220px;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .member-info h4 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .member-info p {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
}

/* Simple fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-card {
    animation: fadeIn 0.5s ease forwards;
}

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.member-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.2s; }
.member-card:nth-child(3) { animation-delay: 0.3s; }
.member-card:nth-child(4) { animation-delay: 0.4s; }
.member-card:nth-child(5) { animation-delay: 0.5s; }
.member-card:nth-child(6) { animation-delay: 0.6s; }

/* Members Table Styles */
.life-members {
    background: var(--white);
}

.life-members .table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.life-members .table thead th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border: none;
    padding: 15px 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.life-members .table thead th:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
}

.life-members .table thead th i {
    margin-left: 8px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.life-members .table thead th.sort-asc i::before {
    content: "\f0de"; /* fa-sort-up */
    color: var(--highlight-color);
}

.life-members .table thead th.sort-desc i::before {
    content: "\f0dd"; /* fa-sort-down */
    color: var(--highlight-color);
}

.life-members .table tbody tr {
    transition: var(--transition);
}

.life-members .table tbody tr:hover {
    background-color: rgba(135, 206, 235, 0.1);
    transform: scale(1.01);
}

.life-members .table tbody td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
}

.life-members .table tbody tr:last-child td {
    border-bottom: none;
}

/* Search and Controls */
.life-members .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: var(--transition);
}

.life-members .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(135, 206, 235, 0.25);
}

.life-members .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: var(--transition);
}

.life-members .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(135, 206, 235, 0.25);
}

/* Pagination */
.life-members .pagination .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin: 0 2px;
    transition: var(--transition);
}

.life-members .pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.life-members .pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.life-members .pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: var(--white);
    border-color: #dee2e6;
}

/* Responsive Table */
@media (max-width: 768px) {
    .life-members .table-responsive {
        font-size: 0.9rem;
    }
    
    .life-members .table thead th {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .life-members .table tbody td {
        padding: 8px 6px;
    }
    
    .life-members .form-control,
    .life-members .form-select {
        font-size: 0.9rem;
    }
}

/* Enhanced Form Elements for Better Readability */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    color: #2c2c2c;
    background-color: #ffffff;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(155, 90, 155, 0.25);
    color: #2c2c2c;
    background-color: #ffffff;
}

.form-control::placeholder {
    color: #666666;
    opacity: 1;
}

.form-label {
    color: #2c2c2c;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-text {
    color: #666666;
}

/* Enhanced Link Visibility */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Ensure proper contrast for all text elements */
.lead {
    color: #444444;
    font-weight: 500;
}

.text-muted {
    color: #666666 !important;
}

.small {
    color: #666666;
}

/* Ultra-Smooth Card Designs - Premium Glass Quality */
.card {
    border: none;
    border-radius: 32px;
    box-shadow: 
        0 12px 48px rgba(155, 90, 155, 0.06),
        0 6px 24px rgba(155, 90, 155, 0.04),
        0 2px 8px rgba(139, 74, 139, 0.02),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.98) 0%, 
        rgba(255,255,255,0.99) 30%,
        rgba(255,255,255,1) 50%,
        rgba(255,255,255,0.99) 70%,
        rgba(255,255,255,0.98) 100%);
    backdrop-filter: blur(40px) saturate(1.2);
    border: 1px solid rgba(255,255,255,0.4);
    overflow: hidden;
    position: relative;
    will-change: transform, box-shadow;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(155, 90, 155, 0.015) 0%, 
        rgba(155, 90, 155, 0.008) 30%,
        rgba(139, 74, 139, 0.012) 60%,
        rgba(155, 90, 155, 0.015) 100%);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    border-radius: 32px;
}

.card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(155, 90, 155, 0.1) 0%, 
        rgba(155, 90, 155, 0.05) 50%,
        rgba(139, 74, 139, 0.1) 100%);
    border-radius: 34px;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    filter: blur(8px);
}

.card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 
        0 32px 80px rgba(155, 90, 155, 0.08),
        0 16px 40px rgba(155, 90, 155, 0.06),
        0 8px 20px rgba(139, 74, 139, 0.04),
        inset 0 2px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    background: linear-gradient(135deg, 
        rgba(255,255,255,1) 0%, 
        rgba(255,255,255,1) 30%,
        rgba(255,255,255,1) 50%,
        rgba(255,255,255,1) 70%,
        rgba(255,255,255,1) 100%);
    backdrop-filter: blur(50px) saturate(1.3);
}

.card:hover::before {
    opacity: 1;
}

.card:hover::after {
    opacity: 1;
}

.card-header {
    background: linear-gradient(135deg, 
        rgba(155, 90, 155, 0.95) 0%, 
        rgba(155, 90, 155, 0.85) 30%, 
        rgba(139, 74, 139, 0.9) 60%,
        rgba(155, 90, 155, 0.95) 100%);
    color: white;
    border-radius: 32px 32px 0 0 !important;
    border: none;
    padding: 28px;
    font-weight: 600;
    text-shadow: 0 3px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(20px) saturate(1.2);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(155, 90, 155, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.12) 0%, 
        rgba(255,255,255,0.06) 30%,
        rgba(255,255,255,0.08) 60%,
        rgba(255,255,255,0.12) 100%);
    pointer-events: none;
    border-radius: 32px 32px 0 0;
}

.card-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.15), 
        transparent);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.card-body {
    padding: 25px;
    background: transparent;
}

/* Enhanced Section Styling */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(155, 90, 155, 0.02) 0%, 
        rgba(155, 90, 155, 0.02) 50%, 
        rgba(139, 74, 139, 0.02) 100%);
    pointer-events: none;
}

/* Ultra-Smooth Button Styles - Premium Glass Quality */
.btn {
    border-radius: 80px;
    padding: 20px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 8px 32px rgba(155, 90, 155, 0.12),
        0 4px 16px rgba(155, 90, 155, 0.08),
        0 2px 8px rgba(139, 74, 139, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(1.2);
    will-change: transform, box-shadow;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.25), 
        transparent);
    transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 80px;
}

.btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(155, 90, 155, 0.1) 0%, 
        rgba(155, 90, 155, 0.05) 50%,
        rgba(139, 74, 139, 0.1) 100%);
    border-radius: 82px;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
    filter: blur(12px);
}

.btn:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(155, 90, 155, 0.18),
        0 10px 30px rgba(155, 90, 155, 0.12),
        0 5px 15px rgba(139, 74, 139, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px) saturate(1.3);
}

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

.btn:hover::after {
    opacity: 1;
}

/* Ultra-Smooth Form Styling - Premium Glass Quality */
.form-control {
    border-radius: 24px;
    border: 2px solid rgba(155, 90, 155, 0.08);
    padding: 20px 28px;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.98) 0%, 
        rgba(255,255,255,0.99) 50%,
        rgba(255,255,255,0.98) 100%);
    backdrop-filter: blur(30px) saturate(1.1);
    box-shadow: 
        0 6px 24px rgba(155, 90, 155, 0.04),
        0 3px 12px rgba(155, 90, 155, 0.03),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
    font-size: 16px;
    color: #2c2c2c;
    will-change: transform, box-shadow;
}

.form-control:focus {
    border-color: rgba(155, 90, 155, 0.2);
    box-shadow: 
        0 0 0 6px rgba(155, 90, 155, 0.08),
        0 12px 48px rgba(155, 90, 155, 0.12),
        0 6px 24px rgba(155, 90, 155, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(0, 0, 0, 0.01);
    background: linear-gradient(135deg, 
        rgba(255,255,255,1) 0%, 
        rgba(255,255,255,1) 50%,
        rgba(255,255,255,1) 100%);
    transform: translateY(-4px) scale(1.01);
    outline: none;
    backdrop-filter: blur(40px) saturate(1.2);
}

.form-control::placeholder {
    color: rgba(44, 44, 44, 0.5);
    font-weight: 400;
    transition: color 0.8s ease;
}

.form-control:focus::placeholder {
    color: rgba(44, 44, 44, 0.3);
}

/* Ultra-Smooth Navigation - Premium Glass Quality */
.navbar {
    backdrop-filter: blur(40px) saturate(1.2);
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.98) 0%, 
        rgba(255,255,255,0.99) 50%,
        rgba(255,255,255,0.98) 100%) !important;
    border-bottom: 1px solid rgba(155, 90, 155, 0.06);
    box-shadow: 
        0 6px 48px rgba(155, 90, 155, 0.06),
        0 3px 24px rgba(155, 90, 155, 0.04),
        0 1px 8px rgba(139, 74, 139, 0.02);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    text-shadow: 0 3px 6px rgba(0,0,0,0.08);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.navbar-brand:hover {
    transform: scale(1.08);
    text-shadow: 0 6px 12px rgba(155, 90, 155, 0.15);
}

.nav-link {
    color: #2c2c2c !important;
    font-weight: 500;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 16px 24px !important;
    border-radius: 24px;
    margin: 0 6px;
    backdrop-filter: blur(10px);
    will-change: transform, background;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, 
        rgba(155, 90, 155, 0.08) 0%, 
        rgba(155, 90, 155, 0.05) 50%,
        rgba(139, 74, 139, 0.08) 100%);
    backdrop-filter: blur(20px) saturate(1.1);
    box-shadow: 
        0 8px 24px rgba(155, 90, 155, 0.1),
        0 4px 12px rgba(155, 90, 155, 0.06);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(135deg, 
        rgba(155, 90, 155, 0.9) 0%, 
        rgba(155, 90, 155, 0.8) 50%,
        rgba(139, 74, 139, 0.9) 100%);
    border-radius: 3px;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(155, 90, 155, 0.3);
}

.nav-link:hover::after {
    width: 85%;
}

/* Ensure pill/badge text turns white on hover */
.top-btn:hover,
.header-badge:hover,
.section-badge:hover {
    color: #ffffff !important;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   Complete responsive design for mobile devices
   ======================================== */

/* Mobile - Max Width 767px */
@media only screen and (max-width: 767px) {
    
    /* ===== BODY PADDING MOBILE ===== */
    body {
        padding-top: 220px;
    }
    
    /* ===== TOP NAVBAR MOBILE ===== */
    .top-navbar {
        padding: 15px 0;
        font-size: 12px;
        position: fixed;
        top: 0;
        min-height: 60px;
    }
    
    .top-navbar .content-box {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .top-navbar .top-left,
    .top-navbar .top-center,
    .top-navbar .top-right {
        width: 100%;
        justify-content: center;
    }
    
    .top-navbar .website-info,
    .top-navbar .top-btn {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .top-navbar .website-info li {
        font-size: 12px;
    }
    
    .top-navbar .top-btn li a {
        padding: 6px 15px;
        font-size: 11px;
    }
    
    .conference-info a {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    /* ===== MAIN NAVBAR MOBILE ===== */
    .nav-bar {
        padding: 20px 0;
        position: fixed;
        top: 105px;
        min-height: 90px;
    }
    
    .logo img {
        max-height: 70px;
        width: auto;
    }
    
    .open-nav-bar {
        display: flex !important;
        width: 30px;
        height: 25px;
        z-index: 1001;
    }
    
    .open-nav-bar span {
        width: 100%;
        height: 3px;
        background: #9B5A9B;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .open-nav-bar span:nth-child(2) {
        margin: 4px 0;
    }
    
    /* Mobile Menu */
    .nav-bar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
        padding: 80px 20px 20px;
        overflow-y: auto;
        transition: right 0.4s ease;
        z-index: 1000;
        display: block;
    }
    
    .nav-bar-links.active {
        right: 0;
    }
    
    /* Mobile Menu Overlay */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    body.mobile-menu-open::before {
        opacity: 1;
        visibility: visible;
    }
    
    body.mobile-menu-open {
        overflow: hidden;
    }
    
    .level-1 {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .item-level-1 {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .link-level-1 {
        display: block;
        padding: 15px 10px;
        font-size: 15px;
        color: #333;
    }
    
    .link-level-1:hover,
    .link-level-1.color-active {
        color: #9B5A9B;
        background: rgba(155, 90, 155, 0.05);
    }
    
    /* Mobile Submenu */
    .level-2 {
        position: static;
        opacity: 1;
        visibility: visible;
        background: #f8f9fa;
        box-shadow: none;
        padding: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .item-level-1.has-menu:hover .level-2,
    .item-level-1.has-menu:focus-within .level-2 {
        max-height: 500px;
        padding: 10px 0;
    }
    
    .item-level-2 {
        border: none;
    }
    
    .link-level-2 {
        padding: 12px 20px;
        font-size: 14px;
        color: #555;
    }
    
    .link-level-2:hover {
        background: rgba(155, 90, 155, 0.08);
        color: #9B5A9B;
    }
    
    /* Close button for mobile menu */
    .nav-bar-links::before {
        content: '×';
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 40px;
        color: #9B5A9B;
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(155, 90, 155, 0.1);
    }
    
    /* ===== FOOTER MOBILE ===== */
    .footer {
        padding: 50px 0 20px;
        text-align: center;
    }
    
    .footer .row {
        flex-direction: column;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3,
    .footer .col-md-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .footer-brand,
    .footer-about {
        text-align: center;
    }
    
    .footer-logo {
        max-height: 60px;
        margin: 0 auto 15px;
        display: block;
    }
    
    .footer-brand h5,
    .footer-about h5,
    .footer h6 {
        font-size: 1rem;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .footer-brand h5::after,
    .footer-about h5::after,
    .footer h6::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-brand p,
    .footer-about p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer-social {
        justify-content: center;
        margin: 20px 0;
        gap: 10px;
    }
    
    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    
    .footer-links,
    .footer-contact,
    .footer-newsletter {
        text-align: center;
    }
    
    .footer-links ul,
    .footer-contact ul {
        padding: 0;
    }
    
    .footer-links ul li,
    .footer-contact ul li {
        margin-bottom: 10px;
    }
    
    .footer-links ul li a {
        justify-content: center;
        font-size: 0.9rem;
        padding: 8px 0;
    }
    
    .footer-links ul li a::before {
        margin-right: 8px;
        font-size: 1rem;
    }
    
    .footer-contact ul li {
        justify-content: center;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .footer-contact ul li i {
        margin-right: 10px;
    }
    
    .footer-newsletter p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .newsletter-form .form-control {
        width: 100%;
        padding: 10px 15px;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        width: 100%;
        padding: 10px 25px;
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        margin-top: 30px;
        padding-top: 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom .col-md-6 {
        text-align: center !important;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        margin: 5px 0;
    }
    
    /* ===== SCROLL TO TOP BUTTON MOBILE ===== */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
}

/* Tablet - Max Width 991px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    
    body {
        padding-top: 200px;
    }
    
    .top-navbar {
        font-size: 13px;
        padding: 15px 0;
        position: fixed;
        top: 0;
        min-height: 60px;
    }
    
    .top-navbar .content-box {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
    }
    
    .nav-bar {
        position: fixed;
        top: 60px;
        padding: 25px 0;
        min-height: 90px;
    }
    
    .nav-bar-links {
        gap: 5px;
    }
    
    .item-level-1 {
        margin: 0 5px;
    }
    
    .link-level-1 {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-brand h5,
    .footer h6 {
        font-size: 1.05rem;
    }
}

/* Small Mobile - Max Width 480px */
@media only screen and (max-width: 480px) {
    
    body {
        padding-top: 215px;
    }
    
    .top-navbar {
        padding: 15px 0;
        font-size: 11px;
        position: fixed;
        top: 0;
        min-height: 60px;
    }
    
    .top-navbar .website-info li,
    .top-navbar .top-btn li a {
        font-size: 10px;
        padding: 5px 12px;
    }
    
    .nav-bar {
        position: fixed;
        top: 100px;
        padding: 20px 0;
        min-height: 90px;
    }
    
    .logo img {
        max-height: 65px;
    }
    
    .nav-bar-links {
        width: 100%;
        right: -100%;
    }
    
    .link-level-1 {
        font-size: 14px;
        padding: 12px 10px;
    }
    
    .link-level-2 {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        max-height: 50px;
    }
    
    .footer-brand h5,
    .footer h6 {
        font-size: 0.95rem;
    }
    
    .footer-brand p,
    .footer-links ul li a,
    .footer-contact ul li {
        font-size: 0.85rem;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        font-size: 0.85rem;
        padding: 9px 15px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}
