/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}


body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to right, #f4f4f4, #e0e0e0);
    color: #333;
    line-height: 1.6;
    transition: background 0.3s ease;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #1e1e2f;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    animation: slideInLeft 0.7s ease-out;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.navbar nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.navbar nav ul li a::after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background: #00bcd4;
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.navbar nav ul li a:hover {
    color: #00bcd4;
}

.navbar nav ul li a:hover::after {
    width: 100%;
}

/* Main content styling */
.content {
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    flex: 1; /* This is what pushes the footer down */
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem;
    background: #1e1e2f;
    color: white;
}

/* Animations */
@keyframes slideInLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e1e2f;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #00bcd4;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #0097a7;
}

/* Highlights Section */
.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
}

.highlight-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}
.about, .projects, .contact {
    max-width: 800px;
    margin: auto;
    padding: 3rem 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

form input, form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

form button {
    background-color: #00bcd4;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background-color: #0097a7;
}

