﻿:root {
    --primary: #45C7F5;
    --primary-dark: #45C7F5;
    --secondary: #f8f9fa;
    --dark: #212529;
    --light: #f8f9fa;
    --accent: #ffc107;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Header & Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

    .navbar-brand span {
        color: var(--primary);
    }

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background: var(--primary);
        bottom: 0;
        left: 0;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }



/* Hero Section */
.hero-section {
    /*background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1589939705384-5185137a7f0f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');*/
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('Images/building.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
}

    .section-title::after {
        content: '';
        position: absolute;
        width: 50px;
        height: 3px;
        background: var(--primary);
        bottom: -15px;
        left: 0;
    }

    .section-title.text-center::after {
        left: 50%;
        transform: translateX(-50%);
    }

/* Card Styling */
.service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Project Card */
.project-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.project-img-container {
    overflow: hidden;
    height: 250px;
}

.project-card img {
    transition: transform 0.5s ease;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.project-card:hover img {
    transform: scale(1.1);
}

/* Testimonial */
.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.testimonial-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 5px solid var(--light);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.btn-outline-light {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-outline-light:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 5rem 0 1rem;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

    .footer-heading::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 2px;
        background: var(--primary);
        bottom: 0;
        left: 0;
    }

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

    .footer-link:hover {
        color: white;
        transform: translateX(5px);
    }

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

    .footer-social a:hover {
        background: var(--primary);
        transform: translateY(-5px);
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    .navbar-dark .navbar-collapse .nav-link {
        color: var(--dark) !important;
    }
}

/* Card Styles - Fixed text visibility */

.dynamic-card {
    min-height: 5px !important;
}

.card {
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    min-height: 400px;
    transition: all 0.3s ease;
    overflow: hidden;
    color: #2c3e50; /* Ensure dark text by default */
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    }

    .card .card-heading {
        padding: 20px 25px;
        margin: 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 16px 16px 0 0;
        color: #2c3e50; /* Dark text for headings */
    }

        .card .card-heading.simple {
            font-size: 22px;
            font-weight: 600;
            color: #2c3e50; /* Ensure dark text */
            border-bottom: 2px solid #45C7F5;
            background: transparent;
        }

        .card .card-heading.image .card-heading-header h3 {
            margin: 0;
            font-size: 16px;
            line-height: 18px;
            color: #2c3e50; /* Dark text for names */
            font-weight: 600;
        }

        .card .card-heading.image .card-heading-header span {
            font-size: 13px;
            color: #7f8c8d; /* Muted but visible text */
            font-weight: 500;
        }

    .card .card-body {
        padding: 25px;
        margin-top: 0;
        color: #2c3e50; /* Ensure all body text is dark */
    }

        /* Price and important text styling */
        .card .card-body .price,
        .card .card-body .amount,
        .card .card-body .cost,
        .card .card-body h1,
        .card .card-body h2,
        .card .card-body h3,
        .card .card-body h4,
        .card .card-body h5,
        .card .card-body h6,
        .card .card-body p,
        .card .card-body span,
        .card .card-body div {
          /*  color: black !important;*/
        }

    /* Special styling for price elements */
    .card .price {
        color: #f39c12 !important; /* Gold color for prices */
        font-weight: 700;
        font-size: 1.2em;
    }

    .card .card-actions {
        min-height: 30px;
        padding: 20px 25px 25px;
        margin: 20px 0 0 0;
        border-top: 1px solid #ecf0f1;
        color: #2c3e50; /* Dark text for actions */
    }

    .card .card-comments {
        padding: 25px;
        margin: 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 0 0 16px 16px;
        color: #2c3e50; /* Dark text for comments */
    }

        .card .card-comments .comments-collapse-toggle a,
        .card .card-comments .comments-collapse-toggle span {
            padding-right: 5px;
            overflow: hidden;
            font-size: 13px;
            color: #7f8c8d !important; /* Muted but visible */
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: 500;
        }

.card-comments .media-heading {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50 !important; /* Dark text for headings */
}

/* Hover Card Styles - Fixed text visibility */
.card.hovercard {
    position: relative;
    padding-top: 0;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, rgba(214, 224, 226, 0.3) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(15px);
    color: #2c3e50; /* Ensure dark text */
}

    .card.hovercard .info .title {
        margin-bottom: 6px;
        font-size: 26px;
        line-height: 1.2;
        color: #2c3e50 !important; /* Dark text for titles */
        vertical-align: middle;
        font-weight: 700;
    }

    .card.hovercard .info .desc {
        overflow: hidden;
        font-size: 14px;
        line-height: 22px;
        color: #5d6d7e !important; /* Muted but visible text */
        text-overflow: ellipsis;
        font-weight: 500;
    }

/* Remove problematic dark mode styles that affect cards */
/*@media (prefers-color-scheme: dark) {*/
    /* Only apply dark mode to specific elements, not cards */
    /*body {
        background-color: #1a1a1a;
    }*/

    /* Keep cards light for text visibility */
    /*.card {
        background: rgba(255, 255, 255, 0.98) !important;
        color: #2c3e50 !important;
    }

        .card * {
            color: inherit !important;
        }

        .card .card-heading.simple {
            color: #2c3e50 !important;
        }

        .card .card-heading.image .card-heading-header h3 {
            color: #2c3e50 !important;
        }
}*/

/* Additional text visibility fixes */
.card table,
.card table td,
.card table th,
.card .table,
.card .table td,
.card .table th {
}

.card .text-muted {
    color: #7f8c8d !important;
}

.card .text-primary {
    color: #f39c12 !important;
}

.card .text-success {
    color: #27ae60 !important;
}

.card .text-danger {
    color: red !important;
}

.card .text-warning {
    color: #f39c12 !important;
}

.card .text-info {
    color: #3498db !important;
}

/* Ensure form elements in cards are visible */
.card input,
.card select,
.card textarea,
.card .form-control {
    color: #2c3e50 !important;
    background-color: white !important;
}

.card label {
    color: #2c3e50 !important;
    font-weight: 600;
}

/* Product/Price specific styling */
.card .product-price,
.card .price-tag,
.card .amount,
.card .currency {
    color: #f39c12 !important;
    font-weight: 700;
    text-shadow: none;
}

.card .product-title,
.card .item-name {
    color: #2c3e50 !important;
    font-weight: 600;
}

.card .product-description,
.card .item-description {
    color: #5d6d7e !important;
    line-height: 1.6;
}

/* Button text in cards */
.card .btn {
    /*  color: white !important;*/
}

.card .btn-primary {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border: none;
}

.card .btn-secondary {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: none;
}

.card .btn-outline-primary {
    color: #f39c12 !important;
    border-color: #f39c12;
}

    .card .btn-outline-primary:hover {
        background-color: #f39c12;
        color: white !important;
    }


    .pad20{
        padding:20px;
    }


.developer-credit {
    margin: 0;
    font-size: 15px;
    color: #45C7F5;
    align-items: center;
    justify-content: flex-end;
    font-weight: 500;
}

.developer-link {
    color: #45C7F5;
    text-decoration: none;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

    .developer-link:hover {
        color: #e67e22;
        text-decoration: none;
        transform: translateX(3px);
    }

.developer-logo {
    height: 28px;
    width: auto;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.developer-link:hover .developer-logo {
    transform: scale(1.1);
}