
:root {
    --color-1: #FF896D;
    --color-2: #0D1546;
    --color-3: #FFFFFF;
    --color-4: #639FAB;
    --color-5: #BBCDE5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    font-family: Arial, sans-serif;
    background: var(--color-3);
    color: var(--color-2);
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--color-3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav div:first-child {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--color-1);
}

nav a {
    color: var(--color-5);
    margin-left: 2rem;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: var(--color-4);
}

header {
    height: 100vh;
    background: var(--color-2);
    color: var(--color-3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.btn {
    background: var(--color-1);
    color: var(--color-2);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--color-4);
}

section {
    min-height: 100vh;
    padding: 4rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#services {
    background: var(--color-5);
}

#why {
    background: var(--color-4);
}

#about {
    background: var(--color-1);
    color: var(--color-3);
}

#about p {
    color: var(--color-3);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.card {
    background: var(--color-3);
    color: var(--color-2);
    padding: 2rem;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

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

.flip-card {
    background: none;
    perspective: 1000px;
    width: 300px;
    height: 200px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: var(--color-3);
    color: var(--color-2);
}

.flip-card-back {
    transform: rotateY(180deg);
}

footer {
    background: var(--color-2);
    color: var(--color-3);
    padding: 4rem 5%;
    text-align: center;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-image {
    border-radius: 10px;
    width: 300px;
}

.about-text {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .card, .flip-card, .about-image, .about-text {
    width: 90%;
    }
    .about-content {
    flex-direction: column;
    text-align: center;
    }
}