/* Thiết lập chung */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
    --text-color: #333;
    --link-color: #007bff;
    --link-hover-color: #0056b3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tiêu đề */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', sans-serif;
    margin-bottom: 20px;
}

/* Liên kết */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover-color);
}

/* Nút */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--link-hover-color);
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

/* Main content */
.main {
    margin-top: 80px;
}

/* home section */
.home {
 background: url(../shinestar_img_file/home-img-1.png) 100% no-repeat;
 background-size: 100% 100%;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.home h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.home p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Services section */
.services-overview {
    padding: 80px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f1f3f5;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* About section */
.about-preview {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-content div {
    flex: 1;
}
.about-content p{
    max-width: 500px;
}
.about-image{
    text-align: center;
}
.about-image img {
    height: auto;
   margin-top: 30px;
}

/* Project showcase */
.project-showcase {
    padding: 80px 0;
    background-color: #f1f3f5;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-item img {
    max-width: 100%;
    height: auto;
}

.project-info {
    padding: 20px;
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info, .footer-links {
    flex: 1;
    text-align: center;
}

.footer-links ul {
    list-style-type: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-info, .footer-links {
        margin-bottom: 30px;
    }
}

/* About page */
.company-intro{
    background: url(../shinestar_img_file/about-img-1.png) 100% no-repeat;
    background-size: 100% 100%;
}
.intro-content{
    color: #fff;
}
.company-intro, .mission-vision, .core-values, .team-intro {
    padding: 80px 0;
}

.mission-vision .container {
    display: flex;
    gap: 30px;
}

.card {
    background-color: #f1f3f5;
    border-radius: 10px;
    padding: 30px;
    flex: 1;
}

.values-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

/* Services page */
.services-list .service-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.services-list .service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-content, .service-image {
    flex: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #fff;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

/* Projects page */
.projects-showcase {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-info {
    padding: 20px;
}

.feedback-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feedback-item {
    background-color: #f1f3f5;
    border-radius: 10px;
    padding: 30px;
    font-style: italic;
}

/* News page */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-content {
    padding: 20px;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    list-style-type: none;
}

.pagination ul li {
    margin: 0 5px;
}

.pagination ul li a {
    display: block;
    padding: 5px 10px;
    background-color: #f1f3f5;
    border-radius: 5px;
}

.pagination ul li a.active {
    background-color: var(--primary-color);
    color: #fff;
}

/* Contact page */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-item {
    text-align: center;
}

#map {
    height: 400px;
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mission-vision .container {
        flex-direction: column;
    }

    .services-list .service-item,
    .services-list .service-item:nth-child(even) {
        flex-direction: column;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .timeline-item::after {
        left: 15px;
    }

    .timeline-item:nth-child(even) {
        left: 0%;
    }
}
/* Our app - FastTien */
.our-app {
    --app-color: #84D41F;
    --app-color-dark: #5FA30E;
    padding: 80px 0;
    background: linear-gradient(180deg, #f6fbef 0%, #fff 100%);
    scroll-margin-top: 80px;
}

.our-app h2 {
    text-align: center;
    margin-bottom: 40px;
}

.app-hero {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.app-logo {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 44px;
    box-shadow: 0 12px 30px rgba(132, 212, 31, 0.35);
}

.app-intro h3 {
    font-size: 30px;
    margin-bottom: 8px;
    color: var(--app-color-dark);
}

.app-slogan {
    font-weight: 700;
    margin-bottom: 12px;
}

.app-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    list-style: none;
}

.app-steps li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 8px;
    background: #fff;
    border: 1px solid rgba(132, 212, 31, 0.5);
    border-radius: 30px;
}

.app-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--app-color);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.app-feature {
    background: #fff;
    border-top: 4px solid var(--app-color);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.app-feature:hover {
    transform: translateY(-5px);
}

.app-feature h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.app-terms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background: var(--app-color);
    border-radius: 12px;
    color: #fff;
    margin-bottom: 24px;
}

.app-terms div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 12px;
    text-align: center;
}

.app-terms strong {
    font-size: 22px;
}

.app-example {
    margin-bottom: 12px;
}

.app-note {
    font-size: 14px;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .app-hero {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .app-logo {
        width: 140px;
        height: 140px;
        border-radius: 32px;
    }

    .app-steps {
        justify-content: center;
    }
}
