@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Montserrat:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #004d26;
    color: white;
    width: 100%;
}

.top-bar {
    background-color: #00331a;
    padding: 10px 0;
    font-size: 0.9rem;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.main-nav {
    padding: 15px 0;
    border-bottom: 4px solid #ffcc00;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
}

.logo {
    width: 90px;
    height: 90px;
    margin-right: 10px;
    object-fit: contain;
}

.logo-primary {
    border-radius: 50%;
    padding: 0px;
}

.title-box {
    margin-left: 10px;
}

.republic-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: white;
    font-weight: 300;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.2;
}

.title-box h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.3;
    font-weight: 700;
}

.title-box p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #ffcc00;
    font-weight: 500;
    line-height: 1.4;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a:focus {
    color: #ffcc00;
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    background: #000;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide.active {
    display: block;
    animation: fadeIn 0.8s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.slide-overlay {
    position: absolute;
    bottom: 15%;
    left: 10%;
    color: white;
    max-width: 700px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.cta-btn {
    font-family: 'Inter', sans-serif;
    background-color: #ffcc00;
    color: #004d26;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-btn:hover,
.cta-btn:focus {
    background-color: white;
    transform: scale(1.05);
    outline: 2px solid #004d26;
    outline-offset: 2px;
}

.ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
    z-index: 10;
}

.ctrl:hover,
.ctrl:focus {
    background: #ffcc00;
    color: #004d26;
    outline: 2px solid #004d26;
    outline-offset: 2px;
}

.next {
    right: 20px;
}

.prev {
    left: 20px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    margin: 50px 0 30px;
    color: #004d26;
    font-size: 2rem;
    border-left: 6px solid #ffcc00;
    padding-left: 15px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.4;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, border-bottom 0.3s;
    cursor: pointer;
    display: block;
    text-decoration: none;

}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #004d26;
}

.card-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    padding: 20px;
    font-size: 1rem;
    color: #222;
    text-align: center;
    font-weight: 600;
    line-height: 1.5;
}

footer {
    background-color: #085e31;
    color: #ffffff;
    padding: 40px 0 20px 0;
    border-top: 4px solid #ffcc00;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.f-seal {
    width: 60px;
    height: auto;
    opacity: 0.9;
}

.brand-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.brand-text p {
    font-size: 0.85rem;
    color: #ffcc00;
    font-weight: 500;
}

.footer-dev {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
}

.dev-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 5px;
    margin-left: 47px;
}

.dev-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wincel-logo {
    width: 80px;
    height: auto;
}

.dev-brand span {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
}

.footer-copyright p {
    font-size: 0.6rem;
    color: #ffffff;
}

.dev-status {
    color: #ffcc00;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.6rem;
    margin-left: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-brand {
        flex-direction: column;
        gap: 10px;
    }
    .footer-dev {
        text-align: center;
    }
    .dev-brand {
        justify-content: center;
    }
    .nav-content {
        flex-direction: column;
    }
    .nav-links {
        margin-top: 20px;
        justify-content: center;
    }
    .slide-overlay {
        left: 5%;
        bottom: 10%;
    }
    .carousel {
        height: 400px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .title-box h1 {
        font-size: 1.2rem;
    }
    .republic-title {
        font-size: 0.7rem;
    }
    .footer-dev {
        align-items: center; 
        min-width: unset;    
    }
    .dev-label {
        margin-left: 0;      
    }    
    .slide-overlay {
        max-width: 90%;      
    }

    .footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
    }

    .dev-status {
    color: #ffcc00;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    }
}