/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Header Styles - MODIFIED FOR CENTERED LOGO */
header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 14px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.logo h1 {
    font-size: 18px;
    font-weight: 700;
    color: #006400;
    letter-spacing: 0.5px;
}

/* Create space for the centered logo */
.nav-container {
    visibility: visible;
}

.login-container {
    visibility: visible;
}

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

nav ul li {
    margin-left: 24px;
    font-size: 14px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav ul li a:hover {
    color: #006B3F;
}

.agency-login {
    background-color: #FFD700;
    color: #333;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.agency-login:hover {
    background-color: #F4C800;
}

/* Color Bar */
.color-bar {
    display: flex;
    height: 4px;
}

.color-red {
    background-color: #CE1126;
    flex: 1;
}

.color-yellow {
    background-color: #FCD116;
    flex: 1;
}

.color-green {
    background-color: #006B3F;
    flex: 1;
}

/* Hero Section */
.hero {
    background-image: url('images/backCOG.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 32px;
    font-weight: 400;
}

/* Verification Box */
.verify-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 32px;
    border-radius: 8px;
    margin-top: 36px;
    backdrop-filter: blur(5px);
}

.verify-box h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.verify-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.verify-form input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.verify-form button {
    background-color: #FFD700;
    color: #333;
    border: none;
    padding: 14px 24px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.verify-form button:hover {
    background-color: #F4C800;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 20px;
    text-align: center;
    background-color: white;
    background-image: url("images/adinkra.png");
    border-bottom: solid 2px #eee;
}

.how-it-works h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: #006B3F;
}

.how-it-works p {
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: 18px;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background-color: white;
    border-radius: 10px;
    padding: 36px 28px;
    width: 320px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.step-icon {
    margin-bottom: 24px;
    font-size: 32px;
    color: #006B3F;
}

.step-number {
    background-color: #FFD700;
    color: #333;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: absolute;
    top: -18px;
    right: -18px;
    border: 3px solid white;
}

.step h3 {
    margin-bottom: 16px;
    font-size: 20px;
    color: #333;
}

.step p {
    font-size: 16px;
    margin-bottom: 0;
    color: #555;
}

/* Used By Section */
.used-by {
    padding: 80px 20px;
    text-align: center;
    background-color: white;
}

.used-by h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: #006B3F;
}

.used-by h1 {
    font-size: 17px;
    margin-bottom: 12px;
    color: #000;
}

.used-by p {
    margin-bottom: 48px;
    font-size: 18px;
}

.partners {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px;
    max-width: 1100px;
    margin: 0 auto;
}

.partner {
    width: 160px;
    height: 110px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.partner:hover {
    transform: scale(1.05);
}

.partner img {
    max-width: 80%;
    max-height: 80%;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    gap: 16px;
}

.carousel-controls button {
    background-color: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #555;
}

.carousel-controls button:hover {
    background-color: #e0e0e0;
}

/* CTA Section */
.cta {
    background-color: #006B3F;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 18px;
}

.cta-button {
    background-color: #FFD700;
    color: #333;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-size: 16px;
}

.cta-button:hover {
    background-color: #F4C800;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 64px 20px 24px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 48px;
    gap: 48px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    margin-bottom: 24px;
    font-size: 18px;
    color: #FFD700;
}

.footer-column p {
    font-size: 12px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
    font-size: 12px;
}

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

.footer-column a:hover {
    color: #FFD700;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    background-color: #444;
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #aaa;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright .infologo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .steps {
        gap: 24px;
    }
    
    .step {
        width: 300px;
    }
}

@media (max-width: 768px) {
    /* MODIFIED HEADER RESPONSIVE STYLES */
    header {
        flex-direction: column;
        gap: 16px;
    }
    
    .logo {
        position: relative;
        left: 0;
        transform: none;
        margin-bottom: 10px;
    }
    
    .nav-container, .login-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 12px;
    }
    /* END OF MODIFIED HEADER STYLES */
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .verify-box {
        padding: 24px;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }
    
    .step {
        width: 100%;
        max-width: 350px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 36px;
    }
    
    .copyright {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 16px;
    }
    
    nav ul {
        gap: 16px;
    }
    
    .hero {
        padding: 80px 16px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .verify-form {
        flex-direction: column;
    }
    
    .verify-form input {
        border-radius: 4px;
        margin-bottom: 12px;
    }
    
    .verify-form button {
        border-radius: 4px;
    }
}