/* Brand Colors */
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --green-color: #28a745;
  --blue-color: #2c5aa0;
  --yellow-color: #c5d90f;
  --red-color: #b42318;
  --black-color: #212529;
}

html {
  font-size: 16px;
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Buttons */
.btn {
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Sections */
section {
  position: relative;
}

.display-4, .display-6 {
  font-weight: 700;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: 0.5rem !important;
}

/* Footer */
footer {
  background: #1a1a1a;
  margin-top: auto;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color) !important;
}

/* Forms */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
  border-radius: 0.5rem;
  border: none;
}

/* Portfolio Filter Buttons */
[data-filter] {
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-filter].active {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .display-6 {
    font-size: 1.5rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .navbar-brand img {
    height: 40px !important;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Badge Colors */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
}

/* Shadow */
.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Text */
.text-muted {
  color: #6c757d !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* Spacing */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Icon Styling */
.bi {
  vertical-align: middle;
}

/* Navbar brand/logo constraints */
.navbar .navbar-brand {
    min-width: 0;
}
.footer-logo {
    height: 190px;
    width: auto;
}

@media (max-width: 768px) {
    .footer-logo {
        height: 110px;
    }
}

.navbar-logo {
    height:120px;
    width: auto;
    /*max-width: 140px;*/ /* prevents huge logo */
    /*object-fit: contain;
    display: block;*/
}

/* Prevent odd wrapping of top links */
.navbar .nav-link {
    white-space: nowrap;
}


/* Footer base */
.site-footer {
    background: #212529; /* Bootstrap dark */
    color: #fff;
}

    /* Muted text on dark */
    .site-footer .footer-muted {
        color: rgba(255, 255, 255, 0.65);
    }

    /* Headings */
    .site-footer .footer-title {
        color: #fff;
        font-weight: 600;
        margin-bottom: 0.75rem;
    }

    /* Links */
    .site-footer .footer-links a,
    .site-footer .footer-link {
        color: rgba(255, 255, 255, 0.65);
        text-decoration: none;
    }

        .site-footer .footer-links a:hover,
        .site-footer .footer-link:hover {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: underline;
        }

    /* Prevent weird highlight blocks on headings/links */
    .site-footer a:focus {
        outline: none;
        box-shadow: none;
    }

    /* Divider */
    .site-footer .footer-hr {
        border-color: rgba(255, 255, 255, 0.15);
    }

/* LOGO: constrain size to stop dominating layout */
.footer-logo {
    height: 72px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
    border-radius: 6px; /* optional */
}


/* ============ HomePage2 ============ */

.hp2-hero {
    position: relative;
    min-height: 520px;
    padding: 90px 0 70px;
    background: url("../images/portfolio/gallery-1.jpg") center/cover no-repeat;
    overflow: hidden;
}

.hp2-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.72);
}

.hp2-hero-content {
    position: relative;
    z-index: 2;
}

.hp2-hero-top {
    max-width: 900px;
    margin: 0 auto;
}

.hp2-hero-subtitle {
    color: #4b5563;
    font-size: 1rem;
    margin-bottom: 18px;
}

.hp2-hero-actions {
    margin-bottom: 34px;
}

.hp2-btn {
    padding-left: 22px;
    padding-right: 22px;
    border-radius: 10px;
}

/* Feature cards row */
.hp2-feature-row {
    margin-top: 12px;
}

.hp2-feature-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.06);
}

.hp2-feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(13,110,253,0.10);
    color: #0d6efd;
    font-size: 24px;
}

.hp2-icon-orange {
    background: rgba(255, 145, 0, 0.12);
    color: #ff8a00;
}

/* Stats section */
.hp2-stats {
    background: #0b1220;
    padding: 70px 0 80px;
}

.hp2-stats-title {
    color: #ffffff;
    font-weight: 700;
}

.hp2-stats-subtitle {
    color: rgba(255,255,255,0.70);
    max-width: 760px;
    margin: 0 auto;
}

.hp2-stat {
    padding: 10px 0;
}

.hp2-stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.3px;
}

.hp2-stat-label {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .hp2-hero {
        padding-top: 70px;
    }
}

@media (max-width: 575px) {
    .hp2-hero {
        min-height: 560px;
    }

    .hp2-stat-value {
        font-size: 1.9rem;
    }
}


/* ========== About Page Layout ========== */

.about-page {
    background: #f8fbff;
}

.about-title {
    font-weight: 800;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.about-title-accent-blue {
    color: #2f6fed;
}

.about-title-accent-orange {
    color: #f28a2a;
}

.about-subtitle {
    max-width: 760px;
    color: #5b677a;
    font-size: 1rem;
    line-height: 1.5;
}

.about-section-title {
    font-weight: 800;
    color: #111827;
}

.about-body {
    color: #5b677a;
    line-height: 1.7;
    font-size: 0.98rem;
}

/* Image */
.about-image-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Mission/Vision cards */
.about-card {
    border-radius: 14px;
    padding: 22px 22px;
    border: 1px solid rgba(0,0,0,0.06);
}

.about-card-blue {
    background: #eaf3ff;
}

.about-card-orange {
    background: #fff1e6;
}

.about-card-title {
    font-weight: 800;
    margin-bottom: 10px;
}

.about-card-text {
    color: #5b677a;
    line-height: 1.65;
}

/* Section titles */
.about-block-title {
    font-weight: 900;
    color: #111827;
}

/* Core value cards */
.about-value-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 18px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.about-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    background: rgba(47, 111, 237, 0.10);
    color: #2f6fed;
    font-size: 24px;
}

.about-value-title {
    font-weight: 800;
    margin-bottom: 10px;
    color: #111827;
}

.about-value-text {
    color: #5b677a;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Accreditations panel */
.about-accredit-panel {
    background: #eaf3ff;
    border-radius: 14px;
    padding: 20px 22px;
    border: 1px solid rgba(47, 111, 237, 0.18);
}

.about-accredit-list {
    padding-left: 1.2rem;
    color: #1f3b7a;
    margin: 0;
}

    .about-accredit-list li {
        margin: 10px 0;
    }

/* ========== Services Page ========== */

.svc-page {
    background: #fffaf5; /* warm off-white like screenshot */
}

.svc-title {
    font-weight: 900;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.svc-blue {
    color: #2f6fed;
}

.svc-purple {
    color: #6b5bd6;
}

.svc-orange {
    color: #f28a2a;
}

.svc-subtitle {
    max-width: 760px;
    color: #5b677a;
    font-size: 0.98rem;
    line-height: 1.55;
}

/* Blocks */
.svc-block {
    padding: 26px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}

    .svc-block:first-of-type {
        border-top: 0;
        padding-top: 10px;
    }

/* Title row with icon */
.svc-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.svc-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(47, 111, 237, 0.10);
    color: #2f6fed;
    font-size: 18px;
    flex: 0 0 auto;
}

.svc-h3 {
    font-weight: 800;
    font-size: 1.25rem;
}

.svc-desc {
    color: #5b677a;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.svc-label {
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Features list: 2 columns on desktop */
.svc-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 14px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px 14px;
}

@media (min-width: 992px) {
    .svc-list {
        grid-template-columns: 1fr 1fr;
    }
}

.svc-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.4;
}

.svc-list i {
    color: #22c55e; /* green check */
    margin-top: 2px;
}

/* Benefits panel */
.svc-benefit {
    background: #eaf3ff;
    border: 1px solid rgba(47, 111, 237, 0.18);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.svc-benefit-title {
    font-weight: 800;
    color: #1f3b7a;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.svc-benefit-text {
    color: #1f3b7a;
    font-size: 0.9rem;
}

/* Button */
.svc-btn {
    border-radius: 10px;
    padding: 10px 14px;
}

/* Images */
.svc-img-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    background: #fff;
}

.svc-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== Portfolio Page ========== */

.pf-page {
    background: #ffffff;
}

/* Hero */
.pf-hero {
    background: #fffaf5;
}

.pf-title {
    font-weight: 900;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.pf-accent {
    color: #6b5bd6;
}

.pf-subtitle {
    max-width: 780px;
    color: #5b677a;
    font-size: 0.98rem;
    line-height: 1.55;
}

/* Filters */
.pf-filters-wrap {
    background: #ffffff;
}

.pf-divider {
    height: 1px;
    background: rgba(0,0,0,0.06);
}

.pf-pill {
    border: 1px solid rgba(0,0,0,0.08);
    background: #f7f8fb;
    color: #334155;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    line-height: 1;
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

    .pf-pill:hover {
        transform: translateY(-1px);
        background: #eef3ff;
        border-color: rgba(47,111,237,0.25);
    }

    .pf-pill.is-active {
        background: #2f6fed;
        border-color: #2f6fed;
        color: #fff;
    }

.pf-pill-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    font-size: 0.8rem;
    padding: 0 6px;
}

/* Cards */
.pf-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    height: 100%;
}

.pf-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.pf-card-body {
    padding: 14px 14px 16px;
}

.pf-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1f3b7a;
    background: #eaf3ff;
    border: 1px solid rgba(47,111,237,0.18);
    border-radius: 999px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.pf-card-title {
    font-weight: 800;
    font-size: 1rem;
    color: #111827;
    margin-bottom: 6px;
}

.pf-card-text {
    color: #5b677a;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* CTA */
.pf-cta {
    background: linear-gradient(90deg, #6b5bd6, #b07a6c);
    padding: 64px 0 72px;
    margin-top: 26px;
}

.pf-cta-title {
    color: #fff;
    font-weight: 900;
}

.pf-cta-subtitle {
    max-width: 720px;
    color: rgba(255,255,255,0.85);
}

.pf-cta-btn {
    border-radius: 10px;
    padding: 10px 18px;
}


/* ========== Contact Page ========== */

.ct-page {
    background: #ffffff;
}

.ct-header {
    padding-top: 10px;
}

.ct-title {
    font-weight: 900;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.ct-accent {
    color: #6b5bd6;
}

.ct-subtitle {
    max-width: 820px;
    color: #5b677a;
    font-size: 1rem;
    line-height: 1.55;
}

.ct-h2 {
    font-weight: 900;
    color: #111827;
}

.ct-muted {
    color: #5b677a;
}

.ct-alert {
    max-width: 980px;
}

/* Left info cards */
.ct-info-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
    background: #fff;
    margin-bottom: 14px;
}

.ct-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(47, 111, 237, 0.10);
    color: #2f6fed;
    font-size: 18px;
    flex: 0 0 auto;
}

.ct-icon-orange {
    background: rgba(242, 138, 42, 0.14);
    color: #f28a2a;
}

.ct-icon-blue {
    background: rgba(47, 111, 237, 0.10);
    color: #2f6fed;
}

.ct-info-title {
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

.ct-info-text {
    color: #5b677a;
    font-size: 0.95rem;
    line-height: 1.45;
}

.ct-link {
    color: #5b677a;
    text-decoration: none;
}

    .ct-link:hover {
        text-decoration: underline;
        color: #111827;
    }

/* Privacy block */
.ct-privacy {
    background: #eaf3ff;
    border: 1px solid rgba(47,111,237,0.18);
    border-radius: 12px;
    padding: 18px;
}

.ct-privacy-title {
    font-weight: 900;
    color: #1f3b7a;
    margin-bottom: 8px;
}

.ct-privacy-text {
    color: #1f3b7a;
    line-height: 1.55;
    font-size: 0.95rem;
}

/* Right form card */
.ct-form-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 22px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.ct-control {
    border-radius: 10px;
    border-color: rgba(0,0,0,0.12);
    padding-top: 10px;
    padding-bottom: 10px;
}

.ct-send-btn {
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 700;
}

    

/*  add back ground */
/*.hp2-hero {
    position: relative;
    min-height: 90vh;
     background: url('../images/portfolio/gallery-1.jpg'); center center / cover no-repeat;
    background-image: url( display: flex;
    align-items: center;
}*/