@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  	font-family: 'Poppins', sans-serif;
}
body
{
	overflow-x: hidden;
    background-color: white;
}
header 
{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;   /* stack vertically */
    justify-content: center;
    align-items: center;      /* center horizontally */
    text-align: center;
    z-index: 10000;
	background-color: black;
}

header .title
{
	position: relative;
	text-align: center;
	font-size: 28px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 700;
	opacity: 0;
	animation: slideLeft 0.5s ease-in-out forwards;
}

.navigation
{
	display: flex;
    gap: 25px;      /* cleaner spacing */
    margin-top: 10px;
}

.navigation li
{
	list-style: none;
}
.navigation li a
{
	text-decoration: none;
	font-size: 16px;
	margin-right: 0px;
	font-weight: 600;
	display: inline-block;
	opacity: 1;
	text-transform: uppercase;
}


.container1{
	width: 80%;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    height: 300px;
    display: flex;
    align-items: center;        /* vertical alignment */
    justify-content: space-between;
    padding: 30px;
	border: 3px solid white;
	box-shadow: 0 5px 20px rgba(0,0,0,1);
	background: linear-gradient(90deg,#03a9f4, #4666FF, #ffffff, #03a9f4);
	background-size: 400%;
    border-radius: 30px;
	animation: animate 10s linear infinite;
}

.container1 .hometext {
    width: 55%;
    color: #ffffff;
}

.container1 .hometext p{
	font-size: clamp(40px, 5vw, 100px);
    font-weight: 600;
    text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 2px 2px 6px rgba(0,0,0,0.6), 0 0 15px rgba(255,255,255,0.4);
}

.container1 .image-box {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
}

.container1 .image-box img {
    width: clamp(150px, 25vw, 350px);
    height: auto;
    border-radius: 15px;
	box-shadow: 6px 6px 20px rgba(0,0,0,0.7), 0 0 25px rgba(255,255,255,0.2);
}

		
@keyframes animate{
0%{background-position: 0%;}
100%{background-position: 400%;}}


.container2{
	width: 80%;
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 equal columns */
    gap: 30px;
    padding: 30px;
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: 30px;
	box-shadow: 0 5px 20px rgba(0,0,0,1);
	
}

.tile1 {
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    color: white;
    text-align: center;
    transition: 0.3s ease;
}

.tile1 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-tile{
  overflow: hidden;
  border-radius: 20px;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: 0.35s ease;
}

/* image */
.blog-tile .blog-image img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: 0.35s ease;
}

/* content area (title always visible) */
.blog-tile .blog-content{
  padding: 14px 16px;
}

/* details hidden by default */
.blog-tile .blog-content p{
  margin-top: 10px;
  font-size: 14px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: 0.35s ease;
}

/* hover reveal */
.blog-tile:hover .blog-content p{
  opacity: 1;
  max-height: 80px; /* adjust for more/less lines */
}

/* optional image zoom */
.blog-tile:hover .blog-image img{
  transform: scale(1.05);
}

.container3 {
    width: 80%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 60px 40px;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.15);
    text-align: center;
	backdrop-filter: blur(10px);
    background: linear-gradient(135deg, #111, #1c1c1c);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.quote {
    font-size: clamp(10px, 3vw, 20px);
    font-weight: 500;
    color: white;
    line-height: 1.5;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.author {
    display: block;
    margin-top: 20px;
    font-size: 18px;
    color: rgba(255,255,255,0.7);
}

.footer {
    margin-top: 80px;
    background: #111;
    color: white;
    padding: 50px 0 0 0;
}

.footer-container {
    width: 80%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-section h2,
.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    transition: 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

img{ max-width: 100%; height: auto; }

a:focus-visible, button:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@keyframes slideLeft
{
	0%
	{
		transform: translateX(-150px);
		opacity: 0;
	}
	100%
	{
		transform: translateX(0px);
		opacity: 1;
	}
}

@media (max-width: 900px) {
    .container2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px){
  .container2{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px){
  .container2{ grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px){
  .container1{
    flex-direction: column;
    height: auto;
    gap: 20px;
    text-align: center;
  }
  .container1 .hometext{
    width: 100%;
  }
}