/* ------------------- RESET ------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ------------------- NAVBAR ------------------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img,
.nav-logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.large-logo {
    transform: scale(2);
}

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    padding: 10px 10px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e74c3c;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* ------------------- COUNTDOWN ------------------- */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #2c3e50;
    text-align: center;
    min-width: 120px;
}

.countdown-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: #3498db;
}

.countdown-label {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    color: #7f8c8d;
    margin-top: 5px;
}

/* ------------------- LOGOS ------------------- */
.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    margin-top: 70px;
}

.logos-container img {
    height: 150px;
    width: 150px;
    object-fit: contain;
}

/* ------------------- GOOGLE TRANSLATE ------------------- */
.translate-btn {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    color: #764ba2;
}

/* ------------------- HERO ------------------- */
.hero {
    background: linear-gradient(135deg, #ff8c00 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.conference-title h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.conference-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.conference-title p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f1c40f;
}

.conference-details {
    margin: 30px 0;
}

.conference-details p {
    margin: 10px 0;
    font-size: 1.1rem;
}

.iste-tag {
    font-weight: 600;
    color: #f1c40f !important;
}

.organizers {
    margin: 30px -150px;
    font-size: 1.3rem;
    background: rgba(0, 0, 0, 0.1);
    font-weight: bold;
    padding: 20px;
    border-radius: 10px;
}

.hero-buttons {
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* ------------------- SECTIONS ------------------- */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #e74c3c;
}

/* ------------------- ABOUT ------------------- */
.about {
    background: #f6f6f6;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.colleges-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.college-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.college-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.college-building-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.objectives-outcomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    color: #333;
    margin-top: 40px;
}

.objectives,
.outcomes {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.objectives h3,
.outcomes h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.objectives ul,
.outcomes ul {
    list-style: none;
    text-align: left;
    padding-left: 20px;
}

.objectives li,
.outcomes li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.objectives li::before,
.outcomes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* ------------------- COMMITTEES ------------------- */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.committee-category {
    background: white;
    padding: 30px;
    color: #010101;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.committee-category h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
}

.committee-category ul {
    list-style: none;
}

.committee-category li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

/* ------------------- SPEAKERS ------------------- */
.speakers {
    background: #f6f6f6;
    padding: 50px 20px;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.speaker-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    min-height: 45px;
}

.speaker-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.speaker-info p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 6px;
}

.speaker-info p.designation {
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 10px;
    min-height: 40px;
}

.speaker-info p.topic {
    font-size: 1rem;
    font-weight: bold;
    color: #112070;
    margin-top: 10px;
    min-height: 60px;
}

/* ------------------- RESPONSIVE ------------------- */
/* Desktop ≥1025px */
@media (min-width: 1025px) {
    .speakers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet 601px–1024px */
@media (max-width: 1024px) and (min-width: 601px) {
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .speaker-photo {
        width: 140px;
        height: 140px;
    }
}

/* Mobile ≤600px */
@media (max-width: 600px) {
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    .speaker-photo {
        width: 120px;
        height: 120px;
    }
    .speaker-name {
        font-size: 1.1rem;
    }
    .speaker-info p {
        font-size: 0.85rem;
    }
    .speaker-info p.designation,
    .speaker-info p.topic {
        min-height: auto;
    }
}
/* Themes Section */
.themes {
    background: #f8f9fa;
}

.themes-tracks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.themes-list, .tracks-list {
    background: white;
    color: #010101;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.themes-list h3, .tracks-list h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.themes-list ul, .tracks-list ul {
    list-style: none;
}

.themes-list li, .tracks-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.themes-list ul,
.tracks-list ul {
    text-align: left;   
    padding-left: 20px; 
}

.themes-list li::before, .tracks-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-size: 0.8rem;
}

/* Participation Section */
.participation {
    background: #f6f6f6;
}

.participation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.participation-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.participation-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.participation-card h3 i {
    margin-right: 10px;
    color: #e74c3c;
}

.participation-card ul {
    list-style: none;
    text-align: left;
    padding-left: 20px;
}

.participation-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.participation-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Dates Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #f18902;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    color: #ffffff;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 1;
    text-align: center;
    font-weight: 600;
    color: #645625;
    font-size: 1.2rem;
}

.timeline-content {
    flex: 1;
    background: #2c3e50;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 20px;
}

/* Registration Section */
.registration {
    background: #f8f9fa;
}

.registration-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    color: #333;
    gap: 30px;
}

.fees-table {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fees-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.fees-table th, .fees-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.fees-table th {
    background: #2c3e50;
    color: white;
}

.notes-section {
    margin-top: 20px;
}

.notes-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.notes-section ul {
    list-style: none;
    text-align: left;
    padding-left: 20px;
}

.notes-section li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.notes-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
}

.registration-steps {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.registration-steps ol {
    margin-left: 20px;
}

.registration-steps li {
    margin-bottom: 15px;
}

.registration-steps a {
    color: #e74c3c;
    text-decoration: none;
}

.registration-steps a:hover {
    text-decoration: underline;
}

.registration-steps ol {
    text-align: left;
    padding-left: 20px;
}

/* Guidelines Section */
.guidelines {
    background: #f6f6f6;
}

.btn-guidelines {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px 0;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-height: 44px;
    background: white; /* The button background color */
    color: #e74c3c; /* The new text color you want */
}

.btn-guidelines:hover {
    background: #c0392b; /* A slightly darker color on hover */
    transform: translateY(-2px);
    color: white;
}

.guidelines-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.guidelines-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.guidelines-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.guidelines-card h3 i {
    margin-right: 10px;
    color: #e74c3c;
}

.guidelines-card ul {
    list-style: none;
    text-align: left;
    padding-left: 20px;
}

.guidelines-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.guidelines-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
}

.guidelines-card a {
    color: #e74c3c;
    text-decoration: none;
}

.guidelines-card a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background: #2c3e50;
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info, .venue-map {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info {
    text-align: left;
}

.contact-info i {
    margin-right: 10px;
    color: #e74c3c;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.1);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* Footer */
.footer {
    background: #34495e;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 0;
    border-top: 1px solid #4a6572;
    color: #bdc3c7;
}

/* Prevent body scroll when menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Improved Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 15px;
        display: block;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1.1rem;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .conference-title h1 {
        font-size: 1.8rem;
    }
    
    .conference-title h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .organizers {
        margin: 20px 0;
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logos-container {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px 0;
    }
    
    .logos-container img {
        height: 80px;
        width: auto;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 90%;
        margin: 5px 0;
        text-align: center;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 40px;
        margin-bottom: 25px; /* Add some space between items */
    }
    
    .timeline-date {
        /* Position the date at the top of the item */
        position: relative;
        left: auto;
        min-width: auto;
        text-align: left;
        font-size: 1rem; /* Adjust font size for better readability */
        margin-bottom: 10px; /* Space between date and content box */
    }
    
    .timeline-content {
        /* Reset margin for the content box */
        margin: 0;
    }
    
    .participation-grid,
    .guidelines-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .conference-title h1 {
        font-size: 1.5rem;
    }
    
    .conference-title h2 {
        font-size: 1.2rem;
    }
    
    .conference-details p {
        font-size: 1rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .college-card, .objectives, .outcomes {
        padding: 20px;
        margin: 10px 0;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-item {
        margin-left: 40px;
    }
    
    .timeline-date {
        left: -40px;
        min-width: 70px;
        font-size: 0.8rem;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .participation-card,
    .guidelines-card {
        padding: 20px;
    }
}