@font-face {
    font-family: "Dana";
    src: url("../Fonts/Dana/DanaFaNum-Medium.ttf") format("truetype"), 
    url("../Fonts/Dana/DanaFaNum-Medium.woff") format("woff"), 
    url("../Fonts/Dana/DanaFaNum-Medium.woff2") format("woff2");
}


:root {
    --clr-primary-1: #003049;
    --clr-primary-2: #1F487E;
    --clr-primary-3: #247BA0;
    --clr-primary-4: #780000;
    --clr-primary-5: #FDF0D5;
    --clr-primary-6:#c1121f;
    --clr-primary-7:#f1faee;
    --clr-grey-1: #605F5E;
    --clr-grey-2: #617d98;
    --clr-grey-3: rgb(241, 245, 248);
    --clr-white: #fff;
    --ff-primary: "Dana", sans-serif;
    --transition: all 0.4s ease-in;
    --radius: 0.5rem;
    --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --max-width: 1170px;
    --overlay-color: rgba(24, 39, 51 , 0.85);
    --menu-speed: 0.75s;
}




/*
=============== 
Global Styles
===============
*/

*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--ff-primary);
    background: var(--clr-white);
    color: var(--clr-grey-1);
    line-height: 1.5;
    font-size: 0.875rem;
}
ul {
    list-style-type: none;
}
a {
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

h1,
h2,
h3,
h4 {
    line-height: 1.25;
    font-family: var(--ff-primary);
}
h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.25rem;
}
h4 {
    font-size: 0.875rem;
}
p {
    margin-bottom: 1.25rem;
    color: var(--clr-primary-7);
    max-width: 35rem;
    font-size: 13px;
}

/*  global classes */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    background: var(--clr-primary-4);
    color: var(--clr-primary-5);
    padding: 0.375rem 0.75rem;
    display: inline-block;
    transition: var(--transition);
    font-size: 0.875rem;
    font-family: var(--ff-primary);
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
}

.btn:hover {
    color: var(--clr-white);
    background: var(--clr-primary-6);
}

.Social_Icon:hover {
    color: #fca311;
}
.liine {
    width: 5rem;
    height: 0.25rem;
    background: var(--clr-primary-5);
    margin-bottom: 1.25rem;
    margin-left: auto;
    margin-right: auto;
}


.Section {
    padding: 5rem 0;
}


#preloader {
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 100;
    background: #003049;
}
  
.progress-bar {
    position: absolute;
    top: 50%;
    height: 2px;
    background: #d62828;
}
  
.done {
    top: 0;
    height: 100%;
    width: 100%;
    transition: all .33s ease;
  }
  
.count {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    margin-top: -1.33em;
    color: #d62828;
  }




/* Nav Start */

.nav {
    background-color: var(--clr-primary-1);
    z-index: 3;
}

.nav_items {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 1rem 0 1rem 0;
    height: 4.5rem;
    
}

.nav_items h3 {
    color: var(--clr-primary-5);
    font-size: 1.75rem;
}

.nav_links {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-self: end;
    
}

.nav_links li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--clr-primary-5);
    cursor: pointer;
    
}

.nav_links li i {
    display: flex;
    font-size: 20px;
}

.nav_links li a {
    color: var(--clr-primary-5);
    font-size: 1.1rem;
}

.menu_btn {
    display: none;
}

.nav_menu2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


.nav_overlay {
    background-color: var(--overlay-color);
    border-radius: 50%;
    width: 400vw;
    height: 400vw;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: all 0.4s ease;
}


.nav_overlay  div {
    text-align: center;
    max-width: 90vw;
    max-height: 100vh;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav_links2 {
    list-style: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 1rem;
}

.nav_links2 li {
    padding-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.nav_links2 li i {
    display: flex;
}


.nav_links2 a {
    color: var(--clr-primary-5);
    text-decoration: none;
    transition: color 0.4s ease;
    -webkit-transition: color 0.4s ease;
    -moz-transition: color 0.4s ease;
    -ms-transition: color 0.4s ease;
    -o-transition: color 0.4s ease;
}


.nav_fixed {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: var(--light-shadow);
    background: var(--clr-primary-4);

}


/* Nav End */



/* Hero Start */

.Hero {
    background-color: var(--clr-primary-1);
}

.Hero_content {
    min-height: calc(100vh - 4.5rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
}


.Hero_info .liine {
    margin-right: 0;
}

.Hero_info h2 {
    color: var(--clr-primary-5);
}

.Hero_info h4 {
    color: var(--clr-primary-7);
    margin-top: 2rem;
}

.Hero-Btn {
    margin-top: 1.25rem;
    margin-bottom: 2rem;
}

.Social_Icons {
    display: flex;
    gap: 1rem;
}

.Social_Icon {
    font-size: 2rem;
    color: var(--clr-primary-5);
    transition: var(--transition);
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -ms-transition: var(--transition);
    -o-transition: var(--transition);
}

.Hero_image {
    position: relative;
}

.Hero_Photo {
    max-width: 25rem;
    max-height: 30rem;
    object-fit: cover;
    position: relative;
    border-radius: var(--radius);
}

.Hero_image::before,
.about_image::before {
    content: "";
    position: absolute;
    border: 0.25rem solid var(--clr-primary-3);
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    -webkit-border-radius: var(--radius);
    -moz-border-radius: var(--radius);
    -ms-border-radius: var(--radius);
    -o-border-radius: var(--radius);
    top: 2rem;
    right: -2rem;
}

/* Hero End */



/* About Start */

.About_section {
    background-color: #14213d;
}

.About {
    display: grid;
    place-items: center;
    grid-template-columns: 1fr 1fr;
}

.About_title {
    margin-bottom: 0.5rem;
    color: var(--clr-primary-5);
}

.About_Info .liine {
    margin-right: 0;
    margin-bottom: 2rem;
}

.about_image {
    position: relative;
}

.about_Photo {
    max-width: 25rem;
    max-height: 30rem;
    object-fit: cover;
    position: relative;
    border-radius: var(--radius);
}

/* About End */


/* Services start */

.Services_section {
    background-color: #14213d;
}

.Services_title {
    text-align: center;
    color: var(--clr-primary-5);
    margin-bottom: 1rem;
}

.Services_title h2{
    margin-bottom: 0.5rem;
}



.Services_Boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.Service_Box {
    justify-items: center;
    background-color: var(--clr-primary-2);
    border-radius: var(--radius);
    -webkit-border-radius: var(--radius);
    -moz-border-radius: var(--radius);
    -ms-border-radius: var(--radius);
    -o-border-radius: var(--radius);
    padding: 3rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -ms-transition: var(--transition);
    -o-transition: var(--transition);
}

.Service_Box h4 {
    margin-bottom: 0.7rem;
    color: var(--clr-primary-5);
}

.Service_Box .liine {
    width: 3rem;
    height: 0.12rem;
}

.Service_Box:hover {
    background-color: #1e2749;
}

/* Services End */



/* Projects Start */

.Projects_section {
    background-color: #14213d;
}

.Projects_title {
    text-align: center;
    color: var(--clr-primary-5);
    margin-bottom: 2rem;
    justify-items: center;
}

.Projects_title h2 {
    margin-bottom: 0.5rem;
}

.Projects_title p {
    font-size: 14px;
}

.Projects_Gallery_img {
    position: relative;
    border-radius: var(--radius);
    -webkit-border-radius: var(--radius);
    -moz-border-radius: var(--radius);
    -ms-border-radius: var(--radius);
    -o-border-radius: var(--radius);
}

.Projects_image {
    border-radius: var(--radius);
    -webkit-border-radius: var(--radius);
    -moz-border-radius: var(--radius);
    -ms-border-radius: var(--radius);
    -o-border-radius: var(--radius);
    height: 15rem;
    object-fit: cover;
}

.Project_img_info {
    color: var(--clr-primary-5);
    background-color: rgba(0, 48, 73, 0.8);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: var(--transition);
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -ms-transition: var(--transition);
    -o-transition: var(--transition);
    border-radius: var(--radius);
    gap: 0.5rem;
}

.Project_img_info h4 {
    align-self: end;
}

.Project_img_info p {
    align-self: start;
}

.Projects_Gallery_img:hover .Project_img_info {
    opacity: 1;
}

.Projects_Gallery_img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--clr-white);
    border-radius: var(--radius);
    transition: var(--transition);
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -ms-transition: var(--transition);
    -o-transition: var(--transition);
    opacity: 0;
    z-index: 2;
    -webkit-border-radius: var(--radius);
    -moz-border-radius: var(--radius);
    -ms-border-radius: var(--radius);
    -o-border-radius: var(--radius);
}

.Projects_Gallery_img:hover::after {
    opacity: 1;
    scale: 0.8;
}


/* Projects End */





/* Connect Start */

.Connect_container {
    background-color: #14213d;
}

.connect {
    background-color: var(--clr-primary-5);
    clip-path: polygon(50% 0%, 100% 10%, 100% 90%, 50% 100%, 0% 90%, 0% 10%);
    min-height: 40rem;
    position: relative;
    display: grid;
    place-items: center;
    padding: 10rem 0 5rem 0;
}

.connect::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-white);
    opacity: 0.7;
    z-index: -1;
}

.Connect_video {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.connect_banner {
    background-color: var(--clr-primary-1);
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);
    padding: 3rem 5rem 12rem 5rem;
    text-align: center;
    border-radius: var(--radius);
    -webkit-border-radius: var(--radius);
    -moz-border-radius: var(--radius);
    -ms-border-radius: var(--radius);
    -o-border-radius: var(--radius);
}

.connect_banner h2 {
    color: var(--clr-primary-5);
    margin-bottom: 0.5rem;
}

.banner_info p {
    font-size: 15px;
}
/* Connect End */




/* Skills Start */


.Skills_section {
    background-color: #14213d;
}

.Skills_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}



.Skils h3 {
    color: var(--clr-primary-5);
    margin-bottom: 0.5rem;
}

.Skill_Progress {
    margin-bottom: 1.5rem;
}

.progressbar {
    background-color: var(--clr-primary-7);
    border-radius: var(--radius);
    -webkit-border-radius: var(--radius);
    -moz-border-radius: var(--radius);
    -ms-border-radius: var(--radius);
    -o-border-radius: var(--radius);
    position: relative;
    height: 1rem;
    width: 100%;
}

.Skillbar {
    background: var(--clr-primary-3);
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: -2px;
    border-radius: var(--radius);
    
}

.Skillbar.in-view {
    animation: load 3s normal forwards;
}

.load60.in-view {
    animation: load60 3s normal forwards;
    -webkit-animation: load60 3s normal forwards;
}

.load70.in-view {
    animation: load70 3s normal forwards;
    -webkit-animation: load70 3s normal forwards;
}

.load80.in-view {
    animation: load80 3s normal forwards;
    -webkit-animation: load80 3s normal forwards;
}

.load90.in-view {
    animation: load90 3s normal forwards;
    -webkit-animation: load90 3s normal forwards;
}

.load100.in-view {
    animation: load100 3s normal forwards;
    -webkit-animation: load100 3s normal forwards;
}

@keyframes load {
    0% { width: 0; }
    100% { width: calc(50% + 2px); }
}

@keyframes load60 {
    0% { width: 0; }
    100% { width: calc(60% + 2px); }
}

@keyframes load70 {
    0% { width: 0; }
    100% { width: calc(70% + 2px); }
}

@keyframes load80 {
    0% { width: 0; }
    100% { width: calc(80% + 2px); }
}


@keyframes load90 {
    0% { width: 0; }
    100% { width: calc(90% + 2px); }
}

@keyframes load100 {
    0% { width: 0; }
    100% { width: calc(100% + 2px); }
}  

.Skill_Percentage {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

/* Skills End */



/* TimeLine Start */

.timline_section {
    background-color: #14213d;
}

.timline_container {
    display: grid;
    place-items: center;
}

.timline {
    border-top: 2px dashed var(--clr-primary-5);
    padding: 4rem 2rem;
    position: relative;
}

.timline:nth-child(even) {
    border-left: 2px dashed var(--clr-primary-5);
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    margin-right: 2rem;
    padding-right: 0;
}

.timline:nth-child(odd) {
    border-right: 2px dashed var(--clr-primary-5);
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    margin-left: 2rem;
    padding-left: 0;
}

.timline:first-child {
    border-top: none;
    border-top-right-radius: 0;
}


.timline:last-child {
    border-bottom-left-radius: 0;
}

.TimeLine_info {
    margin-bottom: 4.5rem;
}


.TimeLine_info h2 {
    color: var(--clr-primary-5);
    margin-bottom: 0.5rem;
}

.timline h3 {
    color: var(--clr-primary-5);
    margin-bottom: 1rem;
}

.Timline_Number {
    width: 2rem;
    height: 2rem;
    background-color: var(--clr-primary-5);
    color: var(--clr-primary-1);
    position: absolute;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    display: grid;
    place-items: center;
    transform: translate(50%, -50%);
    -webkit-transform: translate(50%, -50%);
    -moz-transform: translate(50%, -50%);
    -ms-transform: translate(50%, -50%);
    -o-transform: translate(50%, -50%);
    top: 50%;
    font-size: 16px;
}


.timline:nth-child(even) .Timline_Number{
    left: 0;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    
    
}

.timline:nth-child(odd) .Timline_Number{
    right: 0;
}

/* TimeLine End */



/* Cards Start */

.Cards_section {
    background-color: #14213d;
}

.Cards_Container {
    display: grid;
    grid-template-columns: repeat(auto-fill , minmax(300px, 1fr));
    gap: 3rem 1rem;
}

.Cards_Title {
    text-align: center;
    margin-bottom: 2rem;
}

.Cards_Title h2 {
    color: var(--clr-primary-5);
    margin-bottom: 0.5rem;
}

.card {
    height: 27rem;
    perspective: 150rem;
    -webkit-perspective: 150rem;
    -moz-perspective: 150rem;
    position: relative;
}

.card__side {
    -webkit-transition: all 0.8s ease;
    transition: all 0.8s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    -webkit-box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
  }


.card__side--front {
    background-color: #0a1128;
    border-radius: var(--radius);
}

  
.card__side--back {
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: linear-gradient(45deg, hsla(236, 100%, 8%, 1) 0%, hsla(211, 100%, 28%, 1) 100%);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-border-radius: var(--radius);
    -moz-border-radius: var(--radius);
    -ms-border-radius: var(--radius);
    -o-border-radius: var(--radius);
}  

.card:hover .card__side--front {
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}

.card:hover .card__side--back {
  -webkit-transform: rotateY(0);
          transform: rotateY(0);
}

.card_img img {
    height: 13rem;
    object-fit: cover;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.card__Title {
    padding: 1rem 1.5rem;
}

.card__Title h4{
    color: var(--clr-primary-5);
    margin-bottom: 1rem;
}

.card__footer {
    padding: 1rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.card__footer img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.card__footer span {

    justify-self: end;
    color: var(--clr-primary-5);

}

/* Cards End */




/* Footer Start */

.Footer_Section {
    background-color: #001524;
    padding: 2rem 0;
}

.Footer_Container {
    display: grid;
    place-items: center;
}

.Footer_Container ul {
    margin-bottom: 2rem;
    gap: 3rem;
}

.Footer_Container p {
    margin-bottom: 0;
    font-size: 15px;
}

.Footer_Container ul li:nth-child(1) a:hover {
    color: #0866FF;
}

.Footer_Container ul li:nth-child(2) a:hover {
    color: #0077B5;
}

.Footer_Container ul li:nth-child(3) a:hover {
    color: #24A1DE;
}


.Footer_Container ul li:nth-child(4) a:hover {
    color: #25D366;
}


.Footer_Container ul li:nth-child(5) a:hover {
    color: #C13584;
}
/* Footer End */

