/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

/* BODY - Dark Blue Theme */
body {
    background: #0f172a; /* Dark Blue Background */
    color: #f8fafc; /* Light Text */
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    background: #1e293b; /* Slightly lighter blue for nav */
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: #f8fafc;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: #38bdf8; /* Sky blue hover */
}

/* HERO SECTION - With Animation */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    animation: fadeIn 1.2s ease-in; /* Section fade animation */
}

/* LEFT - Slide Animation */
.left {
    width: 50%;
    animation: slideLeft 1s ease-out;
}

/* RIGHT IMAGE - Slide & Hover Animation */
.right {
    width: 50%;
    text-align: center;
    animation: slideRight 1s ease-out;
}

.right img {
    width: 250px;
    border-radius: 50%;
    border: 4px solid #38bdf8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: 0.4s;
}

.right img:hover {
    transform: scale(1.05); /* Zoom effect on hover */
}

/* CONTACT TEXT */
.contact {
    margin-top: 15px;
}

/* ICONS */
.icons a {
    margin: 8px;
    font-size: 22px;
    color: #f8fafc;
    transition: 0.3s;
    display: inline-block;
}

.icons a:hover {
    color: #38bdf8;
    transform: translateY(-5px); /* Bounce effect */
}

/* SECTIONS */
section {
    padding: 60px;
}

/* HEADINGS */
h2 {
    margin-bottom: 15px;
    color: #38bdf8; /* Bright blue for headings */
}

/* CARDS - Dark Theme with Hover Animation */
.card {
    background: #1e293b;
    padding: 20px;
    margin-top: 20px;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: 0.4s ease;
}

.card:hover {
    transform: translateY(-8px); /* Card lift animation */
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border-color: #38bdf8;
}

.card h3 {
    color: #f8fafc;
}

/* FORM */
input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #334155;
    border-radius: 6px;
    background: #0f172a;
    color: white;
}

/* BUTTON */
button {
    padding: 10px 20px;
    background: #0284c7;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #38bdf8;
}

/* KEYFRAMES - Animations definition */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .left, .right {
        width: 100%;
    }

    section {
        padding: 25px;
    }
}


