/* ------------------------------
   RESET & FONTS
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #FFFFFF;
    color: #000;
    overflow-x: hidden;
}

/* ------------------------------
   HEADER
------------------------------ */
header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #ddd;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

/* Fade in from top */
@keyframes fadeInDown {
    0% { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.logo {
    font-weight: 600;
    font-size: 1.2rem;
    color: #0070c9;
    text-decoration: none;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    margin-left: 30px;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #0070c9;
}

/* ------------------------------
   HERO
------------------------------ */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 100px;
    flex: 1;
    opacity: 0;
    animation: fadeUp 1s ease forwards;
    max-width: 700px;
    margin: 0 auto;
}

@keyframes fadeUp {
    0% { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 40px;
}

.hero button {
    padding: 12px 40px;
    font-size: 1rem;
    background: #0070c9;
    color: #fff;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero button:hover {
    background: #005fa3;
    transform: translateY(-2px);
}

/* ------------------------------
   SECTIONS (COMMON)
------------------------------ */
section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0 auto;
    max-width: 650px;
    margin-bottom: 30px;
}

/* ------------------------------
   FEATURES GRID
------------------------------ */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    background: #fafafa;
    border-radius: 12px;
    padding: 40px 20px;
    transition: transform 0.3s ease;
}

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

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.feature-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* ------------------------------
   CONTACT DETAILS
------------------------------ */
.contact-details {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin-top: 20px;
}

.contact-details a {
    color: #0070c9;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
    padding: 20px;
    text-align: center;
    font-size: 0.875rem;
    color: #999;
    background: #fff;
    border-top: 1px solid #ddd;
    width: 100%;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeInUp {
    0% { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------ */
@media (max-width: 800px) {
    .features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .features {
        grid-template-columns: 1fr;
    }

    nav a {
        margin-left: 15px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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