@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

:root {
    --dark: #0A0A0A;
    /* Slightly deeper black for modern contrast */
    --gray: #BFC2C6;
    /* Neutral gray kept for balance */
    --light: #F8F9FA;
    /* Light background */

    /* Primary brand colors (from logo gradient) */
    --accent: #00C6FF;
    /* Light Cyan Blue */
    --accent-dark: #0072FF;
    /* Deep Blue */
    --accent-text: #00C6FF;
    /* Text highlight similar to "TECHMEDIA" */
    --accent-gradient: linear-gradient(135deg, #00C6FF, #0072FF);

    --card-bg: #FFFFFF;
    /* White card background */
    --text-light: #FFFFFF;
    /* For text over gradient or dark backgrounds */
    --section-bg: #F8F9FA;
    /* Section background */
}


body {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    /* ensure ::before positioning works */
    background: linear-gradient(rgba(29, 29, 29, 0.65), rgba(29, 29, 29, 0.75)),
        url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-position: center;
    background-size: cover;
    color: var(--text-light);
    padding: 140px 0 100px;
    margin-bottom: 40px;
}

.hero-banner::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 100px;
    /* height of the wave */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path fill="%23ffffff" d="M1200 120L0 16.48 0 0 1200 0 1200 120z"/></svg>') no-repeat;
}




.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}



.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}



.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}



/* Section Styling */

.content-section {
    background: var(--section-bg);
    border-radius: 16px;
    padding: 40px 30px;
    margin-bottom: 50px;
    box-shadow: 0 5px 25px rgba(29, 29, 29, 0.05);

}



.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 20px;

}



.section-title {
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    font-size: 2rem;

}



.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;

}



/* Cards */

.card-custom {
    transition: all 0.3s ease;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(29, 29, 29, 0.08);
    height: 100%;
    background: var(--card-bg);
}



.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(29, 29, 29, 0.12);
}



.img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}



.img-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(29, 29, 29, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}



.card-custom:hover .img-container::after {
    opacity: 1;
}



.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}



.card-custom:hover .img-container img {
    transform: scale(1.08);
}



.card-body {
    padding: 25px;
}



.card-title {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    font-size: 1rem;
}



.card-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s ease;
}



.card-title a:hover {
    color: var(--accent);
}



/* Badges */

.badge-custom {
    font-size: 0.75rem;
    padding: 7px 14px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}



.category-badge {
    background: var(--accent-gradient);
    color: white;
}



.subcategory-badge {
    background: var(--accent-dark);
    color: white;
}



.trending-badge {
    background: var(--accent-gradient);
    color: white;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 74, 127, 0.3);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;

}



/* Buttons */

.btn-view-all {

    background: var(--accent-gradient);

    color: white;

    border: none;

    padding: 12px 28px;

    border-radius: 30px;

    font-weight: 600;

    transition: all 0.3s ease;

    box-shadow: 0 4px 15px rgba(0, 74, 127, 0.25);

    display: inline-flex;

    align-items: center;

    gap: 8px;

}



.btn-view-all:hover {

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(0, 74, 127, 0.35);

    color: white;

}



/* Empty State */

.empty-state {

    padding: 60px 20px;

    text-align: center;

    color: var(--accent-dark);

    background-color: rgba(191, 194, 198, 0.05);

    border-radius: 16px;

}



.empty-state i {

    font-size: 3.5rem;

    margin-bottom: 20px;

    background: var(--accent-gradient);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}



/* Navigation */

.content-nav {

    display: flex;

    justify-content: center;

    margin: 40px 0;

    flex-wrap: wrap;

    gap: 15px;

}



.nav-pill {

    padding: 12px 25px;

    border-radius: 30px;

    background: white;

    color: var(--dark);

    text-decoration: none;

    font-weight: 600;

    box-shadow: 0 4px 12px rgba(29, 29, 29, 0.08);

    transition: all 0.3s ease;

    border: 1px solid rgba(191, 194, 198, 0.1);

}



.nav-pill:hover,
.nav-pill.active {

    background: var(--accent-gradient);

    color: white;

    transform: translateY(-3px);

    box-shadow: 0 8px 18px rgba(0, 74, 127, 0.4);

    border-color: transparent;

}



/* Footer */

.footer {

    background: var(--dark);

    color: white;

    padding: 60px 0 40px;

    margin-top: 80px;

}



.footer-title {

    font-size: 1.5rem;

    font-weight: 700;

    margin-bottom: 25px;

    color: white;

}



.footer-links {

    list-style: none;

    padding: 0;

}



.footer-links li {

    margin-bottom: 12px;

}



.footer-links a {

    color: rgba(255, 255, 255, 0.8);

    text-decoration: none;

    transition: color 0.2s ease;

}



.footer-links a:hover {

    color: var(--accent);

}



.social-links {

    display: flex;

    gap: 15px;

    margin-top: 20px;

}



.social-links 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;

    transition: all 0.3s ease;

}



.social-links a:hover {

    background: var(--accent);

    transform: translateY(-3px);

}



/* Animations */

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}



.animate-fadeIn {

    animation: fadeIn 0.6s ease forwards;

}



/* Stats Section */

.stats-section {

    background: var(--dark);

    color: white;

    padding: 80px 0;

    border-radius: 20px;

    margin: 60px 0;

}



.stat-item {

    text-align: center;

}



.stat-number {

    font-size: 3rem;

    font-weight: 800;

    margin-bottom: 10px;

    background: var(--accent-gradient);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}



.stat-label {

    font-size: 1.1rem;

    color: rgba(255, 255, 255, 0.8);

}



/* Responsive Adjustments */

@media (max-width: 1200px) {

    .hero-title {

        font-size: 2rem;

    }

}



@media (max-width: 992px) {

    .hero-banner {

        padding: 100px 0 80px;

    }



    .hero-title {

        font-size: 2rem;

    }



    .content-section {

        padding: 35px 25px;

    }

}



@media (max-width: 768px) {

    .hero-banner {

        padding: 80px 0 60px;

    }



    .hero-title {

        font-size: 2rem;

    }



    .hero-subtitle {

        font-size: 1.1rem;

    }



    .section-header {

        flex-direction: column;

        align-items: flex-start;

    }



    .content-section {

        padding: 30px 20px;

        border-radius: 12px;

    }



    .section-title {

        font-size: 1.75rem;

    }



    .btn-view-all {

        width: 100%;

        justify-content: center;

    }

}



@media (max-width: 576px) {

    .hero-banner {

        padding: 70px 0 50px;

    }



    .hero-title {

        font-size: 2rem;

    }



    .content-nav {

        flex-direction: column;

        align-items: center;

    }



    .nav-pill {

        width: 100%;

        text-align: center;

    }



    .img-container {

        height: 200px;

    }

}



.page-item.active .page-link {

    border: 1px solid #004A7F;

    color: #fff !important;

    background-color: #004A7F;

}



.face {

    color: #4267B2;

}



.twit {

    color: #000000 !important;

}



.linkd {

    color: #0A66C2;

}



.medium {

    color: #000000;

}



.bg-grey {

    background-color: #fbfbfb;

}



.oswald {

    font-family: 'Oswald', sans-serif;

}



.border-line {

    border-bottom: 2px solid #004A7F;

}



.font1 {

    font-size: 1rem;

}



.text-small {

    font-size: 0.8rem;

}

.navbar-custom {

    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.navbar-custom .navbar-brand:hover {
    color: #00b4ff;
}

.navbar-custom .nav-link {
    color: #0c0c0c;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #00b4ff;
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-custom .navbar-toggler-icon {
    filter: invert(1);
}

/* Optional: sticky with subtle shadow */
.navbar-custom.sticky-top {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}








.nav-link-ltr::before {

    width: 0%;

    bottom: 7px;

}



.nav-link-ltr:hover::before {

    width: 100%;

}



.btn-contact {

    background-color: #004A7F;

    color: #fff;

    font-weight: bold;

}



.btn-contact:hover {

    background-color: #00335c;

    color: #fff;

}



.bg-blue {

    background-color: #00C6FF;

}



.text-blue {

    color: #004A7F;

}



.content {

    display: -webkit-box;
    /* Required for Safari/WebKit */

    -webkit-box-orient: vertical;
    /* Vertical text layout */

    -webkit-line-clamp: 2;
    /* Show only 2 lines */

    overflow: hidden;
    /* Hide the rest */

    text-overflow: ellipsis;

    white-space: nowrap !important;

}



.margin-top {

    margin-top: 80px;

}



.content1 {

    display: none;

}



.content-show {

    display: none;

}



.noContent1 {

    color: #000 !important;

    background-color: transparent !important;

    pointer-events: none;

}



#scrollup {

    cursor: pointer;

}



.face {

    color: #4267B2;

}



.twit {

    color: #1D9BF0;

}



.linkd {

    color: #0A66C2;

}



.btn-blue {

    background: var(--accent-dark);

    color: #ffffff;

}



.btn-blue:hover,

.btn-blue:active,

.btn-blue:focus {

    background-color: #00335c;

    color: white;

}



.btn-outline-blue {

    color: #fff;

    background-color: #004A7F !important;

}



.btn-outline-blue:hover,

.btn-outline-blue:active,

.btn-outline-blue:focus {

    background-color: #1D1D1D;

    color: #ffffff;

}



/* Search Bar Styling */

.search-bar {

    display: flex;

    align-items: center;

    border: 1px solid #004A7F;

    border-radius: 15px;

    padding: 5px 10px;

    transition: all 0.3s ease-in-out;

    width: 50px;
    /* Initially small */

    background: white;

    overflow: hidden;

}



/* Search Input */

.search-input {

    border: none;

    outline: none;

    padding: 2px;

    width: 0;

    transition: width 0.3s ease-in-out;

}



/* Expanded state */

.search-input.active {

    width: 200px;

}



.search-bar.expanded {

    width: 250px;
    /* Expands smoothly */

}



/* Search Icon */

.search-icon {

    background: none;

    border: none;

    color: #0072FF;

    cursor: pointer;

    padding: 0px;

    font-size: 18px;

}



.img-container {

    width: 100%;

    height: 320px;
    /* fixed height for uniform cards */

    background: #fff;
    /* background behind images */

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

}



.img-container img {

    max-width: 100%;

    max-height: 100%;

    object-fit: contain;
    /* show full image */

}









/* Footer with Background Image */

.footer {

    background: linear-gradient(rgba(29, 29, 29, 0.85), rgba(0, 74, 127, 0.9)),

        url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;

    position: relative;

}



.footer .container {

    position: relative;

    z-index: 2;

}



/* Footer Text Colors */

.footer-title {

    color: #ffffff !important;

}



.footer p:not(.alert p) {

    color: rgba(255, 255, 255, 0.9);

}



.footer-links a {

    color: rgba(255, 255, 255, 0.8) !important;

}



.footer-links a:hover {

    color: #00AEEF !important;

}



/* Form Styling */

.footer .form-control {

    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.3);

    color: #ffffff;

}



.footer .form-control::placeholder {

    color: rgba(255, 255, 255, 0.7);

}



.footer .btn-outline-blue {

    background: rgba(255, 255, 255, 0.2);

    border: 1px solid rgba(255, 255, 255, 0.5);

    color: #ffffff;

}



.footer .btn-outline-blue:hover {

    background: rgba(255, 255, 255, 0.3);

    border: 1px solid rgba(255, 255, 255, 0.7);

}



/* Alert Styling */

.footer .alert-warning {

    background: rgba(255, 193, 7, 0.2);

    border: 1px solid rgba(255, 193, 7, 0.5);

    color: #ffc107;

}



.footer .alert-success {

    background: rgba(40, 167, 69, 0.2);

    border: 1px solid rgba(40, 167, 69, 0.5);

    color: #28a745;

}



/* HR Styling */

.footer hr {

    background: rgba(255, 255, 255, 0.3);

}