/* 
* IoEG Website Stylesheet
* Responsive design for all device sizes
*/

/* ===== GLOBAL STYLES ===== */
:root {
    /* Color variables */
    --yellow: #e6ff00;
    --dark-blue: #2d3748;
    --darker-blue: #1e2533;
    --blue-gray: #4a5568;
    --light-gray: #f2f2f2;
    --white: #ffffff;
    
    /* Feature icon colors */
    --bgcf-color: #5d76b5;
    --bgp-color: #00b894;
    --bgc-color: #e17055;
    
    /* Typography */
    --heading-font: 'Kantumruy Pro', sans-serif;
    --body-font: 'Kantumruy Pro', sans-serif;
    --serif-font: 'Source Serif 4', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content container with max-width 700px */
.content-page .container {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 0.5em;
    font-weight: bold;
    line-height: 1em;
}

p {
    margin-bottom: 1em;
}

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

ul {
    list-style-type: none;
}

/* Logo styling */
.logo-svg {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.footer-logo-svg {
    height: 35px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-secondary {
    background-color: var(--white);
    color: var(--dark-blue);
    border: 1px solid var(--dark-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-blue);
    border: 1px solid var(--dark-blue);
}

.btn-outline:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn-yellow {
    background-color: var(--yellow);
    color: var(--dark-blue);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

/* ===== HEADER ===== */
.header {
    background-color: var(--yellow);
    padding: 20px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-right: 10px;
    margin-bottom: 0;
}

.logo p {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-bottom: 0;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

/* ===== WEBSITE INTRO ===== */

.websiteintro {
    padding: 80px 0;
    background-color: var(--light-gray);
    text-align: center;
}
.websiteintro div {
    max-width: 700px;
    margin:0 auto;
}
.websiteintro h2 {
    font-size:2.7em;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 80px 0;
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: bold;
    font-size: 1.5rem;
}

.hexagon {
    background-color: var(--bgcf-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.square {
    background-color: var(--bgp-color);
    border-radius: 10px;
}

.circle {
    background-color: var(--bgc-color);
    border-radius: 50%;
}

.feature-card h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-card p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--blue-gray);
}

/* ===== CTA SECTION ===== */
.cta {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    margin-bottom: 40px;
    font-size: 1.5rem;
}

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

.pricing-card {
    background-color: var(--darker-blue);
    padding: 30px 20px;
    border-radius: 10px;
}

.pricing-card h3 {
    color: var(--yellow);
    margin-bottom: 20px;
}

.pricing-card ul {
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.pricing-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--yellow);
}

.pricing-card ul li em {
    font-style: italic;
}

.certification-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 20px;
}

/* ===== FRAMEWORK SECTION ===== */
.framework {
    background-color: var(--blue-gray);
    color: var(--white);
    padding: 80px 0;
}

.framework-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.framework-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hexagon-img {
    width: 200px;
    height: 200px;
}

.framework-text {
    flex: 2;
}

.framework-text h2 {
    margin-bottom: 20px;
}

.framework-text p {
    margin-bottom: 30px;
}

/* ===== MAGAZINE SECTION ===== */
.magazine {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.magazine h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.article {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 150px;
    background-color: var(--dark-blue);
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.article-content p {
    font-size: 0.9rem;
    color: var(--blue-gray);
    margin-bottom: 15px;
}

.read-more {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--blue-gray);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 30px 0;
}

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

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

.footer-links a {
    color: var(--white);
    margin: 0 5px;
}

/* ===== CONTENT PAGE STYLES ===== */

.ebreviewhead {
    background-color: var(--dark-blue);
    color: var(--light-gray);
    padding:20px 0;
}
.ebreviewhead h3 {
    text-align: center;
    font-family: var(--serif-font);
    font-weight: bolder;
    margin:0;
    padding:0;
    font-size: 3em;
    text-transform:uppercase;
}

/* Content page layout */
.content-page {
    padding: 80px 0;
    background-color: var(--white);
}

/* Page header */
.page-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
}

.page-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.page-meta {
    color: var(--blue-gray);
    font-size: 0.9rem;
}

.page-meta .author {
    margin-right: 15px;
}

/* Introduction */
.introduction {
    margin-bottom: 40px;
    padding: 20px 0;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--blue-gray);
    font-weight: 500;
}

/* Main content typography */
.main-content {
    margin-bottom: 60px;
    padding: 0px 0 80px 0;
}

.main-content h2 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.main-content h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}

.main-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #444;
    font-family: var(--serif-font);
}
.main-content li {
    font-size: 1.2rem;
    line-height: 1.6;
    font-family: var(--serif-font);
}

/* Blockquote styling */
.content-quote {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--light-gray);
    border-left: 5px solid var(--bgcf-color);
    position: relative;
}

.content-quote p {
    font-size: 1.2rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 10px;
}

.content-quote cite {
    display: block;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 500;
    color: var(--blue-gray);
    text-align: right;
}

/* Table styling */
.table-container {
    margin: 30px 0;
    overflow-x: auto;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.content-table caption {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--dark-blue);
    text-align: left;
}

.content-table th,
.content-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.content-table th {
    background-color: var(--dark-blue);
    color: var(--white);
    font-weight: bold;
}

.content-table tbody tr:nth-child(even) {
    background-color: var(--light-gray);
}

.content-table tbody tr:hover {
    background-color: #e9e9e9;
}

/* References section */
.references {
    margin-top: 60px;
    padding: 50px 0 0;
    border-top: 1px solid var(--light-gray);
}

.references h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.reference-list {
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--blue-gray);
    line-height: 1.6;
}

.reference-list li {
    margin-bottom: 10px;
}

.reference-list em {
    font-style: italic;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .framework-content {
        flex-direction: column;
        text-align: center;
    }
    
    .framework-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .main-content h2 {
        font-size: 1.6rem;
    }
    
    .main-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .content-quote {
        padding: 20px;
    }
    
    .logo-svg {
        height: 35px;
    }
    
    .footer-logo-svg {
        height: 30px;
    }
}

@media (max-width: 576px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .cta h2 {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .main-content h2 {
        font-size: 1.4rem;
    }
    
    .main-content h3 {
        font-size: 1.2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .logo-svg {
        height: 30px;
    }
    
    .footer-logo-svg {
        height: 25px;
    }
}

/* Create a placeholder for the framework icon */
.framework-image img {
    background-color: #f5f5f5;
    border-radius: 50%;
}
