/* Unisoft BD Custom Styles - Modern Design */

/* Color Variables from Logo */
:root {
    --primary-teal: #1ABC9C;
    --primary-teal-dark: #16A085;
    --primary-blue: #3498DB;
    --primary-blue-dark: #2980B9;
    --accent-turquoise: #48C9B0;
    --dark-navy: #2C3E50;
    --light-gray: #F8F9FA;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Body Improvements */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-blue) 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, var(--accent-turquoise) 0%, var(--primary-teal) 100%);
}

.gradient-overlay {
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.9) 0%, rgba(52, 152, 219, 0.9) 100%);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-teal);
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: 2px solid var(--primary-teal);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-2px);
}

/* Card Styles */
.card-modern {
    background: white;
    border-radius: 1.25rem;
    padding: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(26, 188, 156, 0.1);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(26, 188, 156, 0.15);
}

/* Badge Styles */
.badge-teal {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-turquoise) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Animated Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(26, 188, 156, 0.4);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(26, 188, 156, 0);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Section Separator */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-teal), var(--primary-blue), transparent);
    margin: 3rem 0;
}

/* Navbar Modern */
.navbar-modern {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(26, 188, 156, 0.1);
}

/* Link Hover Effect */
.link-hover {
    position: relative;
    transition: color 0.3s ease;
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-blue));
    transition: width 0.3s ease;
}

.link-hover:hover::after {
    width: 100%;
}

/* Form Inputs Modern */
.input-modern {
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    transition: all 0.3s ease;
}

.input-modern:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(26, 188, 156, 0.1);
}

/* Stats Counter */
.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

/* Service Icon Container */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-blue) 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.3);
    transform: rotate(-5deg);
    transition: all 0.4s ease;
}

.service-icon:hover {
    transform: rotate(0deg) scale(1.1);
}

/* Project Card Image Overlay */
.project-image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.project-image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.8) 0%, rgba(52, 152, 219, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-image-overlay:hover::after {
    opacity: 1;
}

/* Footer Modern */
.footer-modern {
    background: linear-gradient(135deg, #1a252f 0%, var(--dark-navy) 100%);
    position: relative;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal) 0%, var(--primary-blue) 100%);
}

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    border: 3px solid rgba(26, 188, 156, 0.2);
    border-top-color: var(--primary-teal);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .card-modern {
        padding: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
    }
}

/* ==========================================
   Project Page Styles
   ========================================== */

/* Project Hero Section */
.project-hero {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 50%, #06b6d4 100%);
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border-radius: 1rem;
}

/* Dark Card */
.dark-card {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

/* Tech Badges */
.tech-badge {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 6px -1px rgba(20, 184, 166, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.4);
}

/* CTA Button */
.cta-btn {
    background: linear-gradient(135deg, #14b8a6 0%, #7c3aed 100%);
    color: white;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(20, 184, 166, 0.4);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -5px rgba(20, 184, 166, 0.5);
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
}

/* Gallery Items */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
    transition: transform 0.7s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}