/* =============================================
   GENERAL STYLES - Skyline Immigration Website
   ============================================= */

   body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: #f9f9f9;
    color: #333;
}

/* Loader (Spinner) */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    visibility: visible;
    opacity: 1;
}

/* Back-to-Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #007bff, #003366);
    color: white;
    border-radius: 50%;
    transition: 0.5s;
    z-index: 99;
}

.back-to-top:hover {
    transform: scale(1.1);
}

/* ==================== NAVIGATION BAR ==================== */
.navbar {
    transition: all 0.4s;
    padding: 15px 0;
}

.navbar-light .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #007bff !important;
    transform: scale(1.05);
}

.navbar-brand img {
    max-height: 70px;
}

/* ============= HERO SECTION ============= */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/img/world-map.png') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-section h1 {
    font-size: 3.5rem;
    animation: slideIn 1s ease-in-out;
}

.hero-section p {
    font-size: 1.4rem;
    animation: fadeInUp 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

.service-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-in-out;
}

.service-box:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #007bff, #003366);
    color: white;
}

#loading {
    display: none;
    text-align: center;
    margin-top: 15px;
}

#loading img {
    width: 50px;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#loading p {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

/* ==================== FOOTER SECTION ==================== */
footer {
    background: linear-gradient(45deg, #003366, #007bff);
    color: white;
    padding: 40px 0;
    text-align: center;
    font-size: 16px;
}

footer a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Social Icons */
.social-icons a {
    margin: 0 10px;
    color: white;
    font-size: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ffcc00;
    transform: scale(1.1);
}
