/* Google Fonts - Global */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Open+Sans:wght@300;400;600&display=swap');

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Global Branding */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--alt-bg) 100%);
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

p{
    color: var(--secondary-color, #333);
}

footer p{
    color: unset;
}

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

.text-accent{
    color: var(--accent-color);
}

.section-title {
  color: var(--text-color);
  margin-bottom: 60px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  text-align: center;
}

/* Custom Styles for the Elegant Page Header/Breadcrumb */

/* --- Page Header Container --- */
.elegant-page-header {
    /* Use the gradient for a luxurious background */
    background: var(--gradient-primary); 
    padding: 6rem 0 3rem 0 !important; /* Increased top padding for dramatic effect */
    margin-top: 70px; /* Kept your original header spacing requirement */
    position: relative;
    overflow: hidden;
}

/* Optional: Add a subtle texture or geometric overlay to the header */
.elegant-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Example: subtle diagonal stripes */
    /* background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.05) 10px,
        transparent 10px,
        transparent 20px
    ); */
    opacity: 0.8;
}

/* --- Page Title Styling --- */
.elegant-page-header .page-title {
    font-weight: 300 !important; /* Lighter weight for modern elegance */
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    position: relative;
}

/* --- Breadcrumb Styling --- */
.elegant-breadcrumb {
    background-color: transparent !important;
    padding: 0;
}

.elegant-breadcrumb .breadcrumb-item {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7); 
}

.elegant-breadcrumb a {
    opacity: 0.8;
    color: white !important;
    transition: opacity 0.3s ease;
}

.elegant-breadcrumb a:hover {
    opacity: 1; 
    text-decoration: underline !important;
}

.elegant-breadcrumb .breadcrumb-item.active {
    color: white !important; 
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.elegant-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
}

.btn-primary{
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-item.at-top a {
  color: white;
  transition: color 0.3s;
}

.nav-item.scrolled a {
  color: #333;
}


/* Base Card Styling - Used sitewide */
.card {
    border: none;
    border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
}

.card i {
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.card:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.card-body {
    padding: 30px;
}

.card-img-top {
    border-radius: 20px 20px 0 0 !important; /* Ensure consistency */
}

/* Animations - Global */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

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

@media (max-width: 768px) {
    p{
        text-align: justify;
    }
}