@charset "UTF-8";
/*
Theme Name: AOSD 2027
Theme URI: 
Author: 
Description: The 12th AOSD International Conference WordPress Theme
Version: 1.0
License: 
License URI: 
Text Domain: aosd2027
*/

:root {
    --color-main: #172850;
    --color-text: #333;
    --color-bg-light: #f0f2f5;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    color: var(--color-text);
    /* Requested text color */
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.header {
    background-color: var(--color-main);
    /* Main color */
    width: 100%;
    position: relative;
    z-index: 100;
}

.header-inner {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.global-nav ul {
    display: flex;
    gap: 35px;
    margin-bottom: 0;
}

.global-nav a {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.global-nav a.active,
.global-nav a:hover {
    color: #4db8ff;
    /* Active/hover link color */
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    /* Hidden on desktop */
    position: relative;
    z-index: 1000;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    /* Push to right if flex is altered */
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    top: 22px;
}

/* Hamburger active state (X) */
.hamburger.is-active span:nth-child(1) {
    top: 11px;
    transform: rotate(135deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
    left: -20px;
}

.hamburger.is-active span:nth-child(3) {
    top: 11px;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 130px);
    min-height: 600px;
    overflow: hidden;
}

/* Slick Slider adjustments */
.hero-slider,
.hero-slider .slick-list,
.hero-slider .slick-track,
.hero-slider .slide {
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero Text Overlay */
.hero-text-overlay {
    position: absolute;
    top: 15%;
    left: 8%;
    z-index: 10;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    /* Allows interacting with slider if needed */
}

/* Slider Images (Desktop) */
.slide-1 {
    background-image: url('images/hero-01.jpg');
}

.slide-2 {
    background-image: url('images/hero-02.jpg');
}

.slide-3 {
    background-image: url('images/hero-03.jpg');
}

.slide-4 {
    background-image: url('images/hero-04.jpg');
}

.hero-text-wrapper {
    display: flex;
    align-items: center;
    color: var(--color-main);
    /* Using main color for emphasis matching the image */
    transition: color 0.5s ease;
}

.hero-text-left {
    text-align: left;
}

.hero-text-left h2 {
    font-size: 84px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0px;
    letter-spacing: -1px;
}

.hero-text-left p {
    font-size: 22.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-divider {
    width: 8px;
    height: 112px;
    background-color: var(--color-main);
    margin: 0 30px;
    transition: background-color 0.5s ease;
}

/* Modifier class for dark slides */
.hero-text-wrapper.text-white-slide {
    color: #fff;
}

.hero-text-wrapper.text-white-slide .hero-divider {
    background-color: #fff;
}

.hero-text-right {
    text-align: left;
    padding-left: 5px;
}

.hero-text-right p {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .hero-text-left h2 {
        font-size: 64px;
    }

    .hero-text-left p {
        font-size: 18px;
    }

    .hero-text-right p {
        font-size: 32px;
    }

    .hero-divider {
        height: 90px;
        margin: 0 15px;
    }
}

@media screen and (max-width: 992px) {
    .slide-1 {
        background-image: url('images/hero-01_tb.jpg');
    }

    .slide-2 {
        background-image: url('images/hero-02_tb.jpg');
    }

    .slide-3 {
        background-image: url('images/hero-03_tb.jpg');
    }

    .slide-4 {
        background-image: url('images/hero-04_tb.jpg');
    }

    .header-inner {
        padding: 10px 20px;
    }

    /* Hamburger Menu Activation */
    .hamburger {
        display: block;
    }

    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(23, 40, 80, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    .global-nav.is-active {
        opacity: 1;
        visibility: visible;
    }

    .global-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 0;
        padding: 0;
    }

    .global-nav a {
        font-size: 20px;
    }

    .hero-text-overlay {
        top: 15%;
        left: 5%;
    }
}

@media screen and (max-width: 768px) {
    .slide-1 {
        background-image: url('images/hero-01_sp.jpg');
    }

    .slide-2 {
        background-image: url('images/hero-02_sp.jpg');
    }

    .slide-3 {
        background-image: url('images/hero-03_sp.jpg');
    }

    .slide-4 {
        background-image: url('images/hero-04_sp.jpg');
    }

    .slide-image {
        background-position: center;
    }

    .hero-text-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-divider {
        width: 80px;
        height: 4px;
        margin: 15px 0;
    }

    .hero-text-left,
    .hero-text-right {
        padding: 0;
    }

    .hero-text-left h2 {
        font-size: 40px;
    }

    .hero-text-left p {
        font-size: 14px;
        margin-bottom: 0;
    }

    .hero-text-right p {
        font-size: 20px;
    }

    .section-title {
        font-size: 26px;
    }

    .news-box {
        padding: 15px;
    }

    .news-meta {
        width: auto;
        margin-bottom: 5px;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .news-text {
        font-size: 14px;
    }

    .date-badge {
        min-width: 140px;
        padding: 6px 10px;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .date-item {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .date-text {
        font-size: 16px !important;
    }
}

/* Custom Styles for Bootstrap Sections */
.section-title {
    color: var(--color-main);
    font-size: 32px;
    font-weight: 400;
    padding-left: 15px;
    border-left: 4px solid var(--color-main);
    line-height: 1.2;
}

/* News Section */
.news-box {
    padding: 10px 20px 10px 30px;
    border-color: #e0e0e0 !important;
    background: #fff;
}

.news-list {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 15px;
}

/* Custom scrollbar for news list */
.news-list::-webkit-scrollbar {
    width: 12px;
}

.news-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-left: 1px solid #e0e0e0;
}

.news-list::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border: 2px solid #f1f1f1;
}

.news-item {
    padding: 15px 0;
    border-color: #e0e0e0 !important;
}

.news-item:last-child {
    border-bottom: none !important;
}

.news-meta {
    width: 200px;
    /* Fixed width for meta area to align text properly */
    flex-shrink: 0;
}

.news-date {
    font-size: 14px;
    margin-right: 15px;
}

.bg-orange {
    background-color: #f37021 !important;
    border-radius: 2px;
    font-weight: 400;
    padding: 4px 8px;
    font-size: 11px;
}

.news-text {
    font-size: 15px;
    color: var(--color-text);
}

/* Important Dates Section */
.date-item {
    border-color: #e0e0e0 !important;
}

.date-badge {
    background-color: #2bb6e6;
    /* Match the light blue from image */
    min-width: 180px;
    padding: 8px 15px;
    font-size: 16px;
}

.date-text {
    color: var(--color-text);
    font-weight: 400;
}

/* Welcome Message Section */
.welcome-text p {
    color: var(--color-text);
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 500;
    overflow-wrap: break-word;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--color-main);
    padding: 40px 0 0;
    text-align: center;
}

.footer-inner {
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
}

.footer img {
    max-width: 100%;
    height: auto;
    width: 500px;
}

.footer-copyright {
    border-top: 1px solid #fff;
    padding: 20px 0;
}

.footer-copyright p {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
}

.footer-copyright p span{
        font-size: 0.8em;
    margin-top: 10px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background-color: var(--color-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

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

.back-to-top::after {
    content: '';
    border-style: solid;
    border-width: 0 10px 12px 10px;
    border-color: transparent transparent #fff transparent;
    margin-bottom: 4px;
}

/* Mobile overrides for new sections */
@media screen and (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-inner {
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer img {
        width: 250px;
    }

    .footer-copyright p {
        font-size: 12px;
    }
}

/* Utility Classes */
.text-primary-color {
    color: var(--color-main) !important;
}

.link-primary-color {
    color: var(--color-main) !important;
    text-decoration: underline !important;
}

.link-primary-color:hover {
    text-decoration: none !important;
    opacity: 0.8;
}

.date-badge-sm {
    font-size: 14px;
    padding: 8px 10px;
}

/* Hosted By Section */
.hosted-by-section {
    background-color: var(--color-bg-light);
    color: var(--color-text);
    padding: 50px 20px;
    font-size: 16px;
    border-top: 3px solid var(--color-main);
}

.hosted-by-section p {
    margin-bottom: 0;
}

.hosted-by-section p:first-child {
    font-weight: 600;
    color: var(--color-main);
    font-size: 17px;
}

/* Schedule List */
.schedule-list {
    list-style: disc;
    padding-left: 1.2em;
}

.schedule-list li {
    padding-left: 0.5em;
}

/* Conference Intro Section */
.conference-intro {
    background-color: var(--color-bg-light);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 3px solid var(--color-main);
}

.conference-intro h3 {
    color: var(--color-main);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.conference-intro-date {
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: 8px;
}

.conference-intro a.link-primary-color {
    font-size: 18px;
}