
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --black: #000000;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('/static/images/Digital\ Guide\ Office.png') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.8) 0%, rgba(108, 117, 125, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--white);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    40% {
        transform: translateY(-10px) rotate(-45deg);
    }
    60% {
        transform: translateY(-5px) rotate(-45deg);
    }
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

/* Category Navigation */
.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-item {
    position: relative;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 15px;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.category-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.category-icon {
    font-size: 1.2rem;
}

.category-text {
    font-size: 1rem;
    white-space: nowrap;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay-content {
    text-align: center;
    color: var(--white);
}

.service-overlay-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.service-overlay-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.service-content {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-color);
}

.service-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-arrow {
    transform: translateX(5px);
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
}

.animate-fade-in-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Legacy styles for compatibility */
.boxii {
    align-items: center;
    color: white;
    background-color: rgb(37, 174, 239);
    padding: 10px;
    border-radius: 10px 10px;
    box-shadow: 8px 8px 16px #bebebe, -8px -8px 16px #ffffff;
}

.neumorphic {
    background-color: #F4F5F6;
    border: none;
    border-radius: 10px;
    box-shadow: 8px 8px 16px #bebebe, -8px -8px 16px #ffffff;
    font-size: 1.2em;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Service Page Styles */
.service-page-header {
    position: relative;
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.service-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.service-header-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.breadcrumb-nav {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--white);
}

.breadcrumb-separator {
    margin: 0 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: var(--white);
    font-weight: 500;
}

.service-page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-page-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-count {
    display: inline-block;
}

.count-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Service Projects Section */
.service-projects-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 60vh;
}

/* Project Cards */
.project-card {
    height: 100%;
    transition: all 0.4s ease;
}

.project-button {
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.project-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    text-align: center;
    color: var(--white);
}

.media-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.video-icon {
    background: rgba(220, 53, 69, 0.9);
    border: 3px solid rgba(220, 53, 69, 0.3);
}

.image-icon {
    background: rgba(40, 167, 69, 0.9);
    border: 3px solid rgba(40, 167, 69, 0.3);
}

.default-icon {
    background: rgba(0, 123, 255, 0.9);
    border: 3px solid rgba(0, 123, 255, 0.3);
}

.overlay-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.project-content {
    padding: 1.5rem;
    background: var(--white);
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.4;
}

.project-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.meta-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.video-tag {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.image-tag {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

/* Modern Modal Styles */
.project-modal .modal-dialog {
    max-width: 90vw;
    margin: 2rem auto;
}

.modern-modal {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modern-modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-title-container {
    flex: 1;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.modal-meta {
    display: flex;
    gap: 0.5rem;
}

.modal-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.modern-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modern-modal-body {
    padding: 0;
    background: var(--white);
}

.media-container {
    position: relative;
}

.video-wrapper,
.image-wrapper {
    background: #000;
}

.video-wrapper .ratio {
    background: #000;
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
}

.no-media-wrapper {
    padding: 4rem 2rem;
    text-align: center;
    background: #f8f9fa;
}

.no-media-content {
    color: var(--secondary-color);
}

.no-media-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-media-text {
    font-size: 1.2rem;
    margin: 0;
}

.description-container {
    padding: 2rem;
    border-top: 1px solid #e9ecef;
}

.description-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.description-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary-color);
    margin: 0;
}

.modern-modal-footer {
    background: #f8f9fa;
    border: none;
    padding: 1.5rem 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    width: 100%;
}

.modern-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .service-page-title {
        font-size: 2.2rem;
    }
    
    .service-page-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .category-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .project-image-container {
        height: 220px;
    }
    
    .project-modal .modal-dialog {
        max-width: 95vw;
        margin: 1rem auto;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modern-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-page-title {
        font-size: 1.8rem;
    }
    
    .service-image-container {
        height: 200px;
    }
    
    .project-image-container {
        height: 180px;
    }
    
    .breadcrumb-nav {
        font-size: 0.8rem;
    }
    
    .modern-modal-header {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .description-container {
        padding: 1.5rem;
    }
}