/* Investment Banks List - Revised Stylesheet */

/* Base Styles and Variables */
:root {
    --primary-color: #0A4A7B; /* Deeper Blue */
    --secondary-color: #F8F9FA; /* Light Gray Background */
    --accent-color: #F2C94C; /* Gold/Yellow Accent */
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --border-color: #dee2e6;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
    --transition: all 0.3s ease-in-out;
    
    /* Typography */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Roboto Slab', serif; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7; /* Increased line-height */
    color: var(--text-color);
    background-color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #07375a; /* Darker shade of primary */
    text-decoration: none; /* Keep links clean */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1A2B48; /* Darker Heading Color */
}

h1 {
    font-size: 2.2rem; /* Slightly smaller H1 */
    color: var(--white); /* Header H1 is white */
    margin: 0;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem; /* More space after H2 */
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block; /* Make border only as wide as text */
}

h3 {
    font-size: 1.3rem; /* Slightly smaller H3 */
    color: var(--primary-color);
}

p {
    margin-bottom: 1.2rem;
    color: var(--light-text); /* Lighter text for paragraphs */
}

ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

ul li {
    margin-bottom: 0.6rem;
    color: var(--text-color);
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase; /* Reverted to uppercase for buttons */
    letter-spacing: 0.8px;
    transition: var(--transition);
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #07375a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn i {
    margin-left: 8px;
}

/* Header */
.site-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 50px; /* Slightly smaller logo */
    margin-right: 1rem;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 0.8rem 1rem;
    color: #e0e0e0; /* Lighter link color in header */
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border-radius: 4px;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 74, 123, 0.85), rgba(7, 55, 90, 0.9)), url('images/hero-background.jpg') no-repeat center center/cover; /* Add a background image if available */
    background-color: var(--primary-color); /* Fallback color */
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--white);
    border-bottom: 3px solid var(--accent-color); /* Accent color border */
    padding-bottom: 0.8rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #e0e0e0; /* Lighter paragraph in hero */
    opacity: 0.9;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 1fr; /* Default mobile */
    gap: 2.5rem; /* Increased gap */
    padding: 3rem 15px;
}

@media (min-width: 992px) {
    .main-layout {
        grid-template-columns: 2.5fr 1fr; /* Wider main content */
    }
}

.main-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 2.5rem; /* Increased padding */
}

article section {
    margin-bottom: 3.5rem; /* More space between sections */
}

.introduction p:first-of-type {
     font-size: 1.1rem;
     font-weight: 600;
     color: var(--text-color); /* Make first paragraph slightly more prominent */
}

/* Investment Banks List Section */
.investment-banks-list-section h2 {
    margin-bottom: 1rem; /* Less space before intro paragraph */
}
.investment-banks-list-section > p { /* Targeting the intro para specifically */
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.banks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bank-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden; /* For rank element */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.bank-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.bank-rank {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    font-weight: bold;
    font-size: 0.9rem;
    border-bottom-right-radius: var(--border-radius);
}

.bank-name {
    margin-top: 1.5rem; /* Space below rank */
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}
.bank-name i {
    margin-right: 0.6rem;
    color: var(--accent-color); /* Accent color for icons */
}

.bank-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}
.read-more i {
    margin-left: 5px;
    transition: transform 0.2s ease-in-out;
}
.read-more:hover i {
    transform: translateX(4px);
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-top: 1.5rem;
    text-align: center;
}


/* Section Highlight (for alternating backgrounds) */
.section-highlight {
    background-color: #fdfdff; /* Very subtle off-white */
    padding: 2rem;
    margin-left: -2.5rem; /* Extend slightly outside main padding */
    margin-right: -2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #f0f0f0;
}


/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr; /* Mobile default */
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr 1fr;
    }
    /* Alternate image/text order */
    section:nth-of-type(even) .two-column-layout .column-image {
        order: 2;
    }
}

.column-image {
    text-align: center;
}

.section-image {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    max-width: 450px; /* Control image size */
    margin: 0 auto;
}

.full-width-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
}
.service-image-container { /* Optional container for styling */
    margin-bottom: 2rem;
}

/* Services Section */
.service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}
.service-details h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.service-details h3 i {
    color: var(--accent-color);
    margin-right: 0.7rem;
    font-size: 1.3em;
}


/* Culture Section */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.culture-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary-color); /* Accent border */
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.culture-card:hover {
    transform: scale(1.03); /* Slight scale on hover */
    box-shadow: var(--card-hover-shadow);
}

.culture-card h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}
.culture-card h3 i {
    margin-right: 0.7rem;
    color: var(--primary-color); /* Icon color matches border */
}


/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px; /* Adjust based on header height */
    align-self: start; /* Prevent stretching */
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.sidebar-nav, .related-links, .resource-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li, .related-links li, .resource-links li {
    margin-bottom: 0.8rem;
}

.sidebar-nav a, .related-links a, .resource-links a {
    color: var(--text-color);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}
.sidebar-nav a:hover, .related-links a:hover, .resource-links a:hover {
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-nav i, .related-links i, .resource-links i {
    margin-right: 0.8rem;
    color: var(--primary-color);
    width: 1.2em; /* Ensure alignment */
    text-align: center;
}

/* Ad Containers */
.ad-container {
    margin: 2.5rem auto; /* Center ads horizontally */
    text-align: center;
    padding: 1rem 0;
     /* border-top: 1px solid var(--border-color);
     border-bottom: 1px solid var(--border-color); */
}

.ad-placeholder {
    background-color: #fff; /* Slightly darker placeholder */
    min-height: 100px; /* Min height for flexibility */
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
    padding: 1rem;
}

/* Adjust sizes as needed */
.ad-container-main .ad-placeholder {
    width: 100%; /* Responsive width */
    max-width: 728px; /* Example: Leaderboard size */
    min-height: 90px;
}
.ad-container-sidebar .ad-placeholder {
    width: 100%;
    max-width: 300px; /* Example: Medium Rectangle */
    min-height: 250px;
}


/* Footer */
.site-footer-bottom {
    background-color: #1A2B48; /* Dark Blue Footer */
    color: #adb5bd; /* Lighter text */
    padding: 3rem 0 1.5rem;
    margin-top: 3rem; /* Space above footer */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: #adb5bd;
}

.footer-section a:hover {
    color: var(--white);
}
.footer-section p {
    color: #adb5bd;
    margin-bottom: 0.8rem;
}
.footer-section p i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #adb5bd;
    font-size: 1.4rem;
    transition: var(--transition);
}
.social-links a:hover {
    color: var(--white);
    transform: scale(1.1);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #344966; /* Slightly lighter border */
    color: #8a9aaf; /* Muted copyright text */
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    .hero { padding: 3rem 0; }
    .hero h2 { font-size: 2.2rem; }
    .main-content { padding: 1.5rem; }
    .section-highlight { margin-left: -1.5rem; margin-right: -1.5rem; padding: 1.5rem;}
    nav ul { justify-content: center; } /* Center nav items on smaller screens */
    .header-container { flex-direction: column; align-items: center; }
    .logo-container { margin-bottom: 0.5rem; }
}

@media (max-width: 480px) {
    .banks-grid { grid-template-columns: 1fr; } /* Stack bank cards */
    .culture-grid { grid-template-columns: 1fr; } /* Stack culture cards */
    .btn { padding: 10px 20px; font-size: 0.85rem; }
}