/* ==================== CONTACT PAGE HERO (matches About hero pattern) ==================== */
.contact-hero-section {
    position: relative;
    width: 100%;
    height: 390px;
    background-image: url('../images/about/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    font-family: var(--font-main, 'Segoe UI', sans-serif);
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 85, 59, 0.568);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
    padding: 0 15px;
    margin-left: 60px;
}

.contact-hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-hero-content p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 500px;
    font-weight: 500;
    opacity: 0.95;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-hero-section {
        height: 350px;
    }

    .contact-hero-content h1 {
        font-size: 32px;
        margin-left: -20px;
    }

    .contact-hero-content p {
        font-size: 14px;
        max-width: 100%;
        margin-left: -20px;
    }
}






/* ==================== INFO BANNER SECTION STYLES ==================== */
.info-banner-section {
    padding: 40px 0; /* උඩින් සහ යටින් ඉඩ (ඔයාට අවශ්‍ය නම් වෙනස් කරගන්න) */
    background-color: #ffffff; /* පිටත background එක */
    font-family: var(--font-main, 'Segoe UI', sans-serif);
}

.ib-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Dark Blue Banner Box */
.ib-box {
    background-color: #033041; /* පින්තූරයේ ඇති තද නිල්/කොළ (Dark Teal/Navy) වර්ණය */
    border-radius: 12px; /* කොන් රවුම් කිරීම */
    padding: 40px 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Grid Layout for 4 items */
.ib-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* සමාන තීරු 3ක් */
    gap: 20px;
}

/* Individual Item Layout */
.ib-item {
    display: flex;
    align-items: flex-start;
    gap: 15px; /* අයිකන් එක සහ text එක අතර පරතරය */
}

/* Green Icon */
.ib-icon {
    color: #2ea843; /* පින්තූරයේ ඇති දීප්තිමත් කොළ පැහැය */
    font-size: 32px;
    margin-top: 2px; /* Text එකත් එක්ක ලස්සනට align වෙන්න */
}

/* Text Content */
.ib-content h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.ib-content p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9; /* Text එක පොඩ්ඩක් soft වෙන්න */
}

/* ==================== MOBILE RESPONSIVE ==================== */

/* Desktop / Large Tablet */
@media (max-width: 1024px) {
    .ib-grid {
        gap: 15px;
    }
    
    .ib-content h4 {
        font-size: 16px;
    }
    
    .ib-content p {
        font-size: 13px;
    }
    
    .ib-icon {
        font-size: 26px;
    }
}

/* Tablet View */
@media (max-width: 850px) {
    .ib-box {
        padding: 40px;
    }

    .ib-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet වලදී තීරු 2ක් වෙන්න (2x2) */
        row-gap: 40px;
        column-gap: 20px;
    }
}

/* Mobile View */
@media (max-width: 576px) {
    .ib-box {
        padding: 30px 20px;
    }

    .ib-grid {
        grid-template-columns: 1fr; /* Mobile වලදී ඔක්කොම එක යට එක වැටෙන්න */
        row-gap: 30px;
    }
    
    .ib-item {
        justify-content: center; /* Mobile වලදී center කරන්න අවශ්‍ය නම් (දැනට left aligned) */
    }
}










/* ==================== CONTACT FORM & MAP SECTION STYLES ==================== */
.contact-map-section {
    padding: 40px 0;
    background-color: #ffffff;
    font-family: var(--font-main, 'Segoe UI', sans-serif);
}

.cm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: stretch; /* දෙපැත්ත සමාන උසකින් තියෙන්න */
    gap: 60px;
}

/* --- Shared Text Styles --- */
.cm-subtitle {
    display: block;
    color: #1b5219; /* Light Orange / Coral Color */
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.cm-heading {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a; /* Dark Gray / Black */
    line-height: 1.25;
    margin: 0 0 35px 0;
    letter-spacing: -0.5px;
}

/* --- Left Column: Form Box --- */
.cm-left-col {
    flex: 1.1; /* Form එකට පොඩි ඉඩක් වැඩියෙන් */
}

.cm-form-box {
    background-color: #ffffff;
    padding: 45px 40px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* ලස්සන shadow එකක් */
}

.cm-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Inputs අතර පරතරය */
}

.cm-form-row {
    display: flex;
    gap: 20px;
}

.cm-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cm-input-group.cm-full-width {
    width: 100%;
}

.cm-input-group label {
    font-size: 13px;
    font-weight: 800;
    color: #222222;
    margin-bottom: 8px;
}

.cm-input-group input,
.cm-input-group textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #a6e0cb; /* පින්තූරයේ ඇති ලා කොළ/නිල් පාට border එක */
    border-radius: 6px;
    font-size: 14px;
    color: #444444;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cm-input-group input::placeholder,
.cm-input-group textarea::placeholder {
    color: #bbbbbb; /* ලා අළු පාට placeholder */
}

/* Input එක click කරාම border එක dark green වෙනවා */
.cm-input-group input:focus,
.cm-input-group textarea:focus {
    border-color: #0eb570; /* Primary Green */
    box-shadow: 0 0 0 3px rgba(14, 181, 112, 0.1);
}

.cm-input-group textarea {
    resize: vertical;
}

.cm-submit-btn {
    width: 100%;
    background-color: #0eb570; /* Primary Green Color */
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 15px 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cm-submit-btn:hover {
    background-color: #0b965c; /* Hover කරාම ටිකක් dark වෙනවා */
    transform: translateY(-2px);
}

/* --- Right Column: Text & Map --- */
.cm-right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cm-right-col .cm-heading {
    margin-bottom: 25px;
}

.cm-desc {
    color: #888888; /* Light gray text */
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 30px 0;
}

.cm-map-wrapper {
    flex-grow: 1; /* ඉතුරු ඉඩ ඔක්කොම Map එකට දෙනවා */
    min-height: 250px;
    border-radius: 12px;
    overflow: hidden; /* Map එකේ කොන් round වෙන්න */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* ==================== MOBILE RESPONSIVE ==================== */

/* Tablet View */
@media (max-width: 991px) {
    .cm-container {
        flex-direction: column; /* Tablet වලදී එක යට එක වැටෙන්න */
        gap: 50px;
    }
    
    .cm-form-box {
        padding: 40px 30px;
    }
    
    .cm-map-wrapper {
        height: 350px; /* Tablet වලදී Map එකට උසක් දෙනවා */
        flex-grow: 0;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .contact-map-section {
        padding: 60px 0;
    }

    .cm-heading {
        font-size: 30px;
    }
    
    .cm-form-row {
        flex-direction: column; /* Mobile වලදී Input Fields එක යට එක වැටෙන්න */
        gap: 20px;
    }
    
    .cm-form-box {
        padding: 30px 20px;
    }
    
    .cm-map-wrapper {
        height: 300px;
    }
}









/* ==================== LOCATIONS SECTION STYLES ==================== */
.locations-section {
    padding: 60px 0;
    background-color: #60865818;
    font-family: var(--font-main, 'Segoe UI', sans-serif);
}

.loc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.loc-header {
    text-align: center;
    margin-bottom: 60px;
}

.loc-badge {
    display: inline-flex;
    align-items: center;
    background-color: #e4e4e4;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #063b27;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 20px;
}

.loc-dot {
    width: 6px;
    height: 6px;
    background-color: #bbf24e;
    border-radius: 50%;
    margin-right: 8px;
}

.loc-heading {
    font-size: 42px;
    font-weight: 700;
    color: #063b27;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -1px;
}

.loc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.loc-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 0; /* Remove padding to let map go edge-to-edge at top */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensure map corners are rounded */
}

.loc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: #bbf24e;
}

.loc-map-top {
    width: 100%;
    height: 200px;
    background-color: #f1f4f1;
}

.loc-map-top iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.loc-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.loc-title {
    font-size: 18px;
    font-weight: 600;
    color: #063b27;
    margin: 0 0 15px 0;
}

.loc-divider {
    width: 40px;
    height: 3px;
    background-color: #bbf24e;
    border-radius: 2px;
    margin-bottom: 20px;
}

.loc-address {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.loc-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loc-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #063b27;
    font-weight: 700;
}

.loc-contact-item i {
    color: #bbf24e;
    font-size: 14px;
}

/* ==================== MOBILE RESPONSIVE LOCATIONS ==================== */

@media (max-width: 991px) {
    .loc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .locations-section {
        padding: 60px 0;
    }

    .loc-heading {
        font-size: 32px;
    }

    .loc-grid {
        grid-template-columns: 1fr;
    }
    
    .loc-card-body {
        padding: 30px 25px;
    }
}

/* ==================== FAQ SECTION STYLES ==================== */
.faq-section {
    padding: 40px 0;
    background-color: #ffffff;
    font-family: var(--font-main, 'Segoe UI', sans-serif);
}

.faq-container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
}

/* Main heading — same typography as .cm-heading (form / map section titles) */
.faq-main-heading {
    text-align: center;
    font-family: inherit;
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 36px 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

/* Accordion Container */
.faq-accordion {
    display: flex;
    flex-direction: column;
}

/* Individual FAQ Item */
.faq-item {
    border-bottom: 1px solid #eaeaea; 
    background-color: #ffffff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}


.faq-item.active {
    background-color: #eaf5e1; 
    border-bottom: 3px solid #3ca825; 
}

/* Header Area (Clickable) */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 32px;
    cursor: pointer;
}

.faq-title-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Big Numbers (01, 02) */
.faq-number {
    font-family: var(--font-main, 'Segoe UI', sans-serif);
    font-size: 32px;
    font-weight: 700;
    color: #213038; /* Dark Color */
}

/* Question Text */
.faq-question {
    font-family: var(--font-main, 'Segoe UI', sans-serif);
    font-size: 17px;
    font-weight: 700;
    color: #213038;
    margin: 0;
}

/* Chevron Icon */
.faq-icon {
    font-size: 14px;
    color: #777777;
    transition: transform 0.3s ease;
}

/* Answer Body */
.faq-body {
    display: none; 
    padding: 0 32px 28px 98px; 
}

.faq-item.active .faq-body {
    display: block;
}

.faq-body p {
    font-family: var(--font-main, 'Segoe UI', sans-serif); 
    font-size: 13px;
    color: #555555;
    line-height: 1.65;
    margin: 0;
}

/* ==================== MOBILE RESPONSIVE ==================== */

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-main-heading {
        font-size: 30px;
    }
    
    .faq-header {
        padding: 16px 18px;
    }
    
    .faq-title-wrap {
        gap: 12px;
    }
    
    .faq-number {
        font-size: 24px;
    }
    
    .faq-question {
        font-size: 15px;
    }
    
    .faq-body {
        /* Mobile වලදී ඉඩ මදි නිසා text එක ඉස්සරහටම ගන්නවා */
        padding: 0 20px 25px 20px; 
    }
}