@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;700&display=swap');



body {
    
    font-family: "DM Sans", sans-serif;
    margin: 0;
    padding: 0;
 
    background-size: cover;
    color: #333;
}

header {
    background-color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* General styles for the nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo a {
    color: #0056b3;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-list li {
    display: inline;
}

.nav-list a {
    color: #0056b3;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Hover effect */
.nav-list a:hover {
    background-color: #005ffe;
    color: white;
    border-radius: 4px;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
    .toggle {
        display: block;
        color: #0056b3;
    }

    .nav-list {
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #ffffff;
        color: #0056bb;
        width: 100%;
        flex-direction: column;
        display: none;
        z-index: 1000; /* Ensure it stays on top */
    }
    .nav-list li:hover{
        background-color: #0056b3;
        color: white;
    }
    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        text-align: center;
        padding: 10px 0;
    }

    /* Adjust about section to avoid overlap */
    #about {
        padding-top: 60px; /* Space for fixed nav */
    }
}

/*FOOTER*/

footer {
    background: #16222A;
    background: -webkit-linear-gradient(59deg, #3A6073, #16222A);
    background: linear-gradient(59deg, #3A6073, #16222A);
    color: white;
    margin-top:100px;
    align-items: center;
    
  }
  .container1{
    display: block;
    width: 100%;
    margin: 10vh;
    padding: 10vh;
  }
  .row1{
    width: 100%;
    max-width: 100%;
    display: flex;
  }
  
  footer a {
    color: #fff;
    font-size: 14px;
    transition-duration: 0.2s;
  }
  
  footer a:hover {
    color: #FA944B;
    text-decoration: none;
  }
  
  .copy {
    font-size: 12px;
    padding: 10px;
    border-top: 1px solid #FFFFFF;
  }
  
  .footer-middle {
    padding-top: 2em;
    color: white;
  }
  
  
  /*SOCİAL İCONS*/
  
  /* footer social icons */
  
 

.footer{
	background: #0d1117;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
	width: 100%;
	text-align: left;
	font: bold 16px sans-serif;
	padding: 55px 50px;
  color:#fff!important;
}

.footer .footer-left,
.footer .footer-center,
.footer .footer-right{
	display: inline-block;
	vertical-align: top;
}

/* Footer left */

.footer .footer-left{
	width: 40%;
}


.footer h3{
	color:  #ffffff;
	font: normal 36px 'Open Sans', cursive;
	margin: 0;
}

.footer h3 span{
	color:  teal;
}

/* Footer links */

.footer .footer-links {
    color: #ffffff;
    margin: 20px 0 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer .footer-links a {
    display: block;
    line-height: 1.8;
    font-weight: 400;
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease-in-out;
}

.footer .footer-links a:hover {
    color: #ffffff;
}

.footer .footer-name{
  color: #ffffff;
	font-size: 14px;
	font-weight: normal;
	margin: 0;
}

/* Footer Center */

.footer .footer-center{
	width: 35%;
}

.footer .footer-center i{
	background-color:  #33383b;
	color: #ffffff;
	font-size: 25px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	text-align: center;
	line-height: 42px;
	margin: 10px 15px;
	vertical-align: middle;
}

.footer .footer-center i.fa-envelope{
	font-size: 17px;
	line-height: 38px;
}

.footer .footer-center p{
	display: inline-block;
	color: #ffffff;
  font-weight:400;
	vertical-align: middle;
	margin:0;
}

.footer .footer-center p span{
	display:block;
	font-weight: normal;
	font-size:14px;
	line-height:2;
}

.footer .footer-center p a{
	color:  #ffffff;
	text-decoration: none;;
}
.footer .footer-links  {
    font-weight:300;
    font-size: 20px;
    left: 0;
    color: #ffffff;
    display: inline-block;
    padding-right: 15px;
  
  }
  
.footer .footer-links a {
  font-weight:300;
  font-size: 20px;
  left: 0;
  color: #ffffff;
  display: inline-block;
  padding-right: 15px;

}



/* Footer Right */

.footer .footer-right{
	width: 20%;
}

.footer .footer-about{
	line-height: 20px;
	color:  #92999f;
	font-size: 13px;
	font-weight: normal;
	margin: 0;
}

.footer .footer-about span{
	display: block;
	color:  #ffffff;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 20px;
}

.footer .footer-socials{
	margin-top: 25px;
}

.footer .footer-socials a{
	display: inline-block;
	font-size: 35px;
	cursor: pointer;
	color: #ffffff;
	text-align: center;
	line-height: 35px;
	margin-right: 5px;
	margin-bottom: 5px;
}

.footer .logo {
    max-width: 100px;
    height: 50px;
    width: 50px;
    border-radius: 50%; 
    margin-bottom: 15px;
}
.footer .copyright {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 0;
}

@media (max-width: 800px) {

	.footer{
		font: bold 14px sans-serif;
	}

	.footer .footer-left,
	.footer .footer-center,
	.footer .footer-right{
		display: block;
		width: 100%;
		margin-bottom: 40px;
		text-align: center;
	}

	.footer .footer-center i{
		margin-left: 0;
	}

}


/* General Styles */

#expertise {
    padding: 50px 20px;
    text-align: center;
    background-color: #f4f4f9;
}

#expertise h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.expertise-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    overflow: hidden;
    margin: 10px;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #444;
}

.card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .expertise-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
    }
}


/* Blog Card Styling */
.blog-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card a{
    text-decoration: none;
    color: black;
}
.blog-card .read-more{
    color: blue;
}
/* Hover Effect */
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Blog Content */
.blog-content {
    flex: 1;
    padding-right: 20px;
}

.blog-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.blog-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* Read More Link */
.read-more {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

/* Blog Image */
.blog-image img {
    width: 220px;
    height: 140px;
    border-radius: 10px;
    object-fit: cover;
}


@media (max-width: 768px) {
    .blog-card {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-content {
        padding-right: 0;
        padding-bottom: 15px;
    }
    
    .blog-image img {
        width: 100%;
        height: auto;
    }
}

#about-section {
    padding: 50px 5%;
  }
.skills {
    flex: 0.3;
    font-family: 'arial narrow';
  }
  
  .skill h3 {
    margin-bottom: 10px;
    font-family: 'Arial Narrow';
    font-size: 3lvh;
    font-style: normal;
    
  }
  
  
  .progress-bar {
    background-color: #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    height: 6px;
  }
  
  .progress {
    height: 10px;
    width: 0;
    background-color: #007bff;
    transition: width 1s ease-in-out;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      text-align: center;
    }
  
    .about-me {
      max-width: 100%;
    }
  
    .skills {
      width: 100%;
    }
    .skill h3 {
    margin-bottom: 10px;
    font-family: 'Arial Narrow';
    font-size: 4lvh;
    font-style: normal;
    font-weight: 0;
  }
  
  
  .progress-bar {
    background-color: #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    height: 6px;
  }
  
  .progress {
    height: 10px;
    width: 0;
    background-color: #007bff;
    transition: width 1s ease-in-out;
  }
  }

  .hashtags {
    margin-top: 10px;
    font-size: 14px;
}
.hashtags a {
    text-decoration: none;
    color: #007bff;
    margin-right: 10px;
}
.hashtags a:hover {
    text-decoration: underline;
}

.blog img {
    width: 100%; /* Makes image responsive */
    height: auto; /* Maintains aspect ratio */
    max-width: 800px; /* Prevents images from being too large */
    display: block; /* Avoids extra space below images */
    margin: 20px auto; /* Centers the image */
    border-radius: 8px; /* Optional: Rounded corners for a professional look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Dark Mode Image Adjustments */
.dark-mode .blog img {
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1); /* Softer shadow in dark mode */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog img {
        max-width: 100%; /* Allows image to scale down on smaller screens */
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .blog img {
        border-radius: 4px;
    }
}
#read-mor{
    text-decoration: none;
}

.cform-container {
    max-width: 400px;
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.cform-container input, .cform-container textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.cform-container button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
}
.cform-container button:hover {
    background: #0056b3;
}

table {
    width: 60%;
    border-collapse: collapse;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 15px;
    text-align: center;
}
th {
    background-color: #007BFF;
    color: white;
    text-transform: uppercase;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
td {
    border-bottom: 1px solid #ddd;
}