@import url("./styles/reset.css");
@import url("./styles/variables.css");
@import url("./styles/global.css");


h3 {
    margin-top: 0;
}

/* Home / Hero Section */
.hero-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.responsive-image {
    width: 80%;
    max-width: 400px;
    height: auto;
    display: block;
    border: 4px solid var(--color-peach);
    border-radius: 8px;
    margin-bottom: 20px;
}

.hero-text h4 {
    color: var(--color-secondary);
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.about-text {
    flex: 3;
    min-width: 300px;
}


.about p {
    text-align: justify;
    line-height: 1.3;
    color: var(--color-text);
}

.about-sidebar ul {
    color: var(--color-text);
    padding-left: 20px;
}

.about-sidebar {
    flex: 2;
    min-width: 200px;
    background-color: #F0E5ED;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.75rem;
    line-height: 1.1;
}

.about-sidebar h4 {
    color: var(--color-primary);
    margin-bottom: 5px;
}

.past-conferences,
.upcoming-conferences {
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Blog section  */
.insights {
    font-size: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.blog-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #444;
    color: white
}

.blog-content {
    padding: 15px;
    flex-grow: 1;
}

.blog-title {
    margin-top: 0;
}

.blog-excerpt {
    color: var(--color-light-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: #f5f5f5;
    font-size: 0.8rem;
    color: var(--color-text);
}


/* Contact section */
.contact-paragraph {
    color: var(--color-primary);
    font-size: 1rem;
}

.contact-info h3 {
    color: var(--color-secondary);
}

.contact-info p {
    margin-top: 30px;
    font-style: italic;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 250px;
}

.contact-form {
    flex: 2;
}


/* Contact Methods */
.contact-method {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 30px;
    height: 30px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
}


/* Form Elements */
.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 90%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-row textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    background-color: var(--color-alert);
    color: var(--color-light);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--color-accent);
}

button a {
    color: var(--color-light);
    text-decoration: none;
}

button a:hover {
    color: var(--color-text);
}