/* Custom Styles */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth; /* Smooth scrolling between sections */
}

/* .hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
} */

.hero-section {
    height: 100vh;
    /* We replaced the long URL with your local filename */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('Images/cute-robot-character-with-smile-face-3d-vector-set/cute-robot-character-with-smile-face-3d-vector-set.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* This adds a nice parallax scroll effect */
}

/* Mobile View Fixes (Screens smaller than 768px) */
@media (max-width: 768px) {
    .hero-section {
        /* 1. Prevent the image from stretching too much */
        background-attachment: scroll; 
        
        /* 2. Focus on the center-top of the image so faces/main subjects aren't cut */
        background-position: center top; 
        
        /* 3. Ensure the hero doesn't take up the ENTIRE screen if it feels too long */
        height: 80vh; 
    }

    .hero-section h1 {
        font-size: 2.5rem; /* Shrink text so it doesn't wrap awkwardly */
    }
}

section {
    padding: 80px 0;
}

h2 {
    font-weight: 700;
    letter-spacing: 2px;
    border-bottom: 2px solid #333;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 40px;
}

.navbar-brand {
    letter-spacing: 3px;
}

.card {
    transition: transform 0.3s;
    border: none;
}

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

.timeline h4 {
    color: #333;
    margin-bottom: 5px;
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-10px); /* Lifts the card up */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover; /* Ensures the image fills the area without stretching */
}

.blog-card a {
    color: #007bff; /* Or your preferred brand color */
}