/* 1. Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    /* Updated background gradient for a fresh, aquatic feel */
    background: linear-gradient(to bottom, #d2f1ff, #a9e0ff);
    color: #14213d;
    padding-top: 70px; /* Space for fixed navbar */
    min-height: 100vh;
}

/* 2. Navbar Consistency (Revised and Improved) */
.navbar {
    background-color: #004a80 !important; /* Slightly brighter Dark Blue for modern feel */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Added shadow for lift */
    transition: background-color 0.3s;
}
.navbar-brand img {
    max-width: 130px; /* Slightly smaller logo */
    height: auto;
}

/* Base link styling */
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .d-flex a {
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 15px; /* Added padding for easier clicking */
}

/* Hover and Active Link Styling */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .d-flex a.nav-icon-link:hover {
    color: #6ac3e6; /* Vibrant Blue accent on hover */
}
.navbar-dark .navbar-nav .nav-link.active {
    color: #6ac3e6 !important;
    border-bottom: 2px solid #6ac3e6; /* Highlight active page */
    padding-bottom: 8px;
}

/* Login Button Styling */
.btn-login {
    color: #004a80;
    background-color: #6ac3e6;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 50px; /* Pill shape for a modern look */
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}
.btn-login:hover {
    background-color: #acecee;
    color: #004a80;
}

/* Dropdown Menu Styling (Improved visual separation) */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.dropdown-item:hover {
    background-color: #d2f1ff; /* Light blue background for hover */
    color: #004a80;
}
/* Ensure icon links are visible when not in dropdown */
.nav-icon-link {
    font-size: 1.1rem;
}


/* 3. Main Content Structure */
.container.main-content {
    max-width: 1200px;
    padding: 40px 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9); /* Slight white background for readability */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    color: #0a1a4a;
}

h2 {
    font-size: 18px;
    font-weight: 400;
    color: #14213d;
    margin-bottom: 40px;
}

/* 4. Three-Column Layout (Content, Glass, Content) */
.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align content to the top */
    gap: 20px;
    padding: 20px 0;
}

.column {
    flex: 1;
    max-width: 350px; /* Adjusted size for better balance */
    padding: 0 15px;
    text-align: left;
}

.column.right {
    text-align: right; /* Right align content in the right column */
}

.column h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #0077ff; /* Blue for emphasis */
}

.column p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #14213d;
}

/* Glass section in the middle */
.glass {
    flex-shrink: 0;
    width: 300px; /* Fixed width for the glass area */
    text-align: center;
    position: relative;
}

.glass img {
    width: 100%; /* Make image responsive to its container */
    max-height: 550px;
    object-fit: contain;
    /* Added slight animation for visual interest */
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* 5. Responsiveness */
@media (max-width: 992px) {
    .content {
        flex-direction: column;
        align-items: center;
    }
    .column, .column.right {
        text-align: center;
        max-width: 100%;
        padding: 0;
        order: initial; /* Reset order */
    }
    .glass {
        order: -1; /* Move glass to the top on smaller screens */
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 16px;
    }
}