/* IEEE Sanjivani University Website Styles */

:root {
    --ieee-blue: #003366;
    --ieee-dark-blue: #002244;
    --ieee-light-blue: #0066cc;
    --ieee-gold: #FFB81C;
    --ieee-energy: #E84C0E;
    --text-dark: #1a1a1a;
    --text-medium: #333333;
    --text-light: #555555;
    --text-muted: #777777;
    --bg-light: #f8f9fa;
    --bg-section: #ffffff;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--ieee-blue) 0%, var(--ieee-dark-blue) 100%);
    --gradient-gold: linear-gradient(135deg, var(--ieee-gold) 0%, #e0a800 100%);
    --gradient-bg: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Force navbar to use white theme - Override any conflicting styles */
.navbar.professional-navbar,
nav.professional-navbar,
.professional-navbar.navbar,
.professional-navbar.navbar-dark,
.professional-navbar.bg-primary,
.navbar-dark.professional-navbar,
.bg-primary.professional-navbar,
.professional-navbar.navbar-light {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    background-color: #ffffff !important;
    border-bottom: 4px solid var(--ieee-gold) !important;
    box-shadow: 0 4px 24px rgba(0, 51, 102, 0.15) !important;
}

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

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--gradient-bg);
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-medium);
    line-height: 1.6;
}

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

.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.875rem 2rem;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

.btn-ieee-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--ieee-blue);
    box-shadow: var(--shadow);
}

.btn-ieee-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-ieee-primary::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.5s;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--ieee-blue);
}

.btn-primary:hover {
    background: var(--ieee-dark-blue);
    border-color: var(--ieee-dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-outline-primary {
    color: var(--ieee-blue);
    border-color: var(--ieee-blue);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--ieee-blue);
    border-color: var(--ieee-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    border-color: white;
    color: var(--ieee-blue);
    transform: translateY(-2px);
}

/* Enhanced Navigation Styles - Force White Theme */
.professional-navbar {
    padding: 0.75rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    box-shadow: 0 4px 24px rgba(0, 51, 102, 0.15);
    transition: var(--transition);
    border-bottom: 4px solid var(--ieee-gold);
    backdrop-filter: blur(10px);
}

/* Override ANY Bootstrap background classes */
.navbar.bg-primary,
.navbar.navbar-dark.bg-primary,
.professional-navbar.bg-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
}

/* Force navbar text colors to be dark for white background */
.professional-navbar .navbar-brand,
.professional-navbar .navbar-brand .brand-title,
.professional-navbar .navbar-brand .brand-subtitle {
    color: var(--ieee-blue) !important;
}

.professional-navbar .navbar-nav .nav-link,
.professional-navbar .navbar-nav .nav-link i {
    color: var(--ieee-blue) !important;
    font-weight: 600;
}

.professional-navbar .navbar-nav .nav-link:hover,
.professional-navbar .navbar-nav .nav-link.active,
.professional-navbar .navbar-nav .nav-link:hover i,
.professional-navbar .navbar-nav .nav-link.active i {
    color: var(--ieee-blue) !important;
    background: transparent !important;
}

/* Only dropdown toggles should have background styling */
.professional-navbar .navbar-nav .dropdown-toggle:hover,
.professional-navbar .navbar-nav .dropdown-toggle.show {
    background: rgba(255, 184, 28, 0.1) !important;
    border-radius: 8px !important;
}

.professional-navbar .navbar-toggler {
    border-color: var(--ieee-gold) !important;
}

.professional-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 51, 102, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.professional-navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 32px rgba(0, 51, 102, 0.3);
}

/* Logo and Brand Styling - Updated for White Theme */
.navbar-brand {
    font-weight: 700;
    color: var(--ieee-blue) !important;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.02);
    color: var(--ieee-gold) !important;
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 184, 28, 0.3);
}

.navbar-logo {
    transition: var(--transition);
    filter: brightness(1.1);
}

.logo-container:hover .navbar-logo {
    transform: scale(1.1);
    filter: brightness(1.3);
}

.brand-text .brand-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ieee-blue) !important;
    text-shadow: none;
    letter-spacing: -0.02em;
}

.brand-text .brand-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1;
    color: var(--ieee-gold) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Keep navbar compact on medium/large screens to prevent overflow */
@media (min-width: 992px) and (max-width: 1200px) {
    .brand-text .brand-subtitle { display: none; }
    .brand-text .brand-title { font-size: 1.15rem; }
    .logo-container { width: 44px; height: 44px; }
    .navbar-logo { height: 38px; }
    .navbar-nav { gap: 0.05rem; }
    .navbar-nav .nav-link { padding: 0.45rem 0.6rem !important; font-size: 0.85rem; }
    .navbar-nav .nav-link i { font-size: 0.8rem; }
}

/* Ultra-compact just before collapse */
@media (min-width: 768px) and (max-width: 1150px) {
    .navbar-nav .nav-link span { font-size: 0.8rem; }
}

/* Hide some nav items on very narrow desktop screens */
@media (min-width: 768px) and (max-width: 1000px) {
    .navbar-nav .nav-item:nth-child(4), /* Membership */
    .navbar-nav .nav-item:nth-child(6) { /* Verify Certificate */
        display: none;
    }
}

/* Account dropdown specific styling */
#authDropdown {
    background: rgba(255, 184, 28, 0.1);
    border: 1px solid rgba(255, 184, 28, 0.3);
    border-radius: 25px;
}

#authDropdown:hover {
    background: rgba(255, 184, 28, 0.2);
    border-color: var(--ieee-gold);
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .navbar-nav { gap: 0.2rem; }
    .navbar-nav .nav-link { padding: 0.6rem 0.9rem !important; font-size: 0.9rem; }
}

/* Professional Navigation Links - White Theme */
.navbar-nav {
    gap: 0.25rem;
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--ieee-blue) !important;
    font-weight: 600;
    margin: 0 0.25rem;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.navbar-nav .nav-link i {
    font-size: 0.85rem;
    opacity: 0.9;
    flex-shrink: 0;
    color: var(--ieee-blue);
}

.navbar-nav .nav-link span {
    flex-shrink: 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: transparent !important;
    transform: none;
    box-shadow: none;
    color: var(--ieee-gold) !important;
}

.navbar-nav .nav-link:hover i,
.navbar-nav .nav-link.active i {
    opacity: 1;
    transform: scale(1.1);
    color: var(--ieee-gold);
}

/* Professional Dropdown Styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 1rem 0;
    background: var(--white);
    margin-top: 0.5rem;
    min-width: 250px;
    z-index: 1050;
}

.dropdown-menu-fade {
    animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    border-radius: 0;
    margin: 0 0.5rem;
    border-radius: var(--border-radius);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(135deg, var(--ieee-blue) 0%, var(--ieee-light-blue) 100%);
    color: var(--white);
    transform: translateX(5px);
}

.dropdown-item i {
    color: var(--ieee-blue);
    width: 20px;
    transition: var(--transition);
}

.dropdown-item:hover i,
.dropdown-item:focus i {
    color: var(--ieee-gold);
    transform: scale(1.1);
}

/* Professional Register Button */
.btn-ieee-gold {
    background: linear-gradient(135deg, var(--ieee-gold) 0%, #e0a800 100%);
    border: 2px solid var(--ieee-gold);
    color: var(--text-dark) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-ieee-gold:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ieee-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 28, 0.4);
}

.btn-ieee-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

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

/* Mobile Navigation Enhancements */
.navbar-toggler {
    border: 2px solid rgba(255, 184, 28, 0.5);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    transition: var(--transition);
}

.navbar-toggler:hover {
    border-color: var(--ieee-gold);
    background: rgba(255, 184, 28, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 184, 28, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Search Enhancement */
.mobile-search {
    background: var(--ieee-blue);
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 184, 28, 0.3);
}

.mobile-search .form-control {
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.mobile-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-search .btn {
    border-radius: 25px;
    border: 2px solid var(--ieee-gold);
    background: var(--ieee-gold);
    color: var(--text-dark);
}

/* Page Header Styles */
.page-header {
    padding: 6rem 0 4rem 0;
    margin-top: -80px;
    padding-top: calc(6rem + 80px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    
    .container, .container-fluid {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix navbar dropdown on mobile - white background */
    .navbar-collapse {
        background: #ffffff !important;
        margin-top: 1rem;
        border-radius: 10px;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
    }
    
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: rgba(255, 255, 255, 0.95);
        border: none;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-toggler {
        border: 2px solid var(--ieee-gold);
        padding: 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 184, 28, 0.5);
    }
    
    .hero-section {
        min-height: calc(100vh - 70px);
        margin-top: -70px;
        padding-top: 70px;
    }
    
    .page-header {
        margin-top: -70px;
        padding-top: calc(4rem + 70px);
    }
    
    .professional-navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
        padding: 0.75rem 1rem !important;
        border-radius: 0 !important;
        justify-content: flex-start;
        background: transparent !important;
        color: #003366 !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(0, 51, 102, 0.05) !important;
        color: #003366 !important;
    }
    
    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: rgba(255, 255, 255, 0.95);
        border: none;
        border-radius: 0;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

/* Enhanced Hero Section with White Background and Blue Theme */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--ieee-blue);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    margin-top: -80px;
    padding-top: 80px;
    border-bottom: 4px solid var(--ieee-gold);
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 51, 102, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 184, 28, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 102, 204, 0.06) 0%, transparent 50%);
}

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

.hero-badge .badge {
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
}

.bg-ieee-gold {
    background: var(--gradient-gold) !important;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--ieee-blue);
    text-shadow: 0 2px 4px rgba(0, 51, 102, 0.1);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--ieee-light-blue);
    letter-spacing: 0.01em;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 600px;
    color: var(--text-medium);
}

.hero-stats {
    background: rgba(0, 51, 102, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 51, 102, 0.1);
    box-shadow: var(--shadow-md);
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ieee-gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-container {
    position: relative;
    text-align: center;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.logo-animation {
    animation: logoFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    max-width: 300px;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--ieee-blue);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 51, 102, 0.2);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
    transition: all 0.3s ease;
}

.floating-element:hover {
    transform: scale(1.1);
    background: rgba(255, 184, 28, 0.9);
    color: #003366;
    box-shadow: 0 6px 20px rgba(255, 184, 28, 0.3);
}

.element-1 {
    top: 15%;
    left: 15%;
    animation: gentleFloat 12s ease-in-out infinite;
}

.element-2 {
    top: 65%;
    right: 20%;
    animation: gentleFloat 12s ease-in-out infinite 4s;
}

.element-3 {
    bottom: 25%;
    left: 25%;
    animation: gentleFloat 12s ease-in-out infinite 8s;
}

@keyframes gentleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% { 
        transform: translateY(-8px) rotate(2deg);
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-12px) rotate(0deg);
        opacity: 1;
    }
    75% { 
        transform: translateY(-8px) rotate(-2deg);
        opacity: 0.9;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    color: var(--ieee-blue);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
    transition: var(--transition);
}

.scroll-down:hover {
    color: var(--ieee-gold);
    transform: translateY(-2px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Enhanced Responsive Hero */
@media (max-width: 768px) {
    .hero-section {
        min-height: calc(100vh - 70px);
        margin-top: -70px;
        padding-top: 70px;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    }
    
    .hero-section .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-section .col-lg-8,
    .hero-section .col-lg-4 {
        padding-left: 0;
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        color: var(--ieee-blue);
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        color: var(--ieee-light-blue);
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        color: var(--text-medium);
    }
    
    .hero-stats {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
        background: rgba(0, 51, 102, 0.05);
        border: 2px solid rgba(0, 51, 102, 0.1);
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
        margin-bottom: 0.25rem;
        color: var(--ieee-gold);
    }
    
    .hero-stats .stat-label {
        font-size: 0.75rem;
        color: var(--text-medium);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image-container {
        margin-top: 2rem;
        text-align: center;
    }
    
    .floating-element {
        background: rgba(0, 51, 102, 0.08);
        color: var(--ieee-blue);
        border: 2px solid rgba(0, 51, 102, 0.1);
    }
}

/* Technology Showcase Cards */
.tech-showcase-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.tech-showcase-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.tech-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.tech-showcase-content {
    padding: 1.5rem;
}

.tech-showcase-content h5 {
    color: var(--ieee-blue);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile Navbar Fixes */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: auto;
        margin-top: 0.5rem;
        margin-left: 1rem;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid rgba(0, 51, 102, 0.1);
        border-radius: var(--border-radius);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 0.5rem 0;
        transform: none !important;
    }
    
    .navbar-nav .dropdown-menu .dropdown-item {
        color: var(--text-dark) !important;
        padding: 0.5rem 1rem;
        margin: 0;
        border-radius: 0;
        background: transparent !important;
    }
    
    .navbar-nav .dropdown-menu .dropdown-item:hover,
    .navbar-nav .dropdown-menu .dropdown-item:focus {
        color: var(--white) !important;
        background: linear-gradient(135deg, var(--ieee-blue) 0%, var(--ieee-light-blue) 100%) !important;
        transform: none;
    }
    
    .navbar-toggler {
        border: 2px solid var(--ieee-gold) !important;
        padding: 0.5rem;
        background: transparent !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 184, 28, 0.5);
        border-color: var(--ieee-gold) !important;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 51, 102, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        border-top: none !important;
        padding-top: 1rem;
        background: #ffffff !important;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
    }
    
    /* Remove golden border on mobile */
    .professional-navbar {
        border-bottom: none !important;
    }
}

/* Fix breadcrumb navigation colors */
.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.breadcrumb-item {
    color: #003366 !important;
}

.breadcrumb-item a {
    color: #003366 !important;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #FFB81C !important;
}

.breadcrumb-item.active {
    color: #FFB81C !important;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #003366 !important;
}

/* Additional mobile responsiveness for smaller screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .hero-stats .stat-number {
        font-size: 1.75rem;
    }
    
    .hero-stats .stat-label {
        font-size: 0.7rem;
    }
    
    .floating-element {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Enhanced Section Styling */
.section-header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 2px solid rgba(255, 184, 28, 0.3);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
}

/* Enhanced Statistics Section */
.statistics-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.03) 0%, rgba(255, 184, 28, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 51, 102, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 184, 28, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(0, 51, 102, 0.1);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    height: 100%;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--ieee-light-blue);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--ieee-blue);
    display: block;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 51, 102, 0.1);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(0, 51, 102, 0.05);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--ieee-light-blue);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ieee-blue) 0%, var(--ieee-light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-gold);
    color: var(--text-dark);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255, 184, 28, 0.03) 0%, rgba(0, 51, 102, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.about-content {
    padding-right: 2rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-medium);
}

.about-list li i {
    color: var(--ieee-blue);
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px;
}

.about-image {
    position: relative;
    text-align: center;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

/* Events Section */
.events-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.event-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid rgba(0, 51, 102, 0.05);
    box-shadow: var(--shadow-md);
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 2;
}

.event-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--ieee-light-blue);
}

.event-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--gradient-primary);
}

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

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

.event-date {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 80px;
    box-shadow: var(--shadow-lg);
    border: 3px solid white;
    z-index: 3;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

.event-content {
    padding: 2.5rem;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.event-description {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-medium);
    font-weight: 500;
}

.event-meta i {
    color: var(--ieee-blue);
    width: 18px;
    font-size: 1.1rem;
}

.event-meta i {
    margin-right: 0.5rem;
    color: var(--ieee-blue);
}
.stats-section {
    background: linear-gradient(135deg, var(--bg-section) 0%, #f0f2f5 100%);
    padding: 6rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 51, 102, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 184, 28, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.stat-card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid #f8f9fa;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.stat-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--ieee-gold);
}

.stat-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
}

.stat-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--ieee-gold);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover .stat-icon::after {
    opacity: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--ieee-blue);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Enhanced About Section */
.about-section {
    background: linear-gradient(135deg, var(--bg-section) 0%, #fafbfc 100%);
    padding: 7rem 0;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 184, 28, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 51, 102, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.about-content h3 {
    color: var(--ieee-blue);
    font-weight: 800;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.about-content p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content .lead {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
}

.about-image-container:hover .image-overlay {
    opacity: 0.9;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.ieee-stats {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 2rem;
}

.stat-box {
    text-align: center;
}

.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ieee-blue);
    display: block;
}

.stat-box .stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Enhanced Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid #f8f9fa;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--ieee-light-blue);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid var(--ieee-gold);
    border-radius: var(--border-radius);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
}

.feature-content h5 {
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.3;
}

.feature-content p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.stat-icon {
    font-size: 3rem;
    color: var(--ieee-blue);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ieee-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--ieee-blue), var(--ieee-gold));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-content {
    padding-right: 2rem;
}

.about-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-image img {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

/* Enhanced Professional Events Section */
.events-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f2f5 100%);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 51, 102, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 184, 28, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.event-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 2px solid #f8f9fa;
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 2;
}

.event-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--ieee-light-blue);
}

.event-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--gradient-primary);
}

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

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

.event-date {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 80px;
    box-shadow: var(--shadow-lg);
    border: 3px solid white;
    z-index: 3;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 2px;
}

.event-content {
    padding: 2.5rem;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.event-description {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-medium);
    font-weight: 500;
}

.event-meta i {
    color: var(--ieee-blue);
    width: 18px;
    font-size: 1.1rem;
}

.event-meta i {
    margin-right: 0.5rem;
    color: var(--ieee-blue);
}

/* Verification Section */
.verification-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.verification-form {
    max-width: 600px;
    margin: 0 auto;
}

.verification-form .form-control {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 1rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

.verification-form .form-control:focus {
    border-color: var(--ieee-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 98, 155, 0.25);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--ieee-blue) 0%, #004d7a 100%);
}

.newsletter-section .form-control {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem;
}

.newsletter-section .btn-light {
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* Enhanced Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--ieee-blue) 0%, var(--ieee-dark-blue) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 184, 28, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-title {
    color: var(--ieee-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--ieee-gold);
    padding-left: 5px;
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255, 184, 28, 0.3);
}

.social-link:hover {
    background: var(--ieee-gold);
    color: var(--ieee-blue);
    transform: translateY(-3px);
    border-color: var(--ieee-gold);
    box-shadow: 0 4px 15px rgba(255, 184, 28, 0.4);
}

.contact-info {
    font-size: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
}

.contact-item i {
    color: var(--ieee-gold);
    margin-top: 2px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--ieee-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--ieee-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--white);
    padding: 1rem 0;
    z-index: 1050;
    display: none;
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .verification-form .row {
        flex-direction: column;
    }
    
    .verification-form .col-md-3 {
        margin-top: 1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-ieee-blue { color: var(--ieee-blue) !important; }
.text-ieee-gold { color: var(--ieee-gold) !important; }
.bg-ieee-blue { background-color: var(--ieee-blue) !important; }
.bg-ieee-gold { background-color: var(--ieee-gold) !important; }

.shadow-custom { box-shadow: var(--shadow); }
.shadow-lg-custom { box-shadow: var(--shadow-lg); }

.border-radius-custom { border-radius: var(--border-radius); }

.transition-custom { transition: var(--transition); }

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Enhanced Global Card Styles */
.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid #f8f9fa;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--ieee-light-blue);
}

.card-body {
    padding: 2.5rem;
}

.card-title {
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.card-text {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Enhanced Forms */
.form-control {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.form-control:focus {
    border-color: var(--ieee-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 51, 102, 0.25);
    background: var(--white);
    color: var(--text-dark);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

/* Enhanced Lists */
ul, ol {
    color: var(--text-medium);
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Enhanced Links */
a:not(.btn):not(.nav-link):not(.dropdown-item) {
    color: var(--ieee-blue);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
    color: var(--ieee-dark-blue);
    text-decoration: underline;
}

/* Enhanced Tables */
.table {
    color: var(--text-medium);
}

.table th {
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--ieee-blue);
}

.table td {
    vertical-align: middle;
    padding: 1rem;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 51, 102, 0.02);
}

/* Enhanced Alerts */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.alert-primary {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.1) 0%, rgba(0, 51, 102, 0.05) 100%);
    color: var(--ieee-dark-blue);
    border-left: 4px solid var(--ieee-blue);
}

.alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 184, 28, 0.1) 0%, rgba(255, 184, 28, 0.05) 100%);
    color: #856404;
    border-left: 4px solid var(--ieee-gold);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Page-specific Enhancements */
.page-content {
    color: var(--text-medium);
    line-height: 1.8;
}

.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 2.5rem 2rem;
    }
    
    .card-body {
        padding: 2rem;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
        color: var(--ieee-gold);
    }
    
    .hero-stats .stat-label {
        color: var(--text-medium);
        font-size: 0.875rem;
    }
}

/* Additional Statistics Section Enhancement */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.03) 0%, rgba(255, 184, 28, 0.05) 100%);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 51, 102, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 184, 28, 0.08) 0%, transparent 50%);
    opacity: 0.6;
}

.stats-section .stat-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(0, 51, 102, 0.1);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    height: 100%;
}

.stats-section .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.stats-section .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--ieee-light-blue);
}

.stats-section .stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--ieee-blue) 0%, var(--ieee-light-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.stats-section .stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-gold);
    color: var(--text-dark);
}

.stats-section .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ieee-blue);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-section .stat-label {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
