* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a365d;
    --primary-dark: #0d1b2a;
    --secondary: #c9a227;
    --accent: #d4af37;
    --light: #f7f9fc;
    --light-gray: #e2e8f0;
    --dark: #1a1a1a;
    --white: #ffffff;
    --gray: #64748b;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    font-size: 16px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

/* Header */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.top-contact {
    display: flex;
    gap: 20px;
}

.top-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-text h1 {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 4px;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    background: var(--primary-dark);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13,27,42,0.92) 0%, rgba(26,54,93,0.75) 100%);
    z-index: 2;
}

.slide-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13,27,42,0.95) 0%, rgba(26,54,93,0.85) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 60px 0;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: slideUp 0.8s ease forwards;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 15px;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201,162,39,0.3);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--secondary);
    width: 30px;
    border-radius: 6px;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--white);
    color: var(--primary);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 700;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.about-image {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-icon {
    font-size: 5rem;
    color: var(--secondary);
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--secondary);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.service-card:hover::before {
    height: 100%;
}

.service-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 18px;
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: var(--primary-dark);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: var(--primary-dark);
}

.service-number {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 10px;
    font-weight: 500;
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.link:hover {
    color: var(--accent);
    gap: 10px;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* Feature Section */
.features-section {
    padding: 80px 0;
    background: var(--primary-dark);
}

.features-section h2 {
    text-align: center;
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: var(--white);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--primary-dark);
    opacity: 0.8;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: var(--primary-dark);
    color: var(--white);
}

.cta-section .btn:hover {
    background: var(--primary);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Page */
.services-page {
    padding: 60px 0;
}

/* Service Detail */
.service-detail {
    padding: 60px 0;
    background: var(--light);
}

.service-card-large {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.service-detail-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.service-card-large .service-number {
    font-size: 1rem;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
}

.service-card-large h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card-large .service-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-card-large .service-cta {
    margin-top: 20px;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.content-card p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 20px;
}

.contact-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.contact-card p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.contact-item {
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    margin-top: 15px;
}

.contact-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-item span {
    color: var(--gray);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* Admin Styles */
.admin-body {
    background: #f5f5f5;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--primary);
    color: var(--white);
    padding: 20px;
}

.sidebar h2 {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1.2rem;
}

.sidebar ul {
    list-style: none;
    margin-top: 20px;
}

.sidebar li {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 5px;
    transition: var(--transition);
}

.sidebar li:hover,
.sidebar li.active {
    background: rgba(255,255,255,0.15);
}

.sidebar a {
    color: var(--white);
    display: block;
}

.main-content {
    flex: 1;
    padding: 30px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    color: var(--primary);
    font-size: 1.8rem;
}

.card {
    background: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-size: 1rem;
}

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

.btn-primary-admin {
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary-admin:hover {
    background: var(--accent);
}

.btn-danger {
    background: #e74c3c;
    color: var(--white);
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-danger:hover {
    background: #c0392b;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.table th {
    background: var(--light);
    font-weight: 600;
    color: var(--primary);
}

.login-wrapper {
    max-width: 420px;
    margin: 120px auto;
    padding: 35px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.login-wrapper h1 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary);
}

.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}