/* Custom CSS for Immortal Tech Software Solutions */

/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #198754;
    --accent-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.navbar-brand {
    transition: transform 0.3s ease;
    padding: 0 0;
    color: var(--dark-color) !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--primary-color) !important;
}

.navbar-logo-large {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar-logo-large:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.navbar-fallback {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--dark-color) !important;
}

.nav-link {
    transition: color 0.3s ease;
    position: relative;
    color: var(--dark-color) !important;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Navbar toggler for light theme */
.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Hero Background Image */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-main.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
    transition: transform 0.5s ease;
}

/* Fallback gradient if image doesn't load */
.hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d6efd 0%, #198754 50%, #0dcaf0 100%);
    z-index: 1;
}

/* Hero Overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253, 0.7);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.8) 0%, rgba(25, 135, 84, 0.6) 50%, rgba(13, 202, 240, 0.8) 100%);
    z-index: -1;
}

/* Parallax effect on scroll */
@media (min-width: 768px) {
    .hero-bg-image {
        transform: translateZ(0);
        will-change: transform;
    }
}

/* Remove old hero styles */
.hero-section::before {
    display: none;
}

.hero-image-container,
.hero-main-image,
.hero-image-placeholder {
    display: none;
}

/* Floating Elements - Updated for dark background */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
    z-index: 1;
}

.floating-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.floating-2 {
    bottom: 25%;
    right: 15%;
    animation-delay: 2s;
}

.floating-3 {
    top: 65%;
    left: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(10deg);
    }
}

/* Hero text styling for better visibility on image background */
.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section .lead {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Enhanced button styles for hero */
.hero-section .btn {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-section .btn-outline-light {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: translateY(-3px);
}

.hero-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* About Section Images - Enhanced */
.about-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.about-image-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-card:hover .about-image {
    transform: scale(1.1);
}

.about-icon-fallback {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
}

.about-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-card p {
    line-height: 1.6;
    font-size: 0.95rem;
}

.icon-container {
    transition: transform 0.3s ease;
}

.icon-container:hover {
    transform: scale(1.1);
}

.icon-container img {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.icon-container:hover img {
    transform: scale(1.05);
}

/* Service Cards with Icons - Enhanced */
.service-card-icon {
    background: white;
    border: none;
    border-radius: 20px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.service-card-icon:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.service-icon-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.service-icon-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card-icon:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card-icon .card-body {
    padding: 1.5rem 2rem 2rem;
}

.service-card-icon .card-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.service-card-icon .card-text {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    margin-top: 1rem;
}

.service-features .badge {
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
    font-weight: 500;
    border-radius: 12px;
}

/* Color-specific hover effects */
.service-card-icon:hover .text-primary {
    color: var(--primary-color) !important;
}

.service-card-icon:hover .text-success {
    color: var(--secondary-color) !important;
}

.service-card-icon:hover .text-info {
    color: var(--accent-color) !important;
}

.service-card {
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-img-top-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-icon-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Background Images for Sections - Removed unused opportunities-bg */

/* Student Opportunities Section Background */
.opportunities-section {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

/* Opportunities Background Image */
.opportunities-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/students-working.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
    transition: transform 0.5s ease;
}

/* Fallback gradient if image doesn't load */
.opportunities-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #198754 0%, #0d6efd 50%, #6f42c1 100%);
    z-index: 1;
}

/* Opportunities Overlay for better text readability */
.opportunities-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 135, 84, 0.8);
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.85) 0%, rgba(13, 110, 253, 0.7) 50%, rgba(111, 66, 193, 0.85) 100%);
    z-index: -1;
}

/* Opportunities text styling for better visibility */
.opportunities-section h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.opportunities-section .lead {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Cards in opportunities section */
.opportunities-section .card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.opportunities-section .card:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.3);
}

/* Disable parallax on mobile */
@media (max-width: 768px) {
    .opportunities-bg-image {
        background-attachment: scroll;
    }
}

/* Opportunities Floating Elements */
.opp-floating-1 {
    top: 20%;
    right: 8%;
    animation-delay: 1s;
}

.opp-floating-2 {
    bottom: 30%;
    left: 5%;
    animation-delay: 3s;
}

.opp-floating-3 {
    top: 70%;
    right: 15%;
    animation-delay: 5s;
}

@media (max-width: 768px) {
    .opp-floating-1 {
        top: 15%;
        right: 5%;
        opacity: 0.6;
    }
    
    .opp-floating-2 {
        bottom: 20%;
        left: 3%;
        opacity: 0.6;
    }
    
    .opp-floating-3 {
        top: 65%;
        right: 8%;
        opacity: 0.6;
    }
    
    /* Contact section responsive */
    .contact-info-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .cta-section {
        padding: 0.5rem 0.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Button Styles */
.btn {
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-body {
    padding: 2rem;
}

.card-header {
    border: none;
    padding: 1.5rem 2rem;
}

/* Section Styles */
section {
    position: relative;
}

.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
}

/* Icon Animations */
.bi {
    transition: all 0.3s ease;
}

.card:hover .bi {
    transform: scale(1.1);
}

/* Services Grid */
.services-grid .card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Opportunities Section */
.border-success {
    border-color: var(--secondary-color) !important;
    border-width: 2px !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
    border-width: 2px !important;
}

/* Contact Form */
.form-control,
.form-select {
    border-radius: 8px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    transform: translateY(-2px);
}

/* Contact Section Styles - Redesigned */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    height: 100%;
}

.contact-info-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-left-color: var(--primary-color);
}

.contact-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

.contact-content h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.business-hours {
    font-size: 0.95rem;
}

.business-hours .d-flex {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.business-hours .d-flex:last-child {
    border-bottom: none;
}

/* Call to Action Section - Simplified */
.cta-section {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(25, 135, 84, 0.08));
    padding: 0.5rem;
    border-radius: 20px;
    border: 1px solid rgba(13, 110, 253, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    z-index: -1;
}

/* Social Links */
.social-links {
    text-align: center;
}

.social-links h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.social-link {
    width: 55px;
    height: 55px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-link.email {
    background: linear-gradient(135deg, #ea4335, #fbbc05);
}

.social-link.phone {
    background: linear-gradient(135deg, #34a853, #4caf50);
}

.social-link.opportunities {
    background: linear-gradient(135deg, #6f42c1, #8a2be2);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    color: white;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.social-link:hover::before {
    left: 100%;
}

/* Enhanced buttons */
.contact-section .btn {
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.contact-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-item {
    transition: transform 0.3s ease;
    padding: 1rem;
    border-radius: 10px;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(13, 110, 253, 0.05);
}

.contact-item i {
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
}

.contact-item .btn {
    margin-top: 0.5rem;
}

/* Projects Section */
.projects-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    opacity: 0.3;
}

.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card-inner {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.project-logo-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.project-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.project-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover .project-logo-wrapper {
    transform: rotate(2deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.project-card:hover .project-icon-wrapper {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.project-icon {
    font-size: 1.5rem;
    color: white;
}

.project-title-area {
    flex: 1;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.project-subtitle {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
}

.project-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-type-badge.gov {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.project-type-badge.edu {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.project-description {
    margin-bottom: 1.5rem;
}

.project-description p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.project-features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #667eea;
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.feature-item span {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tech-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Colorful tech badges */
.tech-badge.django { background: linear-gradient(135deg, #092e20, #44b78b); color: white; }
.tech-badge.python { background: linear-gradient(135deg, #3776ab, #ffd43b); color: white; }
.tech-badge.excel { background: linear-gradient(135deg, #217346, #107c41); color: white; }
.tech-badge.server { background: linear-gradient(135deg, #ff6b35, #f7931e); color: white; }
.tech-badge.static { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.tech-badge.web { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.tech-badge.database { background: linear-gradient(135deg, #ff9a56, #ff6b95); color: white; }
.tech-badge.ui { background: linear-gradient(135deg, #a8edea, #fed6e3); color: #2d3748; }
.tech-badge.network { background: linear-gradient(135deg, #ffecd2, #fcb69f); color: #2d3748; }
.tech-badge.responsive { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }

.tech-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Projects CTA */
.projects-cta {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.projects-cta .btn-light {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: none;
    color: #2d3748;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.projects-cta .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Projects Section Responsive */
@media (max-width: 768px) {
    .project-card-inner {
        padding: 1.5rem;
    }
    
    .project-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .project-logo-wrapper,
    .project-icon-wrapper {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: center;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-type-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .feature-item {
        margin-bottom: 0.5rem;
    }
    
    .tech-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .projects-cta {
        padding: 1.5rem;
    }
}

/* Footer - Reduced Size */
footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%) !important;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.footer-logo-small {
    height: 24px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.footer-logo-small:hover {
    transform: scale(1.05);
    filter: brightness(1.4);
}

.footer-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

footer small {
    font-size: 0.8rem;
}

.footer-logo {
    height: 35px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .row {
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .display-3 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    /* About section responsive adjustments */
    .about-card {
        padding: 1.5rem;
    }
    
    .about-image-container {
        width: 120px;
        height: 120px;
    }
    
    .about-icon-fallback {
        width: 120px;
        height: 120px;
    }
    
    /* Service cards responsive */
    .service-icon-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    /* Disable parallax on mobile for better performance */
    .hero-bg-image {
        background-attachment: scroll;
    }
    
    /* Adjust floating elements for mobile */
    .floating-element {
        opacity: 0.5;
        font-size: 0.8rem;
    }
    
    .floating-1 {
        top: 10%;
        right: 5%;
    }
    
    .floating-2 {
        bottom: 15%;
        right: 8%;
    }
    
    .floating-3 {
        top: 70%;
        left: 5%;
    }
    
    /* Logo adjustments for mobile */
    .navbar-logo-large {
        height: 40px;
        max-width: 160px;
    }
    
    .navbar-fallback {
        font-size: 1.3rem;
    }
    
    .footer-logo {
        height: 28px;
        max-width: 100px;
    }
    
    .footer-logo-small {
        height: 20px;
        max-width: 60px;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-overlay {
        background: rgba(13, 110, 253, 0.85);
    }
    
    /* Extra small screens */
    .navbar-logo-large {
        height: 35px;
        max-width: 140px;
    }
    
    .navbar-fallback {
        font-size: 1.1rem;
    }
    
    .footer-logo {
        height: 24px;
        max-width: 80px;
    }
    
    .footer-logo-small {
        height: 18px;
        max-width: 50px;
    }
    
    .footer-text {
        font-size: 0.75rem;
    }
    
    footer .row {
        flex-direction: column;
        text-align: center;
    }
    
    footer .col-md-4 {
        margin-top: 0.5rem;
    }
    
    .navbar-brand {
        padding: 0.25rem 0;
    }
    
    /* Extra small about section adjustments */
    .about-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .about-image-container {
        width: 100px;
        height: 100px;
    }
    
    .about-icon-fallback {
        width: 100px;
        height: 100px;
    }
    
    .service-icon-header {
        padding: 1.5rem 1rem 0.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card-icon .card-body {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    /* Contact section extra small screens */
    .contact-info-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .cta-section {
        padding: 0.5rem 0.5rem;
        border-radius: 15px;
    }
    
    .social-links h6 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 1.2rem;
    }
    
    .social-link:hover {
        transform: translateY(-3px) scale(1.1);
    }
    
    .contact-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, var(--primary-color), var(--secondary-color)) border-box;
}

/* Smooth Scrolling for Webkit browsers */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Image Loading Effects */
img {
    transition: opacity 0.3s ease;
}

img[src=""], img:not([src]) {
    opacity: 0;
}

.image-loaded {
    animation: imageSlideIn 0.6s ease-out;
}

@keyframes imageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Skeleton Loading for Images */
.image-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;
    }
}

/* Lazy Loading Support */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}