:root {
    --primary: rgb(24, 83, 1);       /* Dark green */
    --primary-light: rgba(24, 83, 1, 0.1);
    --secondary: rgb(118, 20, 17);   /* Dark red */
    --secondary-light: rgba(118, 20, 17, 0.1);
    --dark: #1e1e2f;
    --light: #f8f9fa;
    --white: #ffffff;
    --nav-link-color: rgb(24, 1, 83);  /* Nav link color */
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: var(--white) !important;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--nav-link-color) !important;
    font-weight: 500;
    padding: 8px 15px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

/* Register Now Button */
.btn-register {
    background-color: var(--secondary) !important;
    border-color: var(--secondary);
    color: #ffffff !important;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
}

.btn-register:hover {
    background-color: rgb(98, 10, 7) !important;
    border-color: rgb(98, 10, 7);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: rgb(18, 62, 1);
    border-color: rgb(18, 62, 1);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #fff;
}

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

.btn-secondary:hover {
    background-color: rgb(98, 10, 7);
    border-color: rgb(98, 10, 7);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255,255,255,0.7), rgba(24,83,1,0.7)), url('../images/conf1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    margin-top: 76px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

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

.section-title {
    margin-bottom: 3rem;
    text-align: center;
}

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

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

.section-title p {
    color: #6c757d;
    font-size: 1.1rem;
}



/* Cards */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

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

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Speaker Cards */
.speaker-card {
    text-align: center;
    padding: 30px 20px;
}

.speaker-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-light);
    margin-bottom: 20px;
}

.speaker-card .social-links {
    margin-top: 15px;
}

.speaker-card .social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    margin: 0 3px;
    transition: all 0.3s ease;
}

.speaker-card .social-links a:hover {
    background: var(--primary);
    color: white;
}

/* Schedule */
.schedule-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary);
}

.schedule-item .time {
    font-weight: 600;
    color: var(--primary);
}

/* Forms */
.form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

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

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

footer h5 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
    padding-left: 5px;
}

footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 130px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

.bg-join-section {
    background: linear-gradient(rgba(24, 83, 1, 0.9), rgba(24, 83, 1, 0.9)),
                url('../images/ban_chat.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: overlay;
    color: #fff;
}
