* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(90deg, #2d5f8d 0%, #1a3a52 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.navbar a:hover,
.navbar a.active {
    color: #ffd700;
    border-bottom: 2px solid #ffd700;
}

.logout-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.logout-btn:hover {
    background: #ee5a52;
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-btn {
    background: #ffd700;
    color: #2d5f8d;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Features Section */
.features-section {
    background: white;
    padding: 60px 2rem !important;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5f8d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Courses Preview Section */
.courses-preview {
    background: white;
    padding: 60px 2rem !important;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.courses-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5f8d;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.preview-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.preview-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.preview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.duration {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.explore-btn {
    background: #ffd700;
    color: #2d5f8d;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 16px;
}

.explore-btn:hover {
    background: #ffed4e;
    transform: scale(1.05);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(90deg, #2d5f8d 0%, #1a3a52 100%);
    color: white;
    padding: 60px 2rem;
    margin: 2rem 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.1rem;
}

/* Auth Container - Advanced Styling */
/* when user must authenticate, show as centered modal */
body.auth-mode {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.navbar {
    transition: opacity 0.4s ease;
}

body.auth-mode .navbar {
    opacity: 0;
    pointer-events: none;
}

.auth-container {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    padding: 6rem 3rem !important;
    margin: 0;
    width: 90%;
    max-width: 500px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    z-index: 1000;
}

/* Animated background elements */
.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.auth-container::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(30px) translateX(20px);
    }
}

.form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease both;
}

/* subtle fade animation for container */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Advanced Toggle Buttons */
.form-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    padding: 0.6rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.toggle-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: rgba(45, 95, 141, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toggle-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-btn.active {
    color: #2d5f8d;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.toggle-btn.active::before {
    width: 30px;
}

.toggle-btn:hover {
    color: #2d5f8d;
    transform: translateY(-2px);
}

/* Auth Forms */
.auth-form {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-form.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-form h2 {
    color: #2d5f8d;
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Advanced Input Styling */
.auth-form input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 1.5rem;
    border: none;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 8px 8px 0 0;
    font-size: 16px;
    color: #2d5f8d;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.auth-form input::placeholder {
    color: rgba(45, 95, 141, 0.5);
    font-weight: 500;
}

.auth-form input:focus {
    outline: none;
    border-bottom-color: #667eea;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
    transform: translateY(-4px);
}

.auth-form input:valid {
    border-bottom-color: #90EE90;
}

/* Input Group with Icons */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.input-icon {
    position: absolute;
    right: 12px;
    font-size: 1.3rem;
    color: rgba(102, 126, 234, 0.6);
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    padding-right: 45px !important;
}

.input-group input:focus ~ .input-icon,
.input-group input:valid ~ .input-icon {
    color: #667eea;
    font-size: 1.4rem;
    right: 8px;
}

.input-group:hover .input-icon {
    color: #667eea;
}

/* Submit Button - Advanced */
.auth-submit {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    margin-top: 1.5rem;
}

.auth-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.auth-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.4);
}

.auth-submit:hover::before {
    left: 100%;
}

.auth-submit:active {
    transform: translateY(-2px);
}

.form-note {
    text-align: center;
    color: rgba(45, 95, 141, 0.6);
    font-size: 0.95rem;
    margin-top: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-note:hover {
    color: #2d5f8d;
}

/* About Section */
.about-section {
    background: white;
    padding: 3rem 2rem !important;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.about-section h2 {
    color: #2d5f8d;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-section p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 3rem 2rem !important;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-section h2 {
    color: #2d5f8d;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Courses Page - Grid Layout */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.course-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-card .course-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.course-card h3 {
    color: #2d5f8d;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.course-card p {
    color: #666;
    margin-bottom: 1rem;
}

.course-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.course-list li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #eee;
}

.course-list li:last-child {
    border-bottom: none;
}

.enroll-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.enroll-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Services Intro */
.services-intro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 3rem;
}

.services-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Why Choose Us */
.why-choose-us {
    background: white;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-choose-us h2 {
    color: #2d5f8d;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.benefit h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Dashboard */
.dashboard {
    background: white;
    padding: 3rem 2rem !important;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dashboard h1 {
    color: #2d5f8d;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dashboard-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.dashboard-btn {
    width: 100%;
    padding: 10px;
    background: #ffd700;
    color: #2d5f8d;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.dashboard-btn:hover {
    background: #ffed4e;
    transform: scale(1.02);
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #2d5f8d 0%, #1a3a52 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Professional Image Showcase Section */
.image-showcase-section {
    background: linear-gradient(135deg, #2d5f8d 0%, #1a3a52 100%);
    padding: 80px 2rem;
    position: relative;
    overflow: hidden;
}

.image-showcase-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.image-showcase-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
}

.image-showcase-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.image-frame {
    position: relative;
    perspective: 1000px;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-container:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    filter: saturate(1.1) contrast(1.05) brightness(1.02);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
}

.image-container:hover .showcase-image {
    filter: saturate(1.3) contrast(1.1) brightness(1.05) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(ellipse 400px 300px at 50% 50%, rgba(102, 126, 234, 0.1), transparent 70%);
    border-radius: 20px;
    pointer-events: none;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.2), inset 0 0 60px rgba(102, 126, 234, 0.1);
    }
    50% {
        box-shadow: 0 0 80px rgba(102, 126, 234, 0.4), inset 0 0 100px rgba(102, 126, 234, 0.15);
    }
}

.image-text-overlay {
    color: white;
    position: relative;
    z-index: 2;
}

.image-text-overlay h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

.image-text-overlay p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.image-text-overlay::before {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700 0%, #667eea 100%);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .features-grid,
    .preview-grid,
    .courses-grid,
    .benefits-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-text-overlay h3 {
        font-size: 1.8rem;
    }

    .image-showcase-section {
        padding: 50px 2rem;
    }
}

/* Performance & Stability Fixes */
html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    -webkit-tap-highlight-color: transparent;
}

img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

button, input, a {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}