* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #111;
  justify-content: center; 
  
}
    
/* Page 1 - Heading */
.heading-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;          
  min-height: 100vh;          
  padding: 0 50px;
  display: flex;    
  align-items: center;       
  text-align: left;
}

.heading-container h1 {
  max-width: 700px;   
  margin: 0 auto;
  font-size: 82px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -1px;
}

.logo-container {
  position: absolute;
  top: 40px;
  left: 50px;
  z-index: 10;
}

.logo-container p {
  font-size: 18px;
  font-weight: 500;
  color: #111;
}

.heading-container strong {
    font-weight: 600;
}

/* Page 2 - Paragraph */
.paragraph-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;             /* horizontal center for whole section */
  min-height: 100vh;          /* full screen section */
  padding: 0 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;    /* ⬅️ align all children to left */
  text-align: left;
  
}

.paragraph-container strong {
  max-width: 900px;
  margin: 0 auto;          /* left align, remove auto */
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
}


.paragraph-container p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  
}

.paragraph-container span{
    font-weight: 600;
}



/* Page 3 - Cards (Updated) */
.cards-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;             /* horizontal center */
  min-height: 100vh;
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;                  /* space between cards */
  flex-wrap: wrap;            /* wrap on small screens */
}

.card {
  flex: 1 1 280px;            /* Responsive card sizing */
  max-width: 320px;
  background: #f4f4f4;           /* White background for the card */
  border: 1px solid #eee;     /* Lighter border */
  border-radius: 16px;        /* Rounded corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;           /* Keeps content within the rounded corners */
  text-align: left;           /* Align text to the left */
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.01);
}

/* New styles for card content */
.card-image-wrapper {
  background-color: #ffffff; /* Light background for the image area */
  padding: 0 10px; 
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;           /* Ensures the zoomed image is masked */
  height: 280px;              /* Sets a fixed, shorter height for the section */
}


.card-image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.card-text-content {
  padding: 25px;
}

.card-heading {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  line-height: 1;
  margin: 0;
}

.card-subheading {
  font-size: 22px;
  font-weight: 500;
  color: #111;
  margin-top: 1px;
  margin-bottom: 18px;
}

.card-description {
  font-size: 16px;
  font-weight: 400;
  color: #666;
  line-height: 1.4;
}

.card-heading-future-work {
  font-size: 48px;
  font-weight: 700;
  color: #666;
  line-height: 1;
  margin: 0;
}

.card-subheading-future-work {
  font-size: 22px;
  font-weight: 500;
  color: #666;
  margin-top: 1px;
  margin-bottom: 18px;
}

/* Page 4 - Cards 2x2 Layout */
.cards-container-2x2 {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px; /* This sets both row and column gap */
  flex-wrap: wrap;
  margin-bottom: 150px; /* Added empty space */
}

/* "Future Works" Card Styling */
.card-future {
  opacity: 0.6;
  filter: grayscale(90%);
}

.card-future:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  cursor: not-allowed;
}

.card-wrapper {
  position: relative;
}

.badge {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #f8efb1;
  color: #070707;
  padding: 6px 12px;
  border-radius: 0px 20px 6px 6px; 
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

/* Link styling for clickable cards */
.card-link {
  text-decoration: none;
  color: inherit;
}


/* Responsive tweaks */

@media (max-width: 1024px) {

    .heading-container h1 {
    max-width: 600px;
    font-size: 72px;    
  }
  .paragraph-container p {
    max-width: 600px;
    font-size: 28px;
  }
}


@media (max-width: 820px) {
  .heading-container h1 {
    max-width: 600px;
    font-size: 62px;
    
  }
  
  .paragraph-container p {
    max-width: 600px;
    font-size: 24px;
  }
  
  .cards-grid-container {
    grid-template-columns: 1fr; /* single column on mobile */
    height: auto;
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .heading-container {
      padding: 0 30px;
      /* Change flex layout to stack items vertically */
      flex-direction: column;
      justify-content: center;
      align-items: flex-start; /* Aligns items to the left */
  }

  .heading-container h1 {
    font-size: 52px;
    margin: 0 0 40px 0; /* Remove auto margin and add space below */
  }

  .logo-container {
      /* Return logo to normal document flow */
      left: 30px;
  }

  .paragraph-container {
    padding: 0 30px;
    margin-bottom: 200px;
  }
  .paragraph-container p {
    font-size: 20px;
  }
  .cards-container {
    padding: 0 30px;
  }
  .cards-container-2x2 {
    padding: 0 30px;
    margin-bottom: 150px; /* Added empty space */
  }

  .cards-grid-container {
    grid-template-columns: 1fr; /* single column on mobile */
    height: auto;
    padding: 40px 20px;
  }
}