/* Global Styles */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    color: #212529;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

/* Responsive Typography for Headings */
h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Desktop: 4.5rem */
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem); /* Desktop: 3rem */
}

.site-name {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #2c3e50;
}

.logo-img {
    height: 35px;
    width: auto;
}

/* Header & Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease-in-out;
}

.navbar-brand .site-name {
    color: #2c3e50;
}

.navbar-nav .nav-link {
    color: #555;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #007bff;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border-radius: 0.25rem;
    transition: box-shadow 0.15s ease-in-out;
}

.offcanvas-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.offcanvas-title {
    color: #2c3e50;
    font-weight: 700;
}

.offcanvas-body .navbar-nav .nav-link {
    color: #333;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.offcanvas-body .navbar-nav .nav-link:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('photos/uploads/investment-horizon-consultation-hero.jpeg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 70px; /* Adjust for fixed header */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-section h1 {
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-section p.lead {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.3rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure uniform height */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-icon {
    font-size: 2.5rem;
    color: #007bff;
    display: inline-block;
    margin-bottom: 1rem;
}

.stage-icon {
    font-size: 3rem;
    color: #28a745;
}

/* Image Styling */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #fff;
    position: relative;
    padding-bottom: 60px; /* Space for scroll-to-top button */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: #333;
}

.form-control {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-collapse {
        display: none;
    }
}

@media (min-width: 1200px) {
    .offcanvas-end {
        transform: none;
        visibility: visible;
        position: static;
        background-color: transparent;
        border: none;
    }
    .offcanvas-header {
        display: none;
    }
    .offcanvas-body {
        padding: 0;
    }
    .navbar-nav {
        flex-direction: row;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: clamp(2rem, 8vw, 2.5rem); /* Mobile: max 2.5rem */
    }
    .hero-section p.lead {
        font-size: clamp(0.9rem, 3vw, 1.25rem);
    }
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .site-name {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    .btn-primary.btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    .card-icon {
        font-size: 2rem;
    }
    .stage-icon {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .hero-section h1 {
        font-size: clamp(2.2rem, 7vw, 3.5rem); /* Tablet: 3.5rem */
    }
    .hero-section p.lead {
        font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    }
    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }
    .site-name {
        font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    }
}
.regShieldWrap {
    /* Top margin for the container */
    margin-top: 20px;
    /* Bottom margin for the container */
    margin-bottom: 20px;
    /* Horizontal padding for content inside the container */
    padding-left: 20px;
    padding-right: 20px;
}

.regShieldWrap h1 {
    /* Heading 1 styles */
    font-size: 1.8rem; /* Moderately sized h1 */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.regShieldWrap h2 {
    /* Heading 2 styles */
    font-size: 1.5rem; /* Moderately sized h2 */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
}

.regShieldWrap h3 {
    /* Heading 3 styles */
    font-size: 1.3rem; /* Moderately sized h3 */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
}

.regShieldWrap h4 {
    /* Heading 4 styles */
    font-size: 1.1rem; /* Moderately sized h4 */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.4rem;
    margin-bottom: 0.7rem;
}

.regShieldWrap h5 {
    /* Heading 5 styles */
    font-size: 1rem; /* Base font size, but still bold */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
}

.regShieldWrap p {
    /* Paragraph styles */
    font-size: 1rem; /* Base font size for paragraphs */
    line-height: 1.6; /* Good readability */
    margin-bottom: 1rem; /* Spacing between paragraphs */
}

.regShieldWrap ul {
    /* Unordered list styles */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 25px; /* Indentation for bullet points */
    list-style-type: disc; /* Default bullet style */
}

.regShieldWrap li {
    /* List item styles */
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6; /* Good readability for list items */
}
