
/* Brand Color Scheme and Variables */
:root {
    /* Primary brand colors */
    --primary-color: #1e3c72;
    --primary-light: #2a5298;
    --primary-dark: #152c54;
    --primary-title: #333333;
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);

    /* Secondary colors */
    --secondary-color: #f8f9fa;
    --secondary-dark: #dee2e6;
    --secondary-red: #db0c16;
    --secondary-red-light: #e63946;
    --secondary-red-dark: #b8090f;

    /* Text colors */
    --text-dark: #333333;
    --text-medium: #6c757d;
    --text-light: #ffffff;

    /* Functional colors */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;

    /* Spacing variables */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Border radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-pill: 50rem;

    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 2rem rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* Gaps */
    --cardgroup-gap: 2.5rem;

    /* Headings */
    --bs-heading-color: var(--primary-title);

    /* Frames */
    --frame-background-light: #f8f9fa !important;
    --frame-spacing-xl: 60px;
}

.scroll-top {
    border-radius: 50%;
}


@media (min-width: 1400px) {
    .frame-container-default {
        max-width: 1140px;
    }
}

/* Base Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
}

h2, .h2 {
    font-size: calc(1.325rem + 0.9vw);
    font-weight: 700;
    line-height: 1.3;
}

h4, .h4 {
    font-size: calc(1.25rem + 0.1vw);
    font-weight: 600;
}

small, .small {
    font-size: 0.9em;
    line-height: 1.5em;
}

.lead {
    font-size: calc(1.05rem + 0.3vw);
    font-weight: 400;
}
/* Navbar Styling */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: 700;
    transition: var(--transition-normal);
    letter-spacing: -0.5px;
    position: relative;
    padding-left: 0.5rem;
    padding-top:0;
}

.navbar-brand:hover {
    color: var(--primary-light) !important;
    transform: translateY(-1px);
}

.navbar-brand::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-pill);
}

@media (min-width: 992px) {
    .navbar-mainnavigation .nav-link:not(.nav-link-toggle):before {
        display: none;
    }
    .navbar-nav{
        justify-content: end;
    }
    .navbar-nav .nav-item {
        border-radius: var(--border-radius-md);
        padding: 0 0.5rem !important;
    }
    .navbar-nav .nav-item:hover {
        color: var(--primary-color) !important;
        background-color: rgba(30, 60, 114, 0.08);
    }
    .navbar-nav .nav-item a{
        font-weight: 600;
        border-radius: var(--border-radius-md);
    }
    .navbar-nav .nav-item a:after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--primary-color);
        transition: var(--transition-normal);
        transform: translateX(-50%);
    }
    .navbar-nav .nav-item a:hover:after,
    .navbar-nav .nav-item a.active::after {
        width: 90%;
    }
    .navbar-nav .nav-item:last-of-type a:after {
        display:none;
    }
}


/* Hero Section Styling */

.carousel .carousel-item {
    padding: 0;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: auto !important;
        height: 100%;
    }
    .navbar+.main-section>a+.carousel-fullscreen,
    .navbar+.main-section>a+.carousel-fullscreen .carousel-item {
        height: 50vh;
    }
}
.hero-section {
    position: relative;
    min-height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

/* Video Background Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-container .ratio {
    height: 100vh;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Video Overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 60, 114, 0.4);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Hero Actions (CTA Buttons) */
.hero-actions {
    margin-top: 2rem;
}

.hero-actions .btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-primary {
    background: linear-gradient(45deg, var(--secondary-red), var(--secondary-red));
    border: none;
}

.hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

.hero-actions .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Video Controls */
.hero-video-controls {
    display: none;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 4;
}

.hero-video-controls button {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-video-controls button:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* Fallback for when video doesn't load */
.hero-video-container img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-content p {
        font-size: 1.1rem !important;
    }

    .hero-actions {
        margin-top: 1.5rem;
    }

    .hero-actions .btn {
        display: block;
        width: 100%;
        max-width: auto;
        margin: 0 auto;
    }

    .hero-video-controls {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
}

/* Sections Styling */


/* Frames Styling */

.frame-background-light {
    --frame-background: #f8f9fa;
}

.frame-specifications .element-header,
.frame-services .element-header,
.frame-contact .element-header,
.frame-facility .element-header {
    margin-bottom: 3rem !important;
}
.frame-brands .card-group-element{
    margin-top: 3rem !important;
}
.frame-specifications .card-title,
.frame-contact .card-title {
    text-align: center;
}
.frame-specifications h3 {
    font-size: calc(1.325rem + 0.9vw);
    font-weight: 700;
}
.frame-services .card-img-top picture {
    display: block;
    text-align: left;
    width: 32px;
}
.frame-contact .card-img-top picture {
    width: 32px;
}
.frame-services .card-body,
.frame-contact .card-body {
    padding-top: 1em;
}
.frame-specifications .card-img-top picture img,
.frame-services .card-img-top picture img {
    height: 50px;
}
.frame-contact .card-img-top picture img {
    height: 30px;
}
.frame-contact {
    margin-bottom: -30px;
    --frame-outer-spacing-before: 0 !important;
}

.frame-brands .card-img-top {
    place-items: center;
    display: flex;
    height: 100%;
    padding: 30px;
}
.frame-brands .card-img-top picture img {
    filter: grayscale(100%);
    transition: filter 0.2s ease-in-out;
}
.frame-brands .card:hover .card-img-top picture img {
    filter: grayscale(0%);
}
.frame-brands .card:hover .card-img-top picture {
    transform: scale(1.1);
}

/* Cards Styling */

.card {
    color: #212121;
    background: var(--bs-body-bg);
    transition: all 0.15s ease-in-out;
}
.card a {
    text-decoration: none;
}
.card-img-top {
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.card .card-img-top picture{
    transition: all 0.15s ease-in-out;
}
.card:hover .card-img-top picture{
    transform: scale(1.2);
}
.card:focus-within {
    outline: 2px solid rgba(30, 60, 114, 0.5);
    outline-offset: 2px;
}


/* Footer Styling */
.footer {
    background-color: var(--secondary-color);
    padding: 3rem 0;
    border-top: 1px solid var(--secondary-dark);
}

.footer .frame {
    --frame-spacing: 0;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: var(--text-dark);
    transition: var(--transition-normal);
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--secondary-dark);
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Footer Styling Override */
.footer {
    background-color: #f8f9fa !important;
    color: var(--text-dark) !important;
    border-top: 1px solid var(--secondary-dark);
}

.footer .footer-title {
    color: var(--primary-color) !important;
}
.footer h5 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}
.footer .small-text{
    font-size: 0.8rem;
}
.container .frame-background-primary:not(.frame-layout-embedded) {
    padding: 0 !important;
    background-color: transparent !important;
}
.footer .frame-background-primary p{
    font-size: .875em;
}

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

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



