body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8f9fa;
}

/* Homepage Hero background */
.hero-bg {
    /* The path is relative to the CSS file's location in assets/css/ */
    /* This combines the gradient from the header with the background image. */
    /* I've added transparency to the gradient colors to let the image show through. */
    background-image: linear-gradient(to left, rgba(1, 130, 186, 0.534), rgba(178, 235, 242, 0.288)), url('../images/prince a5 broker 1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh; /* This makes the section occupy the full viewport height */
    display: flex; /* These two properties vertically center the content */
    align-items: center;
}


/* NEW Hero background for homepage */
.hero-bg-light {
    min-height: 80vh; /* Adjust as needed */
    background-image: linear-gradient(to left, #0181ba, #b2ebf2); /* Light blue gradient */
    display: flex;
    align-items: center;
    position: relative;
}

.hero-bg-light .text-highlight {
     text-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Softer shadow for light bg */
}

.hero-bg-light h1, .hero-bg-light h2, .hero-bg-light p {
    color: #012d55; /* Darker blue for better readability */
}

/* Apply the 'fixed' parallax effect only on larger screens */
@media (min-width: 1024px) {
    .hero-bg {
        background-attachment: fixed;
    }
}

/* Logo Color Palette */
/* Blue from logo */
.logo-blue { color: #b4d335; }
.bg-logo-blue {
    background-color: #0181ba; /* Fallback */
    /* Dark blue gradient */
    background-image: linear-gradient(to left, #0181ba, #b2ebf2);
} 
.bg-logo-blue-footer {
    background-color: #0181ba; /* Fallback */
    /* Dark blue gradient */
    /* background-image: linear-gradient(to right, #b2ebf2, #008dcd); */
} 
.focus\:ring-logo-blue:focus { --tw-ring-color: #0056a0; }


/* Red from logo */
.logo-red { color: #d41c1c; }
.bg-logo-red { background-color: #d41c1c; }
.hover\:bg-logo-red-dark:hover { background-color: #a91515; }


/* Green from logo */
.logo-green { color: #84bd00; }

/* Custom Header & Footer Style for Dark Background */
header.bg-logo-blue, footer.bg-logo-blue {
    color: #FFFFFF; /* White text for readability */
}

header.bg-logo-blue .nav-link {
    color: #E5E7EB; /* Light Gray */
}
header.bg-logo-blue .nav-link:hover {
    color: #FFFFFF;
}
header.bg-logo-blue button {
    color: #FFFFFF;
}

footer.bg-logo-blue a:hover {
    color: #FFFFFF;
}

/* Header Logo Size */
.header-logo {
    height: 4rem; /* 64px */
}


/* Navigation Styling */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0056a0;
    transition: width 0.3s ease;
}

/* Make underline white for dark header */
header.bg-logo-blue .nav-link::after {
    background-color: #ff0000;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #00407a;
    font-weight: 600;
}

/* Ensure active link is white on dark header */
header.bg-logo-blue .nav-link.active {
    color: #ffffff;
}


/* Card Hover Effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animated {
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
}

/* Background with static SVG globe */
section.lines-bg {
    background-color: #ccf9d8b7; /* Light green background */
    /* URL-encoded static SVG with reduced opacity */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-5 -5 110 110'%3E%3Cg fill='none' stroke='%23b4d335' stroke-width='0.8' opacity='0.2'%3E%3Ccircle cx='50' cy='50' r='50' opacity='0.2'/%3E%3Cpath d='M50 0 A50 50 0 0 1 50 100 A50 50 0 0 1 50 0 Z' stroke-width='0.5'/%3E%3Cellipse cx='50' cy='50' rx='25' ry='50' transform='rotate(45 50 50)'/%3E%3Cellipse cx='50' cy='50' rx='25' ry='50' transform='rotate(-45 50 50)'/%3E%3C/g%3E%3Cg fill='%23b4d335' opacity='0.2'%3E%3Ccircle cx='50' cy='0' r='2'/%3E%3Ccircle cx='100' cy='50' r='2'/%3E%3Ccircle cx='50' cy='100' r='2'/%3E%3Ccircle cx='0' cy='50' r='2'/%3E%3Ccircle cx='85.35' cy='14.65' r='1.8'/%3E%3Ccircle cx='85.35' cy='85.35' r='1.8'/%3E%3Ccircle cx='14.65' cy='85.35' r='1.8'/%3E%3Ccircle cx='14.65' cy='14.65' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
    background-position: right 2rem bottom 2rem;
    background-repeat: no-repeat;
    background-size: 25%;
    animation: fadeIn 1.5s ease-in forwards;
}

/* Adjusting text color for readability on the light background */
section.lines-bg h2 {
    color: #323f55; /* Dark Gray */
}

section.lines-bg p {
    color: #4b5563; /* Medium-Dark Gray */
}

