
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
:root
{
    --main-transition : 0.5s ;
    --special-text-color : #00ceff ;
    --gradient-color-1: #4e54c8;
    --gradient-color-2: #8f94fb;
    --gradient-color-3: #6a11cb;
    --primary-color: #00ceff;
            --bg-dark: #0e0e0e;
            --nav-bg: rgba(255, 255, 255, 0.05);
            --text-main: #ffffff;
            --text-dim: #999999;
            --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Google Fonts */
.lato-thin {
    font-family: "Lato", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.lato-light {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.lato-regular {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lato-bold {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.lato-black {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.lato-thin-italic {
    font-family: "Lato", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.lato-light-italic {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.lato-regular-italic {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.lato-bold-italic {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.lato-black-italic {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: italic;
}
/* End Google Fonts */
html,
body {
    height: auto;
    width: 100%;
    font-family: "Lato", sans-serif;
    background-color: black;
    scroll-behavior: smooth;
    color: var(--text-main);
    overflow-x: hidden;
}
.body_container
{
    max-width: 1366px;
    margin: auto;
}
@media (max-width:300px)
{
    body{
        width: fit-content;
        height: auto;
    }
}
::-webkit-scrollbar
{
    width: 9px;
    
}
::-webkit-scrollbar-track
{   
    background: #232323;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb
{
    background-color: var(--special-text-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover
{
    background-color: #029ec3;
}
.container  
{
    width: -webkit-fill-available;
    margin: 0 5px 0 5px;
}

.title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(255 255 255 / 26%);
    border-radius: 10px;
    border: 1px solid rgb(255 255 255 / 15%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 30px;
    font-family: sans-serif;
    padding: 30px 40px;
    text-align: center;
    line-height: 1.4;
}
/* Start Header */
        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 10px;
        }

        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 25px 0;
            transition: var(--transition-smooth);
        }

        header.scrolled {
            padding: 15px 0;
        }

        nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--nav-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 12px 30px;
            border-radius: 20px;
            transition: var(--transition-smooth);
        }

        .custom-logo-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-circle {
            width: 42px;
            height: 42px;
            background: black;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 15px rgba(0, 206, 255, 0.3);
            border: 2px solid var(--primary-color);
        }

        .logo-text {
            color: #fff;
            font-weight: 800;
            font-size: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .links {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .links > li > a {
            font-weight: 600;
            font-size: 15px;
            position: relative;
            padding: 8px 0;
            transition: color 0.3s ease;
        }

        .links > li > a.active, .links > li > a:hover {
            color: var(--primary-color);
        }
        .contact-btn {
            background: var(--primary-color);
            color: #000 !important;
            padding: 10px 25px !important;
            border-radius: 12px;
            font-weight: 800 !important;
            transition: var(--main-transition);
        }
        .contact-btn:hover 
        {
            background: #004859;
            color: white !important;
        }
        /* --- Dropdown Desktop --- */
        .portfolioLi { position: relative; }
        .portfolioLi:hover .works { display: block; opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
        .works {
            position: absolute;
            top: calc(100% + 20px);
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            background: rgba(20, 20, 20, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.1);
            min-width: 220px;
            border-radius: 15px;
            padding: 10px;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition-smooth);
            z-index: 100;
        }
        .works li a { padding: 10px; display: flex; align-items: center; gap: 10px; font-size: 14px; border-radius: 8px; transition: 0.3s; }
        .works li a:hover { background: rgba(0, 206, 255, 0.1); color: var(--primary-color); padding-left: 15px; }
        .mobile-trigger {
            display: none;
            background: rgba(0, 206, 255, 0.1);
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 12px;
            color: white;
            font-size: 20px;
            cursor: pointer;
        }
        .mobile-trigger:active{
            color: var(--primary-color);
        }
        .menu-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            opacity: 0;
            visibility: hidden;
            z-index: 1999;
            transition: 0.4s;
        }

        .menu-backdrop.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-overlay {
                position: fixed;
                top: -40px;
                left: -130%;
                width: 100%;
                max-width: 410px;
                height: 110dvh;
                background: var(--bg-dark);
                backdrop-filter: blur(25px);
                z-index: 2000;
                transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
                box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
                display: block;
        }

        .mobile-overlay.active {
            left: -30px;
        }

        .mobile-content {
            padding: 100px 20px 0px 30px;
            height: 100%;
            overflow-y: auto;
        }

        .mobile-close {
            position: absolute;
            top: 30px;
            right: 30px;
            font-size: 30px;
            color: white;
            cursor: pointer;
        }
        .mobile-close:active
        {
            color: var(--primary-color);
        }
        .mobile-list > li {
            margin-bottom: 30px;
            opacity: 0;
            transform: translateX(30px);
            transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .mobile-overlay.active .mobile-list > li {
                opacity: 1;
                transform: translateX(0);
                padding: 15px 10px;
                border-radius: 10px;
        }
        .mobile-overlay.active .mobile-list > li:not(:last-child){
            border-bottom: 1px solid #1a1a1a;
        }
        .mobile-overlay.active .mobile-list > li:not(:nth-child(3),:last-child):hover
        { 
            background: #00ceff3b;
        }
        .mobile-overlay.active .mobile-list > li:last-child:hover a
        { 
            color: white !important
            ;
        }
        .mobile-list > li:nth-child(1) { transition-delay: 0.1s; }
        .mobile-list > li:nth-child(2) { transition-delay: 0.12s; }
        .mobile-list > li:nth-child(3) { transition-delay: 0.15s; }
        .mobile-list > li:nth-child(4) { transition-delay: 0.18s; }
        .mobile-list > li:nth-child(5) { transition-delay: 0.2s;}

        .mobile-list > li > a {
            font-size: 20px;
            font-weight: 600;
            color: #fff;
            display: block;
            width: 100%;
        }

        .portfolio-label {
                display: block;
                color: var(--primary-color);
                font-size: 15px;
                text-transform: uppercase;
                letter-spacing: 2px;
                margin-bottom: 15px;
                font-weight: 900;
        }

        .mobile-list .works-mobile {
            padding-left: 15px;
            border-left: 1px solid rgba(255,255,255,0.1);
            margin-top: 10px;
        }

        .mobile-list .works-mobile li {
            margin-bottom: 15px;
            transition: var(--main-transition);
        }
        .mobile-list .works-mobile li:hover {
            margin-bottom: 15px;
            color: var(--primary-color);
            padding-left: 10px;
        }

        .mobile-list .works-mobile li a {
            font-size: 16px;
            color: var(--text-dim);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .mobile-list .works-mobile li:hover a {
            color: var(--primary-color);
        }
        @media (max-width: 992px) {
            .links { display: none; }
            .mobile-trigger { display: flex; align-items: center; justify-content: center; }
            nav { padding: 10px 20px; }
        }
        .links > li > a:not(.contact-btn)::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--primary-color);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }
        .links > li:hover > a:not(.contact-btn)::after,
        .links > li > a.active::after {
            transform: scaleX(1);
        }

        /* Hero */
        .hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
        .hero h1 { font-size: clamp(3rem, 10vw, 6rem); font-weight: 900; }
        .hero span { color: var(--primary-color); }
/* End Header */
/* Start hero Sections */
.landing {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
    margin-bottom: 100px;
}
.hero_section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    height: 100vh;
    width: 100%;
}
.introduction 
{
    width: 740px;
    color: white;
    position: relative;
    height: fit-content;
    top: 50%;
    transform: translateY(-40%) !important;
    transition: var(--main-transition);
}
.hero_section .introduction h1 
{
    font-size: 37px;
}
.hero_section .introduction h1 span
{
    font-size: 50px;
    color: var(--special-text-color);
}
.hero_section .introduction h2 
{
    margin : 20px 0 30px 0px;
    line-height: 1.4;
}
.hero_section .photo img 
{
    position: absolute;
    top: 18%;
    right: -70px;
    width: 570px;
    height: 570px;
    filter: drop-shadow(2px 4px 6px black) brightness(1.7);
    transition: var(--main-transition);
}
.hero_section .photo img.myImageForMobile
{
    display: none;
}
.cvAndSocial{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}
.cvAndSocial a{
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: fit-content;
    padding: 5px 20px;
    border-radius: 10px;
    gap: 10px;
}
.cvAndSocial .socialMediaLinks
{
    display: flex;
}
.cvAndSocial .socialMediaLinks a{
    background: none  ;
    transition: var(--main-transition);
    font-size: 20px;
}
.cvAndSocial .socialMediaLinks a:hover{
    color: var(--special-text-color);
    transform: scale(1.1);
}
/* media for hero section  */
@media (max-width:450px) {
    .hero_section .photo img.myImageForMobile
        {
            display: block ;
            width: 130px !important;
            height: 130px !important;
            filter: brightness(1);
            position: relative;
            left: 0px !important;
            top: 31% !important;
        } 
        .introduction
        {
            top: 44%;
        }
}
@media (max-width: 767px)
{
        .hero_section .photo img {
        display: none;
        }
        .hero_section .photo img.myImageForMobile
        {
            position: relative;
            left: 0px;
            top: 57%;
            width: 180px;
            height: 170px;
            display: block;
            filter: brightness(1);
        } 
        .introduction
        {
            width: -webkit-fill-available;

            text-align: center;
        }
        .hero_section .introduction h1 ,
        .hero_section .introduction h2
        {
            margin-left: 0px;
        }
        .hero_section .introduction h1 br.break
        {
            display: block !important;
        }
        .hero_section .introduction h1 span
        {
            font-size: 37px;
        }
        .cvAndSocial
        {
            flex-direction: column;
        }
}
@media (min-width:768px) and (max-width:1024px)
{
    nav ul.links li{
        font-size: 17px;
    }
    .hero_section .photo img {
        display: none;
        }
}
/* AboutME_Contanier */
.about_me
{
    display: flex;
    height: 100vh;
    gap: 50px;
    position: relative;
    justify-content: center;
    align-items: center;
    margin-bottom: 70px;
}
.about_me_container
{
    position: relative;
    top: -90%;
    display: flex;
    flex-direction: row;
    margin: 0px 40px;
    flex-wrap: wrap;
    gap: 20px;
}
.about_me .text 
{
    width: -webkit-fill-available;
    max-width: 740px;
    color: white;
    transition: var(--main-transition);
}
.about_me .text h1 ,
.portfolio h1.main-title,
.services h1.main-title,
.contactme h1.main-title,
.postsAndReels h1.main-title
{
    font-size: 110px;
    font-style: italic;
    color: var(--special-text-color);
    position: relative;
    transition: var(--main-transition);
    z-index: 10;
    text-align: center;
}
.postsAndReels h1.main-title{
    font-size: 70px !important;
    top: 70px;
    margin-bottom: 100px;

}
.about_me .text h1
{
    left: -24%;
    top: 10%;
}
.about_me .text p
{
    font-size: 24px;
    line-height: 1.4;
    position: relative;
    top: 30px;
    text-align: justify;
    max-width: 700px;
}
.about_me .about_me_img img
{
    width: 450px;
    height: 540px;
    border-radius: 20%;
    box-shadow: 0px 0px 11px var(--special-text-color);
    top: 30px;
    position: relative;
    transition: var(--main-transition);
    filter: brightness(1.2);
}
.about_me_container .socialMediaLinks
{
    display: flex;
    position: relative;
    z-index: 1;
    gap: 30px;
    right: 0%;
    bottom: 140px;
}
.about_me_container .socialMediaLinks a{
    background: none  ;
    transition: var(--main-transition);
    font-size: 20px;
    color: white;
}
.socialMediaLinks a:hover{
    color: var(--special-text-color);
    transform: scale(1.1);
}
@media (max-width:900px)
{
    .about_me
    {
        flex-wrap: wrap;
        margin: 0 10px 150px;
    }
    .about_me .about_me_img
    {
        margin: auto !important;
    }
    .about_me .about_me_img img{
        width: 360px !important;
        height: 470px !important;
    
    }
    .about_me .text{
        top: -16%;
        position: relative;
        height: fit-content;
        text-align: center;
        max-width: 900px;
    }
    .about_me .text h1,
    .portfolio h1.main-title,
    .services h1.main-title,
    .contactme h1.main-title,
    .postsAndReels h1.main-title
    {
        font-size: 69px;
        left: 0%;
        top: -16%;
    }
    .about_me .text p
    {
        top: 0;
        font-size: 17px;
        margin: auto;
        text-align: center;
    }
    .about_me_container .about_me_img img
    {
        height: 200px;
        width: 200px;
        border-radius: 50%;
        filter: drop-shadow(2px 4px 6px black);
    }
}
@media (min-width:901px) and (max-width:1124px)
{
    .about_me{
        gap: 30px;
    }
    .about_me .about_me_img img
    {
        width: 400px;
        height: 450px;
    }
    .about_me .text {
        width: 400px;
    }
    .about_me .text h1
    {
        font-size: 90px;
        left: -35%;
        top: 10%;
        width: 570px;
    }
    .about_me .text p {
        font-size: 24px;
        top: 80px;
        max-width: 700px;
        width: 430px;
    }
}
.spikes 
{
    position: relative;
}
.spikes::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    top: -65px;
    z-index: 1;
    display: block;
    height: 60px;
    background-size: 30px 100%;
    background-image: linear-gradient(135deg, var(--special-text-color) 25%, transparent 25%), linear-gradient(225deg, var(--special-text-color) 25%, transparent 25%);
    background-position: 0 0;
}
@media (max-width :450px)
{
    .spikes::after {
        top: -110px !important;
    }
}
/* portfolio */
h1.portfolio-title {
    text-align: center !important;
    color: white !important;
    font-size: 100px !important;
    color: var(--special-text-color) !important;
    text-shadow: 7px 6px 20px var(--gradient-color-2) !important;
}
.portfolio .wrap h1 {
    font-size: 37px;
    color: white;
    width: 189px;
    margin: auto;
}
.portfolio p {
	font-size: max(10pt, 2.5vmin);
	line-height: 1.4;
	margin-bottom: 1.5rem;
    font-weight: bold;
    color: black;
    position: relative;
    top: 10px;
}
.portfolio .wrap {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	width: 900px;
	height: 65vmin;
	margin: 2rem auto;
	transition: var(--main-transition);
	position: relative;
	overflow: hidden;
    border: 2px solid white;
    border-radius: 15px;
    box-shadow: 0px 0px 30px #707070;

}
.portfolio .overlay {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	padding: 1rem 0.75rem;
	background: #a6976e;
	transition: 0.4s ease-in-out;
	z-index: 1;
}
.portfolio .overlay-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 15vmin;
	height: 100%;
	padding: 0.5rem 0 0 0.5rem;
	border: 3px solid;
	border-image: linear-gradient(
			to bottom,
			var(--gradient-color-1) 5%,
			var(--gradient-color-2) 35% 65%,
			var(--gradient-color-3) 95%
		)
		0 0 0 100%;
	transition: 0.3s ease-in-out 0.2s;
	z-index: 1;
}
.portfolio .overlay.miskcamping .overlay-content,
.portfolio .overlay.courseshub .overlay-content
{
    border-image: linear-gradient(to bottom, #a6976e 5%, #5a4e3e 35% 65%, #ffffff 95%) 0 0 0 100%;
}
.portfolio .overlay.miskcamping .dot,
.portfolio .overlay.courseshub .dot
{
    background: #a6976e;
    border: 1px solid #5a4e3e;
}
.portfolio .overlay.creative-snippets .dot{
    background: #3fa0fc;
    border: 1px solid #9b5ef7;
}
.portfolio .image-content {
	position: absolute;
	top: 0;
	right: 0;
	width: 60vmin;
	height: 100%;
	background-image: url(../Images/MISKcAMPING.jpg);
	background-size: cover;
	transition: 0.3s ease-in-out;
}
.portfolio .overlay.MAA .image-content 
{
    background-image: url(../Images/MAA.jpg);
}
.portfolio .overlay.courseshub .image-content 
{
    background-image: url(../Images/CourseHub.jpg);
}
.portfolio .overlay.creative-snippets .image-content 
{
    background-image: url(../Images/CreativeSnippets.jpg);
    background-position: center;
}
.portfolio .overlay.MAA .overlay-content
{
    border-image: linear-gradient(to bottom, #3fd3a2 5%, #379889 35% 65%, #000000 95%) 0 0 0 100%;
}
.portfolio .overlay.MAA 
{
    background: #358e76;
}
.portfolio .overlay.creative-snippets
{
    background: linear-gradient(135deg, #a855f7, #00ceff);
}
.portfolio .wrap.MAA .buttons ,
.portfolio .wrap.courseshub .buttons,
.portfolio .wrap.creative-snippets .buttons
{
    display: flex;
}
.portfolio .wrap.MAA .buttons button.see_more ,
.portfolio .wrap.courseshub .buttons button.see_more,
.portfolio .wrap.creative-snippets .buttons button.see_more
{
    transform: rotateX(0);
    left: 0%;
    width: 180px;
}
.portfolio .wrap.courseshub .buttons button.see_more a 
{
    font-size: 15px;
}
.portfolio .inset {
    max-width: 50%;
    margin: 5px 10px 1px 0;
    border-radius: 1em;
    float: left;
    width: 200px;
    background-size: cover;
    }
.portfolio .wrap.miskcamping .inset,
.portfolio .wrap.MAA .inset,
.portfolio .wrap.courseshub .inset,
.portfolio .wrap.creative-snippets .inset
{
    display: flex;
    align-items: center;
    gap: 10px;
} 
.portfolio .wrap.miskcamping .inset img,
.portfolio .wrap.MAA .inset img,
.portfolio .wrap.courseshub .inset img,
.portfolio .wrap.creative-snippets .inset img
{
    width: 70px;
    height: 70px;
    border-radius: 10px;
}
.portfolio .dots {
	position: absolute;
	bottom: 1rem;
	right: 2rem;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 55px;
	height: 4vmin;
	transition: 0.3s ease-in-out 0.3s;
}
.portfolio .dot {
	width: 14px;
	height: 14px;
	background: var(--special-text-color);
	border: 1px solid indigo;
	border-radius: 50%;
	transition: 0.3s ease-in-out 0.3s;
}
.portfolio .wrap.MAA .dot
{
    background: #358e76;
    border: 1px solid #000000;
}
.portfolio .text {
	position: absolute;
	top: 0;
	right: 0;
	width: 60vmin;
	height: 100%;
	padding: 3vmin 4vmin;
	background: #fff;
	box-shadow: inset 1px 1px 15px 0 rgba(0 0 0 / 0.4);
    overflow-y: scroll;
}
.portfolio .text::-webkit-scrollbar
{
    width: 0px !important;
}
.portfolio .wrap.miskcamping .text,
.portfolio .wrap.courseshub .text
{
    background-color: #a6976e;
    display: flex;
    flex-direction: column;
}
.portfolio .wrap.creative-snippets .text
{
    background-color: #32aafd;
    display: flex;
    flex-direction: column;
}
.portfolio .wrap.MAA .text
{
    background-color: #358e76;
    display: flex;
    flex-direction: column;
}
.portfolio .text button.see_more
{
    border: none;
    background-color: transparent;
    position: relative;
    transform: translateX(-50%);
    left: 50%;
}   
.portfolio .text button.see_more a
{
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}
@keyframes button-bg {
    0%{
        left: 0;
    }
    100%{
        left: 290px;
    }
}
.portfolio .wrap:hover .overlay {
	transform: translateX(-60vmin);
}
.portfolio .wrap:hover .image-content {
	width: 30vmin;
}
.portfolio .wrap:hover .overlay-content {
	border: none;
	transition-delay: 0.2s;
	transform: translateX(60vmin);
}
.portfolio .wrap:hover .dots {
	transform: translateX(1rem);
}
.portfolio .wrap:hover .dots .dot {
	background: white;
}

/* Animations and timing delays */
.portfolio .animate {
	animation-duration: 0.7s;
	animation-timing-function: cubic-bezier(0.26, 0.53, 0.74, 1.48);
	animation-fill-mode: backwards;
}
.portfolio .text button.see_more a
    {
        font-size: 13px !important;
    }
/* Pop In */
.portfolio .pop {
	animation-name: pop;
}
@keyframes pop {
	0% {
		opacity: 0;
		transform: scale(0.5, 0.5);
	}
	100% {
		opacity: 1;
		transform: scale(1, 1);
	}
}

/* Slide In */
.portfolio .slide {
	animation-name: slide;
}
@keyframes slide {
	0% {
		opacity: 0;
		transform: translate(4em, 0);
	}
	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

/* Slide Left */
.portfolio .slide-left {
	animation-name: slide-left;
}
@keyframes slide-left {
	0% {
		opacity: 0;
		transform: translate(-40px, 0);
	}
	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

.portfolio .slide-up {
	animation-name: slide-up;
}
@keyframes slide-up {
	0% {
		opacity: 0;
		transform: translateY(3em);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.portfolio .delay-1 {
	animation-delay: 0.3s;
}
.portfolio .delay-2 {
	animation-delay: 0.6s;
}
.portfolio .delay-3 {
	animation-delay: 0.9s;
}
.portfolio .delay-4 {
	animation-delay: 1.2s;
}
.portfolio .delay-5 {
	animation-delay: 1.5s;
}
.portfolio .delay-6 {
	animation-delay: 1.8s;
}
.portfolio .delay-7 {
	animation-delay: 2.1s;
}
.portfolio .delay-8 {
	animation-delay: 2.4s;
}
/* media quiry */
@media (max-width:450px) {
    .portfolio .wrap
    {
        width: 370px !important;
        height: 125vmin !important;
    }
    .portfolio .wrap:hover .image-content
    {
        width: 0vmin;
    }
    .portfolio .wrap:hover .text
    {
        width: 84vmin;
    }
    .portfolio .wrap:hover .overlay-content
    {
        transform: translateX(-10vmin);
    }
    .portfolio .wrap:hover .overlay
    {
        transform: translateX(-85vmin);
    }
    .portfolio .wrap:hover h1
    {
        width: 0px;
    }
    .portfolio .wrap h1
    {
        width: 0px;
        font-size: 23px;
        line-height: 1.7;
        margin: auto 0;
    }
    .portfolio p
    {
        font-size: max(11.5pt, 2.5vmin);
    }
    .portfolio .text
    {
        background: #e8e2cc; 
    }
    .portfolio .image-content{
        width: 50vmin;
        background-position-x: center;
    }
    .portfolio .text .inset + p
    {
        margin-bottom: 3.7rem !important;
    }
    .portfolio .wrap.MAA .buttons button.see_more ,
    .portfolio .wrap.courseshub .buttons button.see_more
    {
        width: 150px !important;
    }
    .portfolio .text button.see_more a
    {
        font-size: 13px !important;
    }
}
@media (min-width:451px) and (max-width:1200px)
{
    .portfolio .wrap
    {
        width: auto;
    }
}
.animated-button1 {
    background: linear-gradient(-30deg, #000000f0 50%, #141518 50%);
    padding: 10px;
    display: inline-block;
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
    overflow: hidden;
    color: #d4e0f7;
    font-size: 20px;
    letter-spacing: 1.5px;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    cursor: pointer;
  }
  .animated-button1::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #8592ad;
    opacity: 0;
    -webkit-transition: .2s opacity ease-in-out;
    transition: .2s opacity ease-in-out;
  }
  .animated-button1:hover::before {
    opacity: 0.2;
  }
  .animated-button1 span {
    position: absolute;
  }
  .animated-button1 span:nth-child(1) {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, right top, left top, from(rgba(8, 20, 43, 0)), to(#2662d9));
    background: linear-gradient(to left, rgba(8, 20, 43, 0), var(--special-text-color));
    -webkit-animation: 2s animateTop linear infinite;
    animation: 2s animateTop linear infinite;
  }
  @-webkit-keyframes animateTop {
    0% {
      -webkit-transform: translateX(100%);
              transform: translateX(100%);
    }
    100% {
      -webkit-transform: translateX(-100%);
              transform: translateX(-100%);
    }
  }
  
  @keyframes animateTop {
    0% {
      -webkit-transform: translateX(100%);
              transform: translateX(100%);
    }
    100% {
      -webkit-transform: translateX(-100%);
              transform: translateX(-100%);
    }
  }
  .animated-button1 span:nth-child(2) {
    top: 0px;
    right: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(8, 20, 43, 0)), to(#2662d9));
    background: linear-gradient(to top, rgba(8, 20, 43, 0), var(--special-text-color));
    -webkit-animation: 2s animateRight linear -1s infinite;
            animation: 2s animateRight linear -1s infinite;
  }
@-webkit-keyframes animateRight {
    0% {
      -webkit-transform: translateY(100%);
              transform: translateY(100%);
    }
    100% {
      -webkit-transform: translateY(-100%);
              transform: translateY(-100%);
    }
  }
@keyframes animateRight {
    0% {
      -webkit-transform: translateY(100%);
              transform: translateY(100%);
    }
    100% {
      -webkit-transform: translateY(-100%);
              transform: translateY(-100%);
    }
  }
.animated-button1 span:nth-child(3) {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 2px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(8, 20, 43, 0)), to(#2662d9));
    background: linear-gradient(to right, rgba(8, 20, 43, 0), var(--special-text-color));
    -webkit-animation: 2s animateBottom linear infinite;
    animation: 2s animateBottom linear infinite;
}
  
  @-webkit-keyframes animateBottom {
    0% {
      -webkit-transform: translateX(-100%);
              transform: translateX(-100%);
    }
    100% {
      -webkit-transform: translateX(100%);
              transform: translateX(100%);
    }
  }
  
  @keyframes animateBottom {
    0% {
      -webkit-transform: translateX(-100%);
              transform: translateX(-100%);
    }
    100% {
      -webkit-transform: translateX(100%);
              transform: translateX(100%);
    }
  }
  
.animated-button1 span:nth-child(4) {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 2px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(8, 20, 43, 0)), to(#2662d9));
    background: linear-gradient(to bottom, rgba(8, 20, 43, 0), var(--special-text-color));
    -webkit-animation: 2s animateLeft linear -1s infinite;
    animation: 2s animateLeft linear -1s infinite;
  }
  
  @-webkit-keyframes animateLeft {
    0% {
      -webkit-transform: translateY(-100%);
              transform: translateY(-100%);
    }
    100% {
      -webkit-transform: translateY(100%);
              transform: translateY(100%);
    }
  }
  
  @keyframes animateLeft {
    0% {
      -webkit-transform: translateY(-100%);
              transform: translateY(-100%);
    }
    100% {
      -webkit-transform: translateY(100%);
              transform: translateY(100%);
    }
  }
  /* start services */
.services
{
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--section-color);
    position: relative;
}
.services .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 50px;
}
.services .container .box
{
    background-color: #000000;
    position: relative;
    counter-increment: services;
    box-shadow: inset 0 0 20px 0px #00ceff;
    border-radius: 10px;
    color: white;
    height: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: var(--main-transition);
}
.services .container .box:hover .info::after
{
    width: 100%;
}
.services .container .box::before
{   
    content: '';
    top: -3px;
    height: 3px;
    position: absolute;
    background-color: var(--special-text-color);
    transform: translateX(-50%);
    left: 50%;
    width: 0;
    transition: var(--main-transition);
}
.services .container .box:hover::before
{
    animation: services 0.4s linear;
}
.services .container .box:hover
{
    transform: translateY(-10px);
    transition: 0.4s;
}
.services .container .box i 
{
    transform: translateX(-50%);
    left: 50%;
    position: relative;
    color: #00ceff;
    margin: 30px auto 20px;
}
.services .container .box h3
{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: var(--main-color);
    margin: 10px auto 20px;
    width: 250px;
}
.services .container .box p 
{
    text-align: center;
    margin: 0 10px 20px;
    position: relative;
    bottom: -100px;
}
.services .container .box p.animate-slide {
    animation: slideup 1s ease forwards;
}
.services .container .box .top 
{
    height: 80%;
    margin: auto;
}
.services .container .box .info 
{
    background-color: #080808;
    text-align: right;
    padding: 15px;
    position: relative;
    border-top: 2px solid var(--special-text-color);
    overflow: hidden;
    transition: var(--main-transition);
    z-index: 0;
    width: 100%;
    height: 16%;
    bottom: 0px;
}
.services .container .box .info::before 
{
    content: "0" counter(services);
    background-color: var(--main-color);
    position: absolute;
    left: -10px;
    width: 80px;
    height: 100%;
    top: 0px;
    color: #00ceff;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
.services .container .box .info::after
{
    content: '';
    position: absolute;
    width: 60px;
    height: 101%;
    top: 0px;
    background-color: #00ceff;
    left: 63px;
    transform: skewX(-25deg);
    transition: var(--main-transition);
    z-index: -1;
}
.services .container .box .info a{
    text-decoration: none;
    color: var(--main-color);
    z-index: 10;
    transition: var(--main-transition);
}
.services .container .box:hover .info a
{
    background-color: #000000;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
}
.services .container .box .info a:hover
{
    color: var(--special-text-color);
}
@keyframes services {
    0%{width: 0;}
    100%{width: 100%;}    
}
@keyframes slideup {
    0%{bottom: -100px;}
    100%{bottom: 0px;}
}
@media (max-width:450px)
{
    .services .container .box
    {
        height: fit-content;
    }
}
/* end services */
/* start main title  */
.sign {
    position: relative;
    display: flex
;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50%;
    /* background-image: radial-gradient(ellipse 50% 35% at 50% 50%, var(--gradient-color-1), transparent); */
    transform: translate(-50%, 0%);
    letter-spacing: 1px;
    left: 50%;
    top: 50%;
    font-family: "Clip";
    font-size: 6em;
    color: white;
    text-shadow: 0 0 0.6rem white, 0 0 1.5rem var(--special-text-color), -0.2rem 0.1rem 1rem var(--special-text-color), 0.2rem 0.1rem 1rem var(--special-text-color), 0 -0.5rem
-8px
 2rem var(--gradient-color-2), 0 0.5rem 3rem var(--gradient-color-2);
    animation: shine 2s forwards, flicker 3s infinite;
  }
  
  @keyframes blink {
    0%,
    22%,
    36%,
    75% {
      color: white;
      text-shadow: 0 0 0.6rem white, 0 0 1.5rem var(--special-text-color),
        -0.2rem 0.1rem 1rem var(--special-text-color), 0.2rem 0.1rem 1rem var(--special-text-color),
        0 -0.5rem 2rem var(--gradient-color-2), 0 0.5rem 3rem var(--gradient-color-2);
    }
    28%,
    33% {
      color: var(--special-text-color);
      text-shadow: none;
    }
    82%,
    97% {
      color: var(--gradient-color-2);
      text-shadow: none;
    }
  }
  
  .flicker {
    animation: shine 2s forwards, blink 3s 2s infinite;
  }
  
  .fast-flicker {
    animation: shine 2s forwards, blink 10s 1s infinite;
  }
  
  @keyframes shine {
    0% {
      color: var(--gradient-color-3);
      text-shadow: none;
    }
    100% {
      color: white;
      text-shadow: 0 0 0.6rem white, 0 0 1.5rem var(--special-text-color),
        -0.2rem 0.1rem 1rem var(--special-text-color), 0.2rem 0.1rem 1rem var(--special-text-color),
        0 -0.5rem 2rem var(--gradient-color-2), 0 0.5rem 3rem var(--gradient-color-2);
    }
  }
  
  @keyframes flicker {
    from {
      opacity: 1;
    }
  
    4% {
      opacity: 0.9;
    }
  
    6% {
      opacity: 0.85;
    }
  
    8% {
      opacity: 0.95;
    }
  
    10% {
      opacity: 0.9;
    }
  
    11% {
      opacity: 0.922;
    }
  
    12% {
      opacity: 0.9;
    }
  
    14% {
      opacity: 0.95;
    }
  
    16% {
      opacity: 0.98;
    }
  
    17% {
      opacity: 0.9;
    }
  
    19% {
      opacity: 0.93;
    }
  
    20% {
      opacity: 0.99;
    }
  
    24% {
      opacity: 1;
    }
  
    26% {
      opacity: 0.94;
    }
  
    28% {
      opacity: 0.98;
    }
  
    37% {
      opacity: 0.93;
    }
  
    38% {
      opacity: 0.5;
    }
  
    39% {
      opacity: 0.96;
    }
  
    42% {
      opacity: 1;
    }
  
    44% {
      opacity: 0.97;
    }
  
    46% {
      opacity: 0.94;
    }
  
    56% {
      opacity: 0.9;
    }
  
    58% {
      opacity: 0.9;
    }
  
    60% {
      opacity: 0.99;
    }
  
    68% {
      opacity: 1;
    }
  
    70% {
      opacity: 0.9;
    }
  
    72% {
      opacity: 0.95;
    }
  
    93% {
      opacity: 0.93;
    }
  
    95% {
      opacity: 0.95;
    }
  
    97% {
      opacity: 0.93;
    }
  
    to {
      opacity: 1;
    }
  }
/* End main title  */
/* Start contact me section  */
.contactme{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
form
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: black;
    width: fit-content;
    margin: auto;
    border-radius: 30px;
    padding: 20px;
    box-shadow: inset 0 0 20px 0px #00ceff;
    transition: var(--main-transition);
}
label {
    color: var(--special-text-color);
    font-weight: bold;
    font-style: italic;
}
input,textarea
{
    border-radius: 5px;
    border: none;
    outline: none;
    box-shadow: 0px 0px 10px var(--special-text-color);
    padding: 3px 3px 3px 5px;
    caret-color: var(--special-text-color);
    width: 600px;
    height: 30px;
}
textarea
{
    max-width: 600px;
    min-width: 600px;
    height: 60px !important;
    max-height: 100px;
}
form button
{
    width: 200px;
}
input::placeholder,textarea::placeholder
{
    color: #d1d1d1;
}
.contact-me
{
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
}
.contact-me img 
{
    width: 600px;
    height: 500px;
    position: relative;
    left: -40px;
    top: 30px;
    z-index: 0;
    transition: var(--main-transition);
}
@media (max-width:767px) {
    .contact-me
    {
        flex-direction: column;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    input, textarea
    {
        width: 300px;
    }
    textarea 
    {
        min-width: 300px;
    }
    .contact-me img
    {   
        width: 210px;
        height: 150px;
        left: 150px;
        top: -517px;
        z-index: -1;
    }
}
@media ( min-width : 768px ) and ( max-width : 1200px )
{
    .contact-me
    {
        position: relative;
        bottom: -30px;
    }
    .contact-me img
    {
        width: 410px;
        height: 340px;
        left: 0px;
        top: 121px;
    }
    input , textarea 
    {
        width: 300px !important; 
    }
    textarea {
        min-width: 300px !important;
    }
}
/* start footer  */
.site-footer {
    background-color: #111;
    color: #eee;
    text-align: center;
    height: auto;
    padding: 5px 0;
    position: relative;
    z-index: 15;
}
.site-footer .parAndIcons
{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
}
.site-footer p {

    font-size: 20px;
}
.site-footer p.madeWith
{
    border-top: 1px solid var(--special-text-color);
    font-size: 22px;
    font-weight: bold;
    font-style: italic;
}
.site-footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}

.site-footer .social-icons a {
color: White;
font-size: 20px;
transition: var(--main-transition);
}

.site-footer .social-icons a:hover {
transform: scale(1.1);
color: var(--special-text-color);
}

/* Responsive tweaks */

@media (max-width:767px) {
    .site-footer .parAndIcons
    {
        flex-direction: column;
    }
    .site-footer p {
        font-size: 15px;
    }
    .site-footer p.madeWith {
        font-size: 18px;
    }
    .site-footer .social-icons a
    {
        font-size: 15px;
    }
}
/* end footer  */
/* Start MiskCampingWorks */
.postsAndReels
{
    height: auto;
    position: relative;
    top :7%;
    margin-bottom: 100px;
    margin-top: 50px;
}
.postsAndReels .posts ,
.postsAndReels .reels 
{
    display: grid;
    grid-template-columns:repeat(auto-fill , minmax(300px , 1fr) );
    gap: 20px;
    overflow: hidden;
    margin-bottom: 50px;
}
.postsAndReels .reels 
{
    gap: 50px;
    
}
.postsAndReels .posts .post img{
    width:-webkit-fill-available;
    height: auto;
    border-radius: 10px;
    transition: var(--main-transition);
    box-shadow: 4px 4px 8px 0px #3f3f3f;
}
.postsAndReels .posts .post img:hover
{
    transform: skew(3deg);
}
.postsAndReels .reels .reel video{
    width: 330px;
    margin: auto;
    left: 50%;
    position: relative;
    transform: translate(-50%, -50%);
    top: 50%;
    border-radius: 10px;
    transition: var(--main-transition);
    box-shadow: 4px 4px 8px 0px #3f3f3f;
}
@media (max-width:450px) {
    .postsAndReels h1.main-title
    {
        font-size: 60px;
    }
    .postsAndReels
{
    margin-top: 80px;
}
}
/* end MiskCampingWorks */
/* goUp Button  */
.goUp
{
    position: fixed;
    bottom: 50px;
    width: 40px;
    height: 40px;
    right: 50px;
    transition: var(--main-transition);
    box-shadow: 1px 1px 6px var(--special-text-color);
    z-index: 1000;
    background: none;
    border: none;
    outline: none;
    border-radius: 10px;
}
.goUp a
{
    width: 100%;
    height: 100%;
}
.goUp:hover
{
    transform: scale(1.2);
}
.goUp:hover i 
{
    color: var(--special-text-color);
    animation: upAndDown 0.5s linear infinite;
}
.goUp i 
{
    color: white;
    z-index: 10;
    margin: auto;
    font-size: 20px;
    left: 7%;
    top: 0%;
    position: relative;
    transition: var(--main-transition);
}
@keyframes upAndDown
{
    0%{bottom: 1px;}
    50%{bottom: 3px;}
    100%{bottom: 1px;}

}
@media (max-width:767px) {
    .goUp
    {
        bottom: 20px;
        width: 30px;
        height: 30px;
        right: 10px;
    }
    .goUp i 
    {
        font-size: 15px;
        left: 12%;
        top: -60%;
        
    }
}
/* For Js Animation  */
.hidden {
    opacity: 0;
    transform: translateY(20px);
}

.visible {
    opacity: 1;
    transform: translateY(0px);
}
.show {
    opacity: 1;
    transform: translateY(0);
}
/* pre loader */
.loader {
    position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0e0e0e; /* أو أي لون غامق يناسب الانيميشن */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider {
    overflow: hidden;
    background-color: white;
    margin: 0 15px;
    height: 150px;
    width: 40px;
    border-radius: 30px;
    box-shadow: -4px -1px 20px 0px #777777;
    position: relative;
}

.slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    box-shadow: inset 0px 0px 0px rgba(0, 0, 0, 0.3), 0px 420px 0 400px #2697f3,
    inset 0px 0px 0px rgba(0, 0, 0, 0.1);
    animation: animate_2 2.5s ease-in-out infinite;
    animation-delay: calc(-0.5s * var(--i));
}

@keyframes animate_2 {
    0% {
    transform: translateY(250px);
    filter: hue-rotate(0deg);
    }
    50% {
    transform: translateY(0);
    }
    100% {
    transform: translateY(250px);
    filter: hue-rotate(180deg);
    }
}
@media (max-width:767px) {
    .slider {
        height: 80px;
        width: 20px;
    }
}
body.preload *:not(.loader):not(.loader *) {
    visibility: hidden !important;
}
/* certificates-page */
.container.certificates .content 
{
        margin: 70px 140px 0px;
}
.container.certificates .content .main-title 
{
        width: fit-content;
    margin: 20px auto;
    font-size: 60px;
}
.certs-section {
            padding: 50px 20px;
            max-width: 900px; /* عرض أضيق للتركيز */
            margin: 0 auto 100px;
        }

/* حاوية التايم لاين */
.timeline {
    position: relative;
    padding-left: 30px; /* مساحة للخط العمودي */
}

/* الخط العمودي */
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--special-text-color), transparent);
}

/* عنصر الشهادة الفردي */
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 20px; /* مسافة بين الخط والمحتوى */
}

/* النقطة (Marker) على الخط */
.timeline-marker {
    position: absolute;
    left: -35px; /* ضبط الموضع ليكون فوق الخط */
    top: 5px;
    width: 12px;
    height: 12px;
    background: #000;
    border: 2px solid var(--special-text-color);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px var(--special-text-color);
    transition: 0.3s;
}

.timeline-item:hover .timeline-marker {
    background: var(--special-text-color);
    transform: scale(1.3);
}

/* بطاقة المحتوى */
.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: 0.3s;
}

.timeline-item:hover .timeline-content {
    border-color: var(--special-text-color);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

/* أيقونة/شعار الجهة المانحة */
.timeline-logo {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.timeline-info {
    flex: 1;
}

.timeline-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.timeline-issuer {
    color: var(--special-text-color);
    font-size: 0.95rem;
    margin-bottom: 5px;
    display: block;
}

.timeline-date {
    color: #777;
    font-size: 0.85rem;
    font-family: monospace;
    margin-bottom: 10px;
    display: block;
}

.timeline-desc {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: 0.3s;
}

.timeline-link:hover {
    background: var(--special-text-color);
    border-color: var(--special-text-color);
    color: #000;
}

/* Responsive */
@media (max-width: 900px) {
    .masonry-grid { column-count: 2; }
}
@media (max-width: 600px) {
    .masonry-grid { column-count: 1; }
    .timeline-content { flex-direction: column; }
    .timeline-logo { margin-bottom: 15px; }
    .timeline { padding-left: 20px; }
    .timeline-marker { left: -26px; }
}
@media (max-width: 480px) {
    .main-title.CreativeSnippets {
        font-size: 45px !important;
        margin: 60px auto 40px !important;
        top: 10px !important;
    }
    .filters-container
    {
        gap: 5px !important;
    }
}
/* ///////////////////////////////////////////////////////////// */
/* Creative Snippets */
/* ///////////////////////////////////////////////////////////// */
.filters-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: 0.3s ease;
}

.filter-btn:hover, 
.filter-btn.active {
    background: var(--special-text-color);
    border-color: var(--special-text-color);
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 206, 255, 0.4);
}

.misc-section {
    padding: 50px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.masonry-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.masonry-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.masonry-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111;
    width: 100%;
    display: block;
}

.masonry-item.animate-in {
    animation: popIn 0.4s ease forwards;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.masonry-item:hover {
    transform: translateY(-5px);
    border-color: var(--special-text-color);
}

.masonry-item img, 
.masonry-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
}

.masonry-item:hover .item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.item-tag {
    color: var(--special-text-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: inline-block;
    background: rgba(0,0,0,0.5);
    padding: 2px 8px;
    border-radius: 4px;
}

.item-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
}
.item-location {
    color: #eee;
    font-size: 1rem;
    font-style: italic;
}

.certs-section {
    padding: 50px 20px;
    max-width: 900px;
    margin: 0 auto 100px;
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 20px;
}

.timeline-marker {
    position: absolute;
    left: -37px;
    top: 0;
    width: 16px;
    height: 16px;
    background: #000;
    border: 2px solid var(--special-text-color);
    border-radius: 50%;
    z-index: 2;
    transition: 0.3s;
}

.timeline-item:hover .timeline-marker {
    background: var(--special-text-color);
    box-shadow: 0 0 15px var(--special-text-color);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: 0.3s;
}

.timeline-item:hover .timeline-content {
    border-color: var(--special-text-color);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.timeline-logo {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #222;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.timeline-info h3 { font-size: 1.2rem; color: #fff; margin-bottom: 5px; }
.timeline-issuer { color: var(--special-text-color); font-size: 0.9rem; }
.timeline-date { color: #888; font-size: 0.8rem; display: block; margin: 5px 0 10px; }
.timeline-desc { color: #ccc; font-size: 0.9rem; line-height: 1.4; margin-bottom: 10px;}

.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid #444;
    padding: 5px 12px;
    border-radius: 20px;
    transition: 0.3s;
}
.timeline-link:hover {
    border-color: var(--special-text-color);
    color: var(--special-text-color);
}

/* 4. Lightbox */
.lightbox {
    position: fixed;
    z-index: 10000;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center; align-items: center;
}
.lightbox.active { display: flex; animation: fadeIn 0.3s; }
.lightbox-content { max-width: 90%; max-height: 85vh; border-radius: 5px; box-shadow: 0 0 20px var(--special-text-color); }
.close-lightbox { position: absolute; top: 20px; right: 30px; font-size: 40px; color: #fff; cursor: pointer; }

/* Responsive */
@media (max-width: 768px) {
    .timeline-content { flex-direction: column; text-align: center;}
    .timeline-logo {
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
    }
    .container.certificates .content
    {
            margin: 80px 10px 0px;
    }
    .timeline-item{
        padding-left: 0px;
        padding-right: 10px;
    }
}
@media (max-width: 480px) {
    .main-title.Certificates { font-size: 44px !important;}
    .filter-btn{
        padding: 8px 17px !important;
    }
}
#hidden-items-store { display: none; }
