body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
}

.text-primary {
    color: #28a745 !important;
}

.bg-primary {
    background-color: #28a745 !important;
}

.btn-primary {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand span {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .navbar-brand span {
        font-size: 1rem;
    }
    h1 {
        font-size: 1.8rem !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
}

.hero {
    min-height: 100vh;
    background: url('uploads/media/modern-house-energy.webp') no-repeat center center/cover;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.title-line {
    width: 60px;
    height: 4px;
    background: #28a745;
    margin-top: 15px;
    border-radius: 2px;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.program-card {
    background: rgba(255,255,255,0.05);
    transition: background 0.3s ease;
}

.program-card:hover {
    background: rgba(255,255,255,0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(40, 167, 69, 0.1);
    font-family: 'Montserrat', sans-serif;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.quiz-container {
    min-height: 400px;
}

.quiz-opt {
    transition: all 0.2s ease;
    font-weight: 600;
}

.quiz-opt:hover {
    background-color: #28a745;
    color: white;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.cookie-banner {
    border-top: 3px solid #28a745;
}

.scroll-arrow {
    margin-top: 30px;
}

input.form-control, select.form-select {
    padding: 0.75rem 1rem;
    border-radius: 10px;
}/* Main container spacing */
.infoGuardBlock {
    padding-top: 60px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Headings with modest font sizes */
.infoGuardBlock h1 {
    font-size: 24px;
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
}

.infoGuardBlock h2 {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
}

.infoGuardBlock h3 {
    font-size: 18px;
    margin-bottom: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #444;
}

.infoGuardBlock h4 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #444;
}

.infoGuardBlock h5 {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
}

/* Paragraph styling */
.infoGuardBlock p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #4a4a4a;
}

/* List styling */
.infoGuardBlock ul {
    margin-bottom: 15px;
    padding-left: 25px;
    list-style-type: disc;
}

.infoGuardBlock li {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
    color: #4a4a4a;
}

/* Remove bottom margin from the last element to prevent double spacing */
.infoGuardBlock > *:last-child {
    margin-bottom: 0;
}
.bg-dark h2,
.bg-dark h5 {
    color: #fff;
}
section {
    overflow: hidden;
}