* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Calibri, 'Trebuchet MS', sans-serif;
    color: #000;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background-color: #dbf4ff;
    box-shadow: 0 2px 5px rgb(0, 0, 0);
    z-index: 1000;
    height: 50px;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
    max-width: fit-content;
}

.title-content {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}

.title-container h1 {
    color: #000080;
    margin-bottom: 0;
    font-size: 1.5rem;
    line-height: 1.2;
}

.nav-container {
    position: relative;
    z-index: 1001;
}

.nav-toggle {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-icon {
    width: 30px;
    height: 30px;
    display: block;
}

.nav-menu {
    position: fixed;
    top: 70px;
    left: -175px;
    width: 175px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.nav-menu.active {
    left: 0;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-menu li {
    display: flex;
    width: 100%;
}

.nav-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 3px 5px;
    background: none;
    border: none;
    border-bottom: 1px solid #6a9fb0;
    color: #000080;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: bold;
    font-size: 14px;
}

.nav-menu a img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    object-fit: contain;
}

.nav-menu a:hover {
    background-color: rgb(195, 221, 255);
    padding-left: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 80px;
}

.home-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gif-intro-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.home-slideshow-container {
    width: 50%;
    border-radius: 12px;
    margin-bottom: 1.5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgb(0, 0, 0);
    position: relative;
    height: auto;
}

.home-slideshow-container::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.home-slide, .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.home-slide.active, .slide.active {
    opacity: 1;
}

.home-slide img, .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.intro-section {
    background-color: #dbf4ff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 1.5px;
    box-shadow: 0 4px 6px rgb(0, 0, 0);
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-us-full {
    background-color: #dbf4ff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgb(0, 0, 0);
    margin-top: 1.5px;
}

.why-us-full ul {
    padding-left: 20px;
    margin-bottom: 1rem;
}

.why-us-full li {
    margin-bottom: 0.1rem;
}

.vertical-social-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.social-container-vertical {
    display: flex;
    background-color: rgba(255, 255, 255, 0.332);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: -2px 0 5px rgb(0, 0, 0);
    padding: 5px;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-container-vertical:hover {
    transform: scale(1.1);
    background-color: rgb(220, 244, 255);
}

.social-title-container {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: rgb(42, 42, 42);
    padding: 5px 3px;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    margin-right: 5px;
}

.social-title-text {
    font-weight: bold;
}

.social-icons-container {
    display: flex;
    flex-direction: column;
}

.social-icon {
    margin: 3px 0;
    transition: transform 0.3s ease;
}

.social-icon img {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    transform: scale(1.2);
}

.horizontal-social-bar {
    display: none;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.332);
    z-index: 1000;
    padding: 5px 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.horizontal-social-bar:hover {
    transform: translateX(-5px);
    background-color: rgb(220, 244, 255);
}

.social-container-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
}

.social-title-container-mobile {
    color: rgb(42, 42, 42);
    font-size: 10px;
    margin-bottom: 3px;
    text-align: center;
}

.social-title-text-mobile {
    font-weight: bold;
}

.social-icons-container-mobile {
    display: flex;
    justify-content: center;
}

.social-icons-container-mobile .social-icon {
    margin: 0 3px;
}

footer {
    text-align: center;
    padding: 20px;
}

.floating-buttons {
    position: fixed;
    bottom: 5px;
    right: 5px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.floating-btn {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 179, 255, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.floating-btn:hover {
    transform: scale(1.1);
    background-color: rgba(0, 0, 128, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.service-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.service-card {
    display: block;
    background-color: #dadada;
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    color: #000080;
    outline: rgb(70, 70, 70) solid 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.service-card h3 {
    text-align: center;
    margin: 10px 0;
    font-size: 1.2rem;
    color: #000080;
}

.service-card p {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.service-card ul {
    padding-left: 20px;
    margin: 10px 0;
}

.service-card li {
    padding-left: 0.5px;
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 1;
}

@media (max-width: 992px) {
    .gif-intro-container {
        flex-direction: column;
    }
    
    .home-slideshow-container, .intro-section {
        width: 100%;
    }
    
    .home-slideshow-container::before {
        padding-top: 56.25%;
    }
}

@media (max-width: 768px) {
    .container {
        padding-top: 70px;
    }
    
    .header-bar {
        padding: 8px;
    }
    
    .title-container h1 {
        font-size: 1.2rem;
    }

    .vertical-social-bar {
        display: none;
    }
    
    .horizontal-social-bar {
        display: flex;
    }
    
    .service-cards-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .slideshow-container {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .header-bar {
        flex-wrap: wrap;
        height: auto;
        padding: 8px;
    }
    
    .title-container {
        order: 2;
        width: 100%;
        margin-top: 0px;
    }
}

@media (min-width: 769px) {
    .horizontal-social-bar {
        display: none;
    }
}

@media (min-width: 1200px) {
    .service-cards-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
