/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

.text-orange {
    color: #FF7F00; /* Orange */
}

.bg-orange {
    background-color: #FF7F00; /* Orange */
}

.text-green {
    color: #28a745; /* Green */
}

.bg-green {
    background-color: #28a745; /* Green */
}

.text-muted-custom {
    color: #6c757d;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF7F00; /* Orange for titles */
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #28a745; /* Green underline */
    border-radius: 2px;
}

/* Header */
header {
    z-index: 1030;
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background-image: url('static/graphics/residential-uae-traditional-dubai-in-and-boat-business-skyscrapers-highrise-marina-tourist-buildings.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding-top: 70px; /* To account for fixed header */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 0;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.5rem;
    font-weight: 400;
}

.scroll-down-arrow {
    margin: 0 auto;
    margin-top: 80px;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 127, 0, 0.7); /* Orange with transparency */
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease; /* No animation, but smooth hover is standard */
}

.scroll-down-arrow:hover {
    background-color: #FF7F00; /* Solid orange on hover */
    color: white;
}

/* About Author */
.author-card {
    border: none;
    border-radius: 15px;
    background-color: #ffffff;
}

.avatar-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #FF7F00; /* Orange border */
}

/* Article Content (Latest News Section) */
.article-content {
    background-color: #ffffff;
    border-radius: 15px;
    line-height: 1.8;
}

.article-content h3 {
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.article-content h4 {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    font-size: 1.05rem;
    color: #444;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #eee;
}

.article-meta .badge {
    font-size: 0.85em;
    padding: 0.4em 0.7em;
    border-radius: 0.25rem;
}

.article-list li i {
    font-size: 1.2em;
    vertical-align: middle;
}

.article-list ul {
    padding-right: 20px; /* For nested lists */
}

/* Footer */
.footer {
    background-color: #212529 !important; /* Dark background */
    color: #f8f9fa;
}

.footer-links a {
    color: #adb5bd; /* Lighter grey for links */
    transition: color 0.3s ease;
}

.footer-links a.hover-green:hover {
    color: #28a745; /* Green on hover */
}

.footer .border-secondary-subtle {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .hero-section p {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .article-content {
        padding: 20px;
    }
    .footer .col-md-4 {
        text-align: center;
    }
    .footer .navbar-brand {
        justify-content: center;
    }
}
/* New styles for .infoGuardBlock and its child elements */

.infoGuardBlock {
    padding: 60px 20px; /* Top/bottom padding, and side padding for content */
    margin-bottom: 40px; /* Space below the block */
    background-color: #ffffff; /* White background for the content block */
    border-radius: 15px; /* Slightly rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
}

@media (min-width: 768px) {
    .infoGuardBlock {
        padding: 80px 50px; /* More padding on larger screens */
    }
}

.infoGuardBlock h1 {
    font-size: 2.2rem; /* Moderate size for main content heading */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem; /* Space below heading */
    color: #333; /* Darker text color */
}

.infoGuardBlock h2 {
    font-size: 1.8rem; /* Sub-heading size */
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2rem; /* Space above heading */
    margin-bottom: 1.2rem; /* Space below heading */
    color: #333;
}

.infoGuardBlock h3 {
    font-size: 1.5rem; /* Section heading size */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.infoGuardBlock h4 {
    font-size: 1.25rem; /* Sub-section heading size */
    font-weight: 500;
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.infoGuardBlock h5 {
    font-size: 1.1rem; /* Minor heading size */
    font-weight: 500;
    line-height: 1.6;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    color: #333;
}

.infoGuardBlock p {
    font-size: 1rem; /* Base paragraph font size */
    line-height: 1.7; /* Comfortable line height for readability */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: #444; /* Slightly lighter than headings */
}

.infoGuardBlock ul {
    list-style: disc; /* Default disc bullet points */
    padding-left: 25px; /* Indent for list items */
    margin-bottom: 1rem; /* Space below the list */
}

.infoGuardBlock ol {
    list-style: decimal; /* Default numbered list */
    padding-left: 25px; /* Indent for list items */
    margin-bottom: 1rem; /* Space below the list */
}

.infoGuardBlock li {
    font-size: 1rem; /* List item font size */
    line-height: 1.7; /* Line height for list items */
    margin-bottom: 0.5rem; /* Space between list items */
    color: #444;
}

.infoGuardBlock li:last-child {
    margin-bottom: 0; /* No bottom margin for the last list item */
}
.footer p {
    color: #ffffff !important;
}
.footer a {
    color: #ffffff !important;
}