/* ========================================
   Global Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 56px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ========================================
   Navigation Styles
   ======================================== */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #1a1a2e !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.brand-name {
    color: #fff;
}

.brand-accent {
    color: #00adb5;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #00adb5 !important;
    background: rgba(0, 173, 181, 0.1);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 173, 181, 0.25);
}

/* Scrolled Navbar Effect */
.navbar.scrolled {
    background-color: #16213e !important;
}

/* ========================================
   Hero Carousel Styles
   ======================================== */
.hero-section {
    margin-top: -56px;
    position: relative;
}

#heroCarousel {
    height: 100vh;
    min-height: 600px;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    position: relative;
}

/* Carousel Background Images (improved sizing + performance) */
.carousel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: calc(100vh - 56px); /* account for fixed navbar */
    min-height: 420px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

/* Slide background images (relative to this CSS file) */
.slide-1 { background-image: url('../images/slide1.jpg'); }
.slide-2 { background-image: url('../images/slide2.jpg'); }
.slide-3 { background-image: url('../images/slide3.jpg'); }


/* Optional: If you want to use actual images instead of gradients, replace above with:
.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c');
}

.slide-2 {
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c');
}

.slide-3 {
    background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4');
}
*/

/* Carousel Overlay */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Custom Carousel Caption */
.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    text-align: center;
    color: #fff;
}

.carousel-caption-custom h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption-custom p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Button Styles */
/* ========================================
   Projects Section Styles
   ======================================== */

.projects-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

/* ========================================
   Services Section - Core Styles
   ======================================== */

/* Container & Layout Settings */
.container {
    max-width: 1200px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

/* Section Headers */

/* ========================================
   Section Header
   ======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #667eea;
    background: #00adb5;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-top: 1.5rem;
}

/* ========================================
   Project Cards
   ======================================== */
.project-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.2);
}

/* Project Image */
.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #667eea;
    transform: scale(1.1);
}

.project-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.project-link:hover a {
    color: #ffffff;
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-image {
    flex: 0 0 auto;
    width: 40%;
    overflow: hidden;
    border-radius: 8px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 173, 181, 0.15);
    border-color: #00adb5;
}

/* Service Icon */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00adb5 0%, #0066cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
    color: #764ba2;
}

/* Project Content */
.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
}

.project-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #f0f0f0;
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #667eea;
    color: #ffffff;
}

/* ========================================
   Skills Section
   ======================================== */
.skills-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 3rem;
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.skill-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.skill-percentage {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
}

.progress {
    height: 12px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 1.5s ease;
}

/* ========================================
   Contact Section Styles
   ======================================== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00adb5 0%, #0066cc 100%);
}

/* Contact Information */
.contact-info {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

/* Service Content */
.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.contact-info-text {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00adb5 0%, #0066cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.3rem;
}

.contact-details p {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ========================================
   Contact Form Styles
   ======================================== */
.contact-form-wrapper {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #00adb5;
    box-shadow: 0 0 0 0.2rem rgba(0, 173, 181, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 0.3rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Form Button */
.btn-primary {
    background: linear-gradient(135deg, #00adb5 0%, #0066cc 100%);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #008c94 0%, #0052a3 100%);
}

.service-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: #00adb5;
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* ========================================
   Call to Action
   ======================================== */
.services-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: #00adb5;
    border-color: #00adb5;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 173, 181, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #008c94;
    border-color: #008c94;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 173, 181, 0.4);
}

/* Carousel Indicators */
.carousel-indicators {
    z-index: 3;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators button.active {
    background-color: #00adb5;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item.active .animate-fade-in {
    animation: fadeInUp 0.8s ease;
}

.carousel-item.active .animate-fade-in-delay {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.carousel-item.active .animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.7rem 1rem !important;
    }
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Alert Messages */
.alert {
    border-radius: 8px;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
}

.alert i {
    font-size: 1.2rem;
}

/* ========================================
   Grid Spacing
   ======================================== */
.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

/* ========================================
   Responsive Design - Tablet
   ======================================== */
@media (max-width: 991px) {
    .projects-section,
    .contact-section {
        padding: 80px 0;
    }
    
    /* Container Adjustments */
    .container {
        max-width: 960px;
    }
    
    /* Section Spacing */
    .services-section {
        padding: 80px 0;
    }
    
    /* Typography */
    .section-title {
        font-size: 2.2rem;
    }
    
    .project-image {
        height: 220px;
    }
    
    .skills-title {
        font-size: 1.8rem;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 2rem;
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 2rem 1.5rem;
        flex-direction: column;
    }
    
    .service-image {
        width: 100%;
        max-height: 200px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .carousel-caption-custom h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption-custom p {
        font-size: 1.1rem;
    }
    
    .btn-primary {
        padding: 0.7rem 2rem;
        font-size: 1rem;
    }
    
    #heroCarousel {
        min-height: 500px;
    }
}

@media (max-width: 576px) {
    .carousel-caption-custom h1 {
        font-size: 2rem;
    }
    
    .carousel-caption-custom p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .navbar-brand img {
        max-height: 40px;
        width: auto;
    }

    
    #heroCarousel {
        min-height: 450px;
    }
    
    .projects-section,
    .contact-section {
        padding: 60px 0;
    }
    
    /* Container Adjustments */
    .container {
        max-width: 720px;
    }
    
    /* Section Spacing */
    .services-section {
        padding: 60px 0;
    }
    
    /* Typography */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .skills-title {
        font-size: 1.6rem;
        margin-top: 2rem;
    }
    
    .skill-item {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Service Icon */
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    /* Grid Adjustments */
    .g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    
    /* CTA */
    .services-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}

/* ========================================
   Responsive Design - Mobile
   ======================================== */
@media (max-width: 576px) {
    .projects-section,
    .contact-section {
        padding: 50px 0;
    }
    
    /* Container Adjustments */
    .container {
        max-width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }
    
    /* Section Spacing */
    .services-section {
        padding: 50px 0;
    }
    
    /* Typography */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-content {
        padding: 1.2rem;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .skills-title {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .skill-name {
        font-size: 0.9rem;
    }
    
    .skill-percentage {
        font-size: 0.85rem;
    }
    
    .progress {
        height: 10px;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-info-title {
        font-size: 1.5rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i {
        font-size: 1.3rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 0.7rem 0.9rem;
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 0.8rem 1.5rem;
        line-height: 1.6;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem 1.2rem;
        flex-direction: column;
    }
    
    .service-image {
        width: 100%;
        max-height: 150px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .service-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .service-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .service-features li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .service-features li i {
        font-size: 0.9rem;
    }
    
    /* Grid Spacing */
    .g-4 {
        --bs-gutter-x: 0.8rem;
        --bs-gutter-y: 0.8rem;
    }
    
    /* CTA */
    .services-cta {
        padding: 2rem 1.2rem;
    }
    
    .cta-title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .cta-text {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary {
        padding: 0.7rem 2rem;
        font-size: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .container {
        padding-right: 15px;
        padding-left: 15px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .project-image {
        height: 160px;
    }
    
    .skills-title {
        font-size: 1.3rem;
    }
    
    .contact-info-title {
        font-size: 1.3rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.bg-dark-custom {
    background-color: #1a1a2e !important;
}

.text-accent {
    color: #00adb5;
}

.section-padding {
    padding: 5rem 0;
}

.service-card {
        padding: 1.2rem 1rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 1.2rem;
    }
}

/* ========================================
   Utility Classes for Layout
   ======================================== */
.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.text-center {
    text-align: center !important;
}

.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

.w-100 {
    width: 100% !important;
}

.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

/* Ensure proper alignment */
.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}