/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(180deg, #001b56 28%, #0e4de3 100%);
    color: white;
    margin: 0 !important;
    padding: 0 !important;
}

.cta-section {
    text-align: center;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.contact-form-container {
    display: flex;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-form {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    flex: none;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: white;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    background: #4CAF50;
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #45a049;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
}

.contact-item {
    margin-bottom: 2rem;
    padding-left: 2.5rem;
    position: relative;
}

.contact-item .icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    fill: #4CAF50;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.contact-item a:hover {
    color: white;
}

/* Bottom Footer Section */
.bottom-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.company-info {
    flex: 1.2;
}

.company-info .logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.company-info .logo .icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    fill: #4CAF50;
}

.company-info .logo h3 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.company-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-section {
    flex: 1;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-details p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 980px) {
    .contact-form-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Improve select visibility on the green footer background */
.form-group select {
    /* stronger green background so the control and chosen value contrast with white text */
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    color: #ffffff;
    -webkit-appearance: none;
    appearance: none;
    /* make room for the native caret and keep padding consistent */
    padding: 12px 40px 12px 16px;
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) center, 0 0;
    background-size: 12px 12px, 100% 100%;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Option styling (note: browsers limit styling of native option dropdowns) */
.form-group select option {
    background: #2E7D32;
    color: #ffffff;
}

/* Make the placeholder option slightly muted but still readable */
.form-group select option[value=""] {
    color: rgba(255, 255, 255, 0.8);
}

.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
}