*{margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
}

body {background-color: #fbfaf2;}

body.home {
  background: #161616;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}


/* Anchor base style */
/* LINKS CONTAINER */
.links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px; /* base gap */
}

/* ANCHOR FONT (THIS WAS EARLIER – NOT REMOVED) */
.links a {
  font-family: "Courier New", Courier, monospace; /* font change */
  color: #b0b0b0;
  text-decoration: none;
  letter-spacing: 1.2px;
  transition: color 0.3s ease;
}

/*  DESKTOP */
@media (min-width: 1200px) {
  .links a {
    font-size: 20px;
  }

  .links {
    gap: 60px;
  }
}

/* TABLET */
@media (max-width: 1024px) {
  .links a {
    font-size: 18px;
  }

  .links {
    gap: 38px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .links {
    flex-direction: column;
    gap: 28px;
  }

  .links a {
    font-size: 16px;
  }
}

/* HOVER */
.links a:hover {
  color: #ffffff;
}



/* 1. Default Styles (Mobile/Phone - width < 600px) */
.pageresume{
    /* Margins for Phones: 10px on top/bottom, 15px on left/right */
    margin: 10px 10px; 
}

/* 2. Styles for iPads/Tablets (width >= 600px) */
@media screen and (min-width: 600px) {
    .pageresume {
        /* Margins for Tablets: 20px on top/bottom, 50px on left/right */
        margin: 15px 25px; 
    }
}

/* 3. Styles for Desktops (width >= 1024px) */
@media screen and (min-width: 1024px) {
    .pageresume {
        /* Margins for Desktops: 30px on top/bottom, 200px on left/right */
        margin: 20px 50px; 
    }
}



h4{
  /* Default font size for small screens (e.g., mobile) */
  font-size: 14px; 
}

/* For screens wider than 600px (e.g., tablets, small laptops) */
@media (min-width: 600px) {
h4 {
    font-size: 14px;
  }
}

/* For screens wider than 992px (e.g., desktops) */
@media (min-width: 992px) {
  h4{
    font-size: 16px;
  }
}

/* For screens wider than 1200px (e.g., large desktops) */
@media (min-width: 1200px) {
 h4 {
    font-size: 18px;
  }
}




/* CONTACT PAGE BASE */
body.logopage {
  background: #fbfaf2;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  /* SAME BASE FONT AS HOME PAGE */
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* MAIN WRAPPER */
.contact-page {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

/* LOGO */
.logo img {
  width: 160px;
  height: auto;
}

/* CONTACT TEXT */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info a {
  /* SAME FONT AS HOME PAGE BUTTONS */
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  letter-spacing: 1px; /* slightly reduced for sans-serif */
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #333; /* subtle hover, not white on light bg */
}

/* 💻 TABLET */
@media (max-width: 1024px) {
  .contact-page {
    gap: 60px;
  }

  .logo img {
    width: 150px;
  }

  .contact-info a {
    font-size: 13px;
  }
}

/* 📱 PHONE */
@media (max-width: 600px) {
  .contact-page {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }

  .logo img {
    width: 100px;
  }

  .contact-info a {
    font-size: 12px;
  }
}









.allproject{padding: 0 10px;}

.projectdetail{
    padding-top: 30px;
    gap: 30px;
    display: flex;
    flex-wrap: wrap;
}

h2{font-weight: 600;}
h3{font-weight: 200;}

.projectdetail img{width: 100%;
    max-width: 700px;
}

.mainprojecttext{
  flex: 1;}

.h2{
  /* Default font size for small screens (e.g., mobile) */
  font-size: 18px; 
}

/* For screens wider than 600px (e.g., tablets, small laptops) */
@media (min-width: 600px) {
  .h2 {
    font-size: 18px;
  }
}

/* For screens wider than 992px (e.g., desktops) */
@media (min-width: 992px) {
  .h2 {
    font-size: 22px;
  }
}

/* For screens wider than 1200px (e.g., large desktops) */
@media (min-width: 1200px) {
  .h2{
    font-size: 28px; 
  }
}



h3{
  /* Default font size for small screens (e.g., mobile) */
  font-size: 14px; 
}

/* For screens wider than 600px (e.g., tablets, small laptops) */
@media (min-width: 600px) {
h3 {
    font-size: 14px;
  }
}

/* For screens wider than 992px (e.g., desktops) */
@media (min-width: 992px) {
  h3 {
    font-size: 16px;
  }
}

/* For screens wider than 1200px (e.g., large desktops) */
@media (min-width: 1200px) {
  h3 {
    font-size: 18px;
  }
}


.mainprojecttext a {color: white;
background-color: black;
text-decoration: none;
font-weight: 100;
padding: 7px 15px 7px 15px;
border-radius: 20px;
font-size: 14px;
}

.trainmain{
margin-top: 20px;
}


/* 1. Default Styles (Mobile/Phone - width < 600px) */
.trainmain{
    /* Margins for Phones: 10px on top/bottom, 15px on left/right */
    margin: 10px 10px; 
}

/* 2. Styles for iPads/Tablets (width >= 600px) */
@media screen and (min-width: 600px) {
    .trainmain {
        /* Margins for Tablets: 20px on top/bottom, 50px on left/right */
        margin: 20px 50px; 
    }
}

/* 3. Styles for Desktops (width >= 1024px) */
@media screen and (min-width: 1024px) {
    .trainmain {
        /* Margins for Desktops: 30px on top/bottom, 200px on left/right */
        margin: 30px 100px; 
    }
}

.firstimage img{width: 100%;}




body.work {
  margin: 0;
  background: #ffffff;
  color: #111;
  font-family: "Courier New", Courier, monospace;
}

/* PAGE */
.work-page {
  max-width: 1200px;
  margin: auto;
  padding: 80px 24px;
}

/* SECTION */
.work-section {
  margin-bottom: 100px;
}

.work-section h2 {
  font-size: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.work-section hr {
  border: none;
  height: 1px;
  background: #ccc;
  margin-bottom: 40px;
}

/* GRID */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.work-grid img {
  width: 100%;
  display: block;
  cursor: pointer;
  border: 1px solid #bbb;
  transition: border-color 0.3s ease;
}

.work-grid img:hover {
  border-color: #000;
}

/* TABLET */
@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* PHONE */
@media (max-width: 600px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-section h2 {
    font-size: 14px;
  }
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox img {
  max-width: 80vw;
  max-height: 80vh;
  border: 2px solid #ffffff;
}

#lightbox-caption {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #e0e0e0;
  text-align: center;
}

/* CLOSE */
.close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 24px;
  color: #ffffff;
  cursor: pointer;
}

/* PHONE LIGHTBOX */
@media (max-width: 600px) {
  .close {
    top: 20px;
    right: 20px;
    font-size: 20px;
  }
}










/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY WITH BACKGROUND IMAGE */
body.home {
  min-height: 100vh;
  background-image:
    linear-gradient(
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.55)
    ),
    url("Images/Md Table.21.jpg"); /* 👈 YOUR IMAGE */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #ffffff;
  font-family: "Helvetica Neue", Arial, sans-serif;

  display: flex;
  flex-direction: column;
}

/* HERO SECTION */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
}

/* NAME */
.hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

/* ROLE */
.hero h2 {
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #e0e0e0;
  margin-bottom: 22px;
}

/* DESCRIPTION */
.hero p {
  max-width: 560px;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 36px;
}

/* ACTION BUTTONS */
.actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* BUTTON STYLE */
.actions a {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: 1px;

  color: #ffffff;
  text-decoration: none;

  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 14px; /* 👈 MORE RADIUS */

  transition: border-color 0.3s ease, transform 0.3s ease;
}

/* HOVER (SUBTLE) */
.actions a:hover {
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  padding: 16px 12px;
}

/* MOBILE */
@media (max-width: 600px) {
  .hero {
    padding: 40px 20px 24px;
  }

  .actions {
    flex-direction: column;
    gap: 14px;
  }

  .footer {
    padding-bottom: 20px;
  }
}









