* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Announcement Bar */
.announcement-bar {
    background: var(--accent);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 0.95rem;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.announcement-bar i { margin-right: 8px; }

/* Top Bar */
.top-bar {
    background: var(--dark);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-info { display: flex; gap: 20px; }
.visitor-count, .datetime { display: flex; align-items: center; gap: 5px; }
.visitor-count i, .datetime i { color: var(--accent); }

.top-bar .social-links { display: flex; gap: 10px; }
.top-bar .social-links a {
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}
.top-bar .social-links a:hover { background: rgba(255,255,255,0.1); }

/* Header */
header {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo i { font-size: 2rem; color: var(--accent); }
.logo h1 { font-size: 1.6rem; white-space: nowrap; }

nav ul { display: flex; list-style: none; align-items: center; }
nav ul li { margin-left: 15px; }
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
    font-size: 0.95rem;
}
nav ul li a:hover { background: rgba(255,255,255,0.1); }
.admin-btn { background: var(--accent) !important; padding: 8px 15px !important; border-radius: 4px; }

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,42,90,0.95);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.mobile-nav.active { display: flex; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav ul li { margin: 20px 0; }
.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    display: block;
}
.mobile-nav ul li a:hover { background: rgba(255,255,255,0.1); }
.close-mobile-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(13,71,161,0.85), rgba(13,71,161,0.9)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: #e64a19;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}
.btn-outline {
    background: transparent;
    border: 2px solid white;
}
.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.section-title p {
    color: #666;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Services */
.services { padding: 80px 0; background: white; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: #e3f2fd;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--dark); }
.service-card p { color: #555; }

/* Team */
.team { padding: 80px 0; background: #f9f9f9; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}
.team-member:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.member-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}
.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.team-member:hover .member-img img { transform: scale(1.1); }
.hacker-animation {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.team-member:hover .hacker-animation {
    opacity: 1;
    animation: hackerScan 2s linear infinite;
}
@keyframes hackerScan {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}
.member-info { padding: 20px; text-align: center; }
.member-info h3 { font-size: 1.3rem; margin-bottom: 5px; color: var(--dark); }
.member-info .position-text { color: var(--primary); margin-bottom: 15px; font-weight: 500; }
.team-member .social-links { display: flex; justify-content: center; gap: 10px; }
.team-member .social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: #e3f2fd; border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s;
}
.team-member .social-links a:hover { background: var(--primary); color: white; }

/* Projects */
.projects { padding: 80px 0; background: white; }
.projects-slider { position: relative; padding: 0 40px; }
.swiper { width: 100%; height: 400px; border-radius: 10px; overflow: hidden; }
.swiper-slide {
    text-align: center; background: #fff;
    display: flex; justify-content: center; align-items: center;
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.project-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.7); color: white; padding: 20px;
    transform: translateY(100%); transition: transform 0.3s;
}
.swiper-slide:hover .project-info { transform: translateY(0); }
.project-info h3 { font-size: 1.5rem; margin-bottom: 10px; }
.swiper-button-next, .swiper-button-prev {
    color: var(--primary); background: rgba(255,255,255,0.8);
    width: 50px; height: 50px; border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 20px; }

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}
.footer-column p { margin-bottom: 20px; color: #ddd; }
.footer-links li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-links a { color: #ddd; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
}

/* Contact Float */
.contact-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.contact-button {
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 50%;
    font-size: 28px; color: white; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
    background-color: #25D366;
}
.contact-button:hover { transform: scale(1.1); }
.contact-options {
    position: absolute; bottom: 80px; right: 0;
    display: none; flex-direction: column; gap: 10px;
    background: white; padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 200px;
}
.contact-options.show { display: flex; }
.contact-option {
    display: flex; align-items: center; gap: 10px;
    padding: 10px; border-radius: 5px; transition: background 0.3s;
}
.contact-option:hover { background: #f0f0f0; }
.contact-option i { font-size: 20px; }
.whatsapp-option { color: #25D366; }
.telegram-option { color: #0088cc; }

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s;
}
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); }
.scroll-top.show { display: flex; }

/* Auth Forms */
.auth-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: #f5f5f5;
}
.auth-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
}
.auth-form .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
.auth-form .logo i { font-size: 2.5rem; color: var(--accent); }
.auth-form .logo h2 { font-size: 1.5rem; color: var(--dark); }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: #fafafa;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.auth-form .btn { width: 100%; text-align: center; font-size: 1.1rem; padding: 14px; }
.auth-link { text-align: center; margin-top: 20px; color: #666; }
.auth-link a { color: var(--primary); font-weight: 600; }
.auth-link a:hover { text-decoration: underline; }

.alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* Responsive */
@media (max-width: 992px) {
    .header-content nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content h2 { font-size: 2.2rem; }
    .hero { padding: 80px 0; }
    .section-title h2 { font-size: 2rem; }
    .top-bar-content { flex-direction: column; gap: 10px; text-align: center; }
    .live-info { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 768px) {
    .logo h1 { font-size: 1.3rem; }
    .hero-content h2 { font-size: 1.8rem; }
    .hero { padding: 60px 0; }
    .hero-content p { font-size: 1rem; }
    .section-title h2 { font-size: 1.8rem; }
    .services, .team, .projects { padding: 60px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .projects-slider { padding: 0 10px; }
    .swiper { height: 300px; }
    .auth-form { padding: 30px 20px; }
}

@media (max-width: 576px) {
    .team-grid { grid-template-columns: 1fr; }
    .swiper { height: 250px; }
    .contact-button { width: 50px; height: 50px; font-size: 24px; }
    .contact-options { width: 180px; }
    .footer-content { grid-template-columns: 1fr; }
    .logo h1 { font-size: 1.1rem; }
    .hero-content h2 { font-size: 1.5rem; }
}
