/* Custom Font - WOFF2 */
@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/custom-font.woff2') format('woff2'),
        url('../fonts/custom-font.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    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%);
    min-height: 100vh;
    padding: 20px;
    transition: background 0.5s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.logo-container {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.content {
    padding: 40px;
}

.features-section {
    margin-bottom: 40px;
}

.features-section h2 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2em;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.card p {
    color: #666;
    line-height: 1.6;
}

/* Image Showcase Section */
.image-showcase {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.image-showcase h2 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2em;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.image-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.showcase-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.image-caption {
    padding: 15px;
    text-align: center;
    color: #666;
    font-weight: 600;
    background: white;
}

.svg-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.svg-section h2 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2em;
}

.svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-width-svg {
    width: 100%;
    max-width: 800px;
    height: auto;
}

/* Interactive Section */
.interactive-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: center;
}

.interactive-section h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2em;
}

.action-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.6);
}

.action-button:active {
    transform: translateY(0);
}

.output-box {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
    display: none;
    text-align: left;
}

.output-box p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 10px;
}

.output-box strong {
    color: #667eea;
}

.item-list {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.item-list li {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animation-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: center;
}

.animation-box h2 {
    color: #333;
    margin-bottom: 20px;
}

.floating-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin: 20px auto;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animation-description {
    color: #666;
    margin-top: 20px;
}

.progress-bars {
    margin-top: 30px;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.progress-bar {
    height: 25px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    transition: width 2s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: bold;
}

/* Font Demo Section */
.font-demo {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: center;
}

.font-demo h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2em;
}

.custom-font-text {
    font-family: 'CustomFont', sans-serif;
    font-size: 2.5em;
    color: #667eea;
    margin-bottom: 20px;
    font-weight: bold;
}

.regular-font-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5em;
    color: #666;
}

footer {
    background: #2d3748;
    color: white;
    padding: 30px;
    text-align: center;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #764ba2;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 20px;
    }

    .action-button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .custom-font-text {
        font-size: 1.8em;
    }
}