/* Oman Banner Section Styles */
.oman-banner {
    position: relative;
    width: 100%;
    height: 500px;
    background-image: url("https://multiplewords.nyc3.cdn.digitaloceanspaces.com/erp_next/oman.jpg?v=1"), linear-gradient(135deg, #0d6efd, #0056b3);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    /* Debug: Add a fallback background color to see if the section is loading */
    background-color: #f0f0f0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(13, 110, 253, 0.3) 25%,
        rgba(0, 86, 179, 0.4) 50%,
        rgba(13, 110, 253, 0.3) 75%,
        rgba(0, 0, 0, 0.4) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.2);
}

.banner-content {
    text-align: center;
    max-width: 1200px;
    padding: 0 20px;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.oman-banner .banner-content .banner-heading,
.oman-banner-heading,
.custom-48px-heading {
    font-size: 48px !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #f8f9fa 50%,
        #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.banner-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .oman-banner {
        height: 400px;
    }
    
    .banner-heading {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .banner-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .oman-banner {
        height: 350px;
    }
    
    .banner-heading {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .banner-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .banner-content {
        padding: 0 15px;
    }
}

/* Animation Effects */
.banner-heading {
    animation: fadeInUp 1s ease-out;
}

.banner-description {
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

/* Hover Effects */
.banner-heading:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Additional Oman-specific styling */
.oman-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(13, 110, 253, 0.2) 0%,
        transparent 50%
    );
    pointer-events: none;
}

/* Flag emoji styling for the main content */
.flag {
    font-size: 2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Remove spacing between navbar and banner */
body {
    margin: 0;
    padding: 0;
}

.container {
    margin-top: 0;
    padding-top: 0;
}

/* Override the main element margin-top from base.html */
main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure banner starts immediately after navbar */
.oman-banner {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    top: 0;
}

/* Remove any default spacing from the main content area */
.main-content {
    margin-top: 0;
    padding-top: 0;
}

/* Override Bootstrap container spacing */
.oman-banner .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Button styling to match base.css */
.oman-banner .btn {
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
    border: none;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #0d6efd, #0056b3);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
}

.oman-banner .btn:hover {
    background: linear-gradient(135deg, #0056b3, #0d6efd);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    color: #ffffff;
    text-decoration: none;
}

/* Oman Overview Section Styles */
.oman-overview {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Background Shapes for Overview Section */
.oman-overview .background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.oman-overview .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.oman-overview .shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.oman-overview .shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.oman-overview .shape-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

.oman-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.overview-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.overview-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #2c3e50;
    margin: 0;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.overview-text::before {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0056b3);
    margin: 0 auto 2rem auto;
    border-radius: 2px;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.overview-text::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0056b3, #0d6efd);
    margin: 2rem auto 0 auto;
    border-radius: 2px;
    animation: slideInRight 1s ease-out 0.7s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
        width: 0;
    }
    to {
        opacity: 1;
        transform: translateX(0);
        width: 80px;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
        width: 0;
    }
    to {
        opacity: 1;
        transform: translateX(0);
        width: 80px;
    }
}

/* Responsive Design for Overview Section */
@media (max-width: 768px) {
    .oman-overview {
        padding: 3rem 0;
    }
    
    .overview-text {
        font-size: 1.1rem;
        line-height: 1.7;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .oman-overview {
        padding: 2rem 0;
    }
    
    .overview-text {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }
    
    .overview-text::before,
    .overview-text::after {
        width: 60px;
    }
}

/* Force 48px font size for Oman banner heading */
.oman-banner h1.banner-heading,
.oman-banner .banner-content h1,
.oman-banner .banner-heading,
.custom-48px-heading,
#oman-main-heading {
    font-size: 48px !important;
} 