* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #10100E;
    color: white;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #10100E;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

.bg-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.gradient-bg {
    background: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
}

.glow {
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 80px rgba(59, 130, 246, 0.5);
}

.typing-animation {
    overflow: hidden;
    border-right: 3px solid #3b82f6;
    white-space: nowrap;
    animation: typing 3s steps(20, end) forwards, blink 1s infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #3b82f6; }
}

.bounce-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.certificate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

.certificate-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-prev {
    left: -60px;
}

.modal-next {
    right: -60px;
}

.nav-link.active {
    background: #3b82f6;
    color: white !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.tab-button {
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: #3b82f6;
    color: white;
}

.tab-button.active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.tg-button {
    background: #3b82f6;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tg-button:hover {
    background: #2563eb;
    transform: scale(1.05);
}

#mobile-menu a {
    padding: 16px 32px;
    margin: 8px 0;
    font-size: 1.5rem;
    border-radius: 24px;
    background: rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

#mobile-menu a:hover {
    background: #3b82f6;
    transform: scale(1.05);
}

#mobile-menu a.active {
    background: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
    .modal-nav {
        padding: 15px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.certificate-card {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.certificate-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.certificate-card:hover img {
    transform: scale(1.05);
}

.certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.certificate-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 70%;
    max-height: 80%;
    background: #0f0f23;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.3);
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 75vh;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(59, 130, 246, 0.8);
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-nav:hover {
    background: rgba(59, 130, 246, 0.8);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-image {
        max-height: 60vh;
    }
}

#reviews {
    scroll-margin-top: 100px;
    padding: 40px 0;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #10100E;
    color: white;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #10100E;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

.bg-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.gradient-bg {
    background: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
}

.glow {
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 80px rgba(59, 130, 246, 0.5);
}

.typing-animation {
    overflow: hidden;
    border-right: 3px solid #3b82f6;
    white-space: nowrap;
    animation: typing 3s steps(20, end) forwards, blink 1s infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #3b82f6; }
}

.bounce-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.certificate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

.certificate-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-prev {
    left: -60px;
}

.modal-next {
    right: -60px;
}

.nav-link.active {
    background: #3b82f6;
    color: white !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.tab-button {
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: #3b82f6;
    color: white;
}

.tab-button.active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.tg-button {
    background: #3b82f6;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tg-button:hover {
    background: #2563eb;
    transform: scale(1.05);
}

#mobile-menu a {
    padding: 16px 32px;
    margin: 8px 0;
    font-size: 1.5rem;
    border-radius: 24px;
    background: rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

#mobile-menu a:hover {
    background: #3b82f6;
    transform: scale(1.05);
}

#mobile-menu a.active {
    background: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
    .modal-nav {
        padding: 15px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.certificate-card {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.certificate-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.certificate-card:hover img {
    transform: scale(1.05);
}

.certificate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.certificate-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 70%;
    max-height: 80%;
    background: #0f0f23;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.3);
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 75vh;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(59, 130, 246, 0.8);
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-nav:hover {
    background: rgba(59, 130, 246, 0.8);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-image {
        max-height: 60vh;
    }
}

#reviews {
    scroll-margin-top: 100px;
    padding: 40px 0;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#intro-overlay { 
    background: #10100E;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-container {
    align-items: center;
    background: #000;
    border-radius: 40px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    display: flex;
    height: 80px;
    justify-content: center;
    position: relative;
    width: 200px;
    cursor: pointer;
}
.intro-container .text {
    color: white;
    position: absolute;
    transition: opacity 300ms;
    user-select: none;
    -moz-user-select: none;
    font-weight: 600;
    font-size: 26px;
}
.intro-container .fingerprint {
    left: -8px;
    opacity: 0;
    position: absolute;
    stroke: #777;
    top: -9px;
    transition: opacity 1ms;
}
.intro-container .fingerprint-active {
    stroke: #fff;
}
.intro-container .fingerprint-out {
    opacity: 1;
}
.intro-container .odd {
    stroke-dasharray: 0px 50px;
    stroke-dashoffset: 1px;
    transition: stroke-dasharray 1ms;
}
.intro-container .even {
    stroke-dasharray: 50px 50px;
    stroke-dashoffset: -41px;
    transition: stroke-dashoffset 1ms;
}
.intro-container .ok {
    opacity: 0;
}
.intro-container.active {
    animation: 6s Container;
}
.intro-container.active .text {
    opacity: 0;
    animation: 6s Text forwards;
}
.intro-container.active .fingerprint {
    opacity: 1;
    transition: opacity 300ms 200ms;
}
.intro-container.active .fingerprint-base .odd {
    stroke-dasharray: 50px 50px;
    transition: stroke-dasharray 800ms 100ms;
}
.intro-container.active .fingerprint-base .even {
    stroke-dashoffset: 0px;
    transition: stroke-dashoffset 800ms;
}
.intro-container.active .fingerprint-active .odd {
    stroke-dasharray: 50px 50px;
    transition: stroke-dasharray 2000ms 1500ms;
}
.intro-container.active .fingerprint-active .even {
    stroke-dashoffset: 0px;
    transition: stroke-dashoffset 2000ms 1300ms;
}
.intro-container.active .fingerprint-out {
    opacity: 0;
    transition: opacity 300ms 4100ms;
}
.intro-container.active .ok {
    opacity: 1;
    animation: 6s Ok forwards;
}
@keyframes Container {
    0% { width: 200px }
    6% { width: 80px }
    71% { transform: scale(1); }
    75% { transform: scale(1.2); }
    77% { transform: scale(1); }
    94% { width: 80px }
    100% { width: 200px }
}
@keyframes Text {
    0% { opacity: 1; transform: scale(1); }
    6% { opacity: 0; transform: scale(0.5); }
    94% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes Ok {
    0% { opacity: 0 }
    70% { opacity: 0; transform: scale(0); }
    75% { opacity: 1; transform: scale(1.1); }
    77% { opacity: 1; transform: scale(1); }
    92% { opacity: 1; transform: scale(1); }
    96% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 0 }
}

.typing-animation {
    overflow: hidden;
    border-right: 3px solid #3b82f6;
    white-space: nowrap;
    animation: typing 3s steps(20, end) forwards, blink 1s infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #3b82f6; }
}