/* Text shadow for improved readability */
h1, h2, h3, h4, h5, h6 {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.intro-heading {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.section-heading {
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.section-subheading {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* White text with stronger shadow for dark backgrounds */
.text-white {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

/* Primary colored text without shadow */
.text-primary {
}

/* Dark red titles with enhanced shadow for better readability */
h3[style*="color: #8B0000"] {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

/* Enhanced shadows for titles on image backgrounds */
header .intro-heading,
header .intro-lead-in,
header .intro-subheading {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

/* Navigation text shadow for better readability */
.navbar-nav li a {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Contact section titles on dark background */
#contact h2,
#contact h3 {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

/* Modern card styles for content sections */
.content-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 40px 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-card .fa-stack {
    margin-bottom: 20px;
}

.feature-card h4 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card .portfolio-caption {
    padding: 20px;
}

.intro-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 40px;
    margin: 30px 0;
}

.img-modern {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.img-modern:hover {
    transform: scale(1.05);
}

.btn-xl {
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-xl:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.section-padding {
    padding: 80px 0;
}

.bg-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.promotion-banner {
    background: linear-gradient(45deg, #fed136, #ffc107);
    padding: 15px 30px;
    border-radius: 25px;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.promotion-banner:hover {
    transform: scale(1.02);
}

.promotion-banner a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .content-card, .feature-card, .product-card {
        margin-bottom: 20px;
        padding: 20px;
    }
    
    .intro-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .img-modern {
        margin-bottom: 20px;
    }
}

/* Footer styles */
.Applestylespan {
    font-family: verdana, arial;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: normal;
    line-height: normal;
    orphans: 2;
    text-indent: 0px;
    text-transform: none;
    white-space: normal;
    widows: 2;
    word-spacing: 0px;
    color: #c0c0c0;
    font-size: 8px;
}

.text24b {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

/* Modern text styles */
.text-primary {
    color: #fed136 !important;
    font-weight: bold !important;
}

.text-success {
    color: #28a745 !important;
}
