* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4cc9f0;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #2ecc71;
    --warning: #ff9f1c;
}
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    margin-top: 72px;
}
header {
    background: #4361ee;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 60px;
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin-left: 2rem;
}
.nav-links a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}
.nav-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: var(--secondary);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 2px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(67, 97, 238, 0.15);
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}
#backToTop:hover {
    background: var(--secondary);
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.25);
    opacity: 1;
}

    footer{
      background:linear-gradient(180deg, #0b1220, #060b16);
      color:#fff;
      padding:56px 16px 26px;
      border-top:1px solid rgba(0,0,0,.08);
    }

    .footer-container{
      max-width:1200px;
      margin:0 auto;
      display:grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap:28px;
      align-items:start;
    }

    .footer-col{
      background:rgba(255,255,255,.02);
      border:1px solid rgba(255,255,255,.12);
      border-radius:16px;
      padding:18px 18px 16px;
      backdrop-filter: blur(6px);
    }

    .footer-col .logo-bot{
      font-size:18px;
      font-weight:800;
      letter-spacing:.3px;
      margin-bottom:10px;
      display:block;
      color:#ffffff;
    }

    .footer-col p{
      margin:0;
      color:rgba(255,255,255,.82);
      line-height:1.8;
      font-size:15px;
    }

    .footer-col h4{
      margin:2px 0 12px;
      font-size:16px;
      letter-spacing:.2px;
    }

    .footer-col ul{ list-style:none; padding:0; margin:0; }
    .footer-col li{ margin:10px 0; }

    .footer-col a{
      color:rgba(255,255,255,.82);
      text-decoration:none;
      display:inline-flex;
      align-items:center;
      gap:10px;
      font-size:15px;
      line-height:1.4;
      transition: transform .18s ease, color .18s ease;
    }

    .footer-col a:hover{
      color:#fff;
      transform: translateX(2px);
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    .copyright{
      max-width:1200px;
      margin:18px auto 0;
      padding-top:18px;
      border-top:1px solid rgba(255,255,255,.12);
      color:rgba(255,255,255,.72);
      font-size:14px;
      text-align:center;
    }

    @media (max-width: 900px){
      .footer-container{ grid-template-columns:1fr; }
      footer{ padding:44px 14px 22px; }
    }

    .demo-card{
      background:#fff;
      border:1px solid #e5e7eb;
      border-radius:16px;
      padding:18px;
      box-shadow:0 10px 22px rgba(0,0,0,.06);
    }


.nav-item {
    position: relative;
}
.has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.10);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1001;
}

.has-dropdown:focus-within .dropdown {
    display: block;
}
.dropdown li {
    width: 100%;
}
.dropdown a {
    display: block;
    padding: 10px 24px;
    color: #222;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}
.dropdown a:hover {
    background: rgba(67,97,238,0.08);
    color: #4361ee;
}
.nav-links, .nav-links ul, .dropdown, .dropdown li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.nav-links > .nav-item > a,
.nav-links > .nav-item > a.btn {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #4361ee;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        box-shadow: 0 8px 24px rgba(67, 97, 238, 0.20);
        display: none;
        padding: 1rem 0;
        z-index: 1002;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links > .nav-item {
        width: 100%;
    }
    .nav-links > .nav-item > a {
        width: 100%;
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: white;
    }
    .has-dropdown .dropdown {
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
        border-radius: 0;
        min-width: 100%;
        padding: 0;
        display: none;
    }
    .nav-item.show-dropdown .dropdown {
        display: block;
    }
    .dropdown a {
        padding: 12px 32px;
    }
}


.cards-container {
            display: flex;
            flex-direction: column;
            gap: 25px;
            width: 100%;
        }
        
        .card {
            display: flex;
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            transition: all 0.4s ease;
            position: relative;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }
        
        .card-number {
            position: absolute;
            top: 15px;
            left: 15px;
            background: #3498db;
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: 700;
            z-index: 10;
            box-shadow: 0 4px 10px rgba(52,152,219,0.4);
        }
        
        .card-image {
            width: 240px;
            height: auto;
            flex-shrink: 0;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.5s ease;
        }
        
        .card:hover .card-image img {
            transform: scale(1.05);
        }
        
        .card-content {
            flex: 1;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .content-top {
            margin-bottom: 20px;
        }
        
        .card-title {
            font-size: 1.5rem;
            color: #2c3e50;
            margin-bottom: 12px;
            font-weight: 700;
        }
        
        .card-description {
            color: #5a6778;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .rating-container {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .rating-stars {
            display: flex;
            margin-right: 15px;
        }
        
        .rating-stars i {
            color: #ffd700;
            font-size: 1.2rem;
            margin-right: 3px;
        }
        
        .rating-value {
            background: #f8f9fa;
            padding: 5px 12px;
            border-radius: 20px;
            font-weight: 600;
            color: #3498db;
        }
        
        .content-bottom {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .action-button {
            background: linear-gradient(to right, #3498db, #2980b9);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(52,152,219,0.3);
            display: flex;
            align-items: center;
            min-width: 160px;
            justify-content: center;
            gap: 8px;
        }
        
        .action-button:hover {
            background: linear-gradient(to right, #2980b9, #3498db);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(52,152,219,0.4);
        }
        
        .action-button i {
            display: none;
        }
        
        .action-button:hover i {
            display: inline-block;
        }
        
        .card-button {
            width: 220px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 25px;
            background: #f8f9fa;
            border-left: 1px solid #eaeff5;
            transition: background 0.3s ease;
        }
        
        .card-button:hover {
            background: #f0f4f8;
        }
 
@media (max-width: 900px) {
    .card {
        flex-direction: column;
        max-width: 90%;           
        margin: 0 auto 1.5rem; 
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    
    .card-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
    
    .card-content {
        padding: 16px 20px;
    }
    
    .card-button {
        width: 100%;
        padding: 18px;
        border-left: none;
        border-top: 1px solid #eaeff5;
        text-align: center;
    }

    .content-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
}

@media (max-width: 600px) {
    .card {
        max-width: 95%;
    }

    .card-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .card-content {
        padding: 14px 16px; 
    }

    .card-button {
        padding: 14px;
        font-size: 1rem;
    }

    .card-image {
        aspect-ratio: 4/3;
    }
}
        

        .card:nth-child(1) .card-number {
            background: linear-gradient(135deg, #3498db, #2c80c7);
        }
        
        .card:nth-child(2) .card-number {
            background: linear-gradient(135deg, #2ecc71, #27ae60);
        }
        
        .card:nth-child(3) .card-number {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
        }
        
        .card:nth-child(4) .card-number {
            background: linear-gradient(135deg, #9b59b6, #8e44ad);
        }
        
        .info-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            z-index: 10;
        }



.anchor-directory {
    display: flex;
    justify-content: center;
    gap: 20px; 
    background-color: #f4f4f4;
    padding: 10px 0; 
    border-bottom: 2px solid #ccc; 
}
