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


:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --background-light: #f5f7fa;
    --background-dark: #34495e;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #ecf0f1;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background-color: var(--background-light);
    color: var(--text-primary);
    
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
    border: 3px solid var(--background-light);
}

body::-webkit-scrollbar-thumb:hover {
    background-color: var(--secondary-color);
}

.section {
    /* max-width: 1200px; Adjust this value as needed */
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* margin: 20px 0; Add margin to top and bottom */
}

.section:first-child {
    margin-top: 0; /* Remove top margin for the first section */
}

.section:last-child {
    margin-bottom: 0; /* Remove bottom margin for the last section */
}

.section:nth-child(even) {
    background-color: var(--background-light);
}

#dhead {
    background-color: transparent;
    box-shadow: none;
    padding-bottom: 20px; /* Add some padding at the bottom */
    /* border-bottom: 2px solid var(--primary-color); Add a border to separate from the next section */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
}

h2 {
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h4 {
    font-size: 20px;
    color: var(--accent-color);
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: left;
}

hr {
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0,0,0,0), var(--text-secondary), rgba(0,0,0,0));
    border: 0;
    margin: 20px 0 0;
}

footer {
    text-align: center;
    padding: 20px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
    font-size: 16px;
}

@media (max-width: 768px) {
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    h4 {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .section {
        padding: 60px 40px;
    }
    #dhead {
        padding: 0 40px 40px; /* Increase bottom padding for larger screens */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: 60px 60px;
        max-width: 90%;
    }
    #dhead {
        padding: 0 60px 50px;
    }
}

@media (min-width: 1025px) {
    .section {
        padding: 60px 80px;
    }
    #dhead {
        padding: 0 80px 60px; /* Increase bottom padding for even larger screens */
    }
}