/* Custom CSS for Vidyoday 2025 Conference Website */

/* Global Styles */
:root {
    --primary-color: #00306e;
    --secondary-color: #fdb814;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #000000;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}
.bg-primary{
    background-color:var(--primary-color) !important;
}
/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    font-size:17px;
}

.nav-link:hover {
    color: #fff !important;
}
img.main-logo {
    width: auto;
    height: 65px;
    object-fit: cover;
}
.image-group-logo img{
     width: auto;
    object-fit: contain;
    height: 55px;
}

.image-group-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:20px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 48, 110, 0.8), rgba(253, 184, 20, 0.7)),
                url('/image/unnamed.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-overlay {
    backdrop-filter: blur(1px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
}

.fade-in {
    animation: fadeIn 1.5s ease-in-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.glow-text {
    text-shadow: 0 0 10px rgba(253, 184, 20, 0.9), 0 0 20px rgba(0, 48, 110, 0.8);
}

.hero-section .lead {
    font-size: 1.4rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-warning {
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #ffcc00;
    transform: scale(1.05);
    box-shadow: 0 0 10px #ffd700;
}

.organizers-text {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
   width: 940px;
    margin: 0 auto;
}

.org-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.org-logo {
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
}

.org-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .org-item {
        flex-direction: column;
        align-items: center !important;
        gap: 0.5rem;
    }
    .org-logo {
        align-self: center;
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 30px;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 100%;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    right: auto;
    left: 20px;
    border-radius: 50%;
    top: 15px;
    border: 3px solid white;
    z-index: 1;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
}

.timeline-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Button Styles */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Committee Cards */
.committee-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.committee-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Registration Cards */
.registration-card {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.registration-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .timeline::after {
        left: 15px;
    }
    
    .timeline-marker {
        left: 5px;
    }
    
    .timeline-item {
        padding-left: 25px;
    }
    
    section {
        padding: 100px 0;
    }
    .organizers-text{
        width:auto;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #002347;
}

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

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

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.border-radius-lg {
    border-radius: 15px;
}

.shadow-lg-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-lg-hover:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Conference Focus Areas Image Fixes */
.focus-area-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.focus-area-image:hover {
    transform: scale(1.05);
}

.focus-area-card {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

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

.focus-area-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
}

.focus-area-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}
.card-img-top {
    width: 100%;
    height: 250px;
    object-fit:cover;
}
@media (max-width: 991.98px) {
  #navbarNav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 75%;
    max-width: 300px;
    background-color: #0d6efd;
    transition: right 0.3s ease-in-out;
    z-index: 1050;
    padding-top: 4rem;
    display: block !important; /* Override collapse */
  }

  #navbarNav.show {
    right: 0;
  }

  #navbarNav ul {
    flex-direction: column;
  }

  .nav-link {
    color: white;
    padding: 1rem;
  }
   .btn-close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    z-index: 1100;
  }

  .btn-close-menu:focus {
    outline: none;
    box-shadow: none;
  }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .hero-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
}


#keynote-speakers .container {
  max-width: 1200px;
  margin: auto;
}

.speakers-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.speaker {
  width: 200px;
  text-align: center;
}

.speaker img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%; /* Square: change to 0 */
  border: 3px solid #ccc;
  margin-bottom: 10px;
}

.speaker h4 {
  font-size: 16px;
  margin: 6px 0 4px;
  font-weight: 600;
}

.speaker p {
  font-size: 13px;
  color: #444;
  line-height: 1.4;
}

