/********** HSM Custom Brand Styles **********/
:root {
    --hsm-primary: #0A0A0A;      /* Jet Black */
    --hsm-accent: #C9A84C;       /* Gold */
    --hsm-support: #FAFAF7;      /* Off-White / Warm Cream */
    --hsm-text: #1a1a1a;         /* Dark text for body */
    --hsm-text-light: #ffffff;   /* White text */
}

/* Override template colors with HSM brand colors */
:root {
    --primary: #C9A84C;         /* Gold - Primary accent */
    --secondary: #9B9B9B;
    --light: #FAFAF7;            /* Warm Cream */
    --dark: #0A0A0A;             /* Jet Black */
}

/* Typography - Montserrat for headings, Inter for body */
body {
    font-family: 'Inter', sans-serif;
    color: var(--hsm-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* HSM Logo Styles */
.hsm-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    overflow: visible;
    line-height: 1.1;
}

.hsm-acronym {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--hsm-accent);
    letter-spacing: 2px;
    line-height: 1;
}

.hsm-divider {
    width: 247px;
    height: 2px;
    background: var(--hsm-accent);
    margin: 4px 0 0 0;
}

.hsm-fullname {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-top: 2px;
}

/* Footer Logo Styles */
.hsm-logo-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1rem;
}

.hsm-acronym-footer {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--hsm-accent);
    letter-spacing: 2px;
}

.hsm-divider-footer {
    width: 80px;
    height: 2px;
    background: var(--hsm-accent);
    margin: 5px 0;
}

.hsm-fullname-footer {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.6rem;
    color: var(--hsm-text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Button Styles */
.btn-primary {
    background-color: var(--hsm-accent);
    border-color: var(--hsm-accent);
    color: var(--hsm-primary);
    font-weight: 600;
    border-radius: 6px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
    background-color: #b8953e;
    border-color: #b8953e;
    color: var(--hsm-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-light {
    background-color: var(--hsm-support);
    border-color: var(--hsm-support);
    color: var(--hsm-primary);
}

.btn-light:hover {
    background-color: #e8e8e3;
    border-color: #e8e8e3;
    color: var(--hsm-primary);
}

/* Navbar Styles */
.navbar {
    background-color: var(--hsm-primary) !important;
    padding: 0 !important;
    min-height: 72px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid var(--hsm-accent);
    transition: all 0.3s ease;
}

.navbar.sticky-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000;
}

.navbar .container {
    max-width: 1200px;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.85rem 1rem;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure navbar parent containers don't clip the logo */
body {
    overflow-x: hidden;
}

.navbar .container-fluid,
.navbar .container {
    overflow: visible !important;
}

.navbar .navbar-collapse,
.navbar-collapse,
.navbar .container-fluid,
.navbar .container,
.navbar .navbar-brand,
.navbar-brand,
.hsm-logo {
    overflow: visible !important;
}

.navbar .navbar-brand {
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-right: 8rem !important;
    flex-shrink: 0 !important;
    height: auto !important;
}

/* Remove sticky positioning constraints */
.navbar.sticky-top {
    position: relative !important;
    top: auto !important;
}

.navbar .navbar-brand .hsm-logo:hover {
    text-decoration: none;
}

.navbar .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .nav-link {
    padding: 0.4rem 0.6rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--hsm-accent) !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--hsm-accent);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 80%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--hsm-accent);
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--hsm-accent);
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--hsm-accent) !important;
}

.navbar .navbar-social {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.4rem;
}

.navbar .navbar-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--hsm-accent);
    color: var(--hsm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    text-decoration: none;
}

.navbar .navbar-social-icon:hover {
    background: var(--hsm-primary);
    color: var(--hsm-accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.navbar .dropdown-menu {
    background: var(--hsm-primary);
    border: 1px solid var(--hsm-accent);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    padding: 0.5rem 0;
    border-radius: 0;
    margin-top: 0.5rem;
}

.navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background: rgba(201, 168, 76, 0.2);
    color: var(--hsm-accent);
}

.navbar .navbar-toggler {
    border: 2px solid var(--hsm-accent);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.25);
    border-color: var(--hsm-accent);
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201, 168, 76, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

@media (max-width: 991px) {
    .topbar {
        display: none;
    }
    
    .navbar {
        padding: 1rem 1.5rem !important;
        min-height: 70px;
    }
    
    .navbar .navbar-brand {
        margin-right: auto;
    }
}

@media (max-width: 1200px) {
    .navbar {
        padding: 1rem 1.5rem !important;
    }
    
    .navbar .navbar-brand {
        margin-right: 1.5rem !important;
    }
    
    .navbar .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.6px !important;
    }
    
    .navbar .navbar-social {
        margin-left: 1rem !important;
    }
    
    .topbar-item {
        margin-right: 1.25rem;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    .display-5 {
        font-size: 1.75rem !important;
    }
    
    .btn {
        padding: 0.625rem 1.25rem !important;
    }
}

@media (max-width: 1400px) {
    .navbar .container {
        max-width: 1100px;
    }
    
    .topbar .container {
        max-width: 1100px;
    }
}

@media (max-width: 1200px) {
    .navbar .container {
        max-width: 100%;
    }
    
    .topbar .container {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .topbar {
        display: none;
    }
    
    .navbar {
        padding: 0 !important;
        min-height: 70px;
    }
    
    .navbar .container {
        padding: 1rem 1.5rem;
    }
    
    .navbar .navbar-brand {
        margin-right: auto;
    }
    
    .navbar-collapse {
        background: var(--hsm-primary);
        padding: 1.5rem 0;
        margin-top: 1rem;
        border-top: 1px solid rgba(201, 168, 76, 0.2);
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 1001;
    }
    
    .navbar-nav {
        padding: 0 1.5rem;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar .nav-link {
        padding: 0.875rem 0 !important;
        border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    }
    
    .navbar .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .navbar .navbar-social {
        margin-left: 0;
        margin-top: 1.5rem;
        justify-content: flex-start;
        padding: 0 1.5rem;
        width: 100%;
    }
    
    .navbar .dropdown-menu {
        background: rgba(10, 10, 10, 0.95);
        border: 1px solid rgba(201, 168, 76, 0.3);
        margin-left: 1rem;
    }
}

/* Topbar */
.topbar {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    padding: 0;
    font-size: 0.8rem;
}

.topbar .container {
    max-width: 1200px;
    padding: 0.6rem 1rem;
    margin-left: auto;
    margin-right: auto;
}

.topbar-item {
    display: flex;
    align-items: center;
    margin-right: 1.75rem;
}

.topbar-item:last-child {
    margin-right: 0;
}

@media (max-width: 991px) {
    .topbar-item {
        margin-right: 1rem;
    }
    
    .topbar-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

.topbar-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--hsm-accent);
    color: var(--hsm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.65rem;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.topbar span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Facts/Services Cards */
@media (max-width: 768px) {
    .btn-square {
        width: 50px !important;
        height: 50px !important;
    }
    
    .btn-square i {
        font-size: 20px !important;
    }
    
    .display-1 {
        font-size: 2rem !important;
    }
    
    .bg-dark.p-4,
    .bg-dark.p-xl-5 {
        padding: 1.5rem !important;
    }
}

/* Service Items */
.service-item {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--hsm-accent) !important;
}

.service-item .btn-square {
    background: var(--hsm-accent) !important;
    border: none;
}

.service-item .btn-square i {
    color: var(--hsm-primary) !important;
}

.service-item h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-item .btn-link {
    color: var(--hsm-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-item .btn-link:hover {
    color: var(--hsm-primary);
}

.service-item .btn-link i {
    margin-left: 0.5rem;
    transition: margin-left 0.3s ease;
}

.service-item .btn-link:hover i {
    margin-left: 0.75rem;
}

/* Header Carousel */
.header-carousel .carousel-inner {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.7));
}

.header-carousel h1 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .header-carousel h1 {
        font-size: 1.75rem !important;
    }
    
    .header-carousel .fs-5 {
        font-size: 0.95rem !important;
    }
    
    .header-carousel .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
        margin-bottom: 0.5rem !important;
    }
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--hsm-accent);
    border-color: var(--hsm-accent);
}

.header-carousel .owl-dot.active {
    background: var(--hsm-accent);
    border-color: var(--hsm-accent);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(10, 10, 10, .7), rgba(10, 10, 10, .7)), url(../img/aboutus.jpg) center center no-repeat;
    background-size: cover;
}

/* Blog Card Heights */
.blog-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-item .blog-img {
    flex-shrink: 0;
}

.blog-item .p-4 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-item .p-4 .mb-4 {
    flex-grow: 1;
}

/* About Page Stats Section */
.about-text .col-sm-6 .d-flex {
    align-items: center !important;
}

.about-text .btn-square {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

.about-text .btn-square i {
    font-size: 22px !important;
    line-height: 1;
}

.about-text h2.mb-1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.about-text .fw-medium {
    font-size: 0.85rem;
    color: var(--hsm-accent) !important;
    white-space: nowrap;
}

/* Facts Section */
.bg-dark {
    background-color: var(--hsm-primary) !important;
    border-radius: 8px;
}

.bg-dark h5 {
    color: var(--hsm-accent);
    font-weight: 600;
}

.bg-dark hr {
    border-color: var(--hsm-accent);
    opacity: 0.5;
}

.bg-dark .display-1 {
    color: var(--hsm-accent);
    font-weight: 800;
}

.bg-dark span {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* Service Items */
.service-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.service-item:hover {
    border-color: var(--hsm-accent) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.15);
}

.service-item .btn {
    background: var(--hsm-accent);
    border-radius: 4px;
    padding: 8px 20px;
    font-weight: 500;
}

.service-item:hover .btn {
    background: var(--hsm-accent);
}

/* Portfolio Filter */
#portfolio-flters li {
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--hsm-accent);
    background: rgba(201, 168, 76, 0.1);
    border-color: var(--hsm-accent);
}

/* Team Social */
.team-item .team-social {
    background: rgba(10, 10, 10, .7);
}

/* Section Padding Responsive */
@media (max-width: 991px) {
    .container-xxl.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 575px) {
    .container-xxl.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .row.g-4 {
        gap: 1.5rem !important;
    }
    
    .col-lg-4,
    .col-lg-6,
    .col-lg-3 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Card Responsive */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
}

/* Logo Responsive */
@media (max-width: 575px) {
    .hsm-acronym {
        font-size: 1.5rem !important;
        letter-spacing: 2px !important;
    }
    
    .hsm-fullname {
        font-size: 0.55rem !important;
        letter-spacing: 1.5px !important;
    }
    
    .hsm-divider {
        width: 40px !important;
    }
}

/* Testimonial */
.testimonial-carousel .owl-dots .owl-dot::after {
    color: var(--hsm-accent);
}

/* About Section */
@media (max-width: 991px) {
    .about-text {
        padding: 2rem 1.5rem !important;
    }
    
    .p-lg-5 {
        padding: 1.5rem !important;
    }
}

@media (max-width: 575px) {
    .about-text {
        padding: 1.5rem 1rem !important;
    }
    
    .col-lg-6.ps-lg-0 {
        min-height: 250px !important;
    }
    
    .btn-square.bg-white {
        width: 50px !important;
        height: 50px !important;
    }
    
    .btn-square.bg-white i {
        font-size: 20px !important;
    }
    
    h2.mb-1 {
        font-size: 1.5rem !important;
    }
}

.testimonial-item {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .testimonial-item {
        padding: 1.5rem !important;
    }
    
    .testimonial-item img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .testimonial-item h4 {
        font-size: 1rem !important;
    }
    
    .testimonial-item p {
        font-size: 0.875rem !important;
    }
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-item .border-bottom {
    border-color: rgba(201, 168, 76, 0.2) !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.testimonial-item img {
    border: 3px solid var(--hsm-accent);
    padding: 2px;
}

.testimonial-item h4 {
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-item .text-secondary {
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.testimonial-item .fa-star {
    margin-right: 4px;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--hsm-primary) !important;
    border-top: 3px solid var(--hsm-accent);
}

.footer .btn.btn-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer .btn.btn-link:hover {
    color: var(--hsm-accent);
    padding-left: 1.25rem;
}

@media (max-width: 991px) {
    .footer {
        padding: 3rem 0 !important;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-3 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575px) {
    .footer {
        padding: 2rem 0 !important;
    }
    
    .footer h5 {
        font-size: 1rem !important;
    }
    
    .footer .btn.btn-link {
        font-size: 0.875rem !important;
        padding: 0.25rem 0 !important;
    }
}

.footer .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.footer .btn-outline-light:hover {
    background-color: var(--hsm-accent);
    border-color: var(--hsm-accent);
    color: var(--hsm-primary);
}

/* Back to Top */
.back-to-top {
    background-color: var(--hsm-accent);
}

.back-to-top:hover {
    background-color: #b8953e;
}

/* Form Styles */
.form-control,
.form-select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--hsm-accent);
    box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.15);
}

/* Section Dividers */
.bg-primary {
    background-color: var(--hsm-accent) !important;
    border-radius: 2px;
}

/* Text Colors */
.text-primary {
    color: var(--hsm-accent) !important;
}

/* Background Colors */
.bg-light {
    background-color: var(--hsm-support) !important;
}

/* Custom Section Styling */
.hsm-section {
    padding: 5rem 0;
}

.hsm-section-title {
    position: relative;
    margin-bottom: 3rem;
}

.hsm-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--hsm-accent);
}

.hsm-section-title.centered::before {
    left: 50%;
    transform: translateX(-50%);
}

/* Card Styles with Gold Border */
.hsm-card {
    border: 1px solid rgba(201, 168, 76, 0.2);
    transition: all 0.3s ease;
}

.hsm-card:hover {
    border-color: var(--hsm-accent);
    box-shadow: 0 5px 20px rgba(201, 168, 76, 0.2);
}

/* Hero Section Custom */
.hero-section {
    background: linear-gradient(135deg, var(--hsm-primary) 0%, #1a1a1a 100%);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="rgba(201, 168, 76, 0.03)" width="100" height="100"/></svg>');
    opacity: 0.5;
}

/* Trust Indicators */
.trust-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 2px solid var(--hsm-accent);
    border-radius: 50%;
    margin: 0 10px;
}

.trust-badge i {
    color: var(--hsm-accent);
    font-size: 1.5rem;
}

/* Service Card Hover Effect */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--hsm-accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Case Study Card */
.case-study-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.case-study-card img {
    transition: transform 0.5s ease;
}

.case-study-card:hover img {
    transform: scale(1.1);
}

.case-study-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-study-card:hover .case-study-overlay {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hsm-acronym {
        font-size: 1.3rem;
    }
    
    .hsm-fullname {
        font-size: 0.45rem;
        letter-spacing: 0.8px;
    }
    
    .about-text h2.mb-1 {
        font-size: 1.25rem;
    }
    
    .about-text .fw-medium {
        font-size: 0.8rem;
    }
    
    .about-text .btn-square {
        width: 50px !important;
        height: 50px !important;
    }
    
    .about-text .btn-square i {
        font-size: 18px !important;
    }
}

/* Contact Info Section */
.contact-info-item,
.contact-text .col-md-6 .d-flex {
    display: flex;
    align-items: center !important;
}

.contact-text .btn-square {
    background: var(--hsm-accent) !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.contact-text .btn-square i {
    color: white !important;
    font-size: 22px !important;
    line-height: 1;
}

.contact-text .ms-3 p {
    font-size: 0.9rem;
    margin-bottom: 2px !important;
    color: var(--hsm-accent) !important;
}

.contact-text .ms-3 h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hsm-primary);
    line-height: 1.3;
    margin-bottom: 0;
}

/* Accreditations Section */
.accreditation-item {
    transition: all 0.3s ease;
    border-radius: 4px;
}

.accreditation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.accreditation-item h5 {
    font-weight: 600;
    color: var(--hsm-primary);
}

/* Footer Copyright Section */
.copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-right: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--hsm-accent);
}

.footer-menu a:last-child {
    margin-right: 0;
}

.copyright .border-bottom {
    color: var(--hsm-accent);
    text-decoration: none;
    border-bottom: 1px solid var(--hsm-accent) !important;
}

/* Contact Page Social Icons */
.btn-social {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.btn-social i {
    font-size: 1rem !important;
}

/* Portfolio Icon Buttons */
.portfolio-text .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.portfolio-text .btn i {
    font-size: 16px !important;
    line-height: 1 !important;
}
