/* Main Styles for The King Overseas Website */

/* Custom Colors */
:root {
    --primary-blue: #1e3a8a; /* blue-900 */
    --primary-yellow: #f59e0b; /* yellow-500 */
    --hover-yellow: #d97706; /* yellow-600 */
    --text-dark: #1f2937; /* gray-800 */
    --text-light: #6b7280; /* gray-500 */
    --bg-light: #f3f4f6; /* gray-100 */
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.logo img {
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    /* background-color: var(--primary-blue); */
    background-color: rgba(30, 59, 138, 0.282);
    position: relative;
    overflow: hidden;
    background-image: url('./Assets/HeroImage.jpeg'); 
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(30, 134, 138, 0.183) 0%, rgba(30, 59, 138, 0.365) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    height: 50vh;
}

/* Button Styles */
.bg-yellow-500 {
    background-color: var(--primary-yellow);
    transition: all 0.3s ease;
}

.bg-yellow-500:hover {
    background-color: var(--hover-yellow);
}

/* Card Styles */
.visa-types-section .rounded-lg {
    transition: all 0.3s ease;
}

.visa-types-section .rounded-lg:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Steps Section */
.steps-section .bg-yellow-500 {
    transition: all 0.3s ease;
}

.steps-section .text-center:hover .bg-yellow-500 {
    transform: scale(1.1);
}

/* Form Styles */
input, textarea {
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--primary-blue);
}

/* Stats Section Animation */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}
.stats-section .text-3xl {
    transition: all 0.3s ease;
}

.stats-section div:hover .text-3xl {
    transform: scale(1.1);
    color: var(--primary-yellow);
}

/* Footer Styles */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-yellow);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section, .welcome-section, .immigration-section, .contact-section {
        text-align: center;
    }
    
    .welcome-section .md\:pl-12, .immigration-section .md\:pl-12, .contact-section .md\:pl-12 {
        padding-left: 0;
        margin-top: 2rem;
    }
}

/* Animation for Page Load */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Staggered Animation Delay */
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.2s; }
section:nth-child(4) { animation-delay: 0.3s; }
section:nth-child(5) { animation-delay: 0.4s; }
section:nth-child(6) { animation-delay: 0.5s; }
section:nth-child(7) { animation-delay: 0.6s; }