/* ============== CSS VARIABLES ================== */

/* colors */
:root {--color-primary: #6f6af8;
    --color-primary-light: hsl(242, 91%, 69%, 18%);
    --color-primary-variant: #5854c7;
    --color-red: #da0f3f;
    --color-red-light: hsl(346, 87%, 46%, 15%);
    --color-green: #00c476;
    --color-green-light: hsl(156, 100%, 38%, 15%);
    --color-gray-900: #1e1e66;
    --color-gray-700: #2d2b7c;
    --color-gray-300: rgba(242, 242, 254, 0.3);
    --color-gray-200: rgba(242, 242, 254, 0.7);
    --color-white: #f2f2fe;
    --color-bg: #0f0f3e;

    --transition: all 300ms ease;

    --container-width-lg: 89%;
    --container-width-md: 88%;
    --form-width: 40%;

    --card-border-radius-1: 0.3rem;
    --card-border-radius-2: 0.5rem;
    --card-border-radius-3: 0.8rem;
    --card-border-radius-4: 2rem;
    --card-border-radius-5: 5rem;
}

/* ============== CSS VARIABLES END ==================== */


/* ..................................................... */



/* ================ GENERAL STYLING ==================== */

* {
    margin: 0; 
    padding: 0; 
    outline: 0;
    border: 0;
    appearance: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
} 

/* Body */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: black; /* chnaged */
    overflow-x: hidden;
    background-color: rgb(234, 234, 234); /* chnaged */
    font-size: 0.9rem;
}
 
/* Container */
.container {
    width: var(--container-width-lg);
    max-width: 1800px;
    margin-inline: auto;
}

/* Section */
section {
    margin-top: 3rem;
    width: 100vw;
}

/* H Ones */
h1, h2, h3, h4, h5 {
    color: black; /* chnaged */
    line-height: 1.3;
}

h1{
    font-size: 3rem;
    margin: 1rem 0;
} 
h2 {
    font-size: 1.7rem;
    margin: 1rem 0;
}
h3 {
    font-size: 1.1;
    margin: 0.8rem 0 0.5rem;
}
h4 {
    font-size: 1rem;
}

/*Links */
a {
    color: black; /* chnaged */
    transition: var(--transition);   
}
a:hover{
    color: #00a651;
}
/* Img */
img {
    display: block;
    width: 100%;
    object-fit: cover;
}
/* ================ GENERAL STYLING END ==================== */



/* ..................................................... */



/* ===================== NAVBAR ======================== */

header {
    background: black; /* chnaged */  
    width: 100%; /* chnaged */
    height:5rem;
    position: fixed;
    border-bottom-right-radius: 35px; /* Added */
    border-bottom-left-radius: 35px; /* Added */
    border-bottom: 5px solid #00a651; /* Added */
    top: 0;
    z-index: 10;
    box-shadow: 0 1rem 1rem rgba(0. 0, 0, 0.2);
}

header a {
    font-size: small;
    color: #00a651; /* Added */
}

header a:hover {
    border-right: solid 3px #00a651;/* Added */
    padding-right: 5px;/* Added */
    color: white;/* Added */
}

header button{
    display:none ;
}

.hcontainer {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo img{
    width: 100%;
    height: 3.6rem;
    border-radius: 50%;
    font-size: medium;
}

/* Nav items */
.items {
    display: flex;
    align-items: center;
    gap: 15px;
}

/*---- Nav Profile section ----*/
/* Avatar */
.avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 0.3rem solid rgb(58, 57, 57);
}

.nav-profile {
    position: relative;
    cursor: pointer;
}

/* Nav profile dropdown */
.nav-profile ul {
    position: absolute;
    top: 130%; /* chnaged */
    right: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.4);
    visibility: hidden; /* hide Navbar dropdown */
    opacity: 0;
    transition: var(--transition);
}

/* Nav Profile Dropdown Links */
.nav-profile ul li a {
    padding: 1rem;
    background: black; /* chnaged */
    display: block;
    width: 100%;
}

/* Nv Profile Logout Link Styling*/
.nav-profile ul li:last-child a {
    background: var(--color-red);
    color: white; /* chnaged */
}

.nav-profile:hover > ul {
    visibility: visible;
    opacity: 1;
}

/* ===================== NAVBAR END ===================== */



/* ...................................................... */



/* ============= GENERAL STYLING FOR POSTS ===============*/

/* Cartegory button  */
 .cartegory-button {
    background-color: rgb(228, 226, 226); /* chnaged */
    color: rgb(0, 0, 0); /* chnaged */
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1.5px solid #00a651;
    border-radius: var(--card-border-radius-2);
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
 }

 .cartegory-button:hover {
    background-color: #00a651;
    color: #f3f7f5;
 }

 /* Post Thumbnail */
 .post-thumbnail {
    box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.3), 
    0 12px 24px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    margin-bottom: 1.6rem;
 }

 /* Post Hover */
.post:hover .post-thumbnail img {
    filter: saturate(0);
    transition: filter 500ms ease;
}

 /* Post author Info */
 .post-author {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
 }

 /* Post avatar */
 .post-author .post-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--card-border-radius-5);
    overflow: hidden;
 }

 /*============ GENERAL STYLING FOR POSTS END ==========*/



 /*.....................................................*/



 /*==================== FEATURED POST ==================*/

/* Featured Post Title */
 .real-title {
    margin-top: 5rem;
 }

 .real-title h2 {
    font-size: 1.8rem;
 }

 .sub-title{
    margin-bottom: 0rem;
 }

 /* Featured Post Title */
.featured {
    margin-top: 0rem;
}

.main-title {
    color: black;
}

.featured-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.featured .post-thumbnail {
    height: fit-content;
}

/* ================= FEATURED POST END ================= */



 /* .....................................................*/


 
 /* ====================== POST =========================*/

 .posts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    margin-bottom: 2rem;
 }

 /* ====================== POST END =====================*/



 /* .................................................... */


 
 /* ================== CATEGORY BUTTONS ================ */

 .cartegory-house {
    padding: 2rem 0;
    border-top: 1px solid rgb(196, 194, 194); 
    border-bottom: 1px solid rgb(196, 194, 194); 
    margin-bottom: 2rem;
    /* border-bottom: 2px solid gray; */
 }

 .cartegory-button-container {
    width: fit-content;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
 }

  /* ================ CATEGORY BUTTONS END ============= */


  /* .................................................... */



  /* ================ READ MORE SECTION ================= */
  .read-container {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    height: 10vh; /* Full viewport height - adjust as needed */
    width: 100%;
}

.read-more-btn {
    padding: 10px 20px;
    font-size: 18px;
    text-align: center;
    background: linear-gradient(136deg, #4c4d4c, #808080);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    width: 90%; /* Responsive width */
    max-width: 200px; /* Maximum width */
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #059c2b, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: var(--transition)
}
  /* ================ READ MORE SECTION ================= */



  /* ....................................................*/ 



  
  /* =================== FOOTER SECTION ================ */

  footer {
    background: black;
    border-top-left-radius: 35px; /* Added */
    border-top-right-radius: 35px; /* Added */
    border-top: solid 4px #00a651;
    padding: 3rem 0 0; /* Changed*/
    z-index: 100000000 !important;
    box-shadow: inset 0 1.5rem rgba(0, 0, 0, 0.2);
  }

  footer .logo img {
    width: auto;
    height: 4rem;
    margin-bottom: 0.8rem;
  }

  footer a {
    color: #00a651; /* Added */
    font-size: 15px; /* Added */
  }

  footer p {
    color: #00a651;
    margin-bottom: 3rem;
  }

  .footer-socials {
    margin-inline: 0rem;
    width: fit-content;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .footer-socials a {
    /* background: #00a651; */
    font-size: x-large; /* Added */
    color: #00a651; /* Changed*/
    border-radius: 50%;
    width: 2.3rem;
    height: 2.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-socials a:hover {
    background: var(--color-white);
    color: #00a651;
  }

  .footer-container{
    justify-items: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  footer h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem; /* Changed*/
  }

  footer ul li {
    padding: 0rem 0; /* Changed*/
  }

  footer ul a {
    opacity: 1.75; /* Changed*/
  }

  footer ul a:hover {
    letter-spacing: 0.1rem;
    opacity: 1;
  }

  .footer-copyright {
    color: gray;
    text-align: center;
    padding: 1rem 0;
    border-top: 2px solid gray;
    margin-top: 4rem;
  }

/* ============= FOOTER SECTION END============= */


/* ............................................. */

/* ............................................. */



/* ================================== SEARCH BAR SECTION DESIGN ==================================*/

.search-bar {
    margin-top:3rem;
    margin-bottom: 0.8rem;
}

.search-bar-container {
    position: relative;
    width: 40rem;
    background: rgb(240, 240, 240);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 0.6rem 1rem;
    border: 1px solid #00a651;
    border-radius: 40px;
    color: rgb(0, 0, 0);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.search-bar-container > div {
    width: 100%;
    display: flex;
    align-items: center;
}

.search-bar input {
    background: transparent;
    color: black;
    margin-left: 0.7rem;
    padding: 0.5rem 0;
    width: 100%;
}
  
.search-bar input::placeholder {
    color: black;
}
.search-bar button{
    background-color: #03b85a;
}
.search-bar button:hover {
    background-color: #353636;
    color: white;
}
/* ================================== SEARCH BAR SECTION END ==================================== */



/* ...............................................................................................*/




/* ========================================= BUTTON SECTION  ======================================*/

.btn {
    display: inline-block;
    width: fit-content;
    padding: 0.6rem 1.2rem;
    background-color: #00a651;
    border-radius: var(--card-border-radius-2);
    cursor: pointer;
    transition: var(--transition);
    color: rgb(255, 255, 255);
}

.btn.sm {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
}

.btn.danger {
    background: var(--color-red);
}

.btn:hover {
    background: rgb(121, 185, 121);
    color: var(--color-bg);
}

/* ====================================== BUTTON SECTION  END ====================================*/


/* ...............................................................................................*/



/* ===================================== BLOG POST PAGE STYLING ================================= */

/* Top Banner .........................................s*/

.banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
    /* Thin container with dynamic height */
    height: 150px; /* Adjust this value based on your needs */
}

.banner-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.banner {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.banner img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Changed from cover to contain */
}

/* Top Banner End ........................................*/


/* Single Post Area ..................................... */

.singlepost {
    display: flex;
    justify-content: center;
    padding: 6rem 1rem 2rem;
    margin-top: 0rem;
}

.singlepost-container {
    max-width: 1000px;
    width: 100%;
    background: rgb(234, 234, 234);
    padding: 1rem;
    border-radius: 8px; 
}

/* Title Styling */
.singlepost-title {
    color: black;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}


.post-author-info h5 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.post-author-info small {
    color: #666;
}

/* Featured Image */
.singlepost-thumbnail img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Post Content */
.singlepost-container p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #444;
    margin-top: 1rem;
}

/* Single Post Area End ................................... */



/* Contact Us Card ........................................ */

.contact-card {
    background: linear-gradient(135deg, #04641c, #3b82f6);
    color: white;
    padding: 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.card-text {
    flex: 1;
}

.card-text h2 {
    margin: 0;
    font-size: 28px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
    color: white;
}

.card-text p {
    margin: 5px 0 0;
    font-size: 16px;
    opacity: 0.9;
    color: white;
}

.cta-button {
    background-color: #ff8640;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #ff6b81;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Contact Us Card End .................................. */

.other-post-title {
    color: black;
    margin-top: 2rem;
  }


  .custom-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide a {
    color: white;
}

.slide-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 2;
    /* background: rgba(0, 0, 0, 0.7); */
    padding: 10px 20px;
    border-radius: 5px;
    margin: 0;
    max-width: 80%;
}

/* ===================================== BLOG POST PAGE STYLING END ============================== */




/* ............................................................................................... */





/* ======================================= CATEGORY PAGE SECTION ================================= */

.category-title {
    height: 16rem;
    margin-top: 2.5rem; /* change */
    background: gray; /* change */
    display: grid;
    place-items: center;
}

.index-title {
    height: 16rem;
    margin-top: 2.5rem; /* change */
    background: gray; /* change */
    display: grid;
    place-items: center;
}

/* ==================================== CATEGORY PAGE SECTION END ================================= */




/* ==========================================  MARQUE -  SECTION ================================= */

/* Marquee Container */
.marquee-container {
    position: relative;
    width: 100%;
    margin: 0rem;
    max-width: 100%;
    height: 70px;
    background: rgb(2, 2, 2);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 0 2px #ffffff;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    align-items: center;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-text {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(218, 143, 4);
    -webkit-background-clip: text;
    background-clip: text;
    padding: 0 25px;
    height: 100%;
    letter-spacing: 1px;
}

.marquee-text i {
    margin: 0 15px;
    font-size: 1.3rem;
    color: #dadada;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================  MARQUE -  SECTION ================================= */



/* .................................................................................................*/




/* ======================================= THE GENERAL FORM ======================================= */

.form-section{
    display: grid;
    place-items: center;
    height: 100vh;
}

.form-section-container {
    width: var(--form-width);
}  

.alert-message {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: var(--card-border-radius-2);
}

.alert-message.error {
    margin-top: 3rem;
    background: var(--color-red-light);
    color: var(--color-red);
}

.alert-message.success {
    margin-top: 3rem;
    background: var(--color-green-light);
    color: var(--color-green);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-control {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;  
}

.form-control.inline {
    flex-direction: row;
    align-items: center;
} 

input, textarea, select {
    padding: 0.8rem 1.4rem;
    background-color: var(--color-gray-900);
    border-radius: var(--card-border-radius-2);
    resize: none;
    color: var(--color-white);
}

.form-section small {
    margin-top: 1rem;
    display: block;
}

.form-section small a {
    color: var(--color-primary);
}

/* ======================================= THE GENERAL FORM ======================================= */



/* ................................................................................................ */



/* ===================================== THE ADMIN SECTION STYLE =================================== */

/* Aside Bar Styling */

/* .dashboard {
    margin-top: 8rem;
}
.sidebar-toggle {
    display: none;
}
.dashboard-container {
    display: grid;
    grid-template-columns: 14rem auto;
    color: white;
    gap: 1rem;
    background:black;
    padding: 2rem;
    margin-bottom: 5rem;
}

.dashboard aside a {
    background-color: gray;
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.6rem;
}
.dashboard aside ul li:not(:last-child) a {
    border-bottom: 1px solid black;
}
.dashboard aside a:hover {
    background: rgb(63, 62, 62);
}
.dashboard aside a.active {
    background-color: rgb(63, 62, 62);
} */

/* Main Styling */
/* .dashboard main {
    margin-left: 1.5rem;
}

.dashboard main h2 {
    margin: 0 0 2rem 0;
    line-height: 1;
}
.dashboard main table {
    width: 100%;
    text-align: left;
}
.dashboard main table th {
    background: gray;
    padding:0.8rem;
    color: var(--color-white);  
}

.dashboard main table td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--color-gray-200); 
}

.dashboard main table tr:hover td {
    background-color: rgb(34, 34, 34);
    color: var(--color-white);
    cursor: default;
    transition: var(--transition);
} */
/* =================== ADMIN SECTION END ========================== */




/* ................................................................................................. */
/* ................................................................................................. */
/* ................................................................................................. */
/* ................................................................................................. */




/* ======================================= THE RESPONSIVE DESIGN ================================== */

/* MEDIUM DEVICES ..................................*/

@media screen and (max-width: 1024px) {

    /* General styles */
    .container {
        width: var(--container-width-md);
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    h5 {
        font-size: 0.8rem;
    }
  
    /* NAVBAR*/
    header {
        height: 5.5rem;
    }
    header button {
        display: inline-block;
        font-size: 1.8rem;
        background: #00a651;
        padding: 2px 6px 2px 6px;  /* change */
        border-radius: 7px; 
        color: black;   /* change */
        cursor: pointer;
    }

    header button#close {
        display: none;
    }

    .logo img {
        height: 4rem;
    }

    /* Responsive Dropdown */
    .hcontainer {
        position: relative;
    }

    .items {
        position: absolute;
        flex-direction: column;
        top: 100%;
        right: 0;
        width: 12rem;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        display: none;
    }

    .items li {
        width: 100%;
        height: 4.5rem;
        display: flex;
        align-items: center;
        box-shadow: -2rem 3rem 7rem rgba(0, 0, 0, 0.7) ;   
        border-top: 1px solid rgb(56, 55, 55);
        animation: animationDropdown 400ms 0s ease forwards;
        opacity: 0;
        transform-origin: top;
    }

    /* Animation Delay Approach from top to buttom for Navbar dropdown*/
    .items li:nth-child(2) {
        animation-delay: 200ms;
    }
    .items li:nth-child(3) {
        animation-delay: 400ms;
    }
    .items li:nth-child(4) {
        animation-delay: 600ms;
    }
    .items li:nth-child(5) {
        animation-delay: 800ms;
    }


    /* Nav Dropdwon animations */
    @keyframes animationDropdown {
        0% {
            transform: rotateX(90deg);
        }
        100% {
            transform: rotateX(0deg);
            opacity: 1;
        }
    }

    .items li a {
        border-radius: 0;
        width: 100%;
        height: 100%;
        background: black;
        padding: 0 2rem;
        display: flex;
        align-items: center;
    }

    .nav-profile {
        background: black;   /* change */
    }

    .nav-profile ul {
        top: 100%;
        width: 100%;
    }

    .nav-profile .avatar {
        margin-left: 2rem;
        border: 0;
    }

    /* FEATURED POST SECTION */
    .featured-container {
        gap: 3rem;
    }

    /* POST SECTION */
    .posts-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        margin-bottom: 1rem;
    }

    .cartegory-button-container {
        grid-template-columns: repeat(4, 1fr)
    }
    /* READ MORE SECTION */
    .read-more-btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    /* SINGLE POST */
    .singlepost-thumbnail img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        border-radius: 8px;
        margin: 1rem 0;
    }

    .singlepost-container p {
        font-size: 1rem;
        line-height: 1.7;
        color: #444;
        margin-top: 1rem;
    }

    .other-post-title {
        font-size: 1.8rem;
    }
    
    /* Contact Us Card ............... */
    .contact-card {
        padding: 30px 30px;
        height: 150px;
        margin-top: 1rem;
    }
    
    .card-text h2 {
        font-size: 24px;
        color: rgb(255, 255, 255);
    }
    
    .card-text p {
        margin: 0.2rem;
        font-size: 14px;
        color: #ffffff;
    }

    .special {
        color: #ffffff !important;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }

    /* Other Post slider........................ */
    .custom-slider { 
        height: 350px; 
    }

    /* Top Banner section ....................... */
    .banner-container {
        width: 100%;
        overflow: hidden;
        position: relative;
        /* Thin container with dynamic height */
        height: 150px; /* Adjust this value based on your needs */
    }

    .slide-title { 
        font-size: 1.2rem; 
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns:3 1fr;
        justify-items: left;
        gap: 4rem;
    }
    
    /* SEARCH BAR MD */
    .search-bar-container {
        width: 60%;
    }

    /* GENERAL FORM */
    .form-section-container {
        padding: 3rem;
    }

    /* ..................... */
    /* === ADMIN SECTION === */
    .dashboard {
        margin-top: 6rem;
    }

    .sidebar-toggle {
        display: none;
    }

    .dashboard-container {
        grid-template-columns: 4.3rem auto;
        padding: 0;
        background: transparent;
    }

    .dashboard aside h5 {
        display: none;
    }

    .dashboard main table thead {
        display: none;
    }
    .dashboard main table tr {
        display: flex;
        flex-direction: column;
    }

    .dashboard main table tr:nth-child(even) {
        background: var(--color-gray-900);
    }

    .dashboard main table tr:hover td {
        background: transparent;
    }
}
/* MEDIUM DEVICES END ==================================*/



/* ................................................... */

/* ....................................................*/





/* SMALL DEVICES ======================================*/

@media screen and (max-width: 600px) {

    header {
        height: 5rem;
    }

    .logo img {
        height: 3.5rem;
    }

   /* General Styling */
   section {
    margin-top: 2rem;
   } 

   h1 {
    font-size: 2rem;
   }

   /* marquee styling */
   .marquee-container { height: 60px; }
   .marquee-text { font-size: 1.1rem; }
   .marquee-text i { font-size: 1.5rem; }

   /* Featured Post Section */
   .featured {
    margin-top: 0rem;
   }

   .featured-container {
    grid-template-columns: 1fr;
    gap: 0;
   }

   /* POST SECTION Res Design */
   .posts-container {
    grid-template-columns: 1fr;
    gap: 2rem;
   }

    /* READ MORE SECTION */
    .read-more-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

   /* CATEGORY BUTTON Section */
   .cartegory-button-container {
    grid-template-columns: 1fr 1fr;
   }

   /* FOOTER SECTION */
   .footer-container {
    grid-template-columns: 1fr;
    justify-items: left;
    gap: 2rem;
   }

    /* SEARCH BAR SECTION */
   .search-bar-container {
    width: var(--container-width-md);
}

/* -- SINGLE POST SECTION -- */
.singlepost-container {
    padding: 1rem;
    width: 100%;
}

.singlepost-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem 0;
}

.singlepost-title {
    font-size: 1.2rem;
}

.post-author {
    flex-direction: row;
    align-items: flex-start;
}

.singlepost-container p {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #444;
    margin-top: 1rem;
}

.other-post-title {
    font-size: 1.2rem;
}

/* Contact Us Card ......................... */
.contact-card {
    padding: 15px 20px;
    height: auto;
    flex-direction: row;
    text-align: left;
    margin-top: 1rem;
}

.card-text h2 {
    font-size: 12px;
}

.card-text p {
    font-size: 10px !important;
    margin-top: 1px !important;
}

.cta-button {
    margin: 15px 0 0;
    padding: 8px 20px;
    font-size: 8px;
}

/* Top Banner .............................. */
.banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Thin container with dynamic height */
    height: 70px; /* Adjust this value based on your needs */
    margin-top: 0px;
}

/* Other post slider */
.custom-slider { 
    height: 250px; 
}

.slide-title { 
    font-size: 0.8rem; padding: 8px 10px;
 }

 /* .................................... */
/* GENERAL FORM */
.form-section-container {
    padding: 0;
}

/* ..................... */
/* === ADMIN SECTION === */
.dashboard {
    margin-top: 5rem;
}

.dashboard-container {
    grid-template-columns: 1fr;
    gap: 0;
}

.dashboard main {
    margin: 0;
}

.dashboard main h2 {
    margin-top: 1rem;
} 

.dashboard aside {
    position: fixed;
    box-shadow: 2rem 0 4rem rgba(0, 0, 0, 0.4);
    left: -100%;
    height: 100vh;
    transition: var(--transition);
    background: var(--color-primary);
    z-index: 50;
}

.dashboard .sidebar-toggle {
    display: inline-block;
    background: var(--color-primary-variant);
    color: var(--color-white);
    position: fixed;
    right: 0;
    bottom: 4rem;
    z-index: 1;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50% 0 0 50%;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: -1rem 0 2rem rgba(0, 0, 0, 0.4);   
}

.dashboard aside a h5 {
    display: inline-block;
}

#hide-sidebar-btn {
    display: none;
}

}
/* SMALL DEVICES END..................................*/

/* .................................................. */

/* ==================================== THE RESPONSIVE DESIGN END =============================== */





  