/* --- Sections General --- */
section .mid_container {
    width: 80%;
    margin: auto auto;
}

/* --- Hero Section --- */
#hero {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(./images/nuwara.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero .mid_container {
    color: #fff;
}

#hero .mid_container h1 {
    font-size: 70px;
}

#hero .mid_container h2 {
    font-size: 30px;
    font-weight: 300;
}

.cta_hero {
    margin-top: 5vh;
    padding: 10px 3vh;
    font-size: 16px;
    background-color: #1D7341;
    border: solid 1px #1D7341;
    color: #fff;
    transition: 0.4s;
    cursor: pointer;
    font-weight: 600;
}

.cta_hero:hover {
    background-color: #fff;
    color: #444;
}

/* --- About Section --- */
#about {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10vh 0vh;
}

#about .mid_container .col_container {
    width: 100%;
    display: flex;
    align-items: center;
}

#about .mid_container .col_container .col-1 {
    flex: 1;
    margin: 2vh;
}

#about .mid_container .col_container .side_logo,
#about .mid_container .col_container .side_logo img {
    width: 450px;
    text-align: center;
}

#about .mid_container .col_container .content p {
    margin-bottom: 1vh;
}

@media screen and (max-width: 600px) {
    #about .mid_container .col_container {
        flex-direction: column;
    }

    #about .mid_container .col_container .side_logo img {
        width: 300px;
        text-align: center;
    }
}

/* --- Sectors Section --- */
#sectors {
    padding: 10vh 0;
    background-color: #f8f9fa;
    /* Light grey background */
}

#sectors .section_title {
    text-align: center;
    margin-bottom: 5vh;
}

.sector_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns */
    gap: 20px;
}

.sector_card {
    position: relative;
    height: 450px;
    /* Tall vertical box */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Overlay: Dark by default, Green on hover */
.sector_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    /* Gradient at bottom */
    transition: all 0.4s ease;
    z-index: 1;
}

.sector_card:hover::before {
    background: rgba(29, 115, 65, 0.9);
    /* #1D7341 with opacity */
}

/* Content Container */
.sector_content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    color: white;
    transform: translateY(80px);
    /* Push down initially so only Title shows */
    transition: transform 0.4s ease;
}

.sector_card:hover .sector_content {
    transform: translateY(0);
    /* Slide up on hover */
}

/* Typography */
.sector_content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.sector_content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.4s ease 0.1s;
    /* Slight delay */
}

.sector_content a {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid white;
    opacity: 0;
    /* Hidden by default */
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
}

/* Reveal Text on Hover */
.sector_card:hover .sector_content p,
.sector_card:hover .sector_content a {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media screen and (max-width: 1024px) {
    .sector_grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on Tablet */
    }
}

@media screen and (max-width: 600px) {
    .sector_grid {
        grid-template-columns: 1fr;
        /* 1 Column on Mobile */
    }

    .sector_card {
        height: 350px;
        /* Shorter cards on mobile */
    }
}

/* --- Partnership / Contact Section --- */
#partnerships {
    padding: 10vh 0;
    background-color: #f4f6f8;
    /* Very light grey for contrast */
}

.contact_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Vertically center */
    gap: 50px;
}

/* Left Column Styling */
.contact_text {
    flex: 1;
}

.contact_text .section_title {
    color: #1D7341;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.contact_text .cta_highlight {
    font-size: 36px;
    line-height: 1.2;
    color: #0B214B;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact_text .intro_text {
    color: #555;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.partner_list {
    list-style: none;
}

.partner_list li {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.partner_list li .check {
    color: #1D7341;
    margin-right: 15px;
    font-weight: bold;
    font-size: 20px;
}

/* Right Column: Form Card */
.form_card {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.inquiry_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input_row {
    display: flex;
    gap: 20px;
}

.input_group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input_group label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.input_group input,
.input_group select,
.input_group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s;
    background-color: #fafafa;
    width: 100%;
}

.input_group input:focus,
.input_group select:focus,
.input_group textarea:focus {
    outline: none;
    border-color: #1D7341;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(29, 115, 65, 0.1);
}

.submit_btn {
    background-color: #1D7341;
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.submit_btn:hover {
    background-color: #14522d;
}

/* --- Responsive --- */
@media screen and (max-width: 900px) {
    .contact_wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .contact_text {
        text-align: center;
    }

    .partner_list {
        display: inline-block;
        text-align: left;
    }

    .form_card {
        width: 100%;
        padding: 25px;
    }
}

@media screen and (max-width: 600px) {
    .input_row {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- Logistics & Infrastructure Section --- */
#logistics {
    position: relative;
    padding: 12vh 0;
    /* Background Image with Dark Blue Overlay */
    background-image: linear-gradient(rgba(11, 33, 75, 0.92), rgba(11, 33, 75, 0.92)), url('./images/ship.png');
    /* Note: You can reuse 'ship.png' or use a warehouse image here */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect for professional feel */
    color: white;
}

#logistics .section_header {
    text-align: center;
    margin-bottom: 8vh;
}

#logistics .section_header h2 {
    color: white;
    margin-bottom: 15px;
}

#logistics .section_header p {
    font-size: 18px;
    color: #aab7c4;
    /* Light blue-grey for subtitle */
    max-width: 600px;
    margin: 0 auto;
}

.logistics_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Individual Item Card */
.logistics_item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.logistics_item:hover {
    transform: translateY(-10px);
    /* Subtle lift on hover */
}

/* Icon Styling */
.logistics_item .icon_box {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.logistics_item:hover .icon_box {
    background-color: #1D7341;
    /* Brand Green on Hover */
    border-color: #1D7341;
}

.logistics_item .icon_box svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

/* Text Styling */
.logistics_item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.logistics_item p {
    font-size: 14px;
    color: #cfd8dc;
    line-height: 1.6;
}

/* --- Responsive --- */
@media screen and (max-width: 1024px) {
    .logistics_grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 Grid on Tablet */
        gap: 50px;
    }
}

@media screen and (max-width: 600px) {
    .logistics_grid {
        grid-template-columns: 1fr;
        /* Stack vertically on Mobile */
        gap: 40px;
    }

    #logistics {
        padding: 8vh 0;
    }
}

/* --- Sustainability Section --- */
#sustainability {
    padding: 10vh 0;
    background-color: #fff;
    text-align: center;
}

#sustainability .section_header {
    margin-bottom: 8vh;
}

#sustainability .section_header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 15px auto 0 auto;
}

/* Strategic Pillars Grid */
.sust_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 8vh;
}

.sust_card {
    background: #f9fdfa;
    /* Very faint green tint */
    padding: 40px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef5f0;
}

.sust_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(29, 115, 65, 0.1);
    border-color: #1D7341;
}

.sust_icon {
    font-size: 40px;
    color: #1D7341;
    margin-bottom: 20px;
}

.sust_card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #0B214B;
    font-weight: 600;
}

.sust_card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Green Goals Banner */
.green_goals_banner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #1D7341;
    padding: 40px;
    border-radius: 12px;
    color: white;
    flex-wrap: wrap;
    gap: 20px;
}

.goal_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.goal_item i {
    font-size: 32px;
    color: #fff;
    /* White icons on green bg */
    opacity: 0.9;
}

.goal_item span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Responsive --- */
@media screen and (max-width: 1024px) {
    .sust_grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on Tablet */
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .green_goals_banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    .goal_item {
        flex-direction: row;
        /* Horizontal alignment on mobile list */
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 10px;
    }

    .goal_item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 600px) {
    .sust_grid {
        grid-template-columns: 1fr;
        /* Stack vertically on Mobile */
    }
}