/*
====================================================================
GLOBAL STYLES & RESETS
====================================================================
*/
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f8f8f8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2;
    color: #222;
}

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

a {
    text-decoration: none;
    color: inherit;
}

p {
    margin-bottom: 1em;
}

/* Utility classes */
.section-padded {
    padding: 80px 0;
    text-align: center;
}

.section-description {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555;
    line-height: 1.5;
}

.mt-40 {
    margin-top: 40px;
}

/*
====================================================================
HEADER SECTION STYLES
====================================================================
*/
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1a4a72; /* Dark blue background */
    padding: 15px 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #ffd700; /* Gold for logo text */
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-header .logo-icon {
    width: 30px;
    height: 30px;
    color: #ffd700; /* Gold for SVG icon */
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: #fff; /* White nav links */
    font-size: 1.0em;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffd700; /* Gold underline */
    transform: scaleX(0);
    transform-origin: bottom center;
    transition: transform 0.3s ease-out;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #ffd700; /* Gold on hover/focus */
    outline: none;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    transform: scaleX(1);
}

/* Hamburger menu toggle for mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff; /* White hamburger lines */
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff; /* White hamburger lines */
    position: absolute;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}


/*
====================================================================
BUTTON STYLES
====================================================================
*/
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 1.05em;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: #ffd700; /* Gold primary button */
    color: #1a4a72; /* Dark blue text on gold */
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.btn-secondary {
    background-color: #1a4a72; /* Dark blue secondary button */
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 74, 114, 0.2);
}

.btn-secondary:hover {
    background-color: #143a5c; /* Darker blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 74, 114, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(26, 74, 114, 0.1);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

/* Focus state for accessibility */
.btn:focus {
    outline: 3px solid rgba(255, 215, 0, 0.5); /* Gold outline for focus */
    outline-offset: 2px;
}


/*
====================================================================
HERO SECTION STYLES
====================================================================
*/
.hero-section {
    background: linear-gradient(135deg, #1a4a72 0%, #0e2a40 100%); /* Dark blue gradient */
    color: #fff;
    padding: 150px 0 120px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.hero-section .tagline {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    opacity: 0.9;
}

/*
====================================================================
INVESTMENT SECTION STYLES
====================================================================
*/
.investment-section {
    background-color: #fff;
}

.investment-section h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.investment-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-item .icon-circle {
    font-size: 3.5em;
    color: #1a4a72; /* Dark blue for icons */
    margin-bottom: 15px;
    line-height: 1;
}

.feature-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #1a4a72;
}

.feature-item p {
    font-size: 0.95em;
    color: #666;
}

/*
====================================================================
RECRUITMENT SECTION STYLES
====================================================================
*/
.recruitment-section {
    background-color: #e9f5ff; /* Light blue background */
}

.recruitment-section h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.recruitment-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-card h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #1a4a72;
}

.benefit-card p {
    font-size: 0.95em;
    color: #666;
}

/*
====================================================================
ABOUT US SECTION STYLES
====================================================================
*/
.about-section {
    background-color: #fff;
}

.about-section h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 1.5em auto;
    color: #555;
    line-height: 1.7;
}

/*
====================================================================
CONTACT SECTION STYLES
====================================================================
*/
.contact-section {
    background-color: #222;
    color: #fff;
}

.contact-section h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #fff;
}

.contact-info {
    margin-top: 40px;
    font-size: 1.1em;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: #ffd700; /* Gold for contact links */
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ffe666; /* Lighter gold on hover */
}


/*
====================================================================
FOOTER STYLES
====================================================================
*/
.main-footer {
    background-color: #1a1a1a;
    color: #bbb;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid #333;
}

/*
====================================================================
RESPONSIVE DESIGN (Media Queries)
====================================================================
*/

/* Tablet and smaller desktops */
@media (max-width: 992px) {
    .main-header .logo {
        font-size: 1.6em;
    }
    .main-nav ul {
        gap: 15px;
    }
    .main-nav a {
        font-size: 0.95em;
    }

    .hero-section h1 {
        font-size: 3em;
    }
    .hero-section .tagline {
        font-size: 1.2em;
    }

    .section-padded {
        padding: 60px 0;
    }

    h2 {
        font-size: 2.2em;
    }
    .section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .investment-features-grid,
    .recruitment-benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .feature-item,
    .benefit-card {
        padding: 25px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #1a4a72; /* Dark blue for mobile nav background */
        position: absolute;
        top: 70px;
        left: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease-out;
    }

    .main-nav.active {
        display: flex;
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .main-nav ul li {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .main-nav a {
        padding: 12px 20px;
        display: block;
        width: 100%;
        color: #fff; /* White links on dark blue mobile nav */
        font-size: 1.1em;
        border-bottom: 1px solid #2a5a82; /* Slightly lighter blue separator */
    }
    .main-nav a:last-child {
        border-bottom: none;
    }
    .main-nav a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-section {
        padding: 120px 0 80px 0;
        min-height: 60vh;
    }
    .hero-section h1 {
        font-size: 2.2em;
    }
    .hero-section .tagline {
        font-size: 1em;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95em;
    }

    .section-padded {
        padding: 40px 0;
    }

    h2 {
        font-size: 1.8em;
    }
    .section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .investment-features-grid,
    .recruitment-benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item,
    .benefit-card {
        padding: 20px;
    }
    .feature-item h3,
    .benefit-card h3 {
        font-size: 1.2em;
    }
    .feature-item p,
    .benefit-card p {
        font-size: 0.85em;
    }

    .about-section p,
    .contact-info p {
        font-size: 1em;
    }

    .contact-info {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .main-header .logo {
        font-size: 1.4em;
    }
    .hero-section h1 {
        font-size: 1.8em;
    }
    .hero-section .tagline {
        font-size: 0.9em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    h2 {
        font-size: 1.6em;
    }
    .section-description {
        font-size: 0.9em;
    }
}
