/* ==================== ABOUT US HERO STYLES ==================== */
.about-hero-section {
    position: relative;
    width: 100%;
    height: 390px;
    background-image: url('../images/about/hero.jpg'); /* You can change this to the exact worker image path */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    font-family: var(--font-main, 'Segoe UI', sans-serif);
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark green overlay to match the image you provided */
    background: rgba(43, 85, 59, 0.568); 
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
    padding: 0 15px;
    margin-left: 60px; /* Resetting just in case */
}

.about-hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-hero-content p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 500px;
    font-weight: 500;
    opacity: 0.95;
    margin: 0;
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
    .about-hero-section {
        height: 350px;
    }
    
    .about-hero-content h1 {
        font-size: 38px;
    }
    
    .about-hero-content p {
        font-size: 14px;
        max-width: 100%;
    }
}


/* ==================== VISION & MISSION SECTION STYLES ==================== */
.vision-mission-section {
    width: 100%;
    /* මෙහි container එකක් නැත, screen එකේ සම්පූර්ණ පළලටම (Full-width) විහිදේ */
    font-family: var(--font-main, 'Segoe UI', sans-serif);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* සමාන තීරු 4ක් */
    width: 100%;
}

.vm-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
    min-height: 400px; /* කොටු වල අවම උස */
}

/* Background Colors */
.vm-vision-bg {
    background-color: #a3b856; /* Olive/Yellow-Green color from image */
}

.vm-mission-bg {
    background-color: #eefae1; /* Very light pale green color from image */
}

/* Text Colors */
.text-white {
    color: #ffffff !important;
}

.text-dark {
    color: #1a2b22 !important; /* Dark text for Mission */
}

/* Typography */
.vm-heading {
    font-family: 'Times New Roman', Times, serif; /* Premium serif font for titles */
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.vm-desc {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 90%; /* Text එක අයිනටම වදින එක නවත්වන්න */
}

/* Image Blocks */
.vm-image-block {
    padding: 0; /* පින්තූර වලට padding අවශ්‍ය නැත */
}

.vm-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* පින්තූරය කොටුවට හරියටම fill වෙන්න */
    display: block;
}

/* ==================== MOBILE RESPONSIVE ==================== */

/* Tablet View */
@media (max-width: 991px) {
    .vm-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet වලදී කොටු 2ක් වෙන්න */
    }
    
    .vm-block {
        min-height: 350px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr; /* Mobile වලදී එක යට එක වැටෙන්න */
    }
    
    .vm-block {
        padding: 50px 20px;
        min-height: 300px;
    }
    
    .vm-heading {
        font-size: 40px;
    }
}   



/* ==================== WHO WE ARE SECTION STYLES ==================== */
.who-we-are-section {
    background-image: url('../images/marine.jpg'); /* Background image added */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: Parallax effect for a modern look */
    position: relative;
    padding: 60px 0;
    font-family: var(--font-main, 'Segoe UI', sans-serif);
    z-index: 1;
}

/* Overlay to keep the text and cards readable */
.who-we-are-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(247, 249, 247, 0.815); /* Opacity reduced so image shows clearly */
    z-index: -1;
}

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

/* --- Header Area --- */
.wwa-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wwa-badge {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #063b27; /* Dark Green Text */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 20px;
}

.wwa-dot {
    width: 6px;
    height: 6px;
    background-color: #bbf24e; /* Lime Green Dot */
    border-radius: 50%;
    margin-right: 8px;
}

.wwa-heading {
    font-size: 42px;
    font-weight: 800;
    color: #063b27; /* Dark Green Heading */
    line-height: 1.2;
    margin: 0;
    letter-spacing: -1px;
}

/* --- Cards Grid --- */
.wwa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.wwa-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wwa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Card Top (Icon & Bug Image) */
.wwa-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.wwa-icon-circle {
    width: 65px;
    height: 65px;
    background-color: #dcf794; /* Light Lime Green Background */
    color: #063b27; /* Dark Green Icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.wwa-bug-img {
    max-width: 90px;
    height: auto;
    object-fit: contain;
}

/* Card Bottom (Gray Box with Text) */
.wwa-card-bottom {
    background-color: #f7f9f7; /* ලා අළු background එක (පිටත background එකට සමානයි) */
    border-radius: 16px;
    padding: 30px 25px;
    height: calc(100% - 90px); /* Fill remaining height */
    display: flex;
    flex-direction: column;
}

.wwa-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #063b27; /* Dark Green */
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.wwa-card-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 25px 0;
    flex-grow: 1; /* තල්ලු කරලා divider එක යටට යවන්න */
}

/* Divider Line */
.wwa-divider {
    height: 1px;
    background-color: #e0e5e0; /* ලා අළු ඉර */
    margin-bottom: 20px;
    width: 100%;
}

/* Tags Bottom Row */
.wwa-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wwa-tag {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #444444;
    font-weight: 600;
}

/* CSS වලින්ම හදපු කොළ පාට තිත් (Dots for tags) */
.wwa-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #bbf24e; /* Lime Green Dot */
    border-radius: 50%;
    margin-right: 6px;
}

/* ==================== MOBILE RESPONSIVE ==================== */

/* Tablet View */
@media (max-width: 991px) {
    .wwa-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet වලදී Cards 2ක් වෙන්න */
    }
    
    .wwa-heading {
        font-size: 36px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .who-we-are-section {
        padding: 60px 0;
    }

    .wwa-grid {
        grid-template-columns: 1fr; /* Mobile වලදී Cards එක යට එක වැටෙන්න */
    }
    
    .wwa-heading {
        font-size: 30px;
    }
    
    /* Mobile වලදී tags ටික ලස්සනට පේන්න පොඩි adjustment එකක් */
    .wwa-tags {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }
    
    .wwa-tag {
        margin-right: 15px;
    }
}

/* ==================== ASSOCIATES SECTION STYLES ==================== */
.associates-section {
    padding: 80px 0;
    background-color: #f1f4f1; /* Light gray-green background */
    font-family: var(--font-main, 'Segoe UI', sans-serif);
    position: relative;
    overflow: hidden;
}

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

.assoc-header {
    text-align: center;
    margin-bottom: 50px;
}

.assoc-badge {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #063b27;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.assoc-dot {
    width: 6px;
    height: 6px;
    background-color: #bbf24e;
    border-radius: 50%;
    margin-right: 8px;
}

.assoc-heading {
    font-size: 44px;
    font-weight: 800;
    color: #053b24;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.assoc-subheading {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
}

.assoc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 25px;
}

.assoc-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    cursor: pointer;
}

.assoc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.assoc-card-inner {
    text-align: center;
}

.assoc-icon-box {
    width: 70px;
    height: 70px;
    background-color: #053b24;
    color: #bbf24e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.assoc-card:hover .assoc-icon-box {
    background-color: #bbf24e;
    color: #053b24;
}

.assoc-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: #053b24;
    margin-bottom: 12px;
}

.assoc-info p {
    font-size: 14px;
    color: #888888;
    line-height: 1.5;
    margin-bottom: 18px;
}

.assoc-link-arrow {
    font-size: 14px;
    color: #053b24;
    opacity: 0.35;
    transition: all 0.3s ease;
}

.assoc-card:hover .assoc-link-arrow {
    opacity: 1;
    color: #bbf24e;
    transform: translateX(3px);
}

/* ==================== MOBILE RESPONSIVE ASSOCIATES ==================== */
@media (max-width: 1100px) {
    .assoc-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 768px) {
    .associates-section {
        padding: 50px 0;
    }
    
    .assoc-heading {
        font-size: 34px;
    }
    
    .assoc-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    
    .assoc-card {
        padding: 25px 30px;
    }
}

/* ==================== TESTIMONIAL SECTION STYLES ==================== */
.testimonial-section {
    padding: 20px 0;
    background-color: #f8f9fa; /* පිටත background එක ලා අළු */
    font-family: var(--font-main, 'Segoe UI', sans-serif);
}

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

/* Dark Green Box */
.ts-dark-box {
    background-color: #053b24; /* Dark Green Background */
    border-radius: 20px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Decorative Background Map Pattern */
.ts-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ලාවට පේන dot pattern එකක් */
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 1;
}

/* Flex Container inside the box */
.ts-content-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2; /* Pattern එකට උඩින් තියෙන්න */
}

/* --- Left Column: Image --- */
.ts-left-col {
    flex: 1;
}

.ts-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
}

.ts-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Floating White Card */
.ts-float-card {
    position: absolute;
    bottom: 20px;
    left: 20px; /* පින්තූරය ඇතුළෙම වම් පැත්තෙ යටින් */
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    min-width: 260px;
}

.ts-fc-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.ts-fc-score {
    font-size: 22px;
    font-weight: 800;
    color: #063b27;
}

.ts-fc-stars {
    color: #bbf24e; /* Lime Green */
    font-size: 14px;
    letter-spacing: 2px;
}

.ts-fc-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Overlapping Avatars */
.ts-avatars {
    display: flex;
    align-items: center;
}

.ts-avatars img,
.ts-avatar-plus {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    object-fit: cover;
    margin-left: -10px; /* Overlap effect */
}

.ts-avatars img:first-child {
    margin-left: 0;
}

.ts-avatar-plus {
    background-color: #bbf24e;
    color: #063b27;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.ts-fc-text {
    font-size: 12px;
    color: #666666;
    line-height: 1.3;
}

.ts-fc-text strong {
    font-size: 13px;
    color: #063b27;
    font-weight: 800;
}

/* --- Right Column: Text --- */
.ts-right-col {
    flex: 1.2;
}

/* Badge */
.ts-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.ts-dot {
    width: 6px;
    height: 6px;
    background-color: #bbf24e;
    border-radius: 50%;
    margin-right: 8px;
}

.ts-heading {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 15px 0;
    letter-spacing: -1px;
}

.ts-review-stars {
    color: #bbf24e; /* Lime Green */
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.ts-quote {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0 0 30px 0;
}

.ts-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15); /* Faint white line */
    margin-bottom: 25px;
}

/* Author Row & Slider */
.ts-author-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ts-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ts-author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.ts-author-text h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 3px 0;
}

.ts-author-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* Slider Dots */
.ts-slider-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ts-slider-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2); /* Inactive dot */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ts-slider-dot.active {
    width: 25px; /* දිගටි හැඩය (pill shape) */
    background-color: #bbf24e; /* Lime Green */
    border-radius: 10px;
}

/* ==================== MOBILE RESPONSIVE ==================== */

/* Tablet View */
@media (max-width: 991px) {
    .ts-content-flex {
        flex-direction: column; /* Tablet වලදී එක යට එක වැටෙන්න */
        gap: 50px;
    }
    
    .ts-img-wrapper {
        margin: 0 auto;
    }
    
    .ts-heading {
        font-size: 36px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 50px 0;
    }

    .ts-dark-box {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .ts-heading {
        font-size: 30px;
    }
    
    .ts-main-img {
        height: 350px;
    }
    
    /* Mobile වලදී floating card එකේ size එක හදන්න */
    .ts-float-card {
        left: 10px;
        right: 10px;
        bottom: 10px;
        min-width: auto;
    }
    
    .ts-author-row {
        flex-direction: column; /* Mobile වලදී slider dots ටික යටට යවන්න */
        align-items: flex-start;
        gap: 20px;
    }
}