/* ==========================================================================
   STUDY BRIDGE - DESIGN SYSTEM & BRAND STYLING
   ========================================================================== */

/* CSS Variables for theme colors and layout */
:root {
    --primary-color: #00b6c7;
    --primary-dark: #0092a0;
    --primary-light: #e6f8fa;
    --secondary-color: #0088cc;
    --dark-navy: #181d38;
    --dark-blue: #1d223e;
    --body-text-color: #64686d;
    --background-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    
    /* Box Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--body-text-color);
    background-color: var(--background-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-navy);
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}

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

.top-bar-right a {
    color: var(--white);
    margin-left: 20px;
}

.top-bar-right a:hover {
    opacity: 0.85;
}

.top-bar i {
    margin-right: 5px;
}

.main-header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-text-bridge {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--dark-navy);
    letter-spacing: -0.5px;
}

.logo-text-highlight {
    color: var(--primary-color);
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}
.logo-img:hover {
    transform: scale(1.02);
}

.nav-links a {
    color: var(--body-text-color);
    font-weight: 600;
    margin-left: 30px;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 182, 199, 0.2);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 182, 199, 0.3);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.2);
    transition: all 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 8px 24px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 6px;
}

.btn-reset {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.btn-reset:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* Hero Section */
.hero-section {
    background-image: url('https://studybridgebd.com/wp-content/uploads/2026/02/andy-wang-qh9ly3PfFhQ-reduce.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 90px 0;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-90deg, rgba(0, 182, 199, 0.8), rgba(24, 29, 56, 0.9));
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: var(--white);
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

/* Search Bar (Hero) */
.search-container-hero {
    display: flex;
    background-color: var(--white);
    padding: 8px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    max-width: 650px;
    margin: 0 auto;
    align-items: center;
}

.search-icon-hero {
    color: var(--primary-color);
    font-size: 20px;
    margin-left: 20px;
}

.search-container-hero input {
    border: none;
    outline: none;
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-navy);
}

.search-container-hero button {
    border-radius: 50px;
}

/* Directory Layout */
.directory-section {
    padding: 60px 0;
}

.directory-container {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 40px;
}

/* Filters Sidebar */
.filters-sidebar {
    background-color: var(--white);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    align-self: start;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.sidebar-header h3 {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group > label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

/* Keyword Search Input */
.search-input-wrapper {
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 35px 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input-wrapper input:focus {
    border-color: var(--primary-color);
}

.search-input-wrapper i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--body-text-color);
    font-size: 13px;
    pointer-events: none;
}

/* Checkboxes Custom styling */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 13px;
    user-select: none;
    color: var(--body-text-color);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #e2e8f0;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Fee Slider styling */
.fee-range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.fee-range-header span {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

#feeRangeInput {
    width: 100%;
    accent-color: var(--primary-color);
    height: 6px;
    background-color: #cbd5e1;
    border-radius: 4px;
    outline: none;
}

.fee-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 11px;
    color: var(--body-text-color);
}

/* Listings Area Header */
.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.results-count {
    font-size: 15px;
    color: var(--body-text-color);
}

.results-count span {
    font-weight: 700;
    color: var(--dark-navy);
}

.currency-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.currency-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-navy);
}

.currency-options {
    display: flex;
    background-color: #f1f5f9;
    padding: 3px;
    border-radius: 20px;
}

.currency-btn {
    border: none;
    outline: none;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    background: none;
    color: var(--body-text-color);
    transition: all 0.2s ease;
}

.currency-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

/* Listings Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
    position: relative;
    min-height: 250px;
}

.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 80px 0;
}

/* Card Styling */
.uni-card {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.uni-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.uni-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 182, 199, 0.15), 0 10px 10px -5px rgba(0, 182, 199, 0.05);
    border-color: rgba(0, 182, 199, 0.3);
}

.uni-card:hover::after {
    opacity: 1;
}

.uni-card-header {
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.uni-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.uni-title-meta h3 {
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uni-location {
    font-size: 12px;
    color: var(--body-text-color);
}

.uni-location i {
    color: var(--primary-color);
    margin-right: 3px;
}

.uni-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uni-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 8px;
}

.uni-stat-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-val {
    font-weight: 600;
    color: var(--dark-navy);
}

.uni-card-footer {
    padding: 20px 24px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fee-info-starting {
    display: flex;
    flex-direction: column;
}

.fee-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fee-amt {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}

/* Call to Action Banner */
.cta-banner {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.08;
    transform: translate(80px, -80px);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 15px;
    max-width: 700px;
    opacity: 0.85;
}

.cta-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* Footer Section */
.site-footer {
    padding: 0;
    background-color: transparent;
    border-top: none;
}
.footer-top-bar {
    background-color: var(--primary-color);
    padding: 40px 0;
    text-align: center;
}
.footer-top-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.footer-socials .social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-socials .social-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background-color: var(--dark-navy);
    color: var(--white);
}
.footer-navigation-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
}
.footer-navigation-links a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1.5px dotted var(--white);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}
.footer-navigation-links a:hover {
    color: var(--dark-navy);
    border-bottom-color: var(--dark-navy);
}
.footer-navigation-links .sep {
    color: var(--white);
    font-weight: 400;
}
.footer-bottom-bar {
    background-color: var(--white);
    padding: 25px 0;
    text-align: center;
    border-top: none;
}
.footer-bottom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.footer-bottom-bar .disclaimer-text {
    display: none;
}
.footer-bottom-bar .copyright-text {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}
.footer-bottom-bar .copyright-text a {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.2s ease;
    text-decoration: none;
}
.footer-bottom-bar .copyright-text a:hover {
    color: var(--primary-dark);
}

/* Details Slide-Out Drawer overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Slide-out Drawer Panel */
.drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 620px;
    height: 100%;
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-panel.open {
    transform: translateX(0);
}

.drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.drawer-header h2 {
    font-size: 20px;
    line-height: 1.3;
    color: var(--primary-color);
}

.drawer-header p {
    font-size: 13px;
    color: var(--body-text-color);
    margin-top: 4px;
}

.btn-close-drawer {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--body-text-color);
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-close-drawer:hover {
    color: var(--dark-navy);
}

.drawer-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Summary stats inside drawer */
.uni-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 24px;
}

.summary-stat-card {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.summary-stat-card .stat-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--dark-navy);
}

.drawer-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.drawer-actions a {
    flex: 1;
    justify-content: center;
}

/* Tabs inside Drawer */
.drawer-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 24px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.drawer-tabs::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.tab-btn {
    background: none;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--body-text-color);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Tab Content area */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Tab search inputs */
.tab-search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.tab-search-bar input {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}

.tab-search-bar select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    background-color: var(--white);
}

/* Custom Table Styles */
.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 15px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.data-table th, .data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: #f8fafc;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-navy);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover td {
    background-color: #f8fafc;
}

.text-right {
    text-align: right;
}

.data-table .fee-highlight {
    font-weight: 700;
    color: var(--primary-color);
}

/* Alert Boxes & requirements formatting */
.requirements-box {
    background-color: #f8fafc;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 6px 6px 0;
    padding: 16px;
    margin-bottom: 20px;
}

.requirements-box h4 {
    font-size: 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirements-box p {
    font-size: 13px;
    color: var(--body-text-color);
}

.info-alert {
    background-color: var(--primary-light);
    border: 1px solid rgba(0, 182, 199, 0.2);
    color: var(--primary-dark);
    padding: 15px;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-alert i {
    margin-top: 3px;
}

.warning-alert {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    color: #b45309;
    padding: 15px;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.warning-alert i {
    margin-top: 3px;
}

.bank-details-card {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 13px;
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-label {
    color: var(--body-text-color);
}

.bank-val {
    font-weight: 600;
    color: var(--dark-navy);
}

.note-text {
    font-size: 11px;
    color: var(--body-text-color);
    font-style: italic;
    margin-top: 10px;
}

/* Scanned PDF placeholder */
.placeholder-scanned {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--background-light);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    margin-top: 10px;
}

.placeholder-scanned i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.placeholder-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-navy);
    margin-bottom: 6px;
}

.placeholder-desc {
    font-size: 13px;
    color: var(--body-text-color);
    max-width: 420px;
    margin: 0 auto 20px;
}

/* Floating Consultation lead Form Widget */
.floating-form-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    width: 320px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: translateY(calc(100% - 50px));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-form-container.open {
    transform: translateY(0);
}

.floating-form-toggle {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 14px 20px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.floating-form-toggle:hover {
    background-color: var(--primary-dark);
}

.toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toggle-icon i {
    font-size: 16px;
    display: block;
}

.floating-form-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-form-body h3 {
    font-size: 15px;
    color: var(--dark-navy);
}

.floating-form-body p {
    font-size: 11px;
    color: var(--body-text-color);
    line-height: 1.4;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-navy);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* ==========================================================================
   PAGE STYLING (HOMEPAGE, ABOUT, SERVICES, CONTACT, NAVIGATION)
   ========================================================================== */

/* Navigation active item highlight */
.nav-links a.active {
    color: var(--primary-color) !important;
}

/* Mobile Toggle */
.mobile-menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark-navy);
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.mobile-menu-toggle-btn:hover {
    color: var(--primary-color);
}

/* Breadcrumb Banner */
.breadcrumb-banner {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 70px 0;
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
}
.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(24, 29, 56, 0.9), rgba(0, 182, 199, 0.85));
}
.breadcrumb-container {
    position: relative;
    z-index: 1;
}
.breadcrumb-banner h1 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 10px;
}
.breadcrumb-banner p {
    font-size: 14px;
    font-weight: 500;
}
.breadcrumb-banner p a {
    color: rgba(255, 255, 255, 0.8);
}
.breadcrumb-banner p a:hover {
    color: var(--white);
}

/* Section Common Elements */
.section-badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 45px;
}
.section-title.text-center {
    text-align: center;
}
.section-title span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}
.section-title.text-center h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}
.section-subtitle-wide {
    max-width: 800px;
    margin: 15px auto 0;
    font-size: 15px;
}

/* Homepage Hero Slider */
.homepage-hero-slider {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0;
    color: var(--white);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(24, 29, 56, 0.85), rgba(0, 182, 199, 0.75));
}
.hero-slider-container {
    position: relative;
    z-index: 2;
}
.slider-content {
    max-width: 750px;
}
.slider-content h1 {
    color: var(--white);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin: 15px 0;
}
.slider-subtitle {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.9;
}
.slider-actions {
    display: flex;
    gap: 15px;
}
.badge-title {
    background-color: rgba(0, 182, 199, 0.2);
    border: 1px solid rgba(0, 182, 199, 0.4);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Stats Counter Section */
.stats-counter-section {
    background: linear-gradient(145deg, var(--white) 0%, rgba(240, 253, 250, 0.4) 100%);
    padding: 45px 0;
    box-shadow: 0 10px 30px -10px rgba(24, 29, 56, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
    margin-top: -45px;
    border-radius: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(0, 182, 199, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.stats-counter-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -15px rgba(0, 182, 199, 0.25);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}
.stat-counter-card {
    transition: transform 0.3s ease;
    padding: 10px 0;
}
.stat-counter-card:hover {
    transform: translateY(-2px);
}
.stat-counter-card h3 {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    display: inline-block;
}
.stat-counter-card p {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-navy);
    letter-spacing: 0.2px;
}

/* About Intro Section */
.about-intro-section {
    padding: 60px 0;
}
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-desc {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 20px;
}
.about-text {
    margin-bottom: 30px;
}
.about-intro-media {
    position: relative;
}
.img-box-offset {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.img-box-offset::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.img-box-offset:hover::before {
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    border-color: var(--secondary-color);
}
.media-image {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 380px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.img-box-offset:hover .media-image {
    transform: scale(1.05);
}

/* Homepage Services Grid */
.homepage-services-section {
    padding: 80px 0;
    background-color: var(--white);
}
.homepage-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--background-light);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0, 182, 199, 0.2);
    border-color: rgba(0, 182, 199, 0.25);
    background-color: var(--white);
}
.service-card:hover::after {
    width: 100%;
}
.card-icon {
    font-size: 42px;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
}
.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark-navy);
    font-weight: 700;
}
.service-card p {
    font-size: 14px;
    color: var(--body-text-color);
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
}
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}
.why-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}
.why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(0, 182, 199, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(24, 29, 56, 0.15);
    background-color: var(--white);
    border-color: rgba(0, 182, 199, 0.2);
}
.why-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px -4px rgba(0, 182, 199, 0.3);
    transition: all 0.4s ease;
}
.why-card:hover .why-icon-circle {
    transform: rotateY(180deg);
    box-shadow: 0 12px 20px -4px rgba(0, 182, 199, 0.4);
}
.why-card h3 {
    font-size: 17px;
    margin-bottom: 12px;
    color: var(--dark-navy);
    font-weight: 700;
}
.why-card p {
    font-size: 13.5px;
    color: var(--body-text-color);
    line-height: 1.5;
}

/* Expert Team Grid */
.team-section {
    padding: 80px 0;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}
.team-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(24, 29, 56, 0.15);
    border-color: rgba(0, 182, 199, 0.2);
}
.team-avatar-box {
    overflow: hidden;
    height: 280px;
    background-color: #f1f5f9;
    position: relative;
}
.team-avatar-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 29, 56, 0.4), rgba(24, 29, 56, 0));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.team-card:hover .team-avatar-box::after {
    opacity: 1;
}
.team-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.team-card:hover .team-avatar-box img {
    transform: scale(1.08);
}
.team-info {
    padding: 24px 20px;
    position: relative;
    z-index: 2;
    background-color: var(--white);
    transition: background-color 0.4s ease;
}
.team-info h3 {
    font-size: 17px;
    margin-bottom: 4px;
    color: var(--dark-navy);
    font-weight: 700;
}
.team-info .role {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Testimonials Grid */
.testimonial-section {
    padding: 80px 0;
    background-color: var(--white);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: var(--background-light);
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.testimonial-card::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 80px;
    color: rgba(0, 182, 199, 0.05);
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    background-color: var(--white);
    box-shadow: 0 20px 30px -10px rgba(0, 182, 199, 0.15);
    border-color: rgba(0, 182, 199, 0.25);
}
.testimonial-card:hover::before {
    transform: translateY(-5px) scale(1.08) rotate(-10deg);
    color: rgba(0, 182, 199, 0.08);
}
.quote-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}
.test-text {
    font-size: 14.5px;
    margin-bottom: 25px;
    font-style: italic;
    color: var(--body-text-color);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}
.student-meta {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}
.student-meta h4 {
    font-size: 14px;
    color: var(--dark-navy);
    font-weight: 700;
    margin-bottom: 2px;
}
.student-meta span {
    font-size: 12.5px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Homepage Contact grid */
.homepage-contact-info-section {
    padding: 60px 0 80px;
}
.homepage-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.contact-cards-list {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px -10px rgba(24, 29, 56, 0.08);
    border: 1px solid var(--border-color);
}
.contact-cards-list h3 {
    margin-bottom: 20px;
    color: var(--dark-navy);
    font-weight: 800;
}
.contact-mini-item {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}
.contact-mini-item:last-child {
    margin-bottom: 0;
}
.contact-mini-item:hover {
    transform: translateX(5px);
}
.contact-mini-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 3px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.contact-mini-item:hover i {
    background-color: var(--primary-color);
    color: var(--white);
}
.contact-mini-item h4 {
    font-size: 14.5px;
    margin-bottom: 4px;
    color: var(--dark-navy);
    font-weight: 700;
}
.contact-mini-item p {
    font-size: 13.5px;
    color: var(--body-text-color);
    line-height: 1.5;
}

/* About Page Bio Grid */
.about-bio-section {
    padding: 60px 0;
}
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}
.bio-img-card {
    position: relative;
}
.bio-main-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
}
.bio-img-card:hover .bio-main-image {
    transform: scale(1.02);
}
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 22px 28px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 182, 199, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.bio-img-card:hover .experience-badge {
    transform: translateY(-5px);
}
.badge-num {
    display: block;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}
.badge-txt {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.bio-title {
    font-size: 34px;
    font-weight: 800;
    margin: 15px 0;
    color: var(--dark-navy);
}
.bio-lead-text {
    font-size: 17.5px;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 18px;
}
.bio-text {
    margin-bottom: 25px;
    color: var(--body-text-color);
}
.bio-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.bio-feat-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}
.bio-feat-item:hover {
    transform: translateX(4px);
}
.bio-feat-item i {
    font-size: 18px;
    color: var(--primary-color);
    background-color: var(--primary-light);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.bio-feat-item:hover i {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotate(10deg);
}
.bio-feat-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--dark-navy);
    font-weight: 700;
}
.bio-feat-item p {
    font-size: 13px;
    color: var(--body-text-color);
}

/* About Page Values Grid */
.values-section {
    padding: 80px 0;
    background-color: var(--white);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.value-card {
    text-align: center;
    padding: 35px 30px;
    border-radius: 12px;
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}
.value-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0, 182, 199, 0.15);
    background-color: var(--white);
    border-color: rgba(0, 182, 199, 0.2);
}
.value-card:hover::after {
    opacity: 1;
}
.value-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto 20px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    transition: all 0.4s ease;
}
.value-card:hover .value-icon-box {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}
.value-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark-navy);
    font-weight: 700;
}
.value-card p {
    font-size: 13.5px;
    color: var(--body-text-color);
    line-height: 1.5;
}

/* Services Page Details */
.services-list-section {
    padding: 60px 0;
}
.services-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}
.service-detail-card {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}
.service-detail-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0, 182, 199, 0.15);
    border-color: rgba(0, 182, 199, 0.2);
}
.service-detail-card:hover::after {
    opacity: 1;
}
.service-icon-header {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto 25px;
    box-shadow: 0 8px 16px -4px rgba(0, 182, 199, 0.3);
    transition: all 0.4s ease;
}
.service-detail-card:hover .service-icon-header {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 12px 20px -4px rgba(0, 182, 199, 0.4);
}
.service-detail-card h3 {
    font-size: 17px;
    margin-bottom: 12px;
    color: var(--dark-navy);
    font-weight: 700;
}
.service-detail-card p {
    font-size: 13.5px;
    color: var(--body-text-color);
    line-height: 1.5;
}

/* Contact Page Layout */
.contact-page-section {
    padding: 60px 0;
}
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
}
.contact-panel-title {
    font-size: 32px;
    margin: 15px 0;
}
.contact-panel-desc {
    margin-bottom: 30px;
}
.info-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}
.info-detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.icon-box-small {
    width: 44px;
    height: 44px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    flex-shrink: 0;
}
.info-detail-item h4 {
    font-size: 14px;
    margin-bottom: 4px;
}
.info-detail-item p {
    font-size: 13px;
}
.contact-socials-wrapper h4 {
    font-size: 14px;
    margin-bottom: 12px;
}
.contact-social-icons {
    display: flex;
    gap: 10px;
}
.contact-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}
.contact-social-icons a.facebook { background-color: #3b5998; }
.contact-social-icons a.instagram { background-color: #e1306c; }
.contact-social-icons a.linkedin { background-color: #0077b5; }
.contact-social-icons a.youtube { background-color: #ff0000; }
.contact-social-icons a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.contact-form-panel {
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 40px 30px;
}
.contact-form-panel h3 {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}
.contact-html-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Map page embed */
.map-embed-section {
    margin-top: 40px;
}

/* Homepage Contact Info Grid */
.homepage-contact-info-section {
    padding: 60px 0;
    background-color: var(--white);
}

.homepage-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-cards-list {
    display: flex;
    flex-direction: column;
}

.contact-cards-list h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--dark-navy);
}

.contact-mini-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.contact-mini-item:last-child {
    margin-bottom: 0;
}

.contact-mini-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(0, 182, 199, 0.3);
}

.contact-mini-item i {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-mini-item h4 {
    font-size: 15px;
    margin-bottom: 3px;
    color: var(--dark-navy);
}

.contact-mini-item p {
    font-size: 13.5px;
    color: var(--body-text-color);
    margin: 0;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE STYLING)
   ========================================================================== */

/* Tablet Viewport */
@media screen and (max-width: 1024px) {
    .directory-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .filters-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .filters-sidebar .sidebar-header {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }
    
    .filters-sidebar .filter-group {
        margin-bottom: 0;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .bio-grid, .about-intro-grid, .contact-page-grid, .homepage-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Viewport */
@media screen and (max-width: 767px) {
    .top-bar {
        display: none;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .nav-links {
        display: none; /* Hide header navbar on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-color);
        padding: 20px;
        flex-direction: column;
        gap: 10px;
        z-index: 999;
    }
    .nav-links.open {
        display: flex !important;
    }
    .nav-links a {
        margin: 0;
        padding: 12px 15px;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        display: block;
        font-size: 15px;
    }
    .nav-links a:last-child {
        border-bottom: none;
    }

    .mobile-menu-toggle-btn {
        display: block; /* show on mobile */
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .search-container-hero {
        border-radius: 8px;
        padding: 4px;
    }
    
    .search-container-hero button {
        border-radius: 6px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .filters-sidebar {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .listings-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .currency-selector-wrapper {
        width: 100%;
        justify-content: space-between;
    }
    
    .uni-summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .drawer-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-search-bar {
        flex-direction: column;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions a, .cta-actions button {
        width: 100%;
        justify-content: center;
    }
    
    .floating-form-container {
        bottom: 0;
        right: 0;
        width: 100%;
        border-radius: 8px 8px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }
    
    .floating-form-toggle {
        border-radius: 8px 8px 0 0;
    }

    /* Page mobile additions */
    .homepage-hero-slider {
        padding: 80px 0;
        text-align: center;
    }
    .slider-content h1 {
        font-size: 32px;
    }
    .slider-subtitle {
        font-size: 15px;
    }
    .slider-actions {
        flex-direction: column;
        gap: 10px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .bio-main-image {
        height: 300px;
    }
    .experience-badge {
        bottom: 10px;
        right: 10px;
        padding: 10px 15px;
    }
    .badge-num {
        font-size: 24px;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .form-row-two {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Blog Section Styles
   ========================================================================== */
.blog-section {
    padding: 80px 0;
    background-color: #f8fafc;
}
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.filter-btn {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--body-text-color);
    padding: 10px 24px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 30px;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 182, 199, 0.15);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.blog-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 182, 199, 0.15), 0 10px 10px -5px rgba(0, 182, 199, 0.05);
    border-color: rgba(0, 182, 199, 0.3);
}
.blog-card-img-wrapper {
    position: relative;
    height: 210px;
    overflow: hidden;
}
.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img {
    transform: scale(1.08);
}
.blog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    color: var(--white);
    z-index: 2;
    box-shadow: var(--shadow-sm);
}
.badge-malaysia {
    background-color: var(--primary-color);
}
.badge-scholarships {
    background-color: #8b5cf6;
}
.badge-australia {
    background-color: #f59e0b;
}
.badge-uk {
    background-color: #3b82f6;
}
.badge-tips-sops {
    background-color: #10b981;
}
.blog-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.blog-card-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}
.blog-card-meta i {
    color: var(--primary-color);
    margin-right: 4px;
}
.blog-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark-navy);
    margin: 0;
}
.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.blog-card-title a:hover {
    color: var(--primary-color);
}
.blog-card-excerpt {
    font-size: 13px;
    color: var(--body-text-color);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: color 0.2s ease;
}
.blog-card-link i {
    transition: transform 0.2s ease;
}
.blog-card-link:hover {
    color: var(--primary-dark);
}
.blog-card-link:hover i {
    transform: translateX(4px);
}
.no-posts-text {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: var(--body-text-color);
    font-weight: 600;
}

/* Blog Detail Page Styles */
.blog-detail-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.blog-detail-meta strong {
    color: var(--white);
}
.blog-detail-meta i {
    margin-right: 4px;
}
.blog-detail-section {
    padding: 60px 0 80px;
    background-color: #f8fafc;
}
.blog-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}
.blog-main-content {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.blog-featured-img-box {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    max-height: 400px;
}
.blog-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-post-body-text {
    font-size: 15px;
    color: var(--body-text-color);
    line-height: 1.8;
}
.blog-post-body-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-navy);
    margin: 35px 0 15px;
    font-family: 'Poppins', sans-serif;
}
.blog-post-body-text p {
    margin-bottom: 20px;
}
.blog-post-body-text ol, .blog-post-body-text ul {
    margin-bottom: 25px;
    padding-left: 24px;
}
.blog-post-body-text li {
    margin-bottom: 10px;
}
.blog-callout-box {
    background-color: #f0fdfa;
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    border-radius: 0 8px 8px 0;
    margin: 35px 0;
}
.blog-callout-box h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}
.blog-callout-box p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: #0f766e;
}
.blog-post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}
.post-not-found-message {
    text-align: center;
    padding: 60px 20px;
}

/* Sidebar Styling */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.sidebar-widget {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.sidebar-widget h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-navy);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}
.lead-card-widget {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #1e293b 100%);
    color: var(--white);
    border: none;
}
.lead-card-widget h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.lead-card-widget p {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 20px;
}
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.recent-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
}
.recent-post-thumb {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.recent-post-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.recent-post-date {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}
.recent-post-info h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}
.recent-post-info h4 a {
    color: var(--dark-navy);
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.recent-post-info h4 a:hover {
    color: var(--primary-color);
}
.destinations-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.destinations-list li a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--body-text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.destinations-list li a:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

/* Mobile responsive updates */
@media (max-width: 991px) {
    .blog-detail-grid {
        grid-template-columns: 1fr;
    }
    .blog-main-content {
        padding: 24px;
    }
}
