/* === GENERAL STYLING === */
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    margin: 0;
    background-color: #f5f7fa; /* Light background */
    color: #222;
    line-height: 1.6;
}

h1, h2, h3 {
    margin-bottom: 10px;
    font-weight: bold;
}

h2 {
    color: #2c3e50; /* Deep navy blue */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* === HEADER === */
header {
    background: linear-gradient(90deg, #1b263b, #2a9d8f);
    color: white;
    padding: 15px 0;
    text-align: center;
}

/* === NAVBAR === */
nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #f4f4f4;
    padding: 10px 0;
}

nav a {
    color: #2a9d8f;
    text-decoration: none;
    margin: 5px 15px;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #f4a261;
}

/* === ABOUT IMAGE === */
.about-img {
    display: block;
    margin: auto;
    border-radius: 8px; /* Rectangular image with rounded corners */
    width: 300px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* === PROJECT CARDS === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #2a9d8f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.project-card a:hover {
    background: #21867a;
}

/* .project-card {
    perspective: 1000px;
  }
  
  .project-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }
  
  .project-card:hover .project-inner {
    transform: rotateY(180deg);
  }
  
  .project-front, .project-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }
  
  .project-back {
    transform: rotateY(180deg);
  } */
  
/* === SOCIAL MEDIA ICONS === */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a[title="Google Scholar"] {
    color: #4285F4; /* Google blue */
}

.social-links a[title="YouTube"] {
    color: #FF0000; /* YouTube red */
} 

.social-links a[title="GitHub"] {
    color: #000000; /* GitHub black */
}

.social-links a[title="LinkedIn"] {
    color: #0A66C2; /* LinkedIn blue */
}

.social-links a {
    font-size: 1.5rem;
    color: #2a9d8f;
    transition: color 0.3s;
}



.social-links a:hover {
    color: #f4a261;
}

/* === RESPONSIVENESS === */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
}
