/* --- RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

main {
    min-height: calc(100vh - 200px);
    display: block;
}

/* --- NAVBAR --- */
.navbar {
    background-color: #000;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    font-size: 24px;
    color: #4facfe;
}

.brand-text h1 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.brand-text span {
    font-size: 12px;
    font-weight: 300;
    color: #ccc;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4facfe;
}

.user-icon {
    font-size: 18px;
    cursor: pointer;
}

.btn-link {
    padding: 6px 12px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: #000;
    border-radius: 8px;
    font-weight: 600;
}

.mini-logo {
    width: 60px;
    height: 60px;
    border-radius: 10%;
    object-fit: cover;
    margin-right: 10px;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)), url('../bgandro1.jpeg') center/cover no-repeat;
    color: white;
    padding: 80px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
}

.hero-content {
    max-width: 50%;
    z-index: 2;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
    color: #ccc;
    line-height: 1.6;
}

.hero-graphic {
    display: none;
}

/* --- SERVICES HERO SECTION --- */
.services-hero {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)), url('../image3.png') center/cover no-repeat;
    color: white;
    padding: 80px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
}

.services-hero-content {
    max-width: 50%;
    z-index: 2;
}

.services-hero-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.services-hero-content p {
    font-size: 18px;
    color: #ccc;
    line-height: 1.6;
}

/* --- FEATURES SECTION --- */
.features {
    padding: 60px 5%;
    text-align: center;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
}

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

.card {
    background: #fff;
    border: 1px solid #e0efff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #c471ed;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #f3f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.icon-brain {
    color: #a18cd1;
    background: #f3f0ff;
}

.icon-rocket {
    color: #89f7fe;
    background: #e0fbfc;
}

.icon-handshake {
    color: #667eea;
    background: #e6e9f0;
}

.icon-shield {
    color: #f6d365;
    background: #fffbe0;
}

.card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card p {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
}

/* --- SERVICES SECTION --- */
.services {
    padding: 40px 5% 80px;
    text-align: center;
}

.services-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
}

.service-box {
    width: 100%;
    height: 150px;
    background-color: #000;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.service-box i {
    font-size: 50px;
    background: -webkit-linear-gradient(#00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-box:nth-child(2) i {
    background: -webkit-linear-gradient(#11998e, #38ef7d);
    -webkit-background-clip: text;
}

.service-box:nth-child(3) i {
    background: -webkit-linear-gradient(#fc466b, #3f5efb);
    -webkit-background-clip: text;
}

.service-box:nth-child(4) i {
    background: -webkit-linear-gradient(#8E2DE2, #4A00E0);
    -webkit-background-clip: text;
}

.service-item h4 {
    font-size: 12px;
    font-weight: 700;
    color: #000;
}

/* --- MODERN SERVICES LISTING --- */
.services-listing {
    padding: 60px 5%;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 15px auto 0;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #4facfe;
}

.service-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

.service-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.9);
}

.service-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
    line-height: 1.3;
}

.service-card-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-footer {
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.service-card:hover .learn-more {
    gap: 12px;
}

.learn-more i {
    font-size: 12px;
}

/* --- FORMS --- */
.auth-container {
    max-width: 420px;
    width: 100%;
    margin: 60px auto;
    padding: 40px 35px;
    border: 1px solid #e0efff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

.form-group small {
    display: block;
    margin-top: 4px;
}

.btn-primary {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: #000;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary:hover {
    opacity: 0.9;
}

.text-center {
    text-align: center;
}

.auth-link {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.auth-link a {
    color: #4facfe;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-link a:hover {
    color: #00f2fe;
    text-decoration: underline;
}

.alert {
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 12px;
}

.alert-error {
    background: #ffe5e5;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.profile-card {
    max-width: 500px;
    margin: 60px auto;
    padding: 30px;
    border: 1px solid #e0efff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.profile-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
}

/* --- FOOTER --- */
.footer {
    background-color: #000;
    color: #fff;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social i {
    font-size: 18px;
    cursor: pointer;
}

.contact-info {
    font-size: 12px;
    text-align: right;
    border-left: 1px solid #333;
    padding-left: 15px;
    margin-left: 15px;
}

/* --- SERVICE DETAIL PAGE --- */
.service-detail-hero {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)), url('../image3.png') center/cover no-repeat;
    color: white;
    padding: 60px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

/* Enhanced Service Detail Styles */
.service-detail-image-wrapper {
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
}

.service-detail-image-wrapper img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 10px;
}

.service-detail-image-wrapper:hover img {
    transform: scale(1.02);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: #000;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.section-badge i {
    font-size: 14px;
}

.service-benefits {
    margin: 60px 0;
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 40px;
}

.benefit-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}

.benefit-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.benefit-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.action-header {
    text-align: center;
    margin-bottom: 35px;
}

.action-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.btn-action {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 40px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.btn-action i {
    font-size: 32px;
}

.btn-action span {
    font-size: 16px;
    font-weight: 600;
}

.btn-primary-action {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-primary-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary-action {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary-action:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.service-detail-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.service-detail-hero h1 {
    font-size: 36px;
    font-weight: 700;
}

.service-detail-section {
    padding: 60px 5%;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.service-detail-description {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.service-detail-description h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.service-detail-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.service-detail-actions {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-detail-actions h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.action-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .btn-primary,
.action-buttons .btn-secondary {
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 180px;
    justify-content: center;
}

.action-buttons .btn-primary {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: #000;
    border: none;
}

.action-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.action-buttons .btn-secondary {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

.action-buttons .btn-secondary:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.service-detail-back {
    text-align: center;
}

.service-detail-back .btn-link {
    color: #667eea;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.service-detail-back .btn-link:hover {
    color: #764ba2;
}

.service-item {
    cursor: pointer;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-graphic {
        width: 80%;
        height: 200px;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-info {
        border: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .service-detail-hero h1 {
        font-size: 28px;
    }

    .service-detail-icon {
        font-size: 60px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn-primary,
    .action-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* --- NOTIFICATION SYSTEM --- */
.notification-container {
    position: relative;
    display: inline-block;
}

.notification-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.notification-bell:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.notification-bell i {
    font-size: 18px;
    color: #fff;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

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

.notification-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    max-height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.notification-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.notification-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.mark-all-read {
    font-size: 12px;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.mark-all-read:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-list {
    max-height: 350px;
    overflow-y: auto;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.notification-item {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: #f9fafb;
}

.notification-item.unread {
    background: #f0f9ff;
    border-left: 3px solid #4facfe;
}

.notification-item.unread:hover {
    background: #e0f2fe;
}

.notification-item.empty {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    cursor: default;
}

.notification-item.empty:hover {
    background: white;
}

.notification-content h5 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.notification-content p {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.notification-time {
    font-size: 11px;
    color: #9ca3af;
}

.notification-footer {
    padding: 15px 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    background: #f9fafb;
}

.notification-footer a {
    color: #667eea;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Notification Card Hover Effects */
.notification-card {
    transition: all 0.3s ease;
}

.notification-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification-dropdown {
        width: 320px;
        right: -50px;
    }

    .notification-container {
        position: static;
    }
}