:root {
    --primary-color: #116446;
    --secondary-color: #f69527;
    --accent-color: #f1c40f;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.navbar {
    /* background-color: rgba(26, 58, 110, 0.95) !important; */
    padding: 1rem 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: white !important;
    font-size: 1.8rem;
}
.navbar-brand img {
    max-width: 250px;
}
.navbar-brand span {
    color: var(--secondary-color);
}
.nav-link {
    color: #000 !important;
    margin: 0 8px;
    position: relative;
    font-size: 14px;
    font-weight: 600;
}
button.navbar-toggler {
    padding: 8px 10px;
    font-size: 16px;
    background-color: #116446;
}
.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}
.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./images/campus-bg.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeDown 1s ease forwards 0.5s;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeDown 1s ease forwards 0.7s;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeDown 1s ease forwards 0.9s;
}

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

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 30px;
    margin: 10px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: #116446;
    border-color: #116446;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px #116446;
}

.btn-outline-light {
    border-color: white;
    color: white;
    padding: 12px 35px;
    font-weight: 500;
    border-radius: 30px;
    margin: 10px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

.countdown {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
}

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

.countdown-item {
    text-align: center;
    margin: 0 15px;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #666;
}

.speaker-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 10px;
    height: 100%;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.speaker-img, .image-box{
    height: 200px;
}

.speaker-img img, .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.speaker-info {
    padding: 20px;
}

.speaker-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.speaker-info h4 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.speaker-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.schedule-item {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.schedule-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);

}

.schedule-speaker {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.schedule-desc {
    color: #666;
    line-height: 1.6;
}

.venue-info {
    background: linear-gradient(rgba(26, 58, 110, 0.9), rgba(26, 58, 110, 0.9)), url('https://placehold.co/800x600/1a3a6e/ffffff?text=Venue+Riga') no-repeat center center;
    background-size: cover;
    color: white;
    border-radius: 10px;
    padding: 40px;
    margin-top: 30px;
}

.venue-info h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.venue-info p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.venue-info i {
    color: var(--accent-color);
    margin-right: 10px;
}

.pricing-item {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid #eee;
}

.pricing-item.popular {
    border-color: var(--secondary-color);
    transform: scale(1.05);
    position: relative;
    z-index: 1;
}

.pricing-item.popular:hover {
    transform: scale(1.08);
}

.pricing-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pricing-item.popular .price {
    color: var(--secondary-color);
}

.pricing-item.popular .btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.pricing-item.popular .btn:hover {
    background-color: #116446;
    border-color: #116446;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.pricing-item h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: white;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    background: white;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

.subscribe-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    padding: 12px 0;
    font-size: 1rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 30px;
    margin-top: 20px;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    color: #fff;
    background-color: #116446;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px #116446;
}

.social-links {
    text-align: center;
    margin: 40px 0;
}

.social-links a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

footer {
    background-color: #f3f3f3;
    color: white;
    padding: 40px 0px 10px;
}

footer h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h4:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

footer p {
    color: var(--dark-color);
    line-height: 1.2;
}

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

footer .footer-links li {
    margin-bottom: 10px;
}

footer .footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background-color: #116446;
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 1330px) {
.nav-link {
    margin: 0 5px;
    font-size: 12px;
}    
}
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .countdown {
        flex-wrap: wrap;
    }

    .pricing-item.popular {
        transform: scale(1);
    }

    .pricing-item.popular:hover {
        transform: scale(1.05);
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 30px 0;
    }

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

    .section-title h2 {
        font-size: 2rem;
        padding-bottom: 10px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    
}
@media (max-width:575px){
    .navbar-brand img {
    max-width: 200px;
}
button.navbar-toggler {
    padding: 7px 7px;
}
th, td{
font-size: 14px;
}
.navbar-nav {
    text-align: start !important;
}
}
 .committee-card {
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
      overflow: hidden;
      background: #fff;
    }
    
    .committee-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }
    
    .committee-header {
      background: linear-gradient(90deg, #116446, #f69527);
      color: white;
      padding: 20px;
      text-align: center;
    }
    
    .committee-body {
      padding: 25px;
    }
    
    .committee-title {
      font-weight: 700;
      color: #116446;
      border-bottom: 2px solid #f69527;
      padding-bottom: 10px;
      margin-bottom: 20px;
      text-align: center;
    }
    
    .member-item {
      margin-bottom: 15px;
      padding-bottom: 15px;
      border-bottom: 1px dashed #e9ecef;
    }
    
    .member-item:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }
    
    .member-name {
        font-size: 18px;
      font-weight: 700;
      color: #116446;
      margin-bottom: 5px;
    }
    
    .member-role {
      color: #f69527;
      font-size: 1rem;
       font-weight: 600;
      margin-bottom: 3px;
    }
    
    .member-affiliation {
      color: #000;
      font-size: 0.85rem;
    }
    
    .committee-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 25px;
    }
    
    @media (max-width: 992px) {
      .committee-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    
    @media (max-width: 768px) {
      .navbar-nav {
        flex-direction: column;
        text-align: center;
      }
      
      header h2 {
        font-size: 1.1rem;
      }
      
      .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      
      .hero-buttons .btn {
        width: 100%;
      }
      
      .committee-grid {
        grid-template-columns: 1fr;
      }
      
      .committee-body {
        padding: 20px 15px;
      }
    }