/* =======================
   GLOBAL STYLES
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: #f1f1f1;
  background: #000; /* Dark theme background */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =======================
   NAVIGATION
======================= */
header {
  background: #000; /* Dark header */
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #222;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
}

.logo .span-col {
  color: #ffcb05; /* Accent yellow */
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #ffcb05;
}

/* =======================
   HERO SECTION
======================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 0;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text .tagline {
  font-size: 1rem;
  color: #ffcb05;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin: 10px 0;
}

.hero-text h1 .span-col {
  color: #ffcb05;
}

.hero-text h2 {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 15px 0;
  color: #ddd;
}

.cta-buttons {
  margin: 20px 0;
}

.btn,
.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  margin-right: 10px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.btn {
  background: #ffcb05;
  color: #000;
}

.btn:hover {
  background: #f1b800;
}

.btn-outline {
  border: 2px solid #ffcb05;
  color: #ffcb05;
}

.btn-outline:hover {
  background: #ffcb05;
  color: #000;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1);
}


/* About Section */
.about-section {
  padding: 60px 10%;
  
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.about-image {
  flex: 1; /* 1 part → 1/3 */
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.about-text {
  flex: 2; /* 2 parts → 2/3 */
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
 color: #ffc107
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: white;
  margin-bottom: 15px;
}

.about-content h2 {
  font-size: 2rem;
  color: #ffc107;
  margin-bottom: 15px;
}

.about-content p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.highlight {
  color: #ffc107;
  font-weight: bold;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.info-grid strong {
  color: #ffc107;
}
.btn-download {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #ffc107;  /* Accent yellow for visibility */
  color: #000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-download:hover {
  background: #e0a800;
}


/* Skills Section */
.skills-section {
  background: #000;
  padding: 60px 0;
  color: #fff;
  text-align: center;
}

.skills-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #ffc107;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.skill p {
  margin-bottom: 8px;
  font-weight: bold;
}

.progress {
  background: #333;
  border-radius: 20px;
  overflow: hidden;
  height: 12px;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ffc107, #ff9800);
  border-radius: 20px;
  animation: grow 2s ease;
}

@keyframes grow {
  from { width: 0; }
}

/***** EXPERIENCE SECTION *****/
.bg-lightgrey {
	background-color: #121212; /* darker clean background */
}

.edu-exp {
	padding: 20px 0;
	width: 100%;
	margin: 1%;
	float: left;
	padding-left: 10px;
}

.experience-list {
	width: 100%;
	float: left;
	padding: 30px 20px;
	background: #1e1e1e; /* subtle dark card */
	margin-bottom: 25px;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-list:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.experience-content {
	width: 100%;
	float: left;
	margin-left: 10px;
	color: #eaeaea; /* text visible on dark bg */
}

.experience-content h2 {
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 22px;
	color: #ffffff;
	letter-spacing: 0.5px;
}

.experience-content h3 {
	color: #ffbf35; /* accent color */
	font-weight: 500;
	margin-bottom: 6px;
	font-size: 18px;
}

.experience-content p {
	font-size: 15px;
	line-height: 1.6;
	color: #cfcfcf;
	margin-bottom: 0;
}
.heading-text {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

/* Single yellow line */
.heading-text::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #ffbf35;
  margin-top: 6px;
}
/* ===== Utility Classes ===== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.width-100 {
  width: 100%;
}

.bg-lightgrey {
  background: #f4f4f4;
}

.heading-text {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: #ccc;
}

/* ===== Contact Section ===== */
.contact {
  padding: 60px 0;
   background-color: black ;
   color: #fff; /* White text */
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  
  transition: border 0.3s ease;
}

.contact form input:focus,
.contact form textarea:focus {
  border: 1px solid #0073e6;
  outline: none;
}

.contact form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact form button {
  padding: 12px;
  border: none;
  background: #0073e6;
  color: #fff;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact form button:hover {
  background: #005bb5;
}

/* ===== Contact Info Boxes ===== */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.contact-info .box {
  background: #fff;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.contact-info .box:hover {
  transform: translateY(-5px);
}

.contact-info .box h3 {
  font-size: 2rem;
  color: #0073e6;
  margin-bottom: 10px;
}

.contact-info .box h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #444;
}

.contact-info .box p {
  font-size: 1rem;
  color: #666;
}

/* ===== Navbar & Footer Placeholder ===== */
#nav-placeholder, 
#footer-placeholder {
  width: 100%;
}
/* Responsive */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .contact-info .box {
    width: 90%;
  }
}

/* =======================
   SOCIAL LINKS
======================= */
.social-links img {
  width: 35px;
  margin: 10px 5px 0 0;
  transition: transform 0.3s;
}

.social-links img:hover {
  transform: scale(1.1);
}

/* =======================
   FOOTER
======================= */
.footer {
  background: #000;
  color: #fff;
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
  border-top: 1px solid #222;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .social-icons {
  margin-bottom: 10px;
}

.footer .social-icons img {
  width: 30px;
  margin: 0 8px;
  transition: transform 0.3s;
}

.footer .social-icons img:hover {
  transform: scale(1.2);
}

.footer p {
  font-size: 0.9rem;
}


/*PROJECT SECTION*/

.h2{
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 10px;
}
.project-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  gap: 20px; /* spacing between cards */
  margin-top: 20px;
}


.project-list {
	padding: 40px;
	margin-top: 35px;
	background: #262626;
	border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	width: 95%;
	float: left;
	height: auto;
}

.project-list img {
	
	color: #ffbf35;
	width: 70px;
	float: left;
}
.project-list a{
	color:plum;
}

.project-list h3 {
	font-size: 30px;
	margin-top: 8px;
	margin-bottom: 15px;
}

.project-list p {
	font-size: 15px;
	line-height: 25px;
}
.project-list i{
	font-size:50px;
    margin-right:5px;
	color: #ffbf35;
	width: 70px;
	float: left;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 768px) {
  nav a {
    margin-left: 10px;
    font-size: 0.9rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1rem;
  }

  .cta-buttons {
    margin-top: 15px;
  }

  .hero-image {
    margin-top: 20px;
  }
}