/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Remove default styles */
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #1a1a1a;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin: 0 0 1rem 0;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: #666;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }

[class*="col-"] {
    padding: 0 15px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.align-items-center { align-items: center; }

.bg-light { background-color: #f8f9fa; }

.section-padding {
    padding: 40px 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #e62b1e 0%, #d41500 100%);
    color: white;
    border-color: #e62b1e;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d41500 0%, #b91200 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 43, 30, 0.3);
}

.btn-outline {
    background: transparent;
    color: #e62b1e;
    border-color: #e62b1e;
}

.btn-outline:hover {
    background: #e62b1e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 43, 30, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* ===== SKIP TO CONTENT ===== */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #e62b1e;
    color: white;
    padding: 8px;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 6px;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    padding: 10px 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 14px;
    max-width: 250px;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    color: white;
    text-decoration: none;
}

.floating-whatsapp-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: url("../images/whatsapp.png") no-repeat center;
    background-size: contain;
}

.floating-whatsapp-text {
    white-space: normal;
    overflow: visible;
    line-height: 1.3;
    text-align: center;
    flex: 1;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }
}

/* Mobile responsive - show only icon */
@media (max-width: 768px) {
    .floating-whatsapp {
        padding: 10px;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        bottom: 15px;
        right: 15px;
        justify-content: center;
        max-width: none;
    }
    
    .floating-whatsapp-text {
        display: none;
    }
    
    .floating-whatsapp-icon {
        width: 32px;
        height: 32px;
    }
}

/* ===== HEADER ===== */
.header-centered {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.transparent-header {
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: #333;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.menu-item:hover > a {
    color: #e62b1e;
}

.menu-item-has-children {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    min-width: 300px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    padding: 0;
}

.sub-menu a {
    display: block;
    padding: 0.5rem 2rem;
    color: #666;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.sub-menu a:hover {
    color: #e62b1e;
    background: #f8f9fa;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: white;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #e62b1e 0%, #ff6b4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.8;
}

.scroll-text {
    font-size: 0.875rem;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: white;
    margin: 0 auto;
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

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

/* ===== ANIMATIONS ===== */
.animated-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animation="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-animation="fade-up"].in-view {
    opacity: 1;
    transform: translateY(0);
}

[data-animation="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

[data-animation="fade-right"].in-view {
    opacity: 1;
    transform: translateX(0);
}

[data-animation="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

[data-animation="fade-left"].in-view {
    opacity: 1;
    transform: translateX(0);
}

/* ===== SECTIONS ===== */
.section-header {
    margin-bottom: 4rem;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.featured-event {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.event-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.featured-event .event-image {
    height: auto;
    min-height: 400px;
}

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

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

.event-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-date,
.event-status {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.event-status {
    background: #e62b1e;
}

.event-content {
    padding: 2rem;
}

.event-title {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.event-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    padding-right: 2rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e62b1e;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(230, 43, 30, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    text-align: center;
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

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

.social-links a:hover {
    background: #e62b1e;
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e62b1e;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
}

.copyright {
    color: #ccc;
    font-size: 0.875rem;
    margin: 0;
}

.language-switcher {
    display: flex;
    gap: 1rem;
}

.lang-link {
    color: #ccc;
    font-weight: 500;
    transition: color 0.3s ease;
}

.lang-link.active,
.lang-link:hover {
    color: #e62b1e;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-inner {
        padding: 0.75rem 0;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        width: 44px;
        height: 44px;
        justify-content: center;
        z-index: 1001;
        position: relative;
    }
    
    .mobile-menu-toggle span {
        display: block;
        height: 3px;
        width: 25px;
        background-color: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
        margin: 3px 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile Navigation */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff !important;
        box-shadow: -2px 0 15px rgba(0,0,0,0.3);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
        overflow-y: auto;
        border-left: 3px solid #e62b1e;
        display: block !important;
    }
    
    .main-navigation.mobile-open {
        right: 0 !important;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 20px;
        gap: 0;
        height: 100%;
    }
    
    .nav-menu .menu-item {
        margin: 0 0 10px 0;
        width: 100%;
    }
    
    .nav-menu .menu-item > a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        color: #333 !important;
        font-weight: 500;
        font-size: 1.1rem;
        text-decoration: none;
    }
    
    .nav-menu .menu-item:hover > a {
        color: #e62b1e !important;
    }
    
    /* Enhanced Sub-menu for Mobile */
    .menu-item-has-children > a::after {
        content: '+';
        float: right;
        font-size: 1.2rem;
        font-weight: bold;
        transition: transform 0.3s ease;
        color: #333 !important;
    }
    
    .menu-item-has-children.expanded > a::after {
        transform: rotate(45deg);
    }
    
    /* Override desktop hover behavior on mobile */
    .menu-item-has-children:hover .sub-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0;
    }
    
    .sub-menu {
        position: static !important;
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0;
        overflow: hidden;
        background: #f8f8f8;
        box-shadow: none;
        margin-top: 0;
        border-radius: 5px;
        white-space: nowrap;
        transition: all 0.3s ease;
        transform: none !important;
    }
    
    .menu-item-has-children.expanded .sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 300px;
        padding: 10px 0;
        margin-top: 10px;
    }
    
    .sub-menu li a {
        padding: 10px 20px;
        color: #666 !important;
        font-size: 0.95rem;
        border-bottom: none;
        white-space: nowrap;
        display: block;
    }
    
    .sub-menu li a:hover {
        color: #e62b1e !important;
        background: rgba(230, 43, 30, 0.1);
    }
    
    /* Overlay for mobile menu */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-event {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .about-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .col-lg-6,
    .col-lg-4,
    .col-lg-2,
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .text-right {
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom .row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-actions .btn {
        width: auto;
        min-width: 200px;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== ICONS ===== */
.icon-arrow-right::before {
    content: '→';
}

.icon-play::before {
    content: '▶';
}

.icon-facebook::before {
    content: 'f';
    font-family: 'Font Awesome', sans-serif;
}

.icon-instagram::before {
    content: 'i';
    font-family: 'Font Awesome', sans-serif;
}

.icon-linkedin::before {
    content: 'in';
    font-family: 'Font Awesome', sans-serif;
}

.icon-youtube::before {
    content: 'y';
    font-family: 'Font Awesome', sans-serif;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.hero-video,
.event-image img,
.about-image img {
    will-change: transform;
}

.btn,
.event-card,
.social-links a {
    will-change: transform;
}

/* ===== PRINT STYLES ===== */
@media print {
    .header-centered,
    .mobile-menu-toggle,
    .scroll-indicator,
    .hero-video-container {
        display: none;
    }
    
    .hero-section {
        height: auto;
        padding: 2rem 0;
        background: #f8f9fa;
        color: #333;
    }
    
    .hero-title {
        color: #333;
    }
}

/* ===== NEW SECTIONS STYLES ===== */

/* About TEDxShahpura Lake Section */
.about-shahpura-section {
    background-color: #fff;
}

.about-shahpura-section .section-header {
    max-width: 800px;
    margin: 0 auto;
}

.about-shahpura-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.about-shahpura-section .section-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* Our Goal Section */
.our-goal-section {
    background-color: #f8f9fa;
}

.our-goal-section .section-header {
    max-width: 900px;
    margin: 0 auto;
}

.goal-intro p {
    color: #333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Speakers Section */
.speakers-section {
    background-color: #fff;
}

.speakers-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.speakers-section .section-subtitle {
    color: #e62b1e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Members Section */
.team-section {
    background-color: #f8f9fa;
}

.team-grid {
    margin-top: 3rem;
}

.team-row {
    margin-bottom: 2rem;
}

/* Force 4 columns layout for team members */
.team-section .col-lg-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e62b1e;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    margin-top: 1rem;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #e62b1e;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Lead Partner Section */
.lead-partner-section {
    background-color: #fff;
    padding-bottom: 0.5rem !important;
}

/* Partners Section */
.partners-section {
    background-color: #f8f9fa;
    padding-top: 1rem !important;
}

.partners-section .section-header {
    margin-bottom: 1.5rem;
}

.lead-partner-logo {
    margin-bottom: 0 !important;
}

.partners-grid {
    margin-top: 0;
}

.partners-row {
    margin-bottom: 2rem;
}

/* Force 4 columns layout for partners */
.partners-section .col-lg-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
}

.partner-item {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.partner-item:hover {
    background-color: #fff;
    transform: translateY(-3px);
    border-color: #e62b1e;
    box-shadow: 0 5px 15px rgba(230, 43, 30, 0.1);
}

.partner-logo {
    width: 220px;
    height: 160px;
    margin: 0 auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    padding: 20px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-info {
    margin-top: -0.25rem;
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.partner-category {
    color: #e62b1e;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Coming Soon Images */
.responsive-coming-soon {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Responsive adjustments for new sections */
@media (max-width: 991px) and (min-width: 768px) {
    .team-section .col-lg-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 768px) {
    .about-shahpura-section .section-title,
    .speakers-section .section-title {
        font-size: 2rem;
    }
    
    .goal-intro p {
        font-size: 1rem;
    }
    
    .team-row,
    .partners-row {
        margin-bottom: 1rem;
    }
    
    .team-member,
    .partner-item {
        margin-bottom: 1.5rem;
    }
    
    .member-image {
        width: 120px;
        height: 120px;
    }
    
    .partner-logo {
        width: 180px;
        height: 130px;
        margin: 0 auto 0;
    }
    
    .responsive-coming-soon {
        max-width: 70%;
        margin: 1rem auto;
    }
    
    .team-section .col-lg-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .team-member {
        padding: 1rem;
    }
    
    .partner-item {
        padding: 1rem 0.5rem;
    }
    
    .about-shahpura-section .section-title,
    .speakers-section .section-title {
        font-size: 1.75rem;
    }
    
    .goal-intro p {
        font-size: 1rem;
    }
}

/* Desktop hover functionality - ensure it works above mobile breakpoint */
@media (min-width: 769px) {
    .menu-item-has-children:hover .sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        max-height: none !important;
    }
    
    /* Ensure mobile-specific styles don't interfere with desktop */
    .menu-item-has-children > a::after {
        display: none;
    }
    
    .menu-item-has-children.expanded .sub-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
    }
}

/* ===== MOBILE CENTER ALIGNMENT ===== */
@media (max-width: 768px) {
    /* General text alignment */
    body, .container, .row, [class*="col-"] {
        text-align: center !important;
    }
    
    /* Section headers and content */
    .section-header,
    .section-title,
    .section-subtitle,
    .section-content,
    .about-content,
    .goal-intro,
    .form-wrapper {
        text-align: center !important;
    }
    
    /* Paragraphs and text content */
    p, .lead, .footer-description,
    .hero-subtitle, .hero-title,
    .event-description, .event-title {
        text-align: center !important;
    }
    
    /* Form elements */
    .contact-form, .form-group,
    label, input, textarea, select, button {
        text-align: center !important;
    }
    
    /* Team and partner sections */
    .team-member, .member-info,
    .member-name, .member-role,
    .partner-item, .partner-info,
    .partner-name, .partner-category {
        text-align: center !important;
    }
    
    /* Footer content */
    .footer-content, .footer-section,
    .footer-title, .footer-links,
    .footer-bottom, .copyright {
        text-align: center !important;
    }
    
    /* Social links */
    .social-links {
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Navigation */
    .nav-menu, .menu-item, .sub-menu {
        text-align: center !important;
    }
    
    /* Images and media */
    img, .member-image, .partner-logo,
    .coming-soon-image {
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Buttons and actions */
    .btn, .hero-actions, .cta-actions {
        text-align: center !important;
        margin: 0 auto !important;
        display: block !important;
        width: fit-content !important;
    }
    
    /* Flex containers */
    .row, .footer-content .row {
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Grid layouts */
    .events-grid, .team-grid, .partners-grid {
        text-align: center !important;
        justify-content: center !important;
    }
    
    /* Language switcher */
    .language-switcher {
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Stats and other content */
    .about-stats, .stat-item,
    .cta-section, .cta-title, .cta-subtitle {
        text-align: center !important;
    }
    
    /* Override any left/right alignments */
    .text-left, .text-right {
        text-align: center !important;
    }
    
    /* Form specific adjustments */
    .form-group label {
        text-align: left !important;
        display: block !important;
        margin-bottom: 0.5rem !important;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        text-align: left !important;
    }
} 