hide :root {
    --primary-blue: #0D6EFD;
}

/* Wavy background for statistics section */
.wavy-bg {
    position: relative;
    background-color: var(--primary-blue);
    overflow: hidden;
}

.wavy-bg::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="150" viewBox="0 0 1440 150" xmlns="http://www.w3.org/2000/svg"><path fill="%230D6EFD" fill-opacity="1" d="M0,64L48,80C96,96,192,128,288,138.7C384,149,480,139,576,128C672,117,768,107,864,112C960,117,1056,139,1152,138.7C1248,139,1344,117,1392,106.7L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"/></svg>') no-repeat top center;
    background-size: cover;
    z-index: 1;
}

/* Custom shadow for cards */
.custom-shadow {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Circular images for executive committee */
.rounded-circle {
    border-radius: 50% !important;
}

/* Link and heading colors */
h2, h3, h4 {
    color: var(--primary-blue);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Additional spacing */
#about .about-box, #about .notice-board-box {
    background: #fff !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    padding: 30px !important;
    transition: all 0.3s ease;
    position: relative !important;
    min-height: 250px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    /* Removed debug border */
    overflow: visible !important;
}

/* Fix for about-us-area card body */
.about-us-area .card-body {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    padding: 1rem 1rem;
    box-sizing: border-box;
}

/* Margin bottom fix */
.mb-2 {
    margin-bottom: 0.5rem !important;
}

.about-box:hover, .notice-board-box:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Angled corner shape for About Us (right top) */
#about .about-box::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 160px;
    background: #dbe9ff !important;
    clip-path: polygon(0 0, 75% 0, 100% 50%, 75% 100%, 0 100%) !important;
    border-radius: 0 0 0 50% !important;
    z-index: 0;
}

/* Angled corner shape for Notice Board (left top) */
#about .notice-board-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 160px;
    background: #dbe9ff !important;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 25% 100%, 0 50%) !important;
    border-radius: 0 50% 0 0 !important;
    z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #about .about-box::after,
    #about .notice-board-box::after {
        width: 80px;
        height: 80px;
        left: -20px;
        right: -20px;
        top: auto;
        bottom: auto;
    }
}

/* Member Facilities list */
ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Homepage specific styles */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-image.jpg') no-repeat center center/cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.stats-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stats-box:hover {
    transform: translateY(-5px);
}

.stats-box i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.stats-box h3 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stats-box p {
    color: #6c757d;
    font-weight: 500;
}

.executive-card {
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.executive-card:hover {
    transform: translateY(-5px);
}

.executive-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #e9ecef;
}

.executive-card h6 {
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.executive-card p {
    color: #6c757d;
    font-size: 0.9rem;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Uniform card styling for all sections */
.card {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.card:hover {
    box-shadow: 0 4px 20px rgb(0 0 0 / 0.15);
    transform: translateY(-3px);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
}

.card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.btn-outline-primary {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Executive Committee Section Styles */
.executive-committee-section {
    position: relative;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 40px 0; /* Reduced padding for smaller height */
    overflow: hidden;
}

.executive-container {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin: 0 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Side Shapes */
.side-shape {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(45deg, #007bff, #0056b3);
    opacity: 0.1;
}

.left-shape {
    left: -50px;
    border-radius: 0 50px 50px 0;
    transform: skewY(-10deg);
}

.right-shape {
    right: -50px;
    border-radius: 50px 0 0 50px;
    transform: skewY(10deg);
}

/* Section Title */
.section-title {
    color: #007bff;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Region Tabs */
.region-tab {
    background: #f8f9fa;
    border: 2px solid #007bff;
    color: #007bff;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.region-tab:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.region-tab.active {
    background: #007bff;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Member Cards */
.executive-member-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.executive-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: #007bff;
}

.member-card-inner {
    padding: 20px;
}

.member-image-box {
    position: relative;
    margin-bottom: 15px;
}

.member-photo {
    width: 120px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #f8f9fa;
    transition: all 0.3s ease;
}

.member-photo:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

.member-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-name a:hover {
    color: #007bff;
}

.member-designation {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    text-transform: capitalize;
}

/* Pagination Dots */
.pagination-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #007bff;
    transform: scale(1.2);
}

.dot:hover {
    background: #0056b3;
}

/* Carousel Container */
.team-carousel-container {
    overflow: hidden;
    border-radius: 15px;
}

.team-carousel-inner {
    transition: transform 0.5s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .executive-container {
        margin: 0 10px;
        padding: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .side-shape {
        display: none;
    }

    .executive-member-card {
        margin: 0 5px;
    }

    .member-photo {
        width: 100px;
        height: 120px;
    }
}

/* Dropdown menu hover fix for sticky header */
.sticky-header .main-menu .navigation > li.dropdown:hover > ul,
.sticky-header .main-menu .navigation > li.dropdown:focus-within > ul {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s ease;
    z-index: 9999;
    position: absolute;
    background: white;
    padding: 10px 0;
    border-radius: 0 0 5px 5px;
    min-width: 200px;
}

.sticky-header .main-menu .navigation > li.dropdown ul li {
    display: block;
    padding: 5px 20px;
}

.sticky-header .main-menu .navigation > li.dropdown ul li a {
    color: black !important;
    font-weight: 500;
    display: block;
}

.sticky-header .main-menu .navigation > li.dropdown ul li a:hover {
    background-color: #f43d3d;
    color: white !important;
    text-decoration: none;
}

/* Enable hover for main navbar dropdowns */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Remove text decoration from navbar links */
.navbar .nav-link,
.navbar .dropdown-toggle,
.navbar .dropdown-item {
    text-decoration: none !important;
}

.navbar .nav-link:hover,
.navbar .dropdown-toggle:hover,
.navbar .dropdown-item:hover {
    text-decoration: none !important;
}

/* Sticky header - hidden by default */
.sticky-header {
    display: none;
}

/* Sticky header fixed positioning */
.sticky-header.fixed-header {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-in-out;
    color: black !important;
}

.navbar.navbar-expand-lg.navbar-dark.bg-primary {
    color: white !important;
}

.navbar.navbar-expand-lg.navbar-dark.bg-primary a.nav-link,
.navbar.navbar-expand-lg.navbar-dark.bg-primary .navbar-brand {
    color: white !important;
}

.sticky-header.fixed-header a,
.sticky-header.fixed-header .logo a {
    color: black !important;
}

.sticky-header.fixed-header .main-menu .navigation > li > a {
    color: black !important;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Add padding to body when sticky header is fixed */
body.has-sticky-header {
    padding-top: 80px; /* Adjust based on header height */
}
/ *   S e t   t o p   h e a d e r   h e i g h t   t o   4 5 p x   * / 
 . t o p - h e a d e r   { 
         h e i g h t :   4 5 p x   ! i m p o r t a n t ; 
         p a d d i n g - t o p :   0   ! i m p o r t a n t ; 
         p a d d i n g - b o t t o m :   0   ! i m p o r t a n t ; 
 } 
 . t o p - h e a d e r   . c o n t a i n e r   { 
         h e i g h t :   1 0 0 % ; 
 } 
 . t o p - h e a d e r   . r o w   { 
         h e i g h t :   1 0 0 % ; 
         m a r g i n :   0 ; 
 } 
 . t o p - h e a d e r   . c o l - m d - 6   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         p a d d i n g :   0   1 5 p x ; 
 } 
 
 