html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body,
html {
    overflow-x: hidden;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
    text-align: start;
}

/* ===== INTERNATIONAL ACADEMIC CONGRESS 2025 - CAROUSEL HERO SECTION ===== */

/* Modern Navbar Styles (Blue Theme) */
.modern-navbar {
    --nav-text: #2c3e50;
    --nav-text-muted: #5a6c7d;
    --nav-border: #e1e8ed;
    --nav-hover-bg: #f8f9fa;
    --nav-shadow: 0 8px 32px rgba(52, 152, 219, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--nav-border);
    transition: background .4s ease, box-shadow .4s ease, transform .4s ease;
    box-shadow: var(--nav-shadow);
    position: relative;
    /* Keep navbar above page content (carousel, banners),
       but below Bootstrap modals (z-index: 1055) */
    z-index: 1030;
}

.modern-navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(46, 204, 113, 0.03) 0%, transparent 50%),
        linear-gradient(120deg, rgba(52, 152, 219, 0.02), rgba(46, 204, 113, 0.01));
    pointer-events: none;
}

.modern-navbar.scrolled {
    /* Scroll durumunda görsel değişiklik yapmayın */
    box-shadow: none;
}

.brand-container {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.05));
    border: 1px solid rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.brand-container:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(46, 204, 113, 0.08));
    border-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.2);
}

.brand-icon {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.modern-navbar .navbar-toggler {
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 0.5rem;
    background: rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
}

.modern-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    border-color: #2980b9;
}

.modern-navbar .navbar-toggler:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-1px);
}

/* Nav links */
.modern-navbar .navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.95rem 1.15rem !important;
    color: var(--nav-text-muted);
    position: relative;
    transition: all .3s ease;
    font-size: .95rem;
    letter-spacing: .4px;
    border-radius: 8px;
    margin: 0 0.25rem;
    font-family: "Quicksand", sans-serif;
}

.modern-navbar .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.05));
    border-radius: 8px;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.modern-navbar .navbar-nav .nav-link:hover::before {
    width: 100%;
    height: 100%;
}

/* Underline animation */
.modern-navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: translateX(-50%);
    transition: width .4s cubic-bezier(.65, .05, .36, 1);
    border-radius: 2px;
}

.modern-navbar .navbar-nav .nav-link:hover::after,
.modern-navbar .navbar-nav .nav-link:focus::after,
.modern-navbar .navbar-nav .nav-link.active::after {
    width: 80%;
}

.modern-navbar .navbar-nav .nav-link:hover,
.modern-navbar .navbar-nav .nav-link:focus,
.modern-navbar .navbar-nav .nav-link.active {
    color: #3498db;
    transform: translateY(-1px);
}

.modern-navbar .navbar-nav .nav-link i {
    font-size: .9rem;
    opacity: .75;
    margin-right: 0.5rem;
}

.modern-navbar .navbar-nav .nav-link:hover i {
    opacity: 1;
}

/* Social Media Icons */
.social-icons {
    gap: 0.5rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.1);
}

/* Simple hover dropdown (no click required on desktop) */
@media (min-width: 992px) {
    .modern-navbar .dropdown-hover:hover>.simple-submenu {
        display: block;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .modern-navbar .simple-submenu {
        display: block;
    }
}

.modern-navbar .simple-submenu {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all .3s ease;
    border: 1px solid rgba(52, 152, 219, 0.15);
    padding: 0.75rem 0;
    min-width: 220px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.15);
    /* Ensure submenu overlays surrounding content */
    z-index: 1050;
}

/* Ensure dropdown menus and submenus stack above most content but below modals */
.modern-navbar .dropdown-menu,
.modern-navbar .simple-submenu {
    z-index: 1050;
}

/* Prevent clipping of dropdowns within navbar containers */
.modern-navbar,
.modern-navbar .container,
.modern-navbar .navbar-collapse,
.modern-navbar .navbar-nav {
    overflow: visible;
}

/* Ensure dropdowns become visible when opened (especially on mobile) */
.modern-navbar .dropdown-menu.show,
.modern-navbar .simple-submenu.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    display: block;
    /* Bootstrap sets this, we reinforce to avoid theme conflicts */
}

.modern-navbar .simple-submenu .dropdown-item {
    font-size: .9rem;
    padding: .75rem 1.25rem;
    color: #2c3e50;
    border-radius: 8px;
    margin: 0.25rem 0.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.modern-navbar .simple-submenu .dropdown-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    transform: translateY(-50%);
    transition: height 0.3s ease;
    border-radius: 2px;
}

.modern-navbar .simple-submenu .dropdown-item:hover::before {
    height: 70%;
}

.modern-navbar .simple-submenu .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.05));
    color: #3498db;
    transform: translateX(8px);
    border-radius: 8px;
}

/* Active link helper */
.modern-navbar .nav-link.active {
    font-weight: 600;
    color: #3498db !important;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.05)) !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

/* Mobile collapse background for modern theme */
@media (max-width: 991px) {
    .modern-navbar .navbar-collapse {
        background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
        border: 1px solid rgba(52, 152, 219, 0.15);
        box-shadow: 0 15px 50px rgba(52, 152, 219, 0.2);
        border-radius: 16px;
        margin-top: 1rem;
        padding: 1.5rem;
        backdrop-filter: blur(10px);
        overflow: visible;
        /* allow dropdown menus to overflow within collapsed navbar */
    }

    .modern-navbar .navbar-nav .nav-link {
        text-align: center;
        margin: 0.25rem 0;
        padding: 1rem 1.5rem !important;
        border-radius: 12px;
    }
}

/* Subtle gradient line (similar to Readdy AI style) */
.modern-navbar .nav-gradient-line {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #111, #666, #111);
    opacity: .15;
    pointer-events: none;
}

/* Hide old dark theme specific overrides */
nav.navbar.navbar-dark {
    background: #ffffff !important;
}

/* Social Media Icons */
.social-icons {
    gap: 0.5rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.1);
}

/* Language Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #3498db;
    color: white;
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

    .social-icons {
        border-top: 1px solid #eceff3;
    }

    .navbar-nav .dropdown {
        margin-top: 0.5rem;
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
    }

    .language-selector {
        justify-content: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .language-btn {
        min-width: 60px;
        padding: 0.6rem 1rem;
    }
}

/* Hero Carousel Section */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

.hero-slide {
    position: relative;
    color: white;
    padding: 150px 0 100px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* ===== News (Homepage) - Cards ===== */
.news-card {
    transition: transform .2s ease, box-shadow .2s ease;
    border: 1px solid rgba(0, 0, 0, .06)
}

.news-card .card-body {
    padding: .875rem 1rem;
}

.news-card .card-footer {
    padding: .5rem 1rem .875rem;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08)
}

.news-card .card-title a {
    color: #1f2d3d;
}

.news-card .card-title a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.news-date-detail {
    opacity: .85;
}

.news-excerpt {
    color: #5d6d7e;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

/* Dynamic Background Image for Hero Slides */
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Ensure gradient overlay still works with background images */
.hero-slide .hero-background-image+.hero-overlay {
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 0,100 1000,80 1000,0"/></svg>');
    background-size: 100% 100px;
    background-repeat: repeat-x;
    background-position: bottom;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-date {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #f39c12;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.3rem;
    font-weight: 200;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons .btn {
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    margin: 0.5rem;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Carousel Specific Styles */
.carousel-indicators {
    bottom: 0;
    z-index: 3;
}

.carousel-indicators button {
    width: 15px !important;
    height: 15px !important;
    border-radius: 50%;
    border: 1.5px solid white;
    background: transparent;
    opacity: 0.6;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    opacity: 1;
    width: 15px;
    height: 15px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 3;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-size: 100%;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

/* Carousel Fade Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Transition Effects */
.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: block;
}

.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(-100%);
}

/* Slide Specific Backgrounds and Overlays */
.carousel-item:nth-child(1) .hero-slide {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%) !important;
}

.carousel-item:nth-child(2) .hero-slide {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.carousel-item:nth-child(3) .hero-slide {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
}

/* Carousel Progress Bar */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 3;
}

.carousel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f39c12, #e74c3c);
    width: 0%;
    transition: width 5s linear;
}

/* Responsive Design for Carousel */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .hero-date {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons .btn {
        display: block;
        margin: 0.5rem auto;
        width: 80%;
        padding: 15px 30px;
    }

    .hero-slide {
        padding: 100px 0 80px;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .carousel-indicators button {
        width: 6px;
        height: 6px;
        margin: 0 3px;
    }

    .carousel-indicators button.active {
        width: 8px;
        height: 8px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }

    /* Kompakt Countdown Mobil */
    .countdown-title {
        font-size: 1.4rem;
    }

    .countdown-timer {
        gap: 0.8rem;
    }

    .countdown-item {
        padding: 0.5rem;
        min-width: 80px;
        border-radius: 10px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .countdown-section {
        padding: 1.5rem 0 !important;
    }
}

/* Keynote Banner */
.keynote-banner {
    border-bottom: 3px solid #3498db;
}

.keynote-banner .section-title {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0;
}

.keynote-banner .text-primary {
    color: #3498db !important;
    font-weight: 400;
}

/* Countdown Section - Kompakt tasarım */
.countdown-section {
    background: linear-gradient(45deg, #ecf0f1 0%, #bdc3c7 100%);
    border-top: 1px solid #bdc3c7;
    border-bottom: 1px solid #bdc3c7;
    padding: 2rem 0 !important;
}

.countdown-title {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.countdown-subtitle {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #ecf0f1;
    min-width: 120px;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.countdown-label {
    font-size: 0.8rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Section Titles - Şablon stili */
.section-title {
    color: #2c3e50;
    font-size: 3rem;
    font-weight: 600;
    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, #3498db, #2c3e50);
    border-radius: 2px;
}

.section-description {
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Featured Speakers Section */
.speakers-section {
    background: white;
}

.speaker-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #ecf0f1;
    height: 100%;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.speaker-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.speaker-info h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.speaker-title {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.speaker-field {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin: 0;
}

/* Info Cards Section */
.info-section {
    background: #f8f9fa;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #ecf0f1;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

/* Date List */
.date-list {
    margin: 0;
    padding: 0;
}

.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.date-item:last-child {
    border-bottom: none;
}

.date-item strong {
    color: #2c3e50;
    font-weight: 600;
}

.date-item span:last-child {
    color: #3498db;
    font-weight: 600;
}

/* Location Info */
.location-info h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.location-info p {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Registration Info */
.registration-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.registration-item:last-of-type {
    border-bottom: none;
}

.registration-item span:first-child {
    color: #7f8c8d;
    font-weight: 500;
}

.registration-item strong {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.2rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-features li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.about-features li i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-images img {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.about-images img:hover {
    transform: scale(1.05);
}

/* News Section */
.news-section {
    background: #f8f9fa;
}

.news-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #ecf0f1;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.news-card h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 1.3rem;
}

.news-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Network Banner */
.network-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.network-banner h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0;
}

.network-banner h4 {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Custom Button Styles - Şablon uyumu */
.btn-primary {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1a252f);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: #3498db;
    color: #3498db;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: white;
    color: #2c3e50;
}

/* Responsive Design - Şablon uyumu */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-date {
        font-size: 1.2rem;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .countdown-item {
        padding: 2rem 1.5rem;
        min-width: 110px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .info-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .speaker-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        display: block;
        margin: 0.5rem auto;
        width: 80%;
    }

    .about-section {
        padding: 60px 0;
    }

    .network-banner .col-lg-4 {
        margin-top: 2rem;
    }
}

/* Legacy Styles for Compatibility */
.isesit-header {
    padding: 1rem 0;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.isesit-logo {
    height: 48px;
    background: #fff;
    border-radius: 10px;
    padding: 0.2rem 0.7rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.beu-logo {
    height: 90px;
    border-radius: 10px;
    padding: 0.1rem 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    margin-left: 0.5rem;
}

.siu-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.siu-section-title {
    color: #003366;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #0072bb;
    padding-bottom: 0.5rem;
}

.siu-dates {
    margin-top: 1rem;
}

.siu-date-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0072bb;
}

.siu-date-circle {
    background: #0072bb;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.siu-date-month {
    font-size: 0.7rem;
    margin-top: -5px;
}

.siu-date-content {
    flex: 1;
}

.siu-date-title {
    color: #003366;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.siu-date-desc {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1.5rem 1rem;
        min-width: 100px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .info-card {
        padding: 2rem;
    }

    .topic-card {
        padding: 2rem;
    }

    .hero-buttons .btn {
        display: block;
        margin-bottom: 1rem;
    }

    .isesit-title {
        font-size: 1rem;
        text-align: center;
    }

    .beu-logo {
        height: 60px;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Animation for countdown expired */
.countdown-expired {
    font-size: 2rem;
    font-weight: 700;
    color: #27ae60;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Initial state for animated elements */
.countdown-item,
.speaker-card,
.info-card,
.news-card,
.feature-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Custom Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #0072bb, #003366);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005a9f, #002244);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 114, 187, 0.3);
}

/* ===== NEW HOMEPAGE SECTIONS ===== */

/* Section Common Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    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(135deg, #3498db, #2c3e50);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 0;
}

/* Congress Countdown Section */
.countdown-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    background: white;
    font-size: 1.5em;
    font-weight: bold;
    color: #0072bb;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #3498db;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Speakers Section */
.speakers-section {
    background: #f8f9fa;
}

.speaker-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.speaker-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #3498db;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.speaker-university {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.speaker-topic {
    font-style: italic;
    color: #5a6c7d;
    font-size: 0.95rem;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Info Cards Section */
.info-cards-section {
    background: white;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-card-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.info-card-icon i {
    font-size: 3rem;
    color: #3498db;
}

.info-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
}

.info-card-content {
    font-size: 0.8rem;
}

/* Important Dates Styles */
.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.date-item:last-child {
    border-bottom: none;
}

.date-item strong {
    color: #2c3e50;
    font-weight: 600;
}

.date-item span {
    color: #3498db;
    font-weight: 600;
}

/* Location Styles */
.location-info h5 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
}

.address {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.venue-details {
    color: #5a6c7d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.venue-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Registration Styles */
.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.pricing-item:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.pricing-item strong {
    color: #2c3e50;
    font-weight: 600;
}

.price {
    color: #27ae60;
    font-weight: 700;
    font-size: 1.1rem;
}

.registration-includes h6 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.registration-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.registration-includes li {
    color: #5a6c7d;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.25rem;
}

.registration-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* About Section */
.about-section {
    background: #f8f9fa;
}

.about-content h3 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content .lead {
    font-size: 1.15rem;
    color: #5a6c7d;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.congress-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Feature Boxes */
.feature-box {
    padding: 2rem 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-box h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-box p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* News Section */
.news-section {
    background: white;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-date {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-date .year {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    margin-bottom: 1rem;
}

.news-title a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #3498db;
}

.news-excerpt {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-timer {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 100px;
        padding: 1.5rem 1rem;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .speaker-image {
        width: 120px;
        height: 120px;
    }

    .info-card {
        padding: 2rem 1.5rem;
    }

    .venue-features {
        justify-content: center;
    }
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005fa3, #002952);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: #0072bb;
    color: #0072bb;
}

.btn-outline-primary:hover {
    background: #0072bb;
    border-color: #0072bb;
}

/* ===== SUBMISSION BANNER STYLES ===== */
.submission-banner {
    transition: all 0.3s ease;
}

.submission-banner:hover {
    box-shadow: 0 4px 12px rgba(0, 114, 187, 0.1);
}

.submission-logo {
    transition: transform 0.3s ease;
}

.submission-logo:hover {
    transform: scale(1.05);
}

.submission-header-image {
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.submission-header-image img {
    transition: transform 0.5s ease;
}

.submission-header-image:hover img {
    transform: scale(1.02);
}



/* ===== MODERN SUBMISSION BANNER STYLES ===== */
.submission-banner-wrapper {
    position: relative;
    overflow: hidden;
    background: url('../img/bg-banner.jpg');
    background-size: cover;
    background-position: 200px auto;
    background-color: #f8f8f8;
}

.submission-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    filter: blur(2px);
    z-index: 0;
}

.submission-banner-content {
    position: relative;
    z-index: 1;
    border-bottom: 3px solid #0072bb;
    box-shadow: 0 4px 20px rgba(0, 114, 187, 0.08);
}

.submission-logo-container {
    animation: fadeInDown 0.8s ease-out;
}

.submission-logo-main {
    max-height: 100px;
    max-width: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.submission-logo-main:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 8px 16px rgba(0, 114, 187, 0.2));
}

.submission-shortname {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0072bb;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeIn 1s ease-out 0.2s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.submission-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    animation: fadeIn 1s ease-out 0.4s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.submission-description {
    font-size: 1rem;
    color: #5a6c7d;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.6s both;
}

.submission-year-badge {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.submission-year-badge .badge {
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 114, 187, 0.3);
    transition: all 0.3s ease;
}

.submission-year-badge .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 114, 187, 0.4);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .submission-logo-main {
        max-height: 120px;
        max-width: 300px;
    }

    .submission-shortname {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .submission-title {
        font-size: 1.8rem;
    }

    .submission-description {
        font-size: 1.125rem;
    }
}

@media (min-width: 992px) {
    .submission-logo-main {
        max-height: 140px;
        max-width: 350px;
    }

    .submission-shortname {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .submission-title {
        font-size: 2.1rem;
        font-family: "Quicksand", sans-serif;
    }

    .submission-description {
        font-size: 1.25rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-btn {
    font-family: "Quicksand", sans-serif;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
    padding: 2px 4px;
    margin: 3px
}

.language-btn.active {
    background-color: #0072bb;
    color: #fff;
}

.language-btn:hover {
    background-color: #eaeaea;
}