/* Global Styles */
:root {
    --primary-color: #0056b3;
    --primary-dark: #004085;
    --primary-light: #cce5ff;
    --secondary-color: #17a2b8;
    --accent-color: #ffc107;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    font-size: 20px;
}

/* Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/pattern.png');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Cards and Sections */
.feature-card, .service-card, .product-card, .team-card, .case-study-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    border: none;
}

.feature-card:hover, .service-card:hover, .product-card:hover, .team-card:hover, .case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card.featured::before {
    content: 'Featured';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

/* Mission & Vision Cards */
.mission-card, .vision-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

/* Testimonials */
.testimonial-item {
    text-align: center;
    padding: 2rem;
}

.testimonial-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid var(--primary-light);
    transition: var(--transition);
}

.testimonial-text {
    font-style: italic;
    position: relative;
    padding: 2rem;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-light);
    position: absolute;
    opacity: 0.3;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -40px;
    right: -10px;
}

/* Client Logos Section */
.trusted-by {
    padding: 2rem 0;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.client-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Products/Solutions Section */
.product-card {
    height: 100%;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card .feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.product-card .product-stats {
    margin-top: auto;
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
}

/* Case Studies Section */
.case-study-card {
    height: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.case-study-content {
    padding: 1.5rem;
}

.case-study-image {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.case-study-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Section */
.team-card {
    height: 100%;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-light);
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.form-control {
    padding: 0.8rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.15);
}

.recaptcha-loader {
    text-align: center;
    padding: 1rem;
    color: var(--dark-color);
}

/* Animations */
.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

.animate-slideUp {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Loading Animations */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Interactive Elements */
.btn {
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Stats and Numbers */
.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .hero-section {
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .client-logos {
        gap: 1rem;
    }
    
    .client-logos img {
        height: 40px;
    }
    
    .product-card,
    .case-study-card,
    .team-card {
        margin-bottom: 1rem;
    }
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    margin: 0 5px;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
} 