:root {
    --primary-color: #0054a6;
    --secondary-color: #e30613;
    --accent-color: #ffc600;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width:1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 14px;
    opacity: 0.8;
}

.header-contacts {
    text-align: right;
}

.header-contacts a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

/* Navigation menu */
.main-nav {
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-item:hover:after {
    width: 100%;
}

.nav-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 84, 166, 0.8), rgba(0, 84, 166, 0.8)), url('https://iocenter.ru/wp-content/uploads/2023/05/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

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

.btn-primary:hover {
    background-color: #c00511;
}

/* Section styles */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
    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-color: var(--secondary-color);
}

/* About conference */
.about-conference {
    background-color: var(--light-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* For whom */
.for-whom ul {
    columns: 2;
    column-gap: 40px;
    margin-bottom: 30px;
}

.for-whom li {
    margin-bottom: 10px;
    list-style-position: inside;
}

/* Audience list */
.audience-list {
    max-width: 800px;
    margin: 0 auto;
}

.audience-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 84, 166, 0.1);
}

.audience-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.audience-icon {
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 20px;
    min-width: 30px;
}

.audience-text {
    font-size: 16px;
    line-height: 1.6;
}

/* Benefits */
.benefits {
    background-color: var(--light-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

/* Program */
.program {
    background-color: #f9f9f9;
}

.program-day {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.program-day h3 {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 20px;
}

.program-session {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.session-time {
    font-weight: bold;
    color: var(--primary-color);
    min-width: 120px;
    padding-top: 3px;
    text-align: right;
}

.session-content {
    flex: 1;
    border-left: 3px solid var(--secondary-color);
    padding-left: 20px;
}

.session-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.session-location {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-style: italic;
    font-size: 15px;
}

.session-speaker {
    margin-bottom: 15px;
    font-style: italic;
}

.session-details {
    margin-bottom: 20px;
}

.session-subtitle,
.session-theme,
.session-description {
    margin-bottom: 15px;
    font-weight: 500;
}

.session-points,
.session-participants {
    margin-left: 20px;
    margin-bottom: 20px;
}

.session-points li,
.session-participants li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.session-note,
.session-additional {
    font-style: italic;
    color: var(--gray-color);
    margin-top: 15px;
    padding-left: 20px;
    position: relative;
}

.session-note:before,
.session-additional:before {
    content: "*";
    position: absolute;
    left: 5px;
}

/* Speakers */
.speakers {
    background-color: var(--light-color);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.speaker-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.speaker-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--secondary-color);
}

.speaker-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.speaker-position {
    color: var(--gray-color);
    font-style: italic;
    margin-bottom: 15px;
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    max-height: 80px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Packages */
.packages {
    background-color: #f9f9f9;
}

.package-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.package-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid #e0e0e0;
}

.package-card.premium {
    border: 2px solid var(--accent-color);
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.package-card h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
}

.package-price {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 25px;
}

.package-features {
    list-style: none;
}

.package-features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.package-features i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--secondary-color);
}

/* Registration */
.registration {
    background-color: var(--primary-color);
    color: white;
}

.registration .section-title h2 {
    color: white;
}

.registration .section-title p {
    color: rgba(255,255,255,0.8);
    margin-top: 10px;
}

.registration-form {
    max-width: 800px;
    margin: 40px auto 0;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 4px;
    border: none;
    font-size: 16px;
    background-color: rgba(255,255,255,0.9);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-notice {
    font-size: 14px;
    margin-top: 15px;
    color: rgba(255,255,255,0.7);
}

/* Location */
.location {
    background-color: #f9f9f9;
}

.location-content {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.location-info {
    flex: 1;
    max-width: 400px;
}

.location-address {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.location-address i {
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.location-address h3,
.location-contacts h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.transport-list {
    list-style: none;
}

.transport-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.transport-list i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-color);
    font-size: 18px;
}

.location-map {
    flex: 2;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-column i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .header-contacts {
        text-align: center;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        padding: 10px;
    }
    
    .for-whom ul {
        columns: 1;
    }
    
    .audience-item {
        flex-direction: column;
    }
    
    .audience-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .package-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .package-card {
        max-width: 100%;
    }
    
    .location-content {
        flex-direction: column;
    }
    
    .location-info {
        max-width: 100%;
    }
    
    .location-map {
        height: 300px;
    }
    
    .program-session {
        flex-direction: column;
        gap: 10px;
    }
    
    .session-time {
        text-align: left;
        padding-bottom: 10px;
        border-bottom: 1px dashed #ddd;
    }
    
    .session-content {
        border-left: none;
        padding-left: 0;
    }
}
#form-success-container, 
#form-error-container, 
.additiona-info,
.kontact_person_box {
	display: none;
}
