/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    animation: fadeIn 1s ease-in-out;
}

/* HEADER */
header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: #007bff;
    font-size: 26px;
    font-weight: bold;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: #333;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #007bff;
}

/* HERO */
.hero {
    background: linear-gradient(90deg, #007bff, #00aaff);
    color: #fff;
    padding: 80px 0;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 500px;
    animation: slideInLeft 1s ease-in-out;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero img {
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: slideInRight 1s ease-in-out;
}

.btn {
    background: #fff;
    color: #007bff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

/* CARDS SECTIONS */
.why, .services, .about, .contact {
    padding: 60px 0;
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ABOUT */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-content img {
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-in-out;
}

.about-content ul {
    margin-top: 15px;
    text-align: left;
    list-style: none;
}

.about-content ul li::before {
    content: "?";
    color: #007bff;
    margin-right: 8px;
}

/* CONTACT */
.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-in-out;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.contact-form input, 
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

/* FOOTER */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .hero-content, .about-content, .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .hero img, .about-content img {
        margin-top: 20px;
    }
}


/* TEAM CARDS */
.team-cards {
    margin-top: 40px;
}

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

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.team-card h3 {
    color: #007bff;
    margin-bottom: 5px;
    font-size: 18px;
}

.team-card h4 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: normal;
    color: #444;
}

.team-card p {
    font-size: 14px;
    line-height: 1.5;
}
