/* --- GLOBAL UTILS --- */
.section-padding { padding: 100px 20px; }
.hero-container { max-width: 1200px; margin: 0 auto; width: 100%; }

/* --- PAGE HERO BANNER --- */
.page-hero {
    position: relative;
    padding: 180px 20px 140px;
    background: linear-gradient(135deg, #0b2239 0%, #0ca395 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.2;
}
.relative-z { position: relative; z-index: 2; }
.page-hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; }
.page-hero p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* Angled Divider */
.custom-shape-divider-bottom {
    position: absolute; bottom: -1px; left: 0; width: 100%;
    overflow: hidden; line-height: 0; z-index: 3;
}
.custom-shape-divider-bottom svg { display: block; width: calc(100% + 1.3px); height: 70px; }
.custom-shape-divider-bottom .shape-fill { fill: #ffffff; }

/* --- BLOG CONTROLS (Filters & Search) --- */
.blog-section {
    background: #ffffff;
}
.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-categories {
    display: flex;
    list-style: none;
    gap: 15px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.blog-categories a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid #eaedf3;
    transition: all 0.3s ease;
}

.blog-categories a:hover {
    border-color: #0ca395;
    color: #0ca395;
}

.blog-categories a.active {
    background: #0ca395;
    color: white;
    border-color: #0ca395;
}

.blog-search {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #eaedf3;
    border-radius: 50px;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
}

.blog-search input {
    border: none;
    background: transparent;
    padding: 12px 20px;
    width: 100%;
    outline: none;
    color: #0b2239;
    font-size: 0.95rem;
}

.blog-search button {
    background: transparent;
    border: none;
    padding: 0 20px;
    color: #0ca395;
    cursor: pointer;
    font-size: 1.1rem;
}

/* --- FEATURED ARTICLE --- */
.featured-article {
    display: flex;
    background: #ffffff;
    border: 1px solid #eaedf3;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}

.featured-article:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.featured-img-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.featured-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-article:hover .featured-img-wrapper img {
    transform: scale(1.05);
}

.featured-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.featured-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}
.featured-content h2 a {
    text-decoration: none;
    color: #0b2239;
    transition: color 0.3s;
}
.featured-content h2 a:hover {
    color: #0ca395;
}

.featured-content p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.btn-primary {
    background: #0ca395;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}
.btn-primary:hover {
    background: #098a7d;
    box-shadow: 0 5px 15px rgba(12, 163, 149, 0.3);
}

/* --- BLOG GRID --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background: #ffffff;
    border: 1px solid #eaedf3;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.1);
}

/* Common Date Badge */
.news-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #0ca395;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(12, 163, 149, 0.3);
    z-index: 2;
}
.news-date-badge .day { display: block; font-size: 1.4rem; font-weight: 800; line-height: 1; }
.news-date-badge .month { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }

/* Content Area */
.news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-category {
    color: #1b84f5;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
}
.news-title a {
    text-decoration: none;
    color: #0b2239;
    transition: color 0.3s;
}
.news-card:hover .news-title a {
    color: #0ca395;
}

.news-excerpt {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b2239;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.read-more-btn i { font-size: 0.85rem; color: #0ca395; transition: transform 0.3s ease; }
.read-more-btn:hover { color: #0ca395; }
.read-more-btn:hover i { transform: translateX(5px); }

/* --- PAGINATION --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #eaedf3;
    color: #475569;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link.prev-next {
    width: auto;
    padding: 0 20px;
    gap: 8px;
}

.page-link:hover:not(.disabled) {
    border-color: #0ca395;
    color: #0ca395;
}

.page-link.active {
    background: #0ca395;
    color: white;
    border-color: #0ca395;
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
}

.page-dots {
    color: #94a3b8;
    font-weight: 700;
}

/* --- NEWSLETTER CTA --- */
.newsletter-cta {
    background: #0ca395;
    padding: 80px 20px;
    text-align: center;
    color: white;
    margin: 40px 20px;
    border-radius: 24px;
}
.newsletter-cta h2 { font-size: 2.5rem; margin-bottom: 15px; font-weight: 800; }
.newsletter-cta p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 35px; max-width: 600px; margin-inline: auto; }

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.newsletter-form input {
    flex-grow: 1;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    outline: none;
    font-size: 1rem;
    color: #0b2239;
}

.newsletter-form .btn-primary-large {
    background: #0b2239;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.newsletter-form .btn-primary-large:hover {
    background: #1b84f5;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-article { flex-direction: column; }
    .featured-img-wrapper { min-height: 300px; }
    .featured-content { padding: 40px; }
}

@media (max-width: 768px) {
    .page-hero h1 { font-size: 2.5rem; }
    .blog-controls { flex-direction: column; align-items: stretch; }
    .blog-search { max-width: 100%; margin-top: 15px; }
    .featured-content h2 { font-size: 1.8rem; }
    
    .newsletter-cta { padding: 60px 20px; margin: 20px; }
    .newsletter-form { flex-direction: column; border-radius: 16px; padding: 15px; background: transparent; box-shadow: none; gap: 15px; }
    .newsletter-form input { border-radius: 8px; padding: 15px; }
    .newsletter-form .btn-primary-large { border-radius: 8px; width: 100%; }
}

@media (max-width: 650px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-img-wrapper { height: 200px; }
}



/* --- GLOBAL UTILS --- */
.section-padding { padding: 100px 20px; }
.hero-container { max-width: 1200px; margin: 0 auto; width: 100%; }
.light-bg { background-color: #f8fafc; }
.sub-heading { color: #0ca395; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; display: block; margin-bottom: 10px; }

/* --- PAGE HERO BANNER --- */
.page-hero {
    position: relative;
    padding: 180px 20px 140px;
    background: linear-gradient(135deg, #0b2239 0%, #0ca395 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.2;
}
.relative-z { position: relative; z-index: 2; }
.page-hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; }
.page-hero p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* Angled Divider */
.custom-shape-divider-bottom {
    position: absolute; bottom: -1px; left: 0; width: 100%;
    overflow: hidden; line-height: 0; z-index: 3;
}
.custom-shape-divider-bottom svg { display: block; width: calc(100% + 1.3px); height: 70px; }
.custom-shape-divider-bottom .shape-fill { fill: #ffffff; }

/* --- CONTACT INFO CARDS --- */
.contact-info-section {
    background: #ffffff;
    margin-top: -30px;
}

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

.info-card {
    background: #ffffff;
    border: 1px solid #eaedf3;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: #0ca395;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: #e6f7f5;
    color: #0ca395;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: 0.3s;
}

.info-card:hover .info-icon {
    background: #0ca395;
    color: white;
}

.info-card h3 {
    font-size: 1.3rem;
    color: #0b2239;
    margin-bottom: 15px;
}

.info-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.info-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1b84f5;
    text-decoration: none;
    transition: 0.3s;
}

.info-link:not(.text-static):hover {
    color: #0b2239;
}

.info-link.text-static {
    cursor: default;
    color: #0b2239;
}

/* --- FORM & MAP LAYOUT --- */
.form-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid #eaedf3;
}

/* --- CONTACT FORM --- */
.form-container {
    padding: 50px;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #0b2239;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-header p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0b2239;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 0.95rem;
    color: #0b2239;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230ca395%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #0ca395;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(12, 163, 149, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: #0ca395;
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #098a7d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 163, 149, 0.3);
}

/* --- GOOGLE MAP --- */
.map-container {
    width: 100%;
    min-height: 400px;
    position: relative;
    background: #eaedf3; /* Placeholder color before map loads */
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .form-map-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        height: 400px; /* Fixed height when stacked */
    }
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero h1 { font-size: 2.5rem; }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 40px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}