/* ===================================
   CUSTOM UI/UX ENHANCEMENTS
   Ajin Joseph Website
   =================================== */

/* ========== SMOOTH SCROLLING ========== */
html {
    scroll-behavior: smooth;
}

/* ========== IMPROVED TYPOGRAPHY ========== */
body {
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
}

/* ========== ENHANCED BUTTONS ========== */
.btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
    display: inline-block;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1.4;
    text-align: center;
}

.btn span {
    position: relative;
    z-index: 2;
    display: inline-block;
    vertical-align: middle;
}

.btn i {
    vertical-align: middle;
    display: inline-block;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s;
    z-index: 1;
}

.btn:hover:before {
    left: 100%;
}

/* Ensure button content is above pseudo-elements */
.btn > * {
    position: relative;
    z-index: 2;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 1 !important;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none;
    color: #fff !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
    color: #fff !important;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #667eea;
    color: #667eea !important;
}

.btn-outline:hover {
    background: #667eea !important;
    color: #fff !important;
}

.btn-dark {
    background: #2c3e50 !important;
    color: #fff !important;
}

.btn-dark:hover {
    background: #1a252f !important;
}

/* Ensure buttons on dark backgrounds are visible */
.background-image .btn,
section[style*="background-image"] .btn {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hero section button styles */
.fullscreen .btn-outline {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
}

.fullscreen .btn-outline:hover {
    background: #fff !important;
    color: #2c3e50 !important;
    border-color: #fff !important;
    transform: translateY(-3px);
}

.fullscreen .btn-outline:hover span {
    color: #2c3e50 !important;
}

/* Hero section enhanced text shadows for better readability */
.fullscreen h1,
.fullscreen h3,
.fullscreen h4 {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Hero section text - ensure high contrast */
.fullscreen .text-white {
    color: #ffffff !important;
}

/* Hero section call-to-action buttons */
.fullscreen .btn {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.fullscreen .btn:hover {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.3);
}

/* ========== SECTION SPACING ========== */
section {
    padding: 100px 0;
}

section.p-t-150 {
    padding-top: 150px;
}

section.p-t-50 {
    padding-top: 80px;
}

.background-grey {
    background: #f8f9fa;
}

/* ========== ENHANCED CARDS ========== */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 2rem;
}

/* ========== FORM IMPROVEMENTS ========== */
.form-control {
    padding: 12px 18px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    background: #fff;
    outline: none;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ========== ENHANCED NAVIGATION ========== */
#header {
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

#mainMenu nav ul li a {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 15px;
}

#mainMenu nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#mainMenu nav ul li a:hover:after {
    width: 80%;
}

/* ========== ABOUT SECTION ENHANCEMENTS ========== */
.about-section {
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.05);
}

.about-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.about-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.about-section h3 {
    color: #34495e;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-section .mission {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.about-section .mission h3 {
    color: #fff;
    margin-top: 0;
}

.about-section .mission p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

/* Override highlight color in mission section for readability */
.about-section .mission .highlight {
    color: #fff !important;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

.about-section ul {
    list-style: none;
    padding-left: 0;
}

.about-section ul li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.about-section ul li:last-child {
    border-bottom: none;
}

.about-section ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

.highlight {
    color: #667eea;
    font-weight: 600;
}

/* ========== CONTACT SECTION ========== */
address {
    line-height: 2;
    font-style: normal;
    color: #555;
}

address strong {
    color: #2c3e50;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

/* ========== SOCIAL ICONS ========== */
.social-icons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.social-icons ul li a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: #f0f0f0;
    color: #555;
}

.social-icons ul li a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.social-icons ul li.social-instagram a:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.social-icons ul li.social-facebook a:hover {
    background: #1877f2;
    color: #fff;
}

.social-icons ul li.social-linkedin a:hover,
.social-icons ul li.social-spotify a:hover {
    background: #1DB954;
    color: #fff;
}

.social-icons ul li.social-youtube a:hover {
    background: #FF0000;
    color: #fff;
}

/* ========== SHOP/STORE SECTION ========== */
.product-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card img {
    transition: all 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* ========== PRODUCT IMAGE FIXES ========== */
.product-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 20px;
}

.product-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-width: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.product-image a {
    display: block;
    position: relative;
}

/* Force image visibility in shop section */
#shop img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure no lazy loading conflicts */
img[loading="lazy"] {
    display: block !important;
}

/* Fix any potential masonry/isotope conflicts */
.grid-item img,
.product img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.product {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product:hover .product-image img {
    transform: scale(1.05);
}

.product-description {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: #667eea;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-title h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-title h3 a {
    color: #2c3e50;
    transition: color 0.3s ease;
}

.product-title h3 a:hover {
    color: #667eea;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-price ins {
    text-decoration: none;
}

.product-rate {
    margin-bottom: 15px;
}

.product-rate i {
    color: #f39c12;
    font-size: 14px;
}

.product-reviews {
    margin-top: auto;
}

.product-reviews .btn {
    width: 100%;
}

/* Grid layout improvements */
.grid-layout.grid-3-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .grid-layout.grid-3-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .grid-layout.grid-3-columns {
        grid-template-columns: 1fr;
    }
}

/* ========== FOOTER ENHANCEMENTS ========== */
#footer {
    background: #2c3e50;
    color: #ecf0f1;
}

#footer a:hover {
    color: #fff !important;
}

#footer .social-icons ul li a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#footer .social-icons ul li a i {
    color: #fff;
    font-size: 18px;
}

#footer .social-icons ul li a:hover {
    background: #667eea;
    border-color: #667eea;
    transform: translateY(-3px);
}

#footer .social-icons ul li.social-instagram a:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

#footer .social-icons ul li.social-facebook a:hover {
    background: #1877f2;
    border-color: #1877f2;
}

#footer .social-icons ul li.social-youtube a:hover {
    background: #FF0000;
    border-color: #FF0000;
}

/* Mobile footer adjustments */
@media (max-width: 767px) {
    #footer {
        padding: 30px 0 0 !important;
    }
    
    #footer .row > div {
        margin-bottom: 20px;
    }
    
    #footer nav {
        justify-content: center !important;
    }
}

/* ========== SCROLL TO TOP BUTTON ========== */
/* Scroll to top button - using default theme styles */

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animate="fadeIn"],
[data-animate="fadeInDown"],
[data-animate="fadeInUp"] {
    animation: fadeInUp 0.8s ease-out;
}

/* ========== PAGE TITLE ========== */
#page-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

#page-title h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}

/* ========== CART BADGE ========== */
#btn-search {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* ========== IMPROVED SPACING ========== */
.m-t-30 {
    margin-top: 30px;
}

.m-b-30 {
    margin-bottom: 30px;
}

.m-b-50 {
    margin-bottom: 50px;
}

.m-b-100 {
    margin-bottom: 100px;
}

.p-30 {
    padding: 30px;
}

/* ========== RESPONSIVE IMPROVEMENTS ========== */

/* Tablet (991px and below) */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    section {
        padding: 60px 0 !important;
    }
    
    .about-section {
        padding: 25px !important;
    }
    
    #page-title h1 {
        font-size: 2.2rem !important;
    }
    
    /* Footer responsive */
    #footer .footer-content .row > div {
        text-align: center !important;
        margin-bottom: 30px;
    }
    
    #footer nav {
        align-items: center !important;
    }
    
    /* Contact section responsive */
    .contact-info-box {
        margin-bottom: 30px;
    }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
    /* Typography */
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
    }
    
    h4 {
        font-size: 1.1rem !important;
    }
    
    p, .lead {
        font-size: 1rem !important;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
        width: 100%;
        margin-bottom: 10px;
        white-space: normal !important;
        line-height: 1.5 !important;
        height: auto !important;
        min-height: 48px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .btn span {
        display: inline-block;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .btn i {
        margin-right: 8px;
        flex-shrink: 0;
    }
    
    /* Hero section mobile */
    .fullscreen h1 {
        font-size: 2.8rem !important;
    }
    
    .fullscreen h3 {
        font-size: 1.3rem !important;
    }
    
    .fullscreen h4 {
        font-size: 1.2rem !important;
    }
    
    /* Shift hero background image to show face on mobile */
    .hero-section {
        background-position: 65% center !important;
    }
    
    .fullscreen .btn {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 15px;
        white-space: normal !important;
        line-height: 1.4 !important;
        padding: 14px 24px !important;
    }
    
    .fullscreen .btn span {
        white-space: normal !important;
        display: inline-block;
    }
    
    /* Sections */
    section {
        padding: 40px 0 !important;
    }
    
    section.p-t-150 {
        padding-top: 60px !important;
    }
    
    section.p-t-80,
    section.p-t-100 {
        padding-top: 40px !important;
    }
    
    section.p-b-100,
    section.p-b-80 {
        padding-bottom: 40px !important;
    }
    
    /* About section */
    .about-section {
        padding: 20px !important;
    }
    
    .about-section h2 {
        font-size: 2rem !important;
    }
    
    .about-section h3 {
        font-size: 1.4rem !important;
    }
    
    .about-section .mission {
        padding: 20px !important;
        margin: 20px 0 !important;
    }
    
    /* Page titles */
    #page-title {
        padding: 50px 0 !important;
    }
    
    #page-title h1 {
        font-size: 1.8rem !important;
    }
    
    /* Contact section */
    .card {
        padding: 25px !important;
    }
    
    /* Forms */
    .form-control {
        font-size: 14px !important;
    }
    
    textarea.form-control {
        min-height: 120px !important;
    }
    
    /* Policy pages */
    .col-lg-10.mx-auto > div {
        padding: 30px 20px !important;
    }
    
    /* Contact info icons */
    div[style*="display: flex"] i {
        font-size: 20px !important;
    }
    
    /* Social icons */
    .social-icons ul {
        justify-content: center !important;
    }
    
    .social-icons ul li a {
        width: 45px !important;
        height: 45px !important;
    }
    
    /* Footer */
    #footer .widget-title {
        font-size: 1.5rem !important;
    }
    
    /* Grid in refund/privacy policy */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* Extra small devices (575px and below) */
@media (max-width: 575px) {
    /* Hero section extra small */
    .fullscreen h1 {
        font-size: 2.2rem !important;
    }
    
    .fullscreen h3 {
        font-size: 1.1rem !important;
    }
    
    .fullscreen h4 {
        font-size: 1rem !important;
    }
    
    /* Typography */
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    /* Sections padding */
    section {
        padding: 30px 0 !important;
    }
    
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Cards and containers */
    .about-section,
    .card,
    .col-lg-10.mx-auto > div {
        padding: 20px 15px !important;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .btn span {
        white-space: normal !important;
    }
    
    /* Contact boxes on mobile */
    .contact-info-box h4 {
        font-size: 1rem !important;
    }
    
    /* Social icons smaller on tiny screens */
    .social-icons ul li a {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    /* Mission section mobile */
    .about-section .mission {
        padding: 15px !important;
    }
    
    /* Timeline dots smaller on mobile */
    div[style*="width: 12px; height: 12px"] {
        width: 10px !important;
        height: 10px !important;
    }
}

/* ========== MOBILE-SPECIFIC IMPROVEMENTS ========== */
@media (max-width: 767px) {
    /* Ensure proper text alignment on mobile */
    .text-end {
        text-align: center !important;
    }
    
    /* Center hero content on mobile */
    .fullscreen .text-middle {
        text-align: center !important;
    }
    
    /* Stack buttons vertically on mobile */
    .fullscreen div[data-animate="fadeInUp"] {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    /* Contact form mobile improvements */
    .form-group.col-md-6,
    .form-group.col-md-12 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Remove excessive margins on mobile */
    .m-b-100 {
        margin-bottom: 40px !important;
    }
    
    .m-b-50 {
        margin-bottom: 30px !important;
    }
    
    /* Improve readability of contact info on mobile */
    address {
        font-size: 0.95rem !important;
        line-height: 1.8 !important;
    }
    
    /* Better spacing for policy page sections */
    .divider {
        margin: 25px 0 !important;
    }
    
    /* Gradient boxes mobile padding */
    div[style*="linear-gradient(135deg, #667eea"] {
        padding: 20px !important;
    }
    
    div[style*="linear-gradient(135deg, #11998e"] {
        padding: 20px !important;
    }
    
    /* Timeline mobile adjustments */
    div[style*="padding-left: 30px"] {
        padding-left: 25px !important;
    }
    
    /* Better mobile text sizing in policy pages */
    .col-lg-10.mx-auto h2 {
        font-size: 1.6rem !important;
    }
    
    .col-lg-10.mx-auto h3 {
        font-size: 1.2rem !important;
    }
    
    /* Improved list spacing on mobile */
    ul, ol {
        padding-left: 25px !important;
    }
    
    li {
        margin-bottom: 8px !important;
    }
    
    /* Fix all button overflow and text issues */
    button,
    .btn,
    a.btn {
        overflow: visible !important;
        word-break: normal !important;
    }
    
    button span,
    .btn span,
    a.btn span {
        overflow: visible !important;
        text-overflow: clip !important;
    }
    
    /* Ensure proper button text display */
    .btn-primary span,
    .btn-outline span,
    .btn-add-cart span,
    .btn-view-cart span {
        display: inline !important;
        white-space: normal !important;
    }
    
    /* Force button content visibility on mobile */
    button *,
    .btn *,
    a.btn * {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Remove any pseudo-element interference */
    .btn:before,
    .btn:after {
        display: none !important;
    }
    
    /* Ensure proper text rendering */
    button,
    .btn,
    a.btn {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* ========== MOBILE BUTTON TEXT FIX (All Devices) ========== */
@media (max-width: 991px) {
    /* Ensure all buttons render text properly */
    .btn,
    button,
    a.btn,
    input[type="submit"] {
        overflow: visible !important;
    }
    
    /* Fix text inside buttons */
    .btn span,
    button span,
    a.btn span {
        visibility: visible !important;
        opacity: 1 !important;
        color: inherit !important;
    }
    
    /* Fix icon + text alignment */
    .btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
    }
}

/* ========== ACCESSIBILITY IMPROVEMENTS ========== */
:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

a:focus,
button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* ========== LOADING ANIMATION ========== */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* ========== SUCCESS MESSAGES ========== */
.alert-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(17, 153, 142, 0.2);
}

.alert-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.alert-warning {
    background: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 20px;
}

.alert-danger {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 20px;
}

/* ========== CHECKOUT IMPROVEMENTS ========== */
#shop-checkout .card {
    margin-bottom: 30px;
}

.text-muted {
    color: #6c757d !important;
}

.text-sm {
    font-size: 0.875rem;
}

.font-italic {
    font-style: italic;
}

/* ========== PRODUCT DETAILS ========== */
.product-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ========== HOVER EFFECTS ========== */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* ========== TEXT UTILITIES ========== */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== QUOTE STYLING ========== */
blockquote,
.lead em {
    font-style: italic;
    color: #667eea;
    border-left: 4px solid #667eea;
    padding-left: 20px;
    margin: 30px 0;
}

/* ========== TABLE IMPROVEMENTS ========== */
table {
    border-radius: 10px;
    overflow: hidden;
}

table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

table tbody tr:hover {
    background: #f8f9fa;
}

/* ========== BADGE STYLING ========== */
.badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.badge-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.badge-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

/* ========== ERROR FIELD STYLING ========== */
.form-control.error-field {
    border-color: #e74c3c !important;
    background-color: #fee;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* ========== HEADER SCROLL EFFECT ========== */
#header.header-scrolled {
    background: rgba(44, 62, 80, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ========== BUTTON RIPPLE EFFECT ========== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    width: 20px;
    height: 20px;
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(20);
        opacity: 0;
    }
}

/* ========== REVEAL ON SCROLL ANIMATION ========== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== LAZY LOAD EFFECT ========== */
.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.lazy-load.loaded {
    opacity: 1;
}

/* ========== CARD HOVER STATE ========== */
.card.card-hover {
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15) !important;
}

/* ========== LOADING STATE ========== */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading:after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* ========== TOOLTIP STYLING ========== */
.tooltip {
    background: #2c3e50;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

/* ========== SELECTION STYLING ========== */
::selection {
    background: #667eea;
    color: #fff;
}

::-moz-selection {
    background: #667eea;
    color: #fff;
}

/* ========== PLACEHOLDER STYLING ========== */
::-webkit-input-placeholder {
    color: #999;
    opacity: 1;
}

::-moz-placeholder {
    color: #999;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #999;
    opacity: 1;
}

:-moz-placeholder {
    color: #999;
    opacity: 1;
}

/* ========== IMPROVED LINK STYLING ========== */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/* ========== DIVIDER ========== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 40px 0;
}

/* ========== SECTION TITLE ENHANCEMENTS ========== */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* ========== ICON BOX STYLING ========== */
.icon-box {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.icon-box:hover {
    background: #f8f9fa;
    transform: translateX(10px);
}

.icon-box i {
    font-size: 32px;
    color: #667eea;
    margin-right: 20px;
    min-width: 40px;
}

/* ========== GRADIENT TEXT ========== */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== PULSE ANIMATION ========== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ========== SKELETON LOADER ========== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    #header,
    #footer,
    #scrollTop,
    .social-icons,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
}

/* ========== DARK MODE SUPPORT (Future Enhancement) ========== */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}

/* ========== HIGH CONTRAST MODE ========== */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    a {
        text-decoration: underline;
    }
}
