@font-face {
    font-family: 'Dancing Script';
    src: url('./DancingScript.woff2') format('woff2');
}

@font-face {
    font-family: 'Dancing Script';
    src: url('./DancingScript.woff2') format('woff2');
}


@font-face {
    font-family: 'Space Grotesk';
    src: url('./SpaceGrotesk-Bold.woff') format('woff');
    font-weight: 700;
    /* Bold */
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('./SpaceGrotesk-Medium.woff') format('woff');
    font-weight: 500;
    /* Medium */
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('./SpaceGrotesk-Regular.woff') format('woff');
    font-weight: 400;
    /* Regular */
}


:root {
    --font-family: "Space Grotesk", serif;
    --text-color: #c3cad5;
    --body-bg: rgb(27, 31, 36);
    --primary-color: rgb(7, 95, 228);
}

*,
:after,
:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    border: none;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 1.667em;
    height: 100%;
    width: 100%;
    background-color: var(--body-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-synthesis: none;
    color: white;   /*var(--text-color);*/
    display: grid;
    grid-template-rows: auto 1fr auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    font-weight: 400;
}

button:focus:not(:focus-visible) {
    outline: 0;
    box-shadow: none;
}

.navbar-toggler {
    box-shadow: none;
    border: 0;
}

.navbar-toggler-icon {
    width: 1.85em;
    height: 1.85em;
}



.nav-link:focus,
.nav-link:hover {
    color: var(--primary-color);
}


.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 30 30' fill='white'><path stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' width='22' height='22' fill='white'><path stroke='white' stroke-width='2' d='M6 6l18 18M6 24L24 6'/></svg>");
}

.navbar {
    animation: fadeIn .5s ease-in;
}

.naming_Section {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(50deg, rgb(0 102 255), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Dancing Script", serif;
}

.naming_Title {
   font-size: 4rem;
   font-weight: bold;
   color:white;
   font-family: "Dancing Script", serif;
}
.nav-link {
    font-size: 1.25rem;
    font-weight: 400;
    color: #FFF;
    position: relative;
}

.navbar-nav .nav-link.active {
    color: #FFF;
}

.info-line {
   max-width: 478px;
   min-height: 8px;
   margin-bottom: 25px;
   background-color: rgb(0 102 255);
}

.info-text_section>h1 {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.132em;
    letter-spacing: 1px;
}




.profile-photo {
    position: relative;
    width: min(100% - 5rem);
    height: 100%;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 12px -12px 0 var(--primary-color);
}


.home_Blog--List {
    background-color: #2d343f66;
    width: 100%;
    margin-top: 7rem;
    padding: 1rem;
}

.section_Heading {
    color: #FFF;
    font-size: 3.25rem;
    font-weight: 700;
    text-transform: capitalize;
}

.blogs_list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin: 0;
    padding: 0;
}

.blogs_list li {
    list-style: none;
}

.blogs_list li a {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding-bottom: .8rem;
    border-bottom: 3px solid #5d6c83;
    cursor: pointer;
    transition: all .5s ease;
}

.blogs_list li:hover {
    border-color: #FFF;
}

.blogs_list li h4 {
    font-size: 1.725rem;
    color: #FFF;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin-bottom: .455rem;
}

.blogs_list li p {
    font-size: 1.185rem;
    font-weight: 500;
}

.red-more_Btn>svg {
    color: #5d6c83;
    width: 70px;
    height: 70px;
    transition: all .6s ease;
}

.blogs_list li:hover .red-more_Btn>svg {
    color: #FFF;
}



#blog_List {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(26ch, 1fr));
    gap: 5rem;
}

#blog_List>li {
    list-style: none;
    height: 100%;
}


a.blog--card {
    background-color: #2d343f;
    border-radius: 28px;
    list-style: none;
    color: #FFF;
    text-decoration: none;
    opacity: 1;
    overflow: hidden;
    height: 100%;
    transition: all .55s ease;
}

a.blog--card:hover {
    box-shadow: 3px 3px 0px 0px #FFF;
}

.blog_list-img--block {
    background-color: #5d6c83;
    display: grid;
    place-items: center;
    /* padding: 40px 34px; */
    height: 146px;
}

.blog_list-img--block * {
    height: 100%;
    margin: 0;
}



.blog_list-content {
    padding: 40px 34px 68px;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.blog_list-content>h4 {
    margin: 0;
    font-size: 1.325rem;
    font-weight: 700;
    text-transform: capitalize;
}

.blog_list-content>p {
    margin: 0;
    font-size: .9485rem;
    font-weight: 400;
    color: #c3cad5;
}


.footer_section {
    padding: 1rem;
    display: grid;
    place-items: center;
}

.footer_section p {
    margin: 0;
    font-size: 1rem;
}

[data-animation='fade-up'],
.blog-content>* {
    transform: translateY(10%);
    opacity: 0;
}

.blog-content figure {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.blog-content figure img {
    height: 100%;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.blog-content h1 {
    font-size: 2.75rem;
    letter-spacing: 2px;
    text-transform: capitalize;
}

:is(.blog-content) :is(p, li) {
    font-size: 1.1rem;
    color: #c3cad5;

}

.sub_li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
    margin: .5rem;
}

.sub_li::before {
    content: "\00BB";
    font-size: 1.65rem;
    position: absolute;
    left: 0;
    top: 0;
    font-family: none;
}

.contact-content h1 {
    font-size: 3rem;
    color: #FFF;
    font-weight: bold;
}

.contact-Form{
    width: min(100% - 1rem, 50ch);
    padding: 4rem 3rem;
    margin: 0 auto;
    background-color: #2d343f;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-control{
    background: transparent;
    box-shadow: none;
    border: none;
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: normal;
    border-bottom: 2px solid ;
    border-radius: 0;
    padding-left:0 ;
    padding-bottom: .7rem;
}

.form-control:focus-within{
    color: #FFFF;
    background: transparent;
    box-shadow: none;
    border-color: #FFF;
}

.form-control::placeholder{
    color: var(--text-color);
    font-weight: bold;
}

.text-area {
    resize: none;
    min-height: 128px;
}

.send-btn{
    margin: 0 auto;
    background: transparent;
    border: 2px solid #FFFF;
    color: #FFF;
    font-weight: normal;
    text-transform: uppercase;
    margin-top: 3rem;
    border-radius: 0;
    letter-spacing: 1px;
    padding: 10px 30px;
    font: 2rem;
}

:is(.send-btn):is(:focus,:hover) {
    background:#FFF;
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    body {
        font-size: 18px;
    }

    .naming_Title {
        font-size: 3rem;
    }
    
    .navbar-collapse {
        background: rgb(45, 52, 63);
        padding: .55rem 1rem;
        border-radius: 1rem;
        margin-top: 1rem;
    }

    .profile-photo {
        width: 25rem;
    }

    .info-text_section>h1 {
        font-size: 2.65rem;
    }

    .section_Heading {
        font-size: 2.65rem;
    }


}


@media (max-width: 640px) {

    .profile-photo {
        width: min(100% - 6rem);
    }

    .info-text_section>h1 {
        font-size: 2.25rem;
    }

    .section_Heading {
        font-size: 2.25rem;
    }

}

/* Styling for the email link */
.email-link {
   color: #007bff; /* Blue color */
   text-decoration: none; /* Remove underline */
}

   /* Hover effect for the email link */
   .email-link:hover {
      text-decoration: underline; /* Underline on hover */
   }

/* Styling for the "Looking forward to connecting!" text */
.highlight-text {
   font-size: 2.0rem; /* Increase font size */
   font-weight: bold; /* Optionally, make it bold */
   color: white; /* Optional: Adjust text color */
}

.justify-center-text {
   text-align: justify;
   text-align-last:initial; /* Ensures the last line is also justified */
   display: block; /* Makes sure the text stretches across its container */
   margin: 0 auto; /* Center the block of text */
   max-width: 800px; /* Optional: restricts the text width */
   width: 100%;
}
