/* Common styles for header and footer across all pages */

/* Smooth scroll behavior for entire website */
html {
    margin: 0;
    padding: 20;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Custom enhanced scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f0f0f0 0%, #e8e8e8 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #003366 0%, #0055aa 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffcc00 0%, #ffa500 100%);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: thin;
    scrollbar-color: #003366 #f0f0f0;
}

/* Basic body and html styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
}

/* Header styles */
header {
    width: 100%;
    text-align: center;
    background-color: #fff;
    position: relative;
}

header img {
    width: 60%;
    max-width: 1200px;
    height: 10%;
    display: block;
    margin: 0 auto;
}

.logo {
    height: 150px;
}

.conference-details {
    position: relative;
    text-align: center;
}

.conference-details h1 {
    font-size: 2.5em;
    margin: 12px 0;
    font-weight: bold;
}

.conference-details p {
    font-size: 1.5em;
    margin: 5px 0;
    font-weight: bold;
}

/* Navigation styles */
nav {
    background-color: #003366;
    color: #fff;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffcc00;
}

/* Announcement banner */
.announcement {
    background-color: #003366;
    color: #fff;
    padding: 3px 0;
    text-align: center;
    font-weight: bold;
    animation: fadeIn 2s;
}

/* Footer styles */
footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #003366;
    color: #fff;
}

.footer-container div {
    flex: 1;
    padding: 0 20px;
}

.footer-container .map {
    max-width: 400px;
    flex: 0 0 33%;
}

.footer-container .map iframe {
    width: 100%;
    height: 200px;
    border: 0;
}

.footer-container h3 {
    margin-top: 0;
    text-align: center;
    font-size: 1.5em;
    margin: 5px 0;
}

.footer-container h4 {
    margin-top: 0;
    text-align: center;
    font-size: 1.5em;
    margin: 5px 0;
}

.footer-container h5 {
    margin-top: 0;
    text-align: center;
    font-size: 1.5em;
    margin: 5px 0;
}

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

.footer-container ul li {
    margin: 5px 0;
}

.footer-container ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-container ul li a:hover {
    text-decoration: underline;
}

.footer-container .important-dates,
.footer-container .quick-links {
    flex: 1;
}

.footer-container ul li::before {
    content: "•";
    color: #ffcc00;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-container div {
        padding: 10px 0;
    }

    .footer-container .map {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Common animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes zoomEffect {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}


.hero-section {
    background: linear-gradient(135deg, #003366 0%, #0055aa 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: 'Playfair Display', Georgia, serif;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 204, 0, 0.03) 35px, rgba(255, 204, 0, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.02) 35px, rgba(255, 255, 255, 0.02) 70px);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 204, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 204, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 600;
    color: #ffcc00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3em;
    opacity: 0.95;
    font-weight: 300;
}
/* Scroll-triggered animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced scrolling animations for sections */
section {
    transition: all 0.3s ease-out;
}

/* Progress indicator styling (optional) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #003366 0%, #ffcc00 50%, #003366 100%);
    z-index: 9999;
    transition: width 0.1s ease;
}