
.card {
	width: 18em;
}

.downloads-card {
	width: 18rem;
}

.card-img-top {
	height: 18em;
}

.carousel-inner {
    width: 100%;
    max-height: 500px !important;
}

.projectsbody {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.app-icon {
    width: 10rem;
    height: 10rem;
}

/* App icon container for consistent sizing */
.app-icon-container {
    width: 10rem;
    height: 10rem;
}

/* Make app icon images fit properly in cards */
.card-img-top {
    width: 120px; /* Fixed square size for app icons */
    height: 120px; /* Same as width to maintain square aspect */
    object-fit: contain; /* Shows entire image without cropping */
    object-position: center; /* Centers the image */
    margin: 1rem auto 0 auto; /* Centers horizontally and adds top margin */
    display: block; /* Makes margin centering work */
    background-color: transparent; /* No background color */
    border-radius: 8px; /* Slightly rounded corners for app icons */
}

/* Reduce card body padding to make overall height smaller */
.card-body {
    padding: 1rem 1rem 1rem 1rem; /* Reduced from default 1.25rem */
}

/* Make card text smaller to reduce height */
.card-text {
    font-size: 0.875rem; /* Slightly smaller text */
    line-height: 1.3; /* Tighter line spacing */
    margin-bottom: 1rem; /* Reduced bottom margin */
}

/* Make card title smaller */
.card-title {
    font-size: 1.1rem; /* Slightly smaller than default */
    margin-bottom: 0.75rem; /* Reduced margin */
}

/* Optional: Make buttons smaller */
.card .btn {
    padding: 0.375rem 0.75rem; /* Smaller button padding */
    font-size: 0.875rem; /* Smaller button text */
}

/* Add spacing around cards */
.card {
    margin: 1.5rem; /* Adds space around each card */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}

/* Custom textarea width */
.form-control.full-width {
    width: 100%;
}

/* Make footer more compact and consistent */
.footer {
    padding: 0.5rem 0; /* Reduced padding */
    font-size: 0.75rem; /* Smaller text */
    line-height: 1.2; /* Tighter line spacing */
    margin-top: auto; /* Pushes footer to bottom */
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa; /* Light background */
    border-top: 1px solid #dee2e6; /* Subtle border */
}

.footer .container {
    max-width: 800px; /* Limits footer content width */
    padding: 0 1rem; /* Reduced padding */
}

.footer a {
    font-size: 0.75rem; /* Match footer text size */
    color: #6c757d; /* Subtle link color */
    text-decoration: none;
}

.footer a:hover {
    color: #343a40; /* Darker on hover */
    text-decoration: underline;
}

/* Footer styling */
.footer {
    padding: 0.5rem 0;
    font-size: 0.75rem;
    line-height: 1.2;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.footer .container {
    max-width: 800px;
    padding: 0 1rem;
}

.footer a {
    font-size: 0.75rem;
    color: #6c757d;
    text-decoration: none;
}

.nav-link {
    color: black;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #28a745;
    color: white !important;
    border-radius: 4px;
}

.nav-link.text-dark:hover {
    color: white !important;
}

/* Success banner styles */
.alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    z-index: 1030;
}

/* Remove underline from links */
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

@media (max-width: 768px) {
    .mobile-card {
        width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .mobile-card .card-body {
        padding: 1rem !important;
    }
    
    .mobile-card .row {
        margin: 0 !important;
    }
    
    .mobile-card .col-md-6 {
        padding: 0.5rem !important;
    }
}

body{
    padding-top: 60px;
}