/* --- BRAND REFRESH STYLES --- */
:root {
    --brand-primary: #1e40af;
    --brand-secondary: #ff6600;
    --brand-dark: #020617;
    --brand-navy: #060b1a; /* Deeper navy matching the banner's dark end */
    --brand-gradient: linear-gradient(135deg, #060b1a 0%, #1e3a8a 100%);
    --brand-slate: #1e2937;
    --brand-gray: #6b7280;
    --brand-light: #f8fafc;
    --brand-white: #ffffff;
    --brand-font-h: 'Sora', sans-serif;
    --brand-font-b: 'Inter', sans-serif;
}

.brand-body {
    font-family: var(--brand-font-b);
    color: var(--brand-slate);
}

.brand-h {
    font-family: var(--brand-font-h);
    font-weight: 700;
}

/* Global Reset for Hero overlap */
.nav-bar.sticky {
    z-index: 1000;
    background: radial-gradient(circle at top right, #1e40af, #1e3a8a, #060b1a);
}

/* Hero / Banner */
.brand-hero {
    background: radial-gradient(circle at top right, #1e40af, #1e3a8a, #060b1a);
    padding: 220px 0 160px; /* Increased top padding to fix overlap */
    position: relative;
    color: white;
    z-index: 1;
}

.brand-hero h1 {
    font-family: var(--brand-font-h);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.brand-hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
}

.brand-hero-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 45px;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.brand-hero-form h3 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
}

.brand-hero-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white !important;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 15px;
}

.brand-hero-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Floating Stats */
.brand-stats-wrapper {
    margin-top: -65px;
    position: relative;
    z-index: 10;
}

.brand-stats-pill {
    background: white;
    padding: 45px;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
}

.brand-stat-val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    white-space: nowrap;
}

.brand-stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 10px;
}

/* Section Header (Ecommerce Style) */
.brand-theme-title {
    text-align: center;
    margin-bottom: 70px;
}

.brand-theme-title h5 {
    font-family: var(--brand-font-h);
    color: var(--brand-secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.brand-theme-title h3 {
    font-family: var(--brand-font-h);
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.brand-theme-title .line {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-secondary);
    margin: 15px auto 0;
}

/* Trust Section */
.brand-trust-section {
    padding: 140px 0 100px; /* Increased top padding to account for the stats overlap */
    background: #fdfdfd; /* Very subtle off-white to distinguish from header */
    border-bottom: 1px solid #f1f5f9;
}

.brand-trust-title {
    font-family: var(--brand-font-h);
    color: var(--brand-slate);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    border-left: 3px solid var(--brand-secondary);
    padding-left: 20px;
    margin: 0;
}

.brand-partner-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.partner-logo {
    flex: 1;
    min-width: 120px;
    max-width: 150px;
    display: flex;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    height: 35px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 991px) {
    .brand-trust-title {
        margin-bottom: 40px;
        border-left: none;
        border-bottom: 3px solid var(--brand-secondary);
        padding-left: 0;
        padding-bottom: 10px;
        display: inline-block;
    }
}

/* YTM Inspired Services - Dark Brand Version */
.brand-ytm-services {
    padding: 120px 0;
    background: #060b1a; /* Matches banner's deepest blue */
    position: relative;
    overflow: hidden;
}

/* Subtle background glow effect */
.brand-ytm-services::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.brand-ytm-services .container {
    position: relative;
    z-index: 1;
}

.ytm-service-card {
    background: rgba(30, 64, 175, 0.05); /* Navy tint instead of pure white opacity */
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ytm-service-card:hover {
    transform: translateY(-12px);
    background: rgba(30, 64, 175, 0.1);
    border-color: var(--brand-secondary);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.ytm-card-inner {
    padding: 60px 45px;
    flex-grow: 1;
}

.ytm-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    font-size: 2rem;
    transition: 0.4s;
    background: rgba(255, 255, 255, 0.05);
}

.ytm-service-card:hover .ytm-icon-box {
    transform: rotate(10deg) scale(1.1);
    background: var(--brand-secondary);
}

.ytm-service-card:hover .ytm-icon-box i {
    color: white !important;
}

.ytm-service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 22px;
    color: white;
    font-weight: 700;
}

.ytm-service-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1rem;
}

.ytm-features li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.ytm-features .dot {
    background: var(--brand-secondary);
}

.ytm-card-footer {
    padding: 30px 45px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.ytm-service-card:hover .ytm-card-footer {
    background: rgba(255, 255, 255, 0.04);
}

.ytm-learn-more {
    color: white;
}

.ytm-service-card:hover .ytm-learn-more {
    color: var(--brand-secondary);
}

/* Update text visibility in section header */
.brand-ytm-services .brand-theme-title h3 {
    color: white;
}
.brand-ytm-services .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* What We Done - Carousel Support */
.brand-project-section {
    padding: 100px 0;
    background: #060b1a; /* Matches banner's deepest blue */
}

.brand-project-section .brand-theme-title h3 {
    color: white;
}

.brand-project-section .brand-theme-title h5 {
    color: var(--brand-secondary);
}

.brand-port-slider .owl-item {
    transition: all 0.4s ease;
    opacity: 0.5;
    transform: scale(0.8);
}

.brand-port-slider .owl-item.active.center {
    opacity: 1;
    transform: scale(1.15);
    z-index: 10;
}

.brand-port-slider .owl-item.active.center .brand-project-card {
    border: 2px solid var(--brand-secondary);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.brand-project-card {
    background: #1e293b; /* Darker card background */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.4s;
    margin: 60px 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%; /* Fill the slide height */
    display: flex;
    flex-direction: column;
}

.brand-project-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    width: 100%;
}

.brand-project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-project-text {
    padding: 25px;
    text-align: center;
    color: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px; /* Ensure uniform text area */
}

.brand-project-text h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Exhibition Improvements */
.brand-service-section {
    background: #060b1a; /* Matches banner's deepest blue */
    position: relative;
}

.brand-service-section .brand-theme-title h3 {
    color: white;
}

.brand-service-section .brand-theme-title h5 {
    color: var(--brand-secondary);
}

.brand-ex-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1.2;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-ex-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.brand-ex-item:hover img {
    transform: scale(1.1);
    opacity: 1;
}

.brand-ex-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    opacity: 1;
    transition: 0.4s;
}

.brand-ex-overlay h5 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    transform: translateY(10px);
    transition: 0.4s;
}

.brand-ex-overlay p {
    font-size: 0.9rem;
    color: var(--brand-secondary);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: translateY(10px);
    transition: 0.4s;
}

.brand-ex-item:hover .brand-ex-overlay h5,
.brand-ex-item:hover .brand-ex-overlay p {
    transform: translateY(0);
}

/* Footer Touchups */
.brand-footer {
    background: #060b1a; /* Matches banner's deepest blue */
    color: #94a3b8;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-footer .menu li {
    margin-bottom: 12px;
}

.brand-footer .menu li a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.brand-footer .menu li a:hover {
    color: var(--brand-secondary);
    padding-left: 5px;
}

.copyright {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-footer h5 {
    color: white;
    font-family: var(--brand-font-h);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
}

.brand-footer h5::after {
    content: '';
    position: absolute;
    left: 0; bottom: -10px;
    width: 30px;
    height: 2px;
    background: var(--brand-secondary);
}

.brand-footer .menu li a:hover {
    color: var(--brand-secondary);
    padding-left: 5px;
}

.brand-footer-social a:hover {
    background: var(--brand-secondary);
    transform: translateY(-5px);
}

.copyright {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Removal of any legacy golden styles */
.brand-footer * {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.brand-footer h5 {
    color: white !important;
}

/* Utils */
.btn-brand-main {
    background: var(--brand-secondary);
    color: white;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 700;
    border: none;
    transition: 0.3s;
}

.btn-brand-main:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.4);
}

/* Custom Button Styles */
.btn-brand-main-custom {
    background: #ff4d00;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-brand-main-custom:hover {
    background: #e64400;
    color: #fff;
    transform: translateY(-2px);
}

.btn-brand-secondary-custom {
    background: transparent;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}
.btn-brand-secondary-custom:hover {
    background: #fff;
    color: #0f172a;
    transform: translateY(-2px);
}
/* Inner Banner Style */
.brand-inner-banner-about {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 0; /* More padding */
    color: #fff;
}

.brand-inner-banner-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker, more professional gradient */
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.6) 50%, rgba(2, 6, 23, 0.1) 100%);
}

.brand-inner-banner-about .container {
    position: relative;
    z-index: 1;
}

.brand-inner-banner-about h1 {
    color: #fff;
    font-size: 3.5rem; /* Larger font size */
    font-weight: 800;
}

.brand-inner-banner-about .lead {
    font-size: 1.25rem;
    max-width: 600px; /* Constrain line length */
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.brand-inner-banner-about .breadcrumb {
    background: transparent;
    padding: 0;
}

.brand-inner-banner-about .breadcrumb-item a {
    color: var(--brand-secondary);
    text-decoration: none;
}

.brand-inner-banner-about .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .col-md-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 20%;
    }
}
