/*
 Theme Name:   Techshed IT Child
 Theme URI:    https://www.techshedltd.com/
 Description:  A premium custom PHP child theme for Techshed Ltd.
 Author:       Ahmed Towfiq
 Author URI:   https://www.techshedltd.com/
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  techshed
*/

/* ==========================================================================
   Global Color Hooks (CSS Variables)
   à¦à¦à¦¾à¦¨à§ à¦à¦¾à¦²à¦¾à¦° à¦à§à¦à§à¦ à¦à¦°à¦²à§ à¦ªà§à¦°à§ à¦¸à¦¾à¦à¦à§ à¦à¦à§à¦®à§à¦à¦¿à¦ à¦à§à¦à§à¦ à¦¹à§à§ à¦¯à¦¾à¦¬à§
   ========================================================================== */
:root {
    /* à¦¬à§à¦°à§à¦¯à¦¾à¦¨à§à¦¡ à¦à¦¾à¦²à¦¾à¦° */
    --primary-color: #E31E24;        /* Classic Red - à¦²à§à¦à§, à¦¬à¦¾à¦à¦¨ à¦ à¦²à¦¿à¦à¦à§à¦° à¦à¦¨à§à¦¯ */
    --secondary-color: #2D2D2D;      /* Secondary Dark */
    --body-text-color: #444444;      /* à¦¸à¦¾à¦§à¦¾à¦°à¦£ à¦à§à¦à§à¦¸à¦ à¦à¦¾à¦²à¦¾à¦° */
    --bg-dark-theme: #000000;        /* à¦ªà¦¿à¦à¦° à¦¬à§à¦²à§à¦¯à¦¾à¦ à¦¬à¦¾ à¦¡à¦¾à¦°à§à¦ à¦¬à§à¦¯à¦¾à¦à¦à§à¦°à¦¾à¦à¦¨à§à¦¡ */
    
    /* à¦¹à§à¦¡à¦¾à¦° à¦à¦¾à¦²à¦¾à¦° */
    --header-bg: #000000;            /* à¦¬à¦¾ #1A1A1A à¦¬à§à¦¯à¦¬à¦¹à¦¾à¦° à¦à¦°à¦¤à§ à¦ªà¦¾à¦°à§ */
    --header-text: #FFFFFF;
    --header-hover: #E31E24;
    
    /* à¦«à§à¦à¦¾à¦° à¦à¦¾à¦²à¦¾à¦° */
    --footer-bg: #1A1A1A;
    --footer-text: #DADADA;
}
/* ==========================================================================
   Local Custom Fonts (No Google Fonts dependency)
   ========================================================================== */

@font-face {
    font-family: 'Poppins';
    src: url('./fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('./fonts/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('./fonts/Poppins-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


/* ==========================================================================
   Base Styles & Global Fixes
   ========================================================================== */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
    color: var(--body-text-color);
}

body {
    padding-top: 80px; /* à¦«à¦¿à¦à§à¦¸à¦¡ à¦¹à§à¦¡à¦¾à¦°à§à¦° à¦à¦¨à§à¦¯ à¦à¦¾à§à¦à¦¾ */
}

/* à¦à§à¦²à§à¦¬à¦¾à¦² à¦²à¦¿à¦à¦ à¦¸à§à¦à¦¾à¦à¦² */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: var(--secondary-color);
}

/* à¦¬à¦¾à¦à¦¨ à¦à§à¦²à§à¦¬à¦¾à¦² à¦¸à§à¦à¦¾à¦à¦² */
button, .theme-btn {
    background-color: var(--primary-color);
    color: #FFFFFF;
    transition: background-color 0.3s ease;
}

button:hover, .theme-btn:hover {
    background-color: var(--secondary-color);
}

/* ==========================================================================
   WordPress Admin Bar Fix for Fixed Header
   ========================================================================== */
body.admin-bar header {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px !important;
    }
}
/* ==========================================================================
   Global Responsive Container (For Large Displays)
   ========================================================================== */
.max-w-7xl, 
.ts-container, 
.about-wrapper, 
.credential-board, 
.leadership-accordion, 
.verification-section, 
.vision-container {
    width: 95% !important; /* দুই পাশে ৫% গ্যাপ থাকবে */
    max-width: 1600px !important; /* বিশাল মনিটরের জন্য ম্যাক্সিমাম সাইজ */
    margin-left: auto !important;
    margin-right: auto !important;
}
/* ==========================================================================
   Header Design & Layout (International Standard)
   ========================================================================== */
.ts-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9999;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 10px 0;
}

.ts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Logo Shine & Hover Effect --- */
.ts-logo-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-radius: 4px;
}
.ts-logo-wrapper img {
    height: 50px;
    width: auto;
    display: block;
}
.ts-logo-wrapper:hover {
    transform: scale(1.03); /* হোভার করলে লোগো হালকা বড় হবে */
}
/* Shine Animation */
.ts-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: techshed_shine 4s infinite; /* প্রতি ৪ সেকেন্ডে একবার শাইন করবে */
}
@keyframes techshed_shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* --- Navigation Menu --- */
.ts-main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}
.ts-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}
.ts-menu li {
    position: relative;
}
.ts-menu a {
    color: var(--header-text);
    font-size: 15px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    padding: 25px 0;
    display: block;
    position: relative;
}
/* Hover Underline Effect */
.ts-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--header-hover);
    transition: width 0.3s ease;
}
.ts-menu > li:hover > a::after,
.ts-menu > li > a:hover::after {
    width: 100%;
}
.ts-menu > li:hover > a {
    color: var(--header-hover);
}

/* --- Dropdown Menu --- */
.ts-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--header-bg);
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-top: 3px solid var(--primary-color);
}
.ts-has-dropdown:hover .ts-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ts-dropdown li a {
    padding: 10px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ts-dropdown li:last-child a {
    border-bottom: none;
}
.ts-dropdown li a::after {
    display: none;
}
.ts-dropdown li a:hover {
    background-color: rgba(227, 30, 36, 0.1); /* হালকা লাল ব্যাকগ্রাউন্ড */
    color: var(--primary-color);
    padding-left: 25px; /* হোভারে টেক্সট একটু ডানদিকে সরবে */
}

/* --- Search Bar --- */
.ts-header-search {
    margin-left: 20px;
}
.ts-search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 2px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.ts-search-form:focus-within {
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.15);
}
.ts-search-input {
    background: transparent;
    border: none;
    color: var(--header-text);
    padding: 8px 5px;
    width: 150px;
    font-size: 14px;
    outline: none;
}
.ts-search-input::placeholder {
    color: rgba(255,255,255,0.6);
}
.ts-search-btn {
    background: transparent;
    border: none;
    color: var(--header-text);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}
.ts-search-btn:hover {
    color: var(--primary-color);
}

/* --- Mobile Menu Toggle (Hidden on Desktop) --- */
.ts-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.ts-mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--header-text);
    transition: 0.3s;
}

/* --- Responsive (Mobile / Tablet) --- */
@media screen and (max-width: 991px) {
    .ts-main-nav, .ts-header-search { display: none; }
    .ts-mobile-toggle { display: flex; }
}

/* ==========================================================================
   Footer Custom Styles & Animations
   ========================================================================== */

/* Footer Link Hover Effect (Slide right slightly) */
.footer-link {
    color: #DADADA;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-link:hover {
    color: var(--primary-color, #E31E24);
    transform: translateX(5px);
}

/* Social Icons Styling */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-icon:hover {
    background-color: var(--primary-color, #E31E24);
    border-color: var(--primary-color, #E31E24);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.4);
}
