/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Lora:wght@400;500&family=Inter:wght@500;600&display=swap');

:root {
  --bg: #F8F6F2;
  --primary: #1E2A38;
  --accent: #C6A75E;
  --cta: #0F3D3E;
  --text: #2C2C2C;
  --fonts: #fffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 90%;
  margin: auto;
  padding: 15px 0;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--fonts);
  margin-bottom: 20px;
}

/* HEADER */
header {
  background: white;
  padding: 15px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  margin: 10px 15px;
  text-decoration: none;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.nav .cta-btn {
  background: var(--cta);
  color: white;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}

.nav .cta-btn:hover {
  background:#063a7a;
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
}

.hero p {
  font-size: clamp(16px, 3vw, 18px);
  margin-bottom: 25px;
}

/* REMOVE absolute positioning */
.hero-content,
.hero-image {
  width: 100%;
  position: relative;
  padding: 0;
}

/* PROFILE */
.about-profile {
  text-align: center;
}

.profile-img {
  width: 160px;
  max-width: 100%;
  border-radius: 10%;
  border: 5px solid #fff;
  margin-bottom: 20px;
}

/* BUTTON */
.primary-btn {
  background: var(--cta);
  color: white;
  padding: 12px 30px;
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.primary-btn:hover {
  background:#063a7a;
}

/* CARDS */
.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* RESPONSIVE GRID */
.grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* FILTER BUTTONS */
.filter-btns {
  text-align: center;
  margin-bottom: 30px;
}

.filter-btns button {
  margin: 8px;
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  background: var(--primary);
  color: white;
  cursor: pointer;
}

/* FORM */
form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

form button {
  width: 100%;   /* full width on mobile */
  padding: 14px;
  border: none;
  border-radius: 30px;
  background: var(--cta);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

form button:hover {
  background:#063a7a;
}

/* CONTACT */
.contact {
  text-align: center;
}

.contact a {
  display: inline-block;
  margin: 10px;
  padding: 12px 25px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
}

.contact a:hover {
  background:#063a7a;
}

/* LOGOS */
.experience-logos {
  display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px,2fr));
gap: 20px;
margin-top: 30px;
}
.logo-box {
background: #f2f2f2;
padding: 30px;
text-align: center;
border-radius: 12px;
width: 256px;
height: 128px;
background-image: url("image.jpg");
background-size: cover;     /* or contain */
background-position: center;
background-repeat: no-repeat;
}
.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  background: var(--primary);
  color: white;
  margin-top: 60px;
}

/* TABLET */
@media (min-width: 768px) {
  form button {
    width: 50%;
  }
  .hero {
display: flex;
align-items: center;
justify-content: space-between;
text-align: left;
  }

  .banner{
  height: 35vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("bg.jpg");
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:white;
  padding:20px;
}

.banner-content h1{
  font-size: clamp(28px, 4vw, 60px);
  margin-bottom:20px;
  overflow:hidden;
  white-space:nowrap;
  border-right:3px solid white;
  width:0;
  animation: typing 4s steps(30,end) forwards, blink 0.7s infinite;
}

.banner-content p{
  font-size: clamp(16px, 2vw, 22px);
  margin-bottom:30px;
}

.btn{
  display:inline-block;
  padding:12px 30px;
  font-size:16px;
  color:white;
  background:#ff7a18;
  border:none;
  border-radius:30px;
  text-decoration:none;
  transition:0.3s;
}

.btn:hover{
  background:#ffb347;
  transform:scale(1.05);
}

/* Typing Animation */
@keyframes typing{
  from{width:0}
  to{width:100%}
}

@keyframes blink{
  50%{border-color:transparent}
}

/* Responsive */
@media(max-width:768px){
  .banner{
  padding:15px;
  }
}
}

/* DESKTOP HERO SPLIT */
@media (min-width: 992px) {
  .hero {
display: flex;
align-items: center;
justify-content: space-between;
text-align: left;
  }

  .banner{
  height: 82vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("bg.jpg");
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:white;
  padding:20px;
}

.banner-content h1{
  font-size: clamp(28px, 5vw, 60px);
  margin-bottom:20px;
  overflow:hidden;
  white-space:nowrap;
  border-right:3px solid white;
  width:0;
  animation: typing 4s steps(30,end) forwards, blink 0.7s infinite;
}

.banner-content p{
  font-size: clamp(16px, 2vw, 22px);
  margin-bottom:30px;
}

.btn{
  display:inline-block;
  padding:12px 30px;
  font-size:16px;
  color:white;
  background:#ff7a18;
  border:none;
  border-radius:30px;
  text-decoration:none;
  transition:0.3s;
}

.btn:hover{
  background:#ffb347;
  transform:scale(1.05);
}

/* Typing Animation */
@keyframes typing{
  from{width:0}
  to{width:100%}
}

@keyframes blink{
  50%{border-color:transparent}
}

/* Responsive */
@media(max-width:768px){
  .banner{
  padding:15px;
  }
}
}