/* 
   Munawar Hospital - Public Website CSS
   Color Palette: 80% Blue, 20% Red
   Modern Premium Aesthetics with Smooth Micro-animations & Glassmorphism
*/

:root {
    --primary-blue: #1e3a8a;       /* Deep Trust Blue */
    --primary-blue-light: #3b82f6; /* Energetic Blue */
    --primary-blue-gradient: linear-gradient(135deg, #1e3a8a 0%, #0d6efd 100%);
    --accent-red: #e11d48;         /* High-End Crimson Red (20% highlight) */
    --accent-red-hover: #be123c;   /* Crimson Red Hover */
    --accent-red-light: rgba(225, 29, 72, 0.1);
    
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* Top Bar Styling */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 38px;
    background-color: var(--primary-blue);
    color: rgba(255, 255, 255, 0.85);
    z-index: 1001;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.top-bar-left i {
    color: var(--accent-red);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: var(--transition-smooth);
}

.top-social-link:hover {
    color: var(--accent-red);
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

/* Common Components */
.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Primary and Secondary Buttons */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-blue {
    background: var(--primary-blue-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.45);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.btn-red {
    background-color: var(--accent-red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.btn-red:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

/* Section Header Style */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(13, 110, 253, 0.08);
    color: var(--primary-blue-light);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
}

.section-header h2 span {
    color: var(--accent-red);
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(225, 29, 72, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

.pulse-btn {
    animation: pulseRed 2s infinite;
}

/* 1. Header / Navigation styling */
.navbar-custom {
    position: fixed;
    top: 38px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    padding: 15px 0;
}

.navbar-custom.scrolled {
    top: 0;
    padding: 10px 0;
    box-shadow: var(--shadow-soft);
}

body.scrolled-active .top-bar {
    transform: translateY(-38px);
}

body.scrolled-active .navbar-custom {
    top: 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 16px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-blue);
}

/* Header Responsiveness */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 114px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 114px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 25px;
        transition: var(--transition-smooth);
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    
    body.scrolled-active .nav-menu {
        top: 66px;
        height: calc(100vh - 66px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-menu .nav-actions-mobile {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 80%;
        margin-top: 30px;
    }
    
    .nav-toggle {
        display: block;
    }
}

@media (min-width: 992px) {
    .nav-menu .nav-actions-mobile {
        display: none;
    }
}

/* 2. Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 138px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.04) 0%, rgba(13, 110, 253, 0.08) 100%);
    display: flex;
    align-items: center;
}

.hero-shape-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, rgba(255,255,255,0) 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
    pointer-events: none;
}

.hero-shape-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background-radius: 50%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.06) 0%, rgba(255,255,255,0) 70%);
    bottom: -100px;
    left: -100px;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: var(--white);
    border: 1px solid rgba(13, 110, 253, 0.15);
    box-shadow: var(--shadow-soft);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.hero-badge i {
    color: var(--accent-red);
}

.hero-content h1 {
    font-size: 54px;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-img-main {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.18);
    position: relative;
    z-index: 2;
    border: 6px solid var(--white);
}

.hero-card-floating {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite alternate;
}

.hero-card-floating-1 {
    top: 15%;
    left: -15px;
}

.hero-card-floating-2 {
    bottom: 12%;
    right: -10px;
    animation-delay: 2s;
}

.hero-card-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.hero-card-icon.blue {
    background: var(--primary-blue-gradient);
}

.hero-card-icon.red {
    background: var(--accent-red);
}

.hero-card-text h5 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.hero-card-text p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

@keyframes floatCard {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-15px);
    }
}

/* Hero Responsiveness */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 60px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content p {
        margin: 0 auto 30px auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin-top: 40px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 3. Stats Section */
.stats-section {
    background-color: var(--white);
    position: relative;
    z-index: 10;
    margin-top: -60px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(13, 110, 253, 0.05);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    padding: 10px 0;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-number span {
    color: var(--accent-red);
}

.stat-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .stats-section {
        margin-top: 0;
        border-radius: 0;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        padding: 20px 0;
    }
    .stat-item:last-child {
        border-bottom: none;
    }
}

/* 4. About Us Section */
.about-section {
    background-color: var(--bg-light);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--accent-red);
    color: var(--white);
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 15px 30px rgba(225, 29, 72, 0.3);
    text-align: center;
    width: 160px;
}

.about-experience-badge h3 {
    font-size: 36px;
    margin-bottom: 5px;
}

.about-experience-badge p {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.about-content h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content h2 span {
    color: var(--accent-red);
}

.about-text {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-item i {
    width: 32px;
    height: 32px;
    background-color: var(--accent-red-light);
    color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.about-feature-item span {
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 991px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* 5. Services Section */
.services-section {
    background-color: var(--white);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-light);
    border: 1px solid rgba(13, 110, 253, 0.03);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue-gradient);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background-color: var(--white);
    border-color: rgba(13, 110, 253, 0.1);
}

.service-card:hover::before {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-hover) 100%);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--white);
    color: var(--primary-blue-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: var(--accent-red-light);
    color: var(--accent-red);
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--primary-blue-light);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-link {
    color: var(--accent-red);
}

.service-link i {
    transition: var(--transition-smooth);
}

.service-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* 6. Facilities Highlights Section */
.facilities-section {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(225, 29, 72, 0.03) 100%);
}

.facilities-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.facility-content h2 {
    font-size: 38px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.facility-content h2 span {
    color: var(--accent-red);
}

.facility-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

.facility-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.facility-item {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--primary-blue-light);
    transition: var(--transition-smooth);
}

.facility-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
}

.facility-item.featured {
    border-left-color: var(--accent-red);
}

.facility-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(13, 110, 253, 0.05);
    color: var(--primary-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.facility-item.featured .facility-item-icon {
    background-color: var(--accent-red-light);
    color: var(--accent-red);
}

.facility-item-text h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.facility-item-text p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.facilities-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.showcase-card {
    background: var(--white);
    border-radius: 20px;
    padding: 15px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.showcase-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.showcase-card h5 {
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.showcase-card span {
    font-size: 12px;
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .facilities-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .facilities-showcase {
        grid-template-columns: 1fr;
    }
}

/* 7. Doctors Directory Section */
.doctors-section {
    background-color: var(--white);
}

.doctors-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.doctor-card {
    background-color: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(13, 110, 253, 0.02);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 110, 253, 0.1);
}

.doctor-media {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.doctor-card:hover .doctor-media img {
    transform: scale(1.08);
}

.doctor-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.doctor-dept {
    background-color: var(--accent-red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.doctor-info {
    padding: 25px;
    text-align: center;
}

.doctor-info h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.doctor-info .specialty {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
}

.doctor-schedule {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 0;
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
    border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-dark);
}

.doctor-schedule span i {
    color: var(--primary-blue-light);
    margin-right: 6px;
    width: 16px;
}

.doctor-action {
    display: flex;
    justify-content: center;
}

.doctor-action .btn-custom {
    padding: 10px 22px;
    font-size: 14px;
}

@media (max-width: 991px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
}

/* 8. Patient Portal Access Guide */
.portal-guide-section {
    background-color: var(--bg-light);
}

.portal-guide-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portal-step-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.portal-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 36px;
    height: 36px;
    background-color: var(--accent-red-light);
    color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.portal-step-icon {
    width: 80px;
    height: 80px;
    background-radius: 50%;
    background-color: rgba(13, 110, 253, 0.05);
    color: var(--primary-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px auto;
    transition: var(--transition-smooth);
}

.portal-step-card:hover .portal-step-icon {
    background-color: var(--primary-blue);
    color: var(--white);
}

.portal-step-card h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.portal-step-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.portal-step-action {
    display: inline-block;
    font-weight: 600;
    color: var(--accent-red);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.portal-step-card:hover .portal-step-action {
    color: var(--accent-red-hover);
    text-decoration: underline;
}

@media (max-width: 991px) {
    .portal-guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portal-guide-grid {
        grid-template-columns: 1fr;
    }
}

/* 9. Contact & Location Section */
.contact-section {
    background-color: var(--white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.contact-card-glass {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(13, 110, 253, 0.05);
    box-shadow: var(--shadow-soft);
}

.contact-card-glass h3 {
    font-size: 26px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.contact-card-glass p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control-custom {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background-color: var(--white);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-smooth);
    outline: none;
}

.form-control-custom:focus {
    border-color: var(--primary-blue-light);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background-color: var(--accent-red-light);
    color: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.info-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-map-placeholder {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-soft);
}

.contact-map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* 10. Footer Section */
.footer-custom {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px 0;
    border-top: 5px solid var(--accent-red);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-red);
}

.footer-logo img {
    height: 45px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--accent-red);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 15px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    font-size: 15px;
}

.footer-contact-list i {
    color: var(--accent-red);
    margin-top: 4px;
}

.footer-newsletter p {
    font-size: 15px;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    color: var(--white);
    flex-grow: 1;
    outline: none;
    font-size: 14px;
}

.newsletter-form button {
    background-color: var(--accent-red);
    color: var(--white);
    border: none;
    border-radius: 8px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background-color: var(--accent-red-hover);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
