/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER & NAVBAR ===== */
.header {
    background-color: #1a1a2e;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e94560;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #ccc;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

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

.nav-links a:hover {
    color: #e94560;
}

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

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    color: #aab;
    margin-bottom: 35px;
}

/* ===== BUTTON ===== */
.btn {
    display: inline-block;
    background-color: #e94560;
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.btn:hover {
    background-color: #c73652;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.5);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 90px 20px;
    background-color: #fff;
    text-align: center;
}

.about h2,
.services h2,
.contact h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.about h2::after,
.services h2::after,
.contact h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #e94560;
    margin: 10px auto 0;
    border-radius: 2px;
}

.about > .container > p {
    color: #666;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 50px;
}

/* ===== CARDS ===== */
.cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.card {
    background-color: #f4f4f8;
    border-radius: 12px;
    padding: 35px 25px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-bottom-color: #e94560;
}

.card-icon {
    font-size: 2.5rem;
    color: #e94560;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: #666;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 90px 20px;
    background-color: #f0f2f5;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 35px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #e94560;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-item h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.service-item p {
    font-size: 0.95rem;
    color: #666;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 90px 20px;
    background-color: #fff;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a2e;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafafa;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
    background-color: #fff;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.05rem;
    border-radius: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #1a1a2e;
    color: #aaa;
    text-align: center;
    padding: 25px 20px;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 18px 20px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 340px;
    }
}