@font-face {
    font-family: 'Caviar Dreams';
    src: url('fonts/CaviarDreams.ttf') format('truetype'),
         url('fonts/CaviarDreams.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --main-bg-color: #d3e5f3;
    --accent-color: #72bcd4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
main {
    padding-top: 100px; /* adjust to match the nav height */
}

/* style.css */
body {
    font-family: 'Caviar Dreams', sans-serif;
    background: #d3e5f3;
}

/* Header Section */
header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #003461;
}

/* Small Logo in Top-Left */
header .small-logo {
    position: absolute;
    top: 14px;
    left: 20px;
    width: 100px;
    z-index: 9999; /* bring it in front of all */
    filter: invert(100%) brightness(1000%);
    pointer-events: none; /* optional: lets clicks pass through if needed */
}


/* Banner Background Image */
header .banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Large Logo in Center */
header .banner .large-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    z-index: 10;
    filter: invert(100%) brightness(1000%);
}

/* Slogan and Button */
.banner-content {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.banner-content h1 {
    position: relative;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.banner-content .learn-more-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: transparent; /* transparent background */
    border: solid 2px #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.banner-content .learn-more-btn:hover {
    background-color: #fff;
    color: #000;
}

.banner-content .learn-more-btn:hover {
    background-color: #fff;
    color: #003461;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 52, 97, 0.8);
    padding: 20px 50px;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px;
    transition: color 0.3s ease;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

header nav ul li a:hover {
    color: #ffffff;
}

header nav ul li a:hover::after {
    width: 100%;
}




/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    background-color: transparent;
}

/* Individual Links */
.nav-links li {
    margin: 0 15px;
}

.nav-links li a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
}

/* Hamburger Menu (Hidden by Default) */
.hamburger {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 30px;
    z-index: 15;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
}

/* For Smaller Screens (Responsive) */
@media (max-width: 912px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -300px; /* Hidden offscreen initially */
        height: 100%;
        width: 300px;
        background-color: rgba(0, 52, 97, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 10;
    }

    .nav-links.active {
        right: 0; /* Slide in from right */
    }

    .nav-links li {
        margin: 15px 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .nav-links {
        width: 100%; /* Full-width */
        top: -100%; /* Hidden offscreen initially */
        transform: translateY(-100%);
    }

    .nav-links.active {
        transform: translateY(0); /* Slide in from top */
    }

    .hamburger {
        top: 15px;
        transform: translateX(50%);
    }
}

/* About Us Section */
#about-us {
    height: 100vh;
    background-color: #f2f8fb;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-us-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1200px;
}

.content {
    flex: 1;
    padding: 20px;
}

.content h2 {
    font-size: 2.5rem;
    color: #003461;
    margin-bottom: 10px;
}

.content h3 {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #777;
    margin-bottom: 20px;
}

.content .learn-more-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #003461;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.content .learn-more-btn:hover {
    background-color: #fff;
    color: #003461;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-us-logo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    /*opacity: 0; /* Initially hidden 
    transform: translate(7%, -97%);
    z-index: 10;*/
}

 .about-logo {
    width: 350px;
    max-width: 100%;
    
}

/* Service Section */
#services {
    height: 100vh; /* Full viewport height */
    background-color: #ddf2fc;
    padding: 60px 20px;
    text-align: center;
}

/* Header Section */
.services-header h1 {
    font-size: 2.5rem;
    color: #003461;
    margin-bottom: 10px;
}

.services-header h3 {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 40px;
}

/* Services Container */
.services-container {
    display: flex;
    justify-content: center; /* Centers the cards horizontally */
    align-items: center; /* Centers the cards vertically */
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    height: 80%; /* Adjust height to allow for vertical centering */
}

/* Service Card */
.service-card {
    position: relative;
    width: 250px; /* Adjusted width for better proportion */
    height: 350px; /* Adjusted height */
    background-color: #333;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.service-card h3 {
    top: 10px;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 1;
    right: 1;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.small-button {
    background-color: #003461;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.small-button:hover {
    background-color: #72bcd4;
}



/* Hover Effect */
.service-card:hover {
    width: 350px;
    height: 400px;
    transform: translateY(-50px);
    
}

/* Card Title */
.service-card h3 {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    margin: 0;
    color: #002647;
    z-index: 10;
    pointer-events: none;
}

/* Content inside card */
.card-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    width: 100%;
    text-align: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Learn More Button */
.small-button {
    display: inline-block;
    padding: 8px 16px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #003461;
    border-radius: 5px;
    margin-top: 10px;
    transition: all 0.3s ease;
    
}

.small-button:hover {
    background-color: #003461;
    color: #000000;
}


/* Card Content */
.card-content {
    position: absolute;
    bottom: 20px;
    width: 90%;
    background-color: rgba(0, 0, 0, 0.6); /* Transparent dark background */
    padding: 15px;
    border-radius: 10px;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(20px); /* Move content slightly down initially */
    color: #fff;
    text-align: center;
}

.service-card:hover .card-content {
    opacity: 1; /* Show content on hover */
    transform: translateY(0); /* Reset position */
}

/* Content Text */
.card-content p {
    font-size: 1rem;
    margin-bottom: 15px;
}


/* Button Styling */
.learn-more-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #003461;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #fff;
    color: #003461;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Add Background Images */
.service-card:nth-child(1) {
    background: url('/img/Home/building.jpg') no-repeat center center/cover;
}

.service-card:nth-child(2) {
    background: url('/img/Home/interior.jpeg') no-repeat center center/cover;
}

.service-card:nth-child(3) {
    background: url('/img/Home/maint.webp') no-repeat center center/cover;
}

.service-card:nth-child(4) {
    background: url('/img/Home/mep.jpg') no-repeat center center/cover;
}

#map-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


/* projects */
.projects {
    background-color: #f2f8fb;
    text-align: center;
    padding: 60px 20px;
    width: 100%;
    height: 100vh;
}

.projects-header h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    
}

.projects-sec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

.project-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-overlay {
    position: relative;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    color: #ffffff;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.3s ease;
}

.project-card:hover .project-overlay {
    background: rgba(0, 52, 97, 0.7); /* Red overlay on hover */
}

.project-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 52, 97, 0.7);
    background-image: url(0.png);
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto 15px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.2);
    background-color: rgb(211, 229, 243, 0.7);
    background-image: url(0.png);
    background-size: 50px 50px;
    transition: transform 0.3s ease;
}

.project-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0 10px;
    transition: color 0.3s ease;
}

.project-card p {
    font-size: 14px;
    color: #f0f0f0;
    transition: color 0.3s ease;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.project-card:hover a {
    color: #ffffff;
}

/* Footer styles */
.footer {
    background-color: #00425e;
    color: #d3e5f3;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-section h3 {
    color: #d3e5f3;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #72bcd4;
}

/* Company Info Styles */
.company-info {
    display: flex;
    flex-direction: column;
}

.logo-and-name {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    filter: invert(100%) brightness(1000%);
    width: 200px; /* Adjust as needed for logo size */
    margin-right: 10px;
    margin-top: 14px;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    color: #d3e5f3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #72bcd4;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #d3e5f3;
    border-top: 1px solid #72bcd4;
    margin-top: 20px;
}

.footer-bottom a {
    color: #72bcd4;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}
.map-section {
    width: 300px;
    max-width: 100%;
    margin-top: 20px;
}

.map-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.map-section iframe {
    width: 100%;
    height: 150px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


/* Mobile styles */
@media (max-width: 768px) {
    .location-container {
        flex-direction: column;
        text-align: center;
    }

    .location-text {
        margin-bottom: 20px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .map-section {
        width: 90%;
        margin-top: 30px;
    }
    .projects-sec {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet/mobile */
        gap: 15px;
        padding: 20px;
    }

    .project-card {
        height: 300px; /* Adjust the height of the cards on smaller screens */
    }
    .service-card h3 {
        position: absolute;
        text-align: center;
        font-size: 1.1rem;
        margin: 0;
        color: #002647;
        z-index: 10;
        pointer-events: none;
    }
    .service-card:hover {
        width: 250px;
        height: 290px;
        transform: translateY(-50px);
        
    }
}


/* Responsive Styles */
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Caviar Dreams', sans-serif;
    background: #d3e5f3;
}

/* Header Section */
header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #003461;
}

/* Small Logo in Top-Left */
header .small-logo {
    position: absolute;
    top: 14px;
    left: 20px;
    width: 100px;
    z-index: 9999;
    filter: invert(100%) brightness(1000%);
}

/* Banner Background Image */
header .banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Large Logo in Center */
header .banner .large-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    z-index: 10;
    filter: invert(100%) brightness(1000%);
}

/* Slogan and Button */
.banner-content {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.banner-content h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.banner-content .learn-more-btn {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: transparent;
    border: solid 2px #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.banner-content .learn-more-btn:hover {
    background-color: #fff;
    color: #003461;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Navigation Bar */
header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 52, 97, 0.8);
    padding: 20px 50px;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    font-weight: bold;
    padding: 5px;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #ffffff;
}

/* Navigation Links for Smaller Screens */
.nav-links {
    display: flex;
    list-style: none;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.hamburger {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
}

/* Mobile Navigation (Hamburger Menu) */
@media (max-width: 912px) {
    header nav {
        position: static;
        backdrop-filter: none;
        padding: 10px 20px;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -300px; /* Initially off-screen */
        height: 100%;
        width: 300px;
        background-color: rgba(0, 52, 97, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 10;
    }

    .nav-links.active {
        right: 0; /* Slide in from right */
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
    }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    header .banner .large-logo {
        width: 200px;
    }

    .banner-content h1 {
        font-size: 1.2rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .content p {
        font-size: 1rem;
    }

    .service-card {
        width: 90%;
        height: 280px;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .footer-section {
        padding: 10px;
    }

    .footer-section h3 {
        font-size: 14px;
    }

    .footer-section ul li a {
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 10px;
    }
    .floating-map {
        width: 90%;
        height: 180px;
        right: 5%;
        bottom: 15px;
    }
    
}

/* About Us Section */
#about-us {
    height: 100vh;
    background-color: #f2f8fb;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-us-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1200px;
}

/* Adjustments for mobile */
@media (max-width: 1024px) {
    .about-us-container {
        flex-direction: column;
        align-items: center;
    }

    .about-logo {
        width: 70%;
    }
}

/* Service Section */
#services {
    height: 100vh;
    background-color: #ddf2fc;
    padding: 60px 20px;
    text-align: center;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}



/* Projects Section */
.projects {
    background-color: #f2f8fb;
    text-align: center;
    padding: 60px 20px;
    width: 100%;
    height: 100vh;
}
.projects-sec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;

    
}

/* Projects for Small Screens */
@media (max-width: 768px) {
    .projects {
        background-color: #f2f8fb;
        text-align: center;
        padding: 60px 20px;
        width: 100%;
        height: 100%;
    }
    .projects-sec {
        grid-template-columns: 1fr;
    }

    .project-card {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 912px) {
    .footer-container {
        text-align: center;
        align-items: center;
    }

    .footer-section {
        margin: 20px 0;
        text-align: center;
    }
    .location-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .location-text {
        margin-bottom: 20px;
    }

    .map-container {
        width: 100%;
    }

    .map-container iframe {
        width: 100%;
        height: 250px;
    }
}

/* Footer Section */
.footer {
    background-color: #002647;
    color: #d3e5f3;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

/* Footer Mobile Adjustment */
@media (max-width: 480px) {

    .about-us-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 80%;
        max-width: 1200px;
    }
    
    .content {
        flex: 1;
        padding: 20px;
    }
    
    .content h2 {
        font-size: 1.5rem;
        color: #003461;
        margin-bottom: 10px;
    }
    
    .content h3 {
        font-size: 1.2rem;
        color: #555;
        margin-bottom: 20px;
    }
    
    .content p {
        font-size: 1rem;
        line-height: 1.5;
        color: #777;
        margin-bottom: 20px;
    }
    .about-logo {
        width: 150px;
        max-width: 100%;
        
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .service-card {
        width: 40%;
        height: 40%;
        max-height: 1200px;
        max-width: 200px;
        margin: 0 auto;
    }
    .service-card h3 {
        text-align: center;
        font-size: 0.7rem;
        margin: 0;
        color: #002647;
        z-index: 10;
        pointer-events: none;
    }
    .service-card:hover {
        width: 45%;
        height: 45%;
        max-height: 1200px;
        max-width: 200px;
        transform: translateY(-10px);
        
    }
    .card-content {
    position: relative;
    top: 0px;
    height: 65%;
    width: 85%;
    background-color: rgba(0, 0, 0, 0.6); /* Transparent dark background */
    padding: 15px;
    border-radius: 10px;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(20px); /* Move content slightly down initially */
    color: #fff;
    text-align: center;
}
.small-button {
    display: inline-block;
    padding: 1px 6px;
    font-weight: bold;
    color: #003461;
    text-decoration: none;
    border: 2px solid #003461;
    border-radius: 5px;
    margin-top: -10px;
    transition: all 0.3s ease;
    height: 25px;
    width: 50px;
}

.small-button:hover {
    background-color: #003461;
    color: #fff;
}

.small-button {
    display: inline-block;
    padding: 1px 6px;
    font-weight: bold;
    font-size: 8px;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #003461;
    border-radius: 5px;
    transition: all 0.3s ease;
   
}

.small-button:hover {
    background-color: #003461;
    color: #000000;
}

.service-card:hover .card-content {
    opacity: 1; /* Show content on hover */
    transform: translateY(0); /* Reset position */
}

/* Content Text */
.card-content p {
    font-size: 0.6rem
}

}
 