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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Top Bar */
.top-bar {
    background-color: #ED2939; /* Singapore Red */
    color: #fff;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact span {
    margin-right: 20px;
}

.top-contact i {
    margin-right: 5px;
}

.top-actions a {
    color: #fff;
    margin-left: 20px;
}

.language-selector {
    display: inline-flex;
    align-items: center;
}

.language-selector i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.login-btn {
    padding: 5px 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    color: #ED2939; /* Singapore Red */
    font-weight: 700;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ED2939; /* Singapore Red */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ED2939; /* Singapore Red */
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/singapore-hero.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    color: #ED2939; /* Singapore Red */
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: #ED2939; /* Singapore Red */
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Services Section */
.services {
    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: #f9f9f9;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.service-icon {
    font-size: 2.5rem;
    color: #ED2939; /* Singapore Red */
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.process-step {
    background-color: #fff;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ED2939; /* Singapore Red */
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-icon {
    font-size: 2rem;
    color: #ED2939; /* Singapore Red */
    margin: 15px 0;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.process-step p {
    color: #666;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature i {
    font-size: 2.5rem;
    color: #ED2939; /* Singapore Red */
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.feature p {
    color: #666;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
    background-color: #fff;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
}

.testimonial-author h4 {
    color: #333;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #666;
    font-size: 0.9rem;
}

/* Call to Action */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/singapore-marina.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #ccc;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ED2939; /* Singapore Red */
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-contact i {
    margin-right: 10px;
    color: #ED2939; /* Singapore Red */
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: #fff;
    margin-right: 15px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #ED2939; /* Singapore Red */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 3px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #fff;
    color: #ED2939; /* Singapore Red */
    border: 2px solid #fff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #ED2939; /* Singapore Red */
}

/* For non-hero sections */
.services .btn-secondary,
.service-card .btn-secondary {
    background-color: transparent;
    color: #ED2939; /* Singapore Red */
    border: 2px solid #ED2939; /* Singapore Red */
}

.services .btn-secondary:hover,
.service-card .btn-secondary:hover {
    background-color: #ED2939; /* Singapore Red */
    color: #fff;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .testimonial {
        flex: 0 0 calc(50% - 15px);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}