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


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
    font-family: 'Lato', sans-serif;
    min-height: 100vh;
    color: #23272f;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    position: relative;
}

.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 1400px;
    z-index: 1000;
    background-color: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-top: 1.5rem;
}

.brand {
    color: #414836;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.brand:hover, .brand:focus {
    color: #2e6b4a;
}

.nav-links {
    display: flex;
    gap: 16px;
    margin-left: auto;
}

.nav-link {
    color: #414836;
    text-decoration: none;
    font-size: 15px;
    padding: 6px 20px;
    border-radius: 50px;
    background: none;
    border: 2px solid #414836;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.01em;
    outline: none;
    display: inline-block;
    transition: box-shadow 0.18s, color 0.18s, border 0.18s, background 0.18s;
}

.nav-link:hover, .nav-link:focus {
    color: #fff;
    background: #414836;
    border: 1.5px solid #414836;
    box-shadow: 0 4px 16px rgba(65,72,54,0.13);
    text-decoration: none;
}

.page-title {
    color: #414836;
    font-size: 56px;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    margin-bottom: 60px;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(65, 72, 54, 0.08),
                 0 4px 12px rgba(65, 72, 54, 0.04);
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

section.visible .page-title {
    transform: translateY(0);
    opacity: 1;
}

.page-title:after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(65, 72, 54, 0) 0%,
        rgba(65, 72, 54, 0.3) 50%,
        rgba(65, 72, 54, 0) 100%
    );
    margin: 20px auto 0;
}

.page-title:before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: rgba(65, 72, 54, 0.15);
    margin: 0 auto 15px;
    transform: scaleX(0);
    transition: transform 0.6s ease-out 0.3s;
}

section.visible .page-title:before {
    transform: scaleX(1);
}

.text-content {
    max-width: 800px;
    width: 100%;
    color: #414836;
    line-height: 1.7;
    margin-bottom: 48px;
    background: none;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 18px;
    text-align: justify;
}

.text-content p {
    margin-bottom: 18px;
    font-size: 18px;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin-top: 20px;
}

.sector-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border: 1px solid rgba(123, 142, 150, 0.15);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s;
    background: #fff;
}

.sector-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(123, 142, 150, 0.15);
    border-color: rgba(123, 142, 150, 0.25);
}

.sector-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: rgba(123, 142, 150, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 12px;
    transition: background-color 0.3s ease;
}

.sector-item:hover .sector-image {
    background: rgba(123, 142, 150, 0.12);
}

.sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sector-image svg {
    display: block;
    margin: 0 auto;
    width: 80%;
    height: 80%;
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease;
}

.sector-item:hover .sector-image svg {
    transform: scale(1.05);
}

.sector-item h3 {
    color: #414836;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    width: 100%;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.logo-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}



main {
    padding-top: 120px;
    position: relative;
    z-index: 1;
}

main section:nth-of-type(2n) {
    background-color: rgba(123, 142, 150, 0.04);
}

main section {
    transition: background 0.3s;
}

::-webkit-scrollbar {
    width: 10px;
    background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
    background: rgba(123, 142, 150, 0.3);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(123, 142, 150, 0.5);
}

@media (max-width: 1200px) {
    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }
    .brand {
        font-size: 20px;
    }
    .nav-links {
        gap: 20px;
    }
    .nav-link {
        font-size: 16px;
    }
    .page-title {
        font-size: 42px;
        margin-bottom: 40px;
    }
    .page-title:after {
        width: 90px;
        margin-top: 15px;
    }
    .page-title:before {
        width: 30px;
        margin-bottom: 12px;
    }
    .text-content {
        text-align: justify;
    }
    .content-page,
    .home-content {
        padding: 36px 8px 36px 8px;
        align-items: center;
    }
    .sector-item h3 {
        text-align: center;
    }
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .sector-image {
        width: 120px;
        height: 120px;
    }
    .logo-image {
        max-width: 400px;
    }
    .brand img {
        height: 60px !important;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-left: 0;
    }
    .page-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    .page-title:after {
        width: 60px;
        margin-top: 12px;
    }
    .page-title:before {
        width: 20px;
        margin-bottom: 10px;
    }
    .text-content {
        padding: 0 15px;
    }
    .text-content p {
        font-size: 15px;
    }
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sector-image {
        width: 150px;
        height: 150px;
    }
    .logo-image {
        max-width: 280px;
    }
    .brand img {
        height: 45px !important;
    }
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-page,
.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    padding: 60px 20px;
    position: relative;
    box-sizing: border-box;
    min-height: 0;
}

#industries {
    background: #7B8E96 !important;
}

#industries .page-title,
#industries .text-content {
    color: #ffffff;
}

#industries .text-content {
    max-width: 1200px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

#industries .text-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(123, 142, 150, 0.15);
    border-color: rgba(123, 142, 150, 0.25);
}

#industries .text-content p {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    #industries .text-content {
        max-width: 900px;
        padding: 1.8rem;
    }
}

@media (max-width: 768px) {
    #industries .text-content {
        max-width: 100%;
        margin-left: 20px;
        margin-right: 20px;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    #industries .text-content {
        margin-left: 15px;
        margin-right: 15px;
        padding: 1.2rem;
    }
}

#industries .page-title:after {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

#industries .page-title:before {
    background: rgba(255, 255, 255, 0.3);
}

#nuworld-way {
    background: none;
}

#nuworld-way .page-title,
#nuworld-way .text-content {
    color: #414836;
}

#nuworld-way .page-title:after {
    background: linear-gradient(
        90deg,
        rgba(65, 72, 54, 0) 0%,
        rgba(65, 72, 54, 0.3) 50%,
        rgba(65, 72, 54, 0) 100%
    );
}

#nuworld-way .page-title:before {
    background: rgba(65, 72, 54, 0.15);
}

@media (max-width: 1200px) {
    #nuworld-way .text-content {
        max-width: 900px;
    }
}
@media (max-width: 768px) {
    #nuworld-way .text-content {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

#contact {
    background: #414836;  /* Solid dark green background */
    min-height: 100vh;
    position: relative;
    padding: 120px 0;  /* Add padding to ensure proper spacing */
}

.home-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    margin-top: -120px;
    padding-top: 120px;
    background-color: #363c2d;
}

.brand img {
    height: 55px !important;
    width: auto;
    vertical-align: middle;
    object-fit: contain;
}

.page-title {
    transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

section:hover .page-title {
    text-shadow: 0 2px 4px rgba(65, 72, 54, 0.12),
                 0 4px 12px rgba(65, 72, 54, 0.08);
    letter-spacing: 0.025em;
}

.main-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.advisors-text {
    color: white;
    font-weight: 700;
    font-size: 3.6rem;
    letter-spacing: 0.05em;
    margin-top: 20px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    white-space: nowrap;
    text-transform: none;
    position: relative;
    left: -2px;
    padding: 0;
    word-spacing: 0.1em;
}

@media (max-width: 768px) {
    .advisors-text {
        font-size: 2.4rem;
        margin-top: 15px;
        max-width: 400px;
        transform: translateX(0);
        letter-spacing: 0.1em;
    }
}

@media (max-width: 480px) {
    .advisors-text {
        font-size: 1.8rem;
        margin-top: 12px;
        letter-spacing: 0.08em;
        max-width: 280px;
        transform: translateX(0);
    }
}

/* Hamburger styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.nav-toggle .bar {
    width: 28px;
    height: 3px;
    background: #414836;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 0;
        box-shadow: 0 8px 24px rgba(123, 142, 150, 0.12);
        border-radius: 0 0 18px 18px;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
    }
    .nav-links.open {
        max-height: 300px;
        opacity: 1;
        pointer-events: auto;
        gap: 15px;
        padding: 10px 0 15px 0;
    }
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        border: none;
        background: none;
        font-size: 18px;
    }
    .navbar {
        flex-direction: row;
        align-items: center;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .nav-toggle {
        width: 36px;
        height: 36px;
    }
    .nav-toggle .bar {
        width: 22px;
        height: 3px;
    }
}

/* Hamburger open animation */
.nav-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Fade-in animation styles - excluding login page */
main section:not(#login) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

main section:not(#login).visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in elements within sections - excluding login page */
section:not(#login) .page-title,
section:not(#login) .text-content,
section:not(#login) .contact-title-section,
section:not(#login) .contact-form-section,
section:not(#login) .sectors-grid {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section:not(#login).visible .page-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

section:not(#login).visible .text-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

section:not(#login).visible .contact-title-section {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

section:not(#login).visible .contact-form-section {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

section:not(#login).visible .sectors-grid {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Login page specific styles */
#login {
    background-color: #363c2d;
    min-height: 100vh;
    padding: 0;
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    opacity: 1;
    transform: none;
}

#login .page-title {
    color: white;
    text-align: center;
    margin: 0 0 35px 0;
    font-size: 2.8rem;
    opacity: 1;
    transform: none;
    padding-top: 120px;
}

#login .login-container {
    max-width: 500px;
    width: 100%;
    padding: 0 20px;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#login .login-form {
    background: white;
    padding: 50px 45px;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    border: none;
}

#login .login-form .form-group {
    margin-bottom: 45px;
}

#login .login-form label {
    display: block;
    margin-bottom: 12px;
    color: #363c2d;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
}

#login .login-form input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #414836;
    border-radius: 10px;
    font-size: 17px;
    color: #363c2d;
    background: #f5f5f5;
    transition: all 0.2s ease;
    height: 65px;
}

#login .login-form input::placeholder {
    color: #666666;
}

#login .login-form input:focus {
    outline: none;
    border-color: #414836;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(65, 72, 54, 0.1);
}

#login .login-form .submit-btn {
    width: 100%;
    padding: 18px;
    background: #414836;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 65px;
    margin-top: 20px;
    letter-spacing: 0.02em;
}

#login .login-form .submit-btn:hover {
    background: #363c2d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(65, 72, 54, 0.2);
}

#login .form-footer {
    margin-top: 20px;
    text-align: center;
}

#login .forgot-password {
    color: #363c2d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    opacity: 0.8;
}

#login .forgot-password:hover {
    color: #2e3425;
    opacity: 1;
    text-decoration: underline;
}

/* Contact page styles - Professional Design */
.contact-container {
    position: relative;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;  /* Reduce padding since we moved it to the section */
    display: flex;
    align-items: flex-start;  /* Changed from center to maintain title alignment */
    justify-content: space-between;
    gap: 60px;
    background: none;  /* Remove the gradient since we moved it to the section */
}

.contact-title-section {
    position: relative;
    flex: 1;
    max-width: 500px;
    padding-top: 0;
    align-self: flex-start;
    margin-top: 80px;
}

.contact-title-section .page-title {
    font-size: 56px;
    line-height: 1.1;
    margin: 0 0 24px 0;
    font-weight: 600;
    text-align: left;
    position: relative;
    left: -2px;
    color: #ffffff;
}

.contact-description {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 32px;
    opacity: 0.8;
    color: #ffffff;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-email span {
    font-size: 18px;
    color: #ffffff;
}

.contact-email a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
}

.contact-email a:hover {
    text-decoration: underline;
}

.contact-form-section {
    position: relative;
    flex: 1;
    max-width: 500px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #414836;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(65, 72, 54, 0.05);
    border: 2px solid rgba(65, 72, 54, 0.15);
    border-radius: 12px;
    color: #414836;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #414836;
    box-shadow: 0 0 0 3px rgba(65, 72, 54, 0.1);
    outline: none;
    background: rgba(65, 72, 54, 0.02);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #414836;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #363c2d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(65, 72, 54, 0.3);
}

@media (max-width: 992px) {
    #contact {
        padding: 100px 0;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    #contact {
        padding: 80px 0;
    }

    .contact-container {
        flex-direction: column;
        padding: 40px 15px;
        gap: 30px;
        width: 95%;
        margin-top: 90px;
    }

    .contact-form-section {
        padding: 30px 25px;
        max-width: 600px;
        width: 100%;
    }

    .contact-title-section {
        max-width: 600px;
        width: 100%;
        text-align: center;
    }

    .contact-title-section .page-title {
        font-size: 42px;
        text-align: center;
        left: 0;
    }
    
    .contact-description {
        font-size: 18px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #contact {
        padding: 60px 0;
    }
    
    .contact-container {
        width: 95%;
        gap: 30px;
    }

    .contact-form-section {
        padding: 25px 20px;
    }

    .contact-title-section .page-title {
        font-size: 32px;
    }
    
    .contact-description {
        font-size: 16px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 15px;
    }
}

.circular-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.circular-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 50px;
    border-radius: 50px;
    background: #fff;
    border: 2px solid #414836;
    color: #414836;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    padding: 10px 30px;
    letter-spacing: 0.02em;
}

.circular-btn:hover {
    background: #414836;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(65, 72, 54, 0.2);
}

.circular-btn.dark {
    background: #414836;
    color: #fff;
}

.circular-btn.dark:hover {
    background: #333;
    border-color: #333;
}

@media (max-width: 768px) {
    .circular-btn {
        min-width: 140px;
        height: 45px;
        font-size: 15px;
        padding: 8px 25px;
    }
    
    .circular-buttons {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .circular-btn {
        min-width: 120px;
        height: 40px;
        font-size: 14px;
        padding: 6px 20px;
    }
    
    .circular-buttons {
        margin-top: 25px;
        gap: 15px;
    }
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 2px solid rgba(65, 72, 54, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: #414836;
    border-color: #414836;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-size: 15px;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.7;
}

.contact-form-section {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.6s ease forwards;
}

.contact-title-section {
    transform: translateX(-20px);
    opacity: 0;
    animation: slideRight 0.6s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}