/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Top Bar */
.top-bar {
    background: var(--dark-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand h3 {
    font-weight: 700;
    margin: 0;
}

.nav-link {
    font-weight: 500;
    padding: 10px 15px !important;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.1;
}

/* Stats Section */
.stat-box {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.stat-box h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Service Cards */
.service-card {
    transition: all 0.3s;
    border: none;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
}

.service-card .icon-box {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: var(--light-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.service-card .icon-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Team Cards */
.team-card {
    transition: all 0.3s;
    border: none;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.team-card img {
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.team-card:hover img {
    transform: scale(1.05);
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s;
    border: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.testimonial-card .rating {
    color: #ffc107;
}

/* Footer */
.footer {
    background: var(--dark-color) !important;
    padding: 50px 0 20px;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer a {
    transition: all 0.3s;
}

.footer a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

.footer hr {
    opacity: 0.2;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar .text-end {
        text-align: left !important;
        margin-top: 5px;
    }
    
    .hero-section {
        text-align: center;
        padding: 60px 0;
    }
    
    .hero-section img {
        margin-top: 30px;
    }
    
    .stat-box {
        margin-bottom: 20px;
    }
    
    .stat-box h2 {
        font-size: 2.5rem;
    }
    
    .team-card img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .navbar-brand h3 {
        font-size: 1.2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .stat-box h2 {
        font-size: 2rem;
    }
}

/* Page Templates */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
}

.breadcrumb-item a {
    color: white;
    opacity: 0.8;
}

.breadcrumb-item.active {
    color: white;
    opacity: 0.5;
}

/* Contact Page */
.contact-info {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

.contact-info i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 110, 253, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    color: white;
    font-size: 2rem;
}

/* Career Page */
.job-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.job-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.job-meta {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.job-meta span {
    margin-right: 20px;
}

.job-meta i {
    margin-right: 5px;
}

/* Animation Classes */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Loading Spinner */
.spinner-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}



/* Service Card Enhancements */
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    bottom: -25px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
    z-index: 2;
}

.service-content {
    padding: 30px 20px 20px;
}

.service-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-link:hover {
    color: #0056b3;
    letter-spacing: 1px;
}

/* Project Card */
.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 110, 253, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 15px;
}

.project-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Team Card Enhancements */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.team-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    transition: bottom 0.3s;
}

.team-card:hover .team-social {
    bottom: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.team-info {
    padding: 20px;
}

.team-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Testimonial Card Enhancements */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.1;
}

/* Experience Badge */
.experience-badge {
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}