@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --bg-light: #f8f9fa;
    --text-dark: #333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

nav {
    background: var(--white);
    padding: 5px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo img {
    height: 100px;
    width: auto;
    margin: -15px 0;
}

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
}

nav ul li a:hover { color: var(--secondary-color); }

.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), 
                url('https://images.unsplash.com/photo-1471922694854-ff1b63b20054?q=80&w=1470');
    background-size: cover;
    background-position: center 30%;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; max-width: 700px; }

.cta-button {
    background: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    display: inline-block;
    transition: background-color 0.3s;
}

.cta-button:hover { background-color: #2980b9; }

.container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card h3 { color: var(--secondary-color); margin-bottom: 15px; }

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
}

footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    margin-top: 80px;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 5px 20px;
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f5f5f5;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero { height: 300px; padding: 20px; }
    .hero h1 { font-size: 1.8rem; line-height: 1.2; }
    .hero p { font-size: 0.95rem; }
    .container { margin: 20px auto; padding: 0 15px; }
    .card { padding: 20px; margin-bottom: 20px; }
    footer { padding: 40px 20px; }
    .footer-logo { height: 70px; }
}

nav ul li a, 
.cta-button, 
.submit-btn, 
.card, 
.form-group input, 
.form-group textarea {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    border-bottom: 4px solid var(--secondary-color);
}

.cta-button:hover, 
.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.cta-button:active, 
.submit-btn:active {
    transform: scale(0.98);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
    background-color: #fff;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid img {
    transition: transform 0.5s ease;
}

.grid img:hover {
    transform: scale(1.03);
}

header.hero {
    position: relative;
}

.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: var(--bg-light);
}

.logo-slider-section {
    width: 100%;
    padding: 40px 0;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
    display: flex;
    width: max-content;
    animation: theaterLoop 25s linear infinite;
}

.logo-track img {
    height: 60px;
    margin: 0 40px;
    flex-shrink: 0;
}

@keyframes theaterLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-slider-section:hover .logo-track {
    animation-play-state: paused;
}