/* ---------------------------------- */
/* GLOBAL STYLES & VARIABLES          */
/* ---------------------------------- */
:root {
    --primary-color: #005A9C; /* A professional blue */
    --primary-color-dark: #003B64; 
    --secondary-color: #FDB813; /* A vibrant yellow/gold accent */
    --dark-text: #333333;
    --light-text: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --header-bg: #ffffff;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Lato', sans-serif;
}
html, body { overflow-x: hidden; }
body {
    font-family: var(--font-primary);
    margin: 0;
    background: var(--bg-white);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
}

.btn {
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-primary:hover {
    background-color: #00487d;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}


/* ---------------------------------- */
/* HEADER & NAVIGATION                */
/* ---------------------------------- */
.main-header {
    background-color: var(--header-bg);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { display: flex; align-items: center; text-decoration: none; color: var(--dark-text); }
.logo-graphic { width: 45px; height: 45px; margin-right: 12px; background-color: var(--primary-color); border-radius: 8px; }
.logo-text { font-family: var(--font-secondary); font-weight: 700; line-height: 1.2; text-transform: uppercase; }

.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; }
.main-nav li { margin: 0 18px; }
.main-nav a { color: var(--dark-text); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; padding-bottom: 5px; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
.main-nav a:hover::after { width: 100%; }

.header-cta .btn { padding: 10px 20px; font-size: 14px; }

.h1-title-page{
    font-size: 2.5rem !important; /* Mobile first - smaller size */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

.p-sub-title-page{
    font-size: 1.1rem !important; /* Mobile first - smaller size */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* Tablet and up */
@media (min-width: 768px) {
    .h1-title-page { font-size: 4.5rem !important; }
    .p-sub-title-page { font-size: 1.3rem !important; }
}

/* Desktop and up */
@media (min-width: 992px) {
    .h1-title-page { font-size: 7rem !important; }
    .p-sub-title-page { font-size: 1.5rem !important; }
}


.h1-title-home-page{
    font-size: 2.2rem !important; /* Mobile first - smaller size */
    /* text-shadow: 2px 2px 6px rgba(0,0,0,0.8); */
}

.p-sub-title-home-page{
    font-size: 1rem !important; /* Mobile first - smaller size */
    /* text-shadow: 1px 1px 4px rgba(0,0,0,0.7); */
}

/* Tablet and up */
@media (min-width: 768px) {
    .h1-title-home-page { font-size: 2.7rem !important; }
    .p-sub-title-home-page { font-size: 1.3rem !important; }
}

/* Desktop and up */
@media (min-width: 992px) {
    .h1-title-home-page { font-size: 3.5rem !important; }
    .p-sub-title-home-page { font-size: 1.5rem !important; }
}

.section-title-blue{
    color: #1C4F7F;
}
#company_text_color{
    color: #1F619E;
}
.blight_text_color{
    color: #33A1E0;
}

/* Responsive logo wrapper */
.logo-header { width: 48px; height: 48px; }           /* mobile */
@media (min-width: 576px) { .logo-header { width: 56px; height: 56px; } }  /* sm */
@media (min-width: 992px) { .logo-header { width: 70px; height: 70px; } }  /* lg+ */

/* Make the image fill the circle */
.logo-header img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------------------------- */
/* HERO SECTION (SME)                 */
/* ---------------------------------- */
.hero-sme {
    background-color: var(--bg-light);
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-text { flex: 1; }
.hero-text h1 { font-size: 44px; line-height: 1.3; margin-bottom: 20px; }
.hero-text p { font-size: 18px; color: var(--light-text); margin-bottom: 30px; }
.hero-cta { display: flex; gap: 15px; }
.hero-image { flex: 1; text-align: right; }
.hero-image img { max-width: 100%; height: auto; border-radius: 12px; }

/* Responsive hero photo */
/* .hero-photo { width: 100%; height: auto; object-fit: cover; display: block; } */
/* Show full image inside its box (no crop) */
.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* was cover */
    display: block;
    background-color: #f8f9fa; /* optional: fills the empty letterbox space */
}

.hero-photo--cover { object-fit: cover; }
.hero-photo--contain { object-fit: contain; }

/* Mobile/tablet: limit height */
@media (max-width: 991.98px) {
  .hero-photo { max-height: 260px; }
}

/* Desktop: fill the column height */
@media (min-width: 992px) {
  .hero-photo { height: 100%; max-height: none; }
}

/* Mobile: remove custom border */
@media (max-width: 767.98px) {
    .border-custom { border-bottom: 0 !important; }
}

.border-custom { border-bottom: 0; }

@media (min-width: 992px) {
    .border-custom { border-bottom: 2px solid #1C4F7F; }
}

/* ---------------------------------- */
/* WHO WE WORK                        */
/* ---------------------------------- */
.box-who-we-work{
    background: linear-gradient(to bottom, #4184C0, #4386C2); color: #FFFFFF;
}
.icon-who-we-work{
    color: #FFFFFF;
}

/* ---------------------------------- */
/* CLIENT LOGOS                       */
/* ---------------------------------- */
.client-logos {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
}
.client-logos p {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.logos-carousel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    filter: grayscale(100%);
    opacity: 0.7;
}

/* ---------------------------------- */
/* SERVICES SNAPSHOT                  */
/* ---------------------------------- */
.services-snapshot {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}
.services-snapshot h2 { font-size: 36px; margin-bottom: 40px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}
.service-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.service-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}
.service-item h3 { margin-bottom: 10px; font-size: 20px; }
.service-item p { color: var(--light-text); font-size: 15px; }

.icon-services{
    font-size: 3.5rem; 
    color: #1C4F7F;
}
.icon-tools{
    font-size: 3.5rem; 
}

/* ---------------------------------- */
/* WHY CHOOSE US                      */
/* ---------------------------------- */
.why-choose-us {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}
.why-choose-us h2 { font-size: 36px; margin-bottom: 40px; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.why-item h3 { font-size: 22px; margin-bottom: 10px; }
.why-item p { color: var(--light-text); }


.why-item h3 { font-size: 22px; margin-bottom: 10px; }
.why-item p { color: var(--light-text); }

/* ---------------------------------- */
/* GENERIC PAGE HEADER                */
/* ---------------------------------- */
.page-header {
    background-color: var(--bg-light);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.page-header h1 {
    font-size: 40px;
    margin-bottom: 10px;
}
.page-header p {
    font-size: 18px;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.home-text-color{
    color: #1C4F7F;
}
.home-background-color{
    background-color: #1C4F7F;
    border-color: #1A466F;
    color: #ffffff;
}
.home-background-color:hover,
.home-background-color:focus,
.home-background-color:active {
  background-color: #1A466F;
  border-color: #1A466F;
  color: #fff;
  box-shadow: none;
}
/* ---------------------------------- */
/* SERVICES PAGE                      */
/* ---------------------------------- */
.services-page {
    padding: 80px 0;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.service-card-icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    flex-grow: 1; /* Pushes price/button down */
}

.service-card p {
    color: #000000;
    margin-bottom: 25px;
    flex-grow: 2; /* Pushes price/button down */
}

.service-card-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: var(--font-secondary);
}
.page-header-home{
    background: url('../images/homepage_bg.png') center center/cover no-repeat;
    position: relative;
}
.page-header-services{
    background: url('../images/services_bg.png') center center/cover no-repeat;
    position: relative;
}
.page-header-about-us{
    background: url('../images/hero-image.png') center center/cover no-repeat;
    position: relative;
}
.page-header-contact-us{
    background: url('../images/contact_us_bg.png') center center/cover no-repeat;
    position: relative;
}
.page-header-dark{
    background: rgba(0, 0, 0, 0.5); position: absolute; inset: 0;
}
.text-ul-left{
    text-align: left !important;
}
/* ---------------------------------- */
/* PRICING PAGE                       */
/* ---------------------------------- */
.pricing-page {
    padding: 80px 0;
}

.pricing-table {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    overflow: hidden; /* Ensures the border-radius is respected by children */
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.pricing-header, .pricing-row, .pricing-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* 1st column is wider */
    align-items: center;
    border-bottom: 1px solid #e9e9e9;
}

.pricing-row:last-child {
    border-bottom: none;
}

.header-cell, .feature-cell, .plan-cell {
    padding: 20px;
    text-align: center;
}

.header-cell {
    background-color: var(--bg-light);
}

.header-cell h4 {
    font-size: 20px;
    margin: 0 0 5px 0;
}

.header-cell .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.header-cell .per-month {
    font-size: 14px;
    color: var(--light-text);
}

.feature-cell {
    text-align: left;
    font-weight: 600;
}

.pricing-body .plan-cell {
    font-family: var(--font-secondary);
    font-weight: 600;
}

.pricing-body .check {
    font-size: 20px;
    color: #28a745; /* A friendly green */
}

.pricing-body .cross {
    font-size: 20px;
    color: #dc3545; /* A soft red */
}

.pricing-footer {
    border-bottom: none;
    padding: 10px 0; /* Less padding for the footer */
}

.pricing-footer .btn {
    width: 90%;
    padding: 12px;
}

.pricing-footer .btn {
    width: 90%;
    padding: 12px;
}

/* ---------------------------------- */
/* ABOUT US PAGE                      */
/* ---------------------------------- */
.about-page {
    padding: 80px 0;
}

.about-section {
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 17px;
    line-height: 1.8;
    color: #000000;
}

.mission-vision-box{
    padding: 3rem;             
    border-radius: 0.375rem;    
    height: 100%;               
    background-color: #ffffff;  
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    border-top: 5px solid #154D71; 
}


.mission-vision-header{
    color: #154D71;
}

.mission-statement {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    margin-top: 60px;
}

.mission-statement h3 {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--light-text);
    letter-spacing: 1px;
}

.mission-statement blockquote {
    margin: 10px 0 0 0;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    font-style: italic;
    color: var(--dark-text);
}

.team-section {
    text-align: center;
}

.team-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member-card {
    text-align: center;
}

.team-photo-placeholder {
    width: 180px;
    height: 180px;
    background-color: #e9e9e9;
    border-radius: 50%; /* Makes it a circle */
    margin: 0 auto 20px auto;
    /* In a real project, you would use an <img> tag here */
}

.team-member-card h4 {
    font-size: 20px;
    margin: 0 0 5px 0;
}

.team-member-card .title {
    color: var(--light-text);
    font-weight: 500;
}

.team-member-card .title {
    color: var(--light-text);
    font-weight: 500;
}

/* ---------------------------------- */
/* CONTACT PAGE                       */
/* ---------------------------------- */
.contact-page {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Left column is wider */
    gap: 50px;
}

.contact-form-container h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 15px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 16px;
    box-sizing: border-box; /* Important for 100% width */
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 90, 156, 0.2);
}
.contact-form-container button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* Alert Messages */
.alert { padding: 15px; margin-bottom: 20px; border-radius: 6px; }
.alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }


/* Contact Details & Map */
.contact-details-box {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.contact-details-box h4 { margin-top: 0; font-size: 20px; }
.contact-details-box p { margin-bottom: 15px; color: var(--light-text); }
.social-buttons { margin-top: 20px; }
.btn-social {
    display: block;
    padding: 12px;
    margin-bottom: 10px;
    text-align: center;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
.btn-social.viber { background-color: #665CAC; }
.btn-social.meeting { background-color: #20A2A6; }

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--light-text);
}


/* ---------------------------------- */
/* FAQ SECTION                        */
/* ---------------------------------- */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}
.faq-section h2 { text-align: center; font-size: 36px; margin-bottom: 40px; }
.faq-item {
    max-width: 750px;
    margin: 0 auto 15px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}
.faq-item summary {
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
    position: relative;
    list-style: none; /* Removes default arrow */
}
.faq-item summary::-webkit-details-marker { display: none; } /* For Chrome/Safari */
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.2s;
}
.faq-item details[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: var(--light-text);
    line-height: 1.7;
}

.faq-item p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: var(--light-text);
    line-height: 1.7;
}

/* ---------------------------------- */
/* ANIMATIONS                         */
/* ---------------------------------- */

/* Page Load Fade-in */
body {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

body.fade-in {
    opacity: 1;
}

/* Scroll-triggered animation setup */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* State when animation is triggered */
.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Enhancing existing hover effects */
.service-card, .btn {
    transition: all 0.3s ease-in-out; /* Ensures all transitions are smooth */
}

/* Vision & Mission Section - Modern Card Style */
.vision-mission-home {
    background: var(--bg-light);
    padding: 80px 0 60px 0;
}

.vision-mission-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.vision-mission-card {
    flex: 1 1 340px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    padding: 40px 32px;
    margin: 0;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.vision-card {
    border-top: 4px solid var(--primary-color);
}

.mission-card {
    border-top: 4px solid var(--secondary-color);
    background: #f7f8fa;
}

.vision-mission-card h3 {
    font-family: var(--font-secondary);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-card h3 {
    color: var(--secondary-color);
}

.vision-mission-card p,
.vision-mission-card ul {
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.7;
    margin: 0;
}

.vision-mission-card ul {
    padding-left: 20px;
    margin-top: 0;
}

.vision-mission-card ul li {
    margin-bottom: 12px;
    list-style: disc inside;
}

@media (max-width: 900px) {
    .vision-mission-cards {
        flex-direction: column;
        gap: 24px;
    }
    .vision-mission-card {
        max-width: 100%;
    }
}

/* Why Choose the Philippines Section */
.why-ph {
    background: #fff;
    padding: 70px 0 60px 0;
    text-align: center;
}

.why-ph h2 {
    font-size: 32px;
    color: var(--primary-color, #3a2d2b);
    margin-bottom: 40px;
    font-family: var(--font-secondary, 'Lato', sans-serif);
    font-weight: 700;
}

.why-ph-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.why-ph-item {
    background: #faf9f7;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    padding: 32px 24px 24px 24px;
    width: 230px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}

.why-ph-item:hover {
    box-shadow: 0 8px 24px rgba(83,34,29,0.10);
}

.why-ph-icon {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-ph-title {
    font-size: 17px;
    font-weight: 700;
    color: #3a2d2b;
    margin-bottom: 8px;
    font-family: var(--font-secondary, 'Lato', sans-serif);
}

.why-ph-desc {
    font-size: 15px;
    color: #555;
    font-family: var(--font-primary, 'Poppins', sans-serif);
}

@media (max-width: 900px) {
    .why-ph-grid {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .why-ph-item {
        width: 100%;
        max-width: 350px;
    }
}

/* Certified Cloud Accountants Section */
.expertise-section {
    background: #faf9f7;
    padding: 70px 0 30px 0;
}

.expertise-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.expertise-info {
    flex: 1 1 400px;
    max-width: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.expertise-icon {
    margin-bottom: 18px;
}

.expertise-info h3 {
    font-size: 24px;
    color: #3a2d2b;
    font-family: var(--font-secondary, 'Lato', sans-serif);
    margin-bottom: 18px;
    font-weight: 700;
}

.expertise-info ul {
    padding-left: 20px;
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.expertise-info ul li {
    margin-bottom: 10px;
}

.expertise-image {
    flex: 1 1 320px;
    max-width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    object-fit: cover;
}

.expertise-divider {
    margin: 50px auto 0 auto;
    border: none;
    border-top: 1.5px solid #bdaea6;
    width: 60%;
}

@media (max-width: 900px) {
    .expertise-grid {
        flex-direction: column;
        gap: 32px;
    }
    .expertise-info, .expertise-image {
        max-width: 100%;
    }
    .expertise-divider {
        width: 90%;
    }
}

/* Why Outsource Your Bookkeeping Section */
.outsource-section {
    background: #fff;
    padding: 70px 0 60px 0;
}

.outsource-header {
    text-align: center;
    margin-bottom: 40px;
}

.outsource-icon {
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
}

.outsource-header h3 {
    font-size: 28px;
    color: #3a2d2b;
    font-family: var(--font-secondary, 'Lato', sans-serif);
    margin-bottom: 12px;
    font-weight: 700;
}

.outsource-lead {
    font-size: 17px;
    color: #555;
    margin-bottom: 0;
}

.outsource-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.outsource-image {
    position: relative;
    flex: 1 1 320px;
    max-width: 340px;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outsource-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    object-fit: cover;
}

.outsource-waves {
    position: absolute;
    left: -30px;
    bottom: -20px;
    z-index: 1;
}

.outsource-benefits {
    flex: 2 1 400px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
}

.outsource-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    color: #333;
    background: #faf9f7;
    border-radius: 10px;
    padding: 22px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.outsource-bullet {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #53221d;
    margin-top: 4px;
    flex-shrink: 0;
    display: inline-block;
}

@media (max-width: 900px) {
    .outsource-content {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    .outsource-image, .outsource-benefits {
        max-width: 100%;
    }
}

/* Affiliations / Global Network Section */
.affiliations-section {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}

.affiliations-section h2 {
    font-size: 28px;
    color: #3a2d2b;
    font-family: var(--font-secondary, 'Lato', sans-serif);
    margin-bottom: 36px;
    font-weight: 700;
    letter-spacing: 1px;
}

.affiliations-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.affiliations-logos img {
    max-height: 60px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(0.2) brightness(0.95);
    transition: filter 0.2s;
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
}

.affiliations-logos img:hover {
    filter: none;
    background: #f5e9d9;
}
@media (max-width: 900px) {
    .affiliations-logos {
        gap: 24px;
    }
    .affiliations-logos img {
        max-width: 120px;
        max-height: 40px;
    }
}

/* Footer Styles - Harmonized with Header */
.site-footer {
    /* background-color: #3a2d2b; */
    background-color: #1C6EA4;
    
    color: #fff;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    margin-top: 0;
    
}

.footer-main {
    padding: 48px 0 24px 0;
}

.footer-flex {
    display: flex;
    gap: 60px;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1 1 220px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-secondary, 'Lato', sans-serif);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-logo .logo-graphic {
    width: 40px;
    height: 40px;
    background: var(--primary-color, #491514);
    border-radius: 8px;
    margin-right: 12px;
}

.footer-logo .logo-text {
    line-height: 1.1;
}

.footer-social a {
    color: #fff;
    margin-right: 10px;
    font-size: 20px;
    display: inline-block;
    transition: color 0.2s;
}

.footer-social a img[alt="Viber"] {
    filter: brightness(0) invert(1);
    font-weight: bold;
}

.footer-social a:hover {
    color: #FDB813;
}

.footer-social a img[alt="Viber"]:hover {
    filter: invert(78%) sepia(84%) saturate(603%) hue-rotate(1deg) brightness(101%) contrast(99%);
    font-weight: bold;
}

.footer-nav {
    flex: 1 1 180px;
    min-width: 160px;
}

.footer-nav h4 {
    font-family: var(--font-secondary, 'Lato', sans-serif);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    font-size: 14px;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.footer-nav ul li a:hover {
    color: #FDB813;
    border-bottom: 2px solid #FDB813;
}

.footer-cta {
    flex: 2 1 320px;
    min-width: 220px;
}

.footer-cta h4 {
    font-family: var(--font-secondary, 'Lato', sans-serif);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-cta p {
    font-size: 15px;
    color: #f5e9d9;
    margin-bottom: 18px;
}

.footer-email {
    color: #FDB813;
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
}

.footer-email i {
    margin-right: 6px;
}

.footer-cta .btn {
    background: #FDB813;
    color: #3a2d2b;
    border: none;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 15px;
}

.footer-cta .btn:hover {
    background: #fff;
    color: #3a2d2b;
}

.footer-bottom {
    /* background: #2a1d1b; */
    background-color: var(--primary-color-dark);
    padding: 16px 0;
    font-size: 14px;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    text-align: center;
}

.footer-legal {
    color: #fff;
}

.footer-legal a {
    color: #FDB813;
    text-decoration: underline;
    margin: 0 4px;
}

@media (max-width: 900px) {
    .footer-flex {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ... all your existing CSS code ... */

/* ---------------------------------- */
/* HERO SECTION ANIMATION (CORRECTED) */
/* ---------------------------------- */

/* -- Keyframes define the animation movements -- */
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(25px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes zoomIn {
      from {
          opacity: 0;
          transform: scale(0.95);
      }
      to {
          opacity: 1;
          transform: scale(1);
      }
  }
  
  /* -- Apply the animations to the hero elements -- */
  
  /* Prepare elements by hiding them initially */
  .hero-sme .hero-text h1,
  .hero-sme .hero-text p,
  .hero-sme .hero-cta a,
  .hero-sme .hero-image {
    opacity: 0;
  }
  
  /* Stagger the animations with delays and ensure they stay visible using 'forwards' */
  .hero-sme .hero-text h1 {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
  }
  
  .hero-sme .hero-text p {
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
  }
  
  .hero-sme .hero-cta a:nth-child(1) {
    animation: fadeInUp 0.7s ease-out 0.7s forwards;
  }
  
  .hero-sme .hero-cta a:nth-child(2) {
    animation: fadeInUp 0.7s ease-out 0.8s forwards;
  }
  
  .hero-sme .hero-image {
    animation: zoomIn 1.1s ease-out 0.4s forwards;
  }

/* Audience Fit (color-only override) */
.audience-fit-section {
	background-color: #1C6EA4; /* mid blue */
	color: #E6F3FF;           /* soft blue text */
}
.audience-fit-section h2 { color: #ffffff; }
.audience-fit-section p.lead { color: #E6F3FF; }

/* List items: keep flush style but on dark bg */
.audience-fit-section .list-group-item {
	background: transparent;
	border-color: rgba(255,255,255,0.18);
	color: #ffffff;
}

/* Bullet accent */
.audience-fit-section .text-primary { color: #2FA8E0 !important; }


section.onboarding {
    background: #0a2342; /* Dark blue background */
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
  }
  .onboarding h2 {
    font-weight: bold;
    margin-bottom: 20px;
  }
  .phase-wrapper {
    position: relative;
    margin-top: 40px;
  }

  /* Step line (default horizontal for large screens) */
  .step-line {
    position: absolute;
    top: 50px; /* aligns with middle of number circle */
    left: 15%;
    right: 15%;
    height: 2px;
    background: rgba(255,255,255,0.3);
    z-index: 0;
  }

  .phase-box {
    padding: 20px;
    position: relative;
    z-index: 1; /* above the line */
  }
  .phase-number {
    background: #2196f3;
    color: white;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 22px;
    font-weight: bold;
    position: relative;
    z-index: 1;
  }
  .phase-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .phase-desc {
    font-size: 0.95rem;
    opacity: 0.9;
  }
  .badge-custom {
    /* background: #28a745; */
    background: #FFFFFF;
    color: #0a2342;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: inline-block;
  }

  /* Mobile view: vertical line */
  @media (max-width: 768px) {
    .step-line {
      top: 0;
      bottom: 0;
      left: 50%;
      right: auto;
      width: 2px;
      height: auto;
      margin-left: -1px;
    }
    .phase-box {
      margin-bottom: 30px;
    }
  }

/* .cert-img { width: 100%; height: 100%; object-fit: contain; } */
/* Mobile: fluid width, auto height */
.cert-tile { width: 100%; max-width: 360px; aspect-ratio: 1 / 1; border-radius: .25rem; }
.cert-img { width: 100%; height: 100%; object-fit: contain; }

/* Desktop (lg+): fixed 200x200 */
@media (min-width: 992px) {
  .cert-tile { width: 250px; height: 250px; aspect-ratio: auto; }
}

.container-custom {
    width: 90%;
    margin: 0 auto;
}

/* Responsive logo size */
.logo-avatar { width: 150px; height: 50px; }              /* mobile */
@media (min-width: 576px) { .logo-avatar { width: 165px; height: 55px; } }  /* sm */
@media (min-width: 992px) { .logo-avatar { width: 190px; height: 60px; } }  /* lg */

/* Ensure the image fills the circle cleanly */
.logo-avatar img { width: 100%; height: 100%; object-fit: cover; }
/* Mobile: no margin */
.quicklinks-margin-left {
    margin-left: 0;
}
.quicklinks-margin-top {
    margin-top: 30px;
}
  
/* Tablet and up: add the margin */
@media (min-width: 768px) {
    .quicklinks-margin-left {
        margin-left: 75px;
    }
    .quicklinks-margin-top {
        margin-top: 10px;
    }
}

/* Viber outline button */
.btn-outline-viber {
    color: #7360F2;
    border-color: #7360F2;
    background-color: transparent;
}
  
.btn-outline-viber:hover,
.btn-outline-viber:focus {
color: #fff;
background-color: #7360F2;
border-color: #7360F2;
}

#viber_icon{
    margin-top:-4px; 
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.button_footer{
    color: #33A1E0; 
    background-color: white; 
    font-size: 0.8rem;
}

#footer_copyright{
    background-color: #154D71;
}
select, input,textarea{
    font-size: 13px !important;
}