* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: url('../images/bg_login.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    align-self: flex-start;
    background-color: #EFF6FF;;
}
.left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 280px;
}
.left span {
    color: #666666;
}
.links {
    display: flex;
    align-items: center;
}
.links a {
    color: #125DB2;
    text-decoration: none;
}
.right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
}
.right .ic_phone {
    background-image: url(../views/images/blue/ic_phone.png);
    background-repeat: no-repeat;
    background-size: 12px 12px;
    width: 12px;
    height: 12px;
}
.right .phone {
    color: #3263FE;
    margin-right: 280px;
    text-align: right;
}


.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.title {
    text-align: center;
    margin: 30px 0;
}

.title h1 {
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 50px 0 80px;
}

.module {
    height: 230px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.module:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.module-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.module:hover .module-bg {
    transform: scale(1.05);
}

.module-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.module-content {
    position: relative;
    z-index: 3;
    padding: 35px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.module span {
    font-size: 26px;
    margin-bottom: 12px;
    color: #1479EC;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.module p {
    color: #111111;
    line-height: 1.5;
    font-size: 14px;
}

.footer {
    text-align: center;
    padding: 15px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #EFF6FF;
    color: #333333;
}

@media (max-width: 900px) {
    .module-content {
        width: 65%;
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .title h1 {
        font-size: 2.2rem;
    }
    
    .module {
        height: 250px;
    }
    
    .module-content {
        width: 60%;
    }
}

@media (max-width: 480px) {
    .module-content {
        width: 75%;
    }
    
    .module h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 767px) {
    /* .top {
        flex-direction: column;
        align-items: center;
        width: 100%;
    } */
    .top {
	    flex-direction: column;
	    align-items: center;
	}
	
	.left {
	    flex-direction: column;
	    align-items: center;
	    gap: 5px;
	    text-align: center;
	    margin-left: 0;
	}
	
	.right {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .phone {
        font-size: 14px;
        text-align: center;
        display: inline-flex;
    }
}