/* Additional styles for About Us page - Main Content Only */
/* These styles should be added to your style.css file */
/* Note: Navigation bar and footer are styled in the main CSS file */

/* About Us Content Section */
.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}


.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 28px;
    color: #0a4c8a;
    margin-bottom: 20px;
}

.about-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Objectives Section Styles */
.objectives-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.objective-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 40px 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.objective-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.objective-number {
    font-size: 64px;
    font-weight: 700;
    color: rgba(80, 80, 80, 0.15);
    margin-bottom: 20px;
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: 0;
    font-family: 'Arial', sans-serif;
}

.objective-title {
    font-size: 24px;
    font-weight: 700;
    color: #0a4c8a;
    margin-bottom: 15px;
}

/* For OUR VISION */
.objective-column:first-child .objective-title {
    color: #006400;
}

/* For OUR MISSION */
.objective-column:last-child .objective-title {
    color: #0a4c8a;
}

.objective-column p {
    color: #666;
    line-height: 1.6;
}
#our-objectives {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#our-objectives::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/Built-Environment-1-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    filter: blur(3px);
    z-index: -1;
}
#our-objectives .section-title h2,
#our-team .section-title h2 {
    font-size: 38px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

#our-objectives .section-title .underline,
#our-team .section-title .underline {
    height: 4px;
    width: 100px;
    background: linear-gradient(to right, #0a4c8a, #a01c2a);
}
#our-team {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#our-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/team.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.12;
    filter: blur(4px);
    z-index: -1;
}

/* Company Description Styles */
.company-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.company-description p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.cta-button-container {
    margin-top: 40px;
}

/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.team-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #0a4c8a;
}

.team-position {
    font-size: 16px;
    color: #a01c2a;
    margin-bottom: 15px;
    font-weight: 600;
}

.team-bio {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.team-social {
    display: flex;
    gap: 15px;
}

.team-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #0a4c8a;
    transition: all 0.3s;
}

.team-social a:hover {
    background-color: #0a4c8a;
    color: white;
    transform: translateY(-3px);
}

/* Partners Section Styles */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 200px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Note: Menu active state should be in the main CSS file */

/* Responsive Styles */
@media (max-width: 768px) {
    .about-content, 
    .objectives-container {
        flex-direction: column;
    }
    
    .about-image, 
    .about-text {
        width: 100%;
    }
    
    .objective-column {
        width: 100%;
        max-width: 100%;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* ===================================
   UPDATED FOOTER STYLES - LEKHULENI CONSULTING ENGINEERS
   Matching Services Page Style with Enhanced Background
   ================================== */

/* Footer */
.footer {
    background: linear-gradient(135deg, #1F2937, #111827) !important;  /* Same as services page */
    color: white !important;
    padding: 60px 0 20px !important;  /* Improved padding */
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    display: block !important;
}

/* Add the golden accent line at top like services page */
.footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background: linear-gradient(45deg, #B07F33, #C4933D) !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px !important;
}

.footer-logo img {
    height: 60px !important;  /* Consistent with services page */
    margin-bottom: 20px !important;
    transition: transform 0.3s ease !important;
}

.footer-logo img:hover {
    transform: scale(1.05) !important;
}

.footer-logo p {
    color: #9CA3AF !important;  /* Matching services page text color */
    line-height: 1.6 !important;
    font-size: 16px !important;  /* Improved font size */
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
    color: #B07F33 !important;  /* Golden accent color */
    margin-bottom: 20px !important;
    font-size: 1.4rem !important;  /* Larger font size */
    font-weight: 600 !important;
    position: relative !important;
}

/* Remove the old underline and add hover effect */
.footer-links h3::after,
.footer-contact h3::after,
.footer-newsletter h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: -5px !important;
    left: 0 !important;
    width: 30px !important;
    height: 2px !important;
    background: #B07F33 !important;
    transition: width 0.3s ease !important;
}

.footer-links:hover h3::after,
.footer-contact:hover h3::after,
.footer-newsletter:hover h3::after {
    width: 60px !important;
}

.footer-links ul,
.footer-contact ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links ul li {
    margin-bottom: 12px !important;
    transition: all 0.2s ease !important;
}

.footer-links ul li:hover {
    transform: translateX(5px) !important;
}

.footer-links ul li a {
    color: #9CA3AF !important;  /* Improved text color */
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-size: 15px !important;  /* Better font size */
    display: inline-flex !important;
    align-items: center !important;
}

.footer-links ul li a:hover {
    color: #B07F33 !important;  /* Golden hover color */
}

.footer-contact ul li {
    margin-bottom: 15px !important;  /* Improved spacing */
    display: flex !important;
    align-items: flex-start !important;
    color: #9CA3AF !important;  /* Improved text color */
    font-size: 15px !important;  /* Better font size */
    transition: all 0.2s ease !important;
}

.footer-contact ul li:hover {
    transform: translateX(5px) !important;
}

.footer-contact ul li i {
    margin-right: 15px !important;
    color: #B07F33 !important;  /* Golden icon color */
    margin-top: 5px !important;
    width: 20px !important;
    transition: transform 0.2s ease !important;
}

.footer-contact ul li:hover i {
    transform: scale(1.2) !important;
}

.newsletter-form {
    display: flex !important;
    margin-bottom: 20px !important;
    gap: 10px !important;  /* Added gap for better spacing */
}

.newsletter-form input {
    flex: 1 !important;
    padding: 14px 15px !important;  /* Improved padding */
    border: none !important;
    border-radius: 8px !important;  /* Rounded corners */
    background: rgba(255, 255, 255, 0.1) !important;  /* Semi-transparent background */
    color: #FFFFFF !important;
    outline: none !important;
    font-size: 15px !important;  /* Better font size */
    transition: all 0.3s ease !important;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.newsletter-form input:focus {
    outline: none !important;
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

.btn-subscribe {
    background-color: #B07F33 !important;  /* Golden background */
    color: white !important;
    padding: 14px 22px !important;  /* Improved padding */
    border: none !important;
    border-radius: 8px !important;  /* Rounded corners */
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    font-size: 15px !important;  /* Better font size */
    white-space: nowrap !important;
}

.btn-subscribe:hover {
    background-color: #936927 !important;  /* Darker golden on hover */
    transform: translateY(-2px) !important;
}

.social-icons {
    display: flex !important;
    gap: 15px !important;
}

.social-icons a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;  /* Semi-transparent background */
    border-radius: 50% !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
    backdrop-filter: blur(10px) !important;
}

.social-icons a:hover {
    background-color: #B07F33 !important;  /* Golden hover background */
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 5px 15px rgba(176, 127, 51, 0.4) !important;
}

.footer-bottom {
    background-color: rgba(58, 42, 30, 0.8) !important;  /* Semi-transparent brownish */
    padding: 25px 0 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 20px !important;
    margin-top: 0 !important;
}

.footer-bottom p {
    color: #9CA3AF !important;  /* Improved text color */
    margin: 0 !important;
    font-size: 15px !important;  /* Better font size */
}

.footer-bottom-links {
    display: flex !important;
    gap: 25px !important;
    flex-wrap: wrap !important;
}

.footer-bottom-links a {
    color: #9CA3AF !important;  /* Improved text color */
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-size: 15px !important;  /* Better font size */
    position: relative !important;
}

.footer-bottom-links a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 1px !important;
    background: #B07F33 !important;
    transition: width 0.3s ease !important;
}

.footer-bottom-links a:hover::after {
    width: 100% !important;
}

.footer-bottom-links a:hover {
    color: #B07F33 !important;  /* Golden hover color */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 15px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 15px !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
        padding: 20px 15px !important;
    }
    
    .footer-bottom-links {
        justify-content: center !important;
    }
    
    .newsletter-form {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .btn-subscribe {
        width: 100% !important;
    }
}