/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 60px;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

.profile-image {
    border: 5px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    max-width: 300px;
    margin: 0 auto 20px;
    display: block;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    margin-right: 10px;
    font-size: 1.2em;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    padding: 20px;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 25px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
}

.timeline-date {
    color: var(--secondary-color);
    font-style: italic;
}

/* Responsibility Section */
.responsibility-category {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.responsibility-category:nth-child(2) { animation-delay: 0.2s; }
.responsibility-category:nth-child(3) { animation-delay: 0.4s; }
.responsibility-category:nth-child(4) { animation-delay: 0.6s; }

.responsibility-category:last-child {
    margin-bottom: 0;
}

.category-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    align-items: center;
}

.category-title i {
    margin-right: 15px;
    font-size: 1.6rem;
    opacity: 0.8;
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.responsibility-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.responsibility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

.responsibility-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.responsibility-card h4 i {
    font-size: 1.2rem;
    opacity: 0.8;
    color: var(--primary-color);
}

/* Responsibility List */
.responsibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.responsibility-list li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.responsibility-list li:hover {
    background: rgba(0,0,0,0.02);
    padding-left: 30px;
}

.responsibility-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.responsibility-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.responsibility-list li:hover::before {
    left: 5px;
    color: var(--primary-color);
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

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

.service-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

/* Download and Upload Cards */
.download-cards .card,
.upload-cards .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.download-cards .card:hover,
.upload-cards .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.download-cards .card-body,
.upload-cards .card-body {
    padding: 1.5rem;
}

.download-cards .card-title,
.upload-cards .card-title {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.download-cards .btn,
.upload-cards .btn {
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.download-cards .card-text,
.upload-cards .card-text {
    font-size: 0.9rem;
}

/* Map Section */
.map-container {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-info-card {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 300px;
}

.map-info-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.map-info-card h4 i {
    margin-right: 10px;
}

.map-info-card p {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 40px;
    }

    .profile-image {
        margin-bottom: 30px;
    }

    .timeline-item {
        margin-left: 20px;
    }

    .map-info-card {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        margin-bottom: 20px;
        border-radius: 10px 10px 0 0;
    }
    
    .map-wrapper {
        height: 350px;
    }

    .responsibility-category {
        margin-bottom: 40px;
    }

    .category-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .responsibility-card {
        margin-bottom: 20px;
        padding: 20px;
    }

    .responsibility-card h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .responsibility-list li {
        padding: 10px 0;
        padding-left: 20px;
        font-size: 0.9rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-card, .timeline-item, .contact-info {
    animation: fadeIn 0.6s ease-out forwards;
}

.responsibility-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

.responsibility-card:nth-child(1) { animation-delay: 0.1s; }
.responsibility-card:nth-child(2) { animation-delay: 0.2s; }
.responsibility-card:nth-child(3) { animation-delay: 0.3s; }

/* Hover Effects */
.responsibility-card:hover h4 i {
    transform: scale(1.1);
    opacity: 1;
}

/* Footer Styles */
footer {
    background: linear-gradient(to bottom, #343a40, #1a1e21);
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), #0096c7, #48cae4);
}

.footer-heading {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

/* Expertise Tags */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.expertise-tag {
    background: rgba(255,255,255,0.1);
    color: #adb5bd;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Footer Links */
.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Contact Card */
.footer-contact-card {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-contact li {
    color: #adb5bd;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact li:last-child {
    margin-bottom: 0;
}

.footer-contact li i {
    color: var(--primary-color);
    width: 20px;
    margin-top: 4px;
}

.footer-contact li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: #fff;
}

/* Working Hours */
.working-hours {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

.working-hours i {
    color: var(--primary-color);
}

/* Social Links */
.footer-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.social-link::after {
    content: attr(title);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #adb5bd;
    opacity: 0;
    transition: all 0.3s ease;
}

.social-link:hover::after {
    opacity: 1;
    bottom: -30px;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-link {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-contact-card {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-heading {
        margin-top: 1.5rem;
    }

    .expertise-tags {
        justify-content: center;
    }

    .footer-social {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        margin: 0 8px;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-heading,
.expertise-tag,
.footer-links li,
.footer-contact li,
.social-link {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.footer-heading { animation-delay: 0.1s; }
.expertise-tag { animation-delay: 0.2s; }
.footer-links li:nth-child(1) { animation-delay: 0.3s; }
.footer-links li:nth-child(2) { animation-delay: 0.4s; }
.footer-links li:nth-child(3) { animation-delay: 0.5s; }
.footer-links li:nth-child(4) { animation-delay: 0.6s; }
.social-link:nth-child(1) { animation-delay: 0.7s; }
.social-link:nth-child(2) { animation-delay: 0.8s; }
.social-link:nth-child(3) { animation-delay: 0.9s; }
.social-link:nth-child(4) { animation-delay: 1.0s; } 