/*==========================================================
                GOOGLE FONT
==========================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==========================================================
                ROOT VARIABLES
==========================================================*/

:root {

    --primary: #273b7a;
    --primary-dark: #1b2d63;
    --primary-light: #edf3ff;

    --secondary: #f28b2a;
    --secondary-dark: #df7411;
    --secondary-light: #fff5eb;

    --white: #ffffff;
    --bg: #f7f9fd;
    --section: #fcfdff;

    --text: #273b7a;
    --text-light: #6b7280;

    --border: #e4ebf8;

    --success: #22c55e;
    --danger: #ef4444;

    --shadow-sm: 0 8px 20px rgba(39, 59, 122, .08);

    --shadow:

        0 15px 40px rgba(39, 59, 122, .12);

    --shadow-hover:

        0 30px 60px rgba(39, 59, 122, .18);

    --radius: 24px;

    --transition: .35s ease;

}

/*==========================================================
                RESET
==========================================================*/

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'Poppins', sans-serif;

    background: var(--bg);

    color: var(--text);

    line-height: 1.7;

    overflow-x: hidden;

}

img {

    max-width: 100%;

    display: block;

}

a {

    text-decoration: none;

}

ul {

    list-style: none;

}

.container {

    width: min(1320px, 92%);

    margin: auto;

}

section {

    padding: 90px 0;

}

/*==========================================================
                SECTION TITLE
==========================================================*/

.section-title {

    text-align: center;

    margin-bottom: 60px;

}

.section-title span {

    display: inline-block;

    background: var(--primary-light);

    color: var(--primary);

    padding: 8px 20px;

    border-radius: 40px;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 15px;

}

.section-title h2 {

    font-size: 42px;

    color: var(--primary-dark);

    font-weight: 700;

    margin-bottom: 15px;

}

.section-title p {

    color: var(--text-light);

    max-width: 760px;

    margin: auto;

}

/*==========================================================
                HERO SECTION
==========================================================*/

.conference-hero {

    position: relative;

    padding: 120px 0;

    background:

        linear-gradient(rgba(39, 59, 122, .88),
            rgba(39, 59, 122, .82)),
        url("../images/conference-bg.jpg") center/cover;

    overflow: hidden;

}

.conference-hero::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    background: rgba(255, 255, 255, .08);

    border-radius: 50%;

    top: -250px;

    right: -180px;

}

.conference-hero::after {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    background: rgba(242, 139, 42, .12);

    border-radius: 50%;

    bottom: -150px;

    left: -120px;

}

.hero-content {

    position: relative;

    z-index: 5;

    text-align: center;

    max-width: 850px;

    margin: auto;

}

.hero-tag {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    background: rgba(255, 255, 255, .12);

    color: #fff;

    padding: 10px 24px;

    border-radius: 50px;

    backdrop-filter: blur(10px);

    font-weight: 500;

}

.hero-content h1 {

    color: #fff;

    font-size: 58px;

    line-height: 1.2;

    margin: 30px 0;

    font-weight: 800;

}

.hero-content p {

    color: rgba(255, 255, 255, .88);

    font-size: 18px;

    max-width: 760px;

    margin: auto;

}

.breadcrumb {

    margin-top: 40px;

    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;

}

.breadcrumb a {

    color: #fff;

    font-weight: 600;

}

.breadcrumb span {

    color: rgba(255, 255, 255, .75);

}

/*==========================================================
                SEARCH SECTION
==========================================================*/

.conference-search {

    margin-top: -70px;

    position: relative;

    z-index: 20;

    padding-bottom: 20px;

}

.search-box {

    background: rgba(255, 255, 255, .95);

    backdrop-filter: blur(20px);

    border-radius: 28px;

    box-shadow: var(--shadow);

    padding: 35px;

    display: grid;

    grid-template-columns:

        2fr 1fr 1fr 1fr auto;

    gap: 20px;

    align-items: end;

}

.search-item {

    display: flex;

    flex-direction: column;

}

.search-item label {

    margin-bottom: 10px;

    font-size: 14px;

    font-weight: 600;

    color: var(--primary);

}

.search-item input,

.search-item select {

    height: 58px;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 0 18px;

    background: #fff;

    font-size: 15px;

    font-family: inherit;

    color: var(--text);

    transition: var(--transition);

}

.search-item input:focus,

.search-item select:focus {

    outline: none;

    border-color: var(--primary);

    box-shadow:

        0 0 0 4px rgba(39, 59, 122, .08);

}

.search-btn {

    height: 58px;

    padding: 0 34px;

    border: none;

    border-radius: 18px;

    cursor: pointer;

    font-size: 15px;

    font-weight: 600;

    color: #fff;

    background: linear-gradient(180deg,
            #3556A8,
            #243B78);

    box-shadow:

        0 15px 30px rgba(39, 59, 122, .18);

    transition: var(--transition);

}

.search-btn:hover {

    transform: translateY(-5px);

    box-shadow:

        0 25px 45px rgba(39, 59, 122, .28);

}

/*==========================================================
                LIGHT BACKGROUND
==========================================================*/

.conference-category,

.featured-conference,

.conference-list,

.newsletter-section {

    background: var(--section);

}

/*==========================================================
                CATEGORY FILTERS
==========================================================*/

.conference-category {
    padding: 35px 0 25px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.category-list button {
    background: #ffffff;
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.category-list button:hover {
    transform: translateY(-5px);
    color: #fff;
    background: #243B78;
    border-color: transparent;
    box-shadow: var(--shadow-hover);
}

.category-list button.active {
    color: #fff;
    border-color: transparent;
    background: #243B78;
    box-shadow: var(--shadow);
}

/*==========================================================
                FEATURED CONFERENCE
==========================================================*/

.featured-conference {
    padding-top: 45px;
}

.featured-card {
    display: grid;
    grid-template-columns: 430px 1fr;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.featured-card:hover .featured-image img {
    transform: scale(1.08);
}

.featured-content {
    padding: 45px;
}

.featured-badge {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--secondary-light);
    color: var(--secondary-dark);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 22px;
}

.featured-content h2 {
    font-size: 36px;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 18px;
}

.featured-content p {
    color: var(--text-light);
    margin-bottom: 28px;
}

.featured-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.featured-info div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 500;
}

.featured-info i {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary-light);
    color: var(--primary);
}

.featured-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/*==========================================================
                3D BUTTONS
==========================================================*/

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 34px;
    border-radius: 60px;
    font-weight: 600;
    transition: .35s;
}

.btn-primary {
    color: #fff;
    background:#243B78;
    box-shadow: 0 15px 30px rgba(39, 59, 122, .18);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(39, 59, 122, .30);
}

.btn-secondary {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-5px);
}

/*==========================================================
                CONFERENCE GRID
==========================================================*/

.conference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
}

/*==========================================================
                CONFERENCE CARD
==========================================================*/

.conference-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: .4s;
    position: relative;
}

.conference-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.conference-image {
    position: relative;
    overflow: hidden;
}

.conference-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: .6s;
}

.conference-card:hover img {
    transform: scale(1.08);
}

/*==========================================================
                BADGES
==========================================================*/

.badge {
    position: absolute;
    top: 18px;
    padding: 8px 18px;
    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
}

.badge:first-child {
    left: 18px;
}

.badge:last-child {
    right: 18px;
}

.badge.online {
    background: #22c55e;
}

.badge.hybrid {
    background: #3b82f6;
}

.badge.offline {
    background: #ef4444;
}

.badge.publication {
    background: #8b5cf6;
}

.badge.springer {
    background: #ff9800;
}

.badge.ieee {
    background: #1e40af;
}

.badge.isbn {
    background: #06b6d4;
}

/*==========================================================
                CARD CONTENT
==========================================================*/

.conference-content {
    padding: 28px;
}

.conference-content h3 {
    font-size: 24px;
    line-height: 1.45;
    color: var(--primary-dark);
    margin-bottom: 18px;
    transition: .3s;
}

.conference-card:hover h3 {
    color: var(--secondary);
}

.conference-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}

.conference-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.conference-meta i {
    color: var(--secondary);
}

.conference-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

/*==========================================================
                CONFERENCE INFO
==========================================================*/

.conference-info {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    margin-bottom: 22px;
}

.conference-info li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 15px;
}

.conference-info li:last-child {
    margin-bottom: 0;
}

.conference-info strong {
    color: var(--primary-dark);
}

.conference-info span {
    color: var(--text-light);
}

/*==========================================================
                CARD FOOTER
==========================================================*/

.conference-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 25px;
    border-radius: 50px;
    background: linear-gradient(180deg,
            #3556A8 0%,
            #2F4C95 40%,
            #243B78 100%);
    color: #fff;
    font-weight: 600;
    transition: .35s;
    box-shadow:
        0 10px 25px rgba(36, 59, 120, .22),
        inset 0 1px 0 rgba(255, 255, 255, .18);

    transition: .35s;
}

.details-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(39, 59, 122, .30);
}

/*==========================================================
                PAGINATION
==========================================================*/

.conference-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 70px;
    flex-wrap: wrap;
}

.conference-pagination a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    transition: .35s;
    box-shadow: var(--shadow-sm);
}

.conference-pagination a:hover,
.conference-pagination a.active {
     background:#243B78;
    color: #fff;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/*==========================================================
                NEWSLETTER
==========================================================*/

.newsletter-section {
    padding-top: 80px;
}

.newsletter-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
            var(--primary),
            var(--primary-dark));
    color: #fff;
    border-radius: 35px;
    padding: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    box-shadow: var(--shadow-hover);
}

.newsletter-box::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    top: -120px;
    right: -100px;
}

.newsletter-box::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(242, 139, 42, .12);
    bottom: -80px;
    left: -60px;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.newsletter-content span {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .12);
    margin-bottom: 20px;
    font-weight: 600;
}

.newsletter-content h2 {
    font-size: 40px;
    margin-bottom: 18px;
    line-height: 1.3;
}

.newsletter-content p {
    color: rgba(255, 255, 255, .82);
}

.newsletter-form {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.newsletter-form input {
    width: 340px;
    height: 60px;
    border: none;
    outline: none;
    border-radius: 50px;
    padding: 0 25px;
    font-size: 15px;
    box-shadow: var(--shadow-sm);
}

.newsletter-form button {
    height: 60px;
    padding: 0 38px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
     background:#243B78;
    transition: .35s;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .25);
}

.newsletter-form button:hover {
    transform: translateY(-5px);
}

/*==========================================================
                HOVER EFFECTS
==========================================================*/

.conference-card,
.featured-card,
.search-box,
.newsletter-box,
.category-list button,
.details-btn,
.btn-primary,
.search-btn {
    transition: all .35s ease;
}

.conference-card:hover,
.featured-card:hover {
    border-color: rgba(39, 59, 122, .10);
}

.conference-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .18),
            transparent);
    opacity: 0;
    transition: .4s;
}

.conference-card:hover .conference-image::after {
    opacity: 1;
}

/*==========================================================
                FLOATING ANIMATION
==========================================================*/

@keyframes floatCard {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }

}

.featured-card {
    animation: floatCard 6s ease-in-out infinite;
}

/*==========================================================
                FADE ANIMATION
==========================================================*/

@keyframes fadeUp {

    from {

        opacity: 0;
        transform: translateY(30px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

.section-title,
.conference-card,
.newsletter-box {
    animation: fadeUp .8s ease;
}

/*==========================================================
                RESPONSIVE
==========================================================*/

@media(max-width:1200px) {

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image img {
        height: 380px;
    }

    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        justify-content: center;
    }

}

@media(max-width:992px) {

    .hero-content h1 {
        font-size: 46px;
    }

    .search-box {
        grid-template-columns: 1fr 1fr;
    }

    .conference-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-info {
        grid-template-columns: 1fr;
    }

}

@media(max-width:768px) {

    section {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .conference-grid {
        grid-template-columns: 1fr;
    }

    .conference-content {
        padding: 22px;
    }

    .featured-content {
        padding: 30px;
    }

    .featured-content h2 {
        font-size: 28px;
    }

    .newsletter-box {
        padding: 45px 25px;
    }

    .newsletter-content h2 {
        font-size: 30px;
    }

    .newsletter-form {
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }

}

@media(max-width:576px) {

    .section-title h2 {
        font-size: 30px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .conference-meta {
        flex-direction: column;
        gap: 10px;
    }

    .conference-info li {
        flex-direction: column;
        gap: 5px;
    }

    .conference-pagination {
        gap: 10px;
    }

    .conference-pagination a {
        width: 45px;
        height: 45px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .featured-buttons {
        flex-direction: column;
    }

}
.reset-btn{
    background:#ffffff;
    color:var(--primary);
    border:2px solid var(--primary);
    box-shadow:none;
}

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