/**
 * Public Website Enhancements
 * Professional styling improvements for PakBuses Public Website
 * Author: Professional Development Team
 * Date: November 2025
 */

/* ===================================
   MODERN HOMEPAGE STYLES
   =================================== */

/* Hero Section - Modern */
.hero-wrapper-modern {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.9) 100%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30L0 30 30 0z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 0;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gradient-text {
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle-modern {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Search Card */
.search-card-modern {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeInUp 1.2s ease;
}

.search-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
    color: white;
}

.search-card-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.search-card-header h3 i {
    margin-right: 10px;
}

.search-card-body {
    padding: 40px 30px;
}

.modern-bus-form .g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.form-group-modern {
    margin-bottom: 0;
}

.form-group-modern label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.form-group-modern label i {
    margin-right: 5px;
    color: #667eea;
}

.form-control-modern {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-control-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-search-modern {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-search-modern i {
    margin-right: 8px;
}

.error-message-modern {
    color: #e53e3e;
    font-size: 14px;
    display: block;
    margin-top: 15px;
}

/* Features Section - Modern */
.features-section-modern {
    padding: 100px 0;
    background: #f7fafc;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title-modern {
    font-size: 42px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 20px;
}

.feature-card-modern {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: white;
    transform: rotate(-5deg);
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-modern {
    transform: rotate(0deg) scale(1.1);
}

.feature-card-modern h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
}

.feature-card-modern p {
    color: #718096;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Benefits Section - Modern */
.benefits-section-modern {
    padding: 100px 0;
    background: white;
}

.benefits-image {
    position: relative;
    padding: 50px;
}

.benefits-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.floating-badge {
    position: absolute;
    top: 20%;
    right: 10%;
    background: white;
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #2d3748;
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    color: #fbbf24;
    font-size: 24px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.app-description {
    font-size: 16px;
    color: #718096;
    line-height: 1.8;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 28px;
    color: white;
}

.benefit-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.benefit-content p {
    color: #718096;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Routes Section - Modern */
.routes-section-modern {
    padding: 100px 0;
    background: #f7fafc;
}

.route-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.route-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.route-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.route-card-modern:hover .route-image img {
    transform: scale(1.1);
}

.route-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.operator-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #667eea;
}

.route-content {
    padding: 25px;
}

.route-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.route-content h3 i {
    color: #667eea;
    margin: 0 8px;
    font-size: 16px;
}

.route-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.route-price {
    display: flex;
    flex-direction: column;
}

.from-text {
    font-size: 12px;
    color: #a0aec0;
    text-transform: uppercase;
    font-weight: 600;
}

.price {
    font-size: 24px;
    font-weight: 800;
    color: #667eea;
}

.btn-book-modern {
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-book-modern:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Mobile App Section - Modern */
.app-section-modern {
    padding: 100px 0;
    background: white;
}

.app-image-container {
    position: relative;
    text-align: center;
    padding: 40px;
}

.app-image {
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.2));
    animation: float 4s ease-in-out infinite;
}

.app-floating-badge {
    position: absolute;
    top: 15%;
    left: 10%;
    background: white;
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.app-floating-badge i {
    font-size: 28px;
    color: #fbbf24;
}

.app-floating-badge strong {
    font-size: 24px;
    font-weight: 800;
    color: #2d3748;
    display: block;
}

.app-floating-badge span {
    font-size: 12px;
    color: #718096;
    text-transform: uppercase;
    font-weight: 600;
}

.app-content-modern {
    padding: 0 30px;
}

.app-features-list {
    margin-bottom: 40px;
}

.feature-item-app {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-item-app i {
    font-size: 24px;
    color: #10b981;
    flex-shrink: 0;
}

.feature-item-app span {
    font-size: 16px;
    color: #4a5568;
    font-weight: 500;
}

.google-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #2d3748;
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.google-play-btn:hover {
    background: #1a202c;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.google-play-btn i {
    font-size: 32px;
}

.google-play-btn span {
    font-size: 12px;
    display: block;
    color: #a0aec0;
}

.google-play-btn strong {
    font-size: 18px;
    display: block;
    font-weight: 700;
}

/* Newsletter Section - Modern */
.newsletter-section-modern {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.newsletter-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 60px 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.newsletter-content {
    text-align: center;
}

.newsletter-icon {
    font-size: 64px;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.newsletter-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.newsletter-form-modern {
    margin-top: 30px;
}

.input-group-modern {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.input-group-modern i {
    position: absolute;
    left: 25px;
    font-size: 20px;
    color: #a0aec0;
}

.input-group-modern input {
    flex: 1;
    border: none;
    padding: 14px 50px;
    font-size: 15px;
    border-radius: 50px;
    outline: none;
}

.btn-subscribe-modern {
    padding: 12px 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-subscribe-modern:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.privacy-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-top: 15px;
}

.privacy-text i {
    margin-right: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .gradient-text {
        font-size: 42px;
    }
    
    .section-title-modern {
        font-size: 32px;
    }
    
    .benefits-image {
        margin-bottom: 40px;
    }
    
    .app-image-container {
        margin-bottom: 40px;
    }
    
    .newsletter-card {
        padding: 40px 30px;
    }
    
    .newsletter-content {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .gradient-text {
        font-size: 32px;
    }
    
    .hero-subtitle-modern {
        font-size: 16px;
    }
    
    .search-card-body {
        padding: 30px 20px;
    }
    
    .features-section-modern,
    .benefits-section-modern,
    .routes-section-modern,
    .app-section-modern {
        padding: 60px 0;
    }
    
    .input-group-modern {
        flex-direction: column;
        border-radius: 15px;
        padding: 15px;
    }
    
    .input-group-modern input {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .btn-subscribe-modern {
        width: 100%;
    }
}

/* ===================================
   OLD HERO SECTION STYLES (KEPT FOR COMPATIBILITY)
   =================================== */
.hero-wrapper8 {
    position: relative;
    overflow: hidden;
}

.hero-wrapper8::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 1;
}

.hero-wrapper8 .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    padding: 80px 0;
}

.hero-content .sec__title {
    font-size: 48px;
    font-weight: 800;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cd-words-wrapper b {
    display: inline-block;
    color: #43e97b;
    font-weight: 900;
}

/* ===================================
   BUS SEARCH FORM IMPROVEMENTS
   =================================== */
#pkbuses.bus-search {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    padding: 30px;
    margin-top: 40px;
    animation: fadeInUp 1.2s ease;
}

#busForm {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.busfields {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex: 1;
}

.bus-field {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.bus-field input[type="text"] {
    width: 100%;
    padding: 15px 40px 15px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.bus-field input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.bus-field label {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bus-field input[type="text"]:focus + label,
.bus-field input[type="text"]:not(:placeholder-shown) + label {
    top: 5px;
    font-size: 11px;
    color: #667eea;
}

.bus-field .location-bus,
.bus-field .caledr-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.6;
}

.remove-origin,
.remove-destination {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
}

.bus-field input[type="text"]:not(:placeholder-shown) ~ .remove-origin,
.bus-field input[type="text"]:not(:placeholder-shown) ~ .remove-destination {
    display: block;
}

.remove-origin:hover,
.remove-destination:hover {
    color: #f5576c;
}

.button-bus {
    flex-shrink: 0;
}

.button-bus input[type="button"] {
    padding: 18px 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.button-bus input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.button-bus input[type="button"]:active {
    transform: translateY(0);
}

/* Autocomplete styling */
ul.ui-autocomplete {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: none;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
}

ul.ui-autocomplete li {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.3s ease;
}

ul.ui-autocomplete li:hover {
    background: #f8fafc;
    color: #667eea;
}

ul.ui-autocomplete li.ui-state-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
}

/* Datepicker styling */
.ui-datepicker {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: none;
    padding: 10px;
}

.ui-datepicker-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px 8px 0 0;
    padding: 10px;
}

.ui-datepicker-calendar td a {
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.ui-datepicker-calendar td a:hover {
    background: #667eea;
    color: #fff;
}

.ui-state-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
}

/* ===================================
   HEADER IMPROVEMENTS
   =================================== */
.header-area {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
}

.header-top-bar {
    background: #f8fafc;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.header-top-content ul.list-items li a {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-top-content ul.list-items li a:hover {
    color: #667eea;
}

.header-menu-wrapper {
    padding: 15px 0;
}

.main-menu-content nav ul li a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-menu-content nav ul li a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
}

/* Sticky header effect */
.header-area.sticky {
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ===================================
   BUTTON IMPROVEMENTS
   =================================== */
.theme-btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.theme-btn:hover::before {
    width: 300px;
    height: 300px;
}

.theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===================================
   RESPONSIVE IMPROVEMENTS
   =================================== */
@media (max-width: 1199px) {
    .hero-content .sec__title {
        font-size: 38px;
    }
    
    #pkbuses.bus-search {
        padding: 25px;
    }
}

@media (max-width: 991px) {
    .hero-content .sec__title {
        font-size: 32px;
    }
    
    #busForm {
        flex-direction: column;
    }
    
    .busfields {
        flex-direction: column;
        width: 100%;
    }
    
    .bus-field {
        width: 100%;
    }
    
    .button-bus {
        width: 100%;
    }
    
    .button-bus input[type="button"] {
        width: 100%;
        padding: 16px;
    }
}

@media (max-width: 767px) {
    .hero-content {
        padding: 60px 0;
    }
    
    .hero-content .sec__title {
        font-size: 28px;
    }
    
    #pkbuses.bus-search {
        padding: 20px;
    }
    
    .bus-field input[type="text"] {
        padding: 12px 35px 12px 40px;
        font-size: 14px;
    }
    
    .header-top-bar {
        display: none;
    }
}

/* ===================================
   LOADING ANIMATION
   =================================== */
.preloader {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.preloader .spinner .path {
    stroke: #fff;
}

/* ===================================
   ACCESSIBILITY
   =================================== */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #667eea;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-content:focus {
    top: 0;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* Lazy loading placeholder */
img[data-src] {
    background: #f1f5f9;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
