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

html{
  scroll-behavior: smooth;
}

/* ===================== */
/* 🔧 CONTROL PANEL */
/* ===================== */
@font-face {
  font-family: 'URWForm';
  src: url('font/urw-form-expand-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

:root{

  /* LAYOUT */
  --left-width: 52%;
  --right-width: 48%;

  /* POSITION CONTROL */
  --content-left: 190px;   /* move right/left */
  --content-top: 0px;      /* move up/down */

  /* TITLE */
  --title-size: 45px;
  --title-gap: 25px;

  /* SUBTEXT */
  --subtitle-size: 13px;
  --subtitle-gap: 30px;

  /* BUTTON */
  --btn-width: 250px;
  --btn-height: 52px;

  /* NAV */
  --nav-top: 32px;
  --nav-side: 70px;
}

/* ===================== */









/* =========================
   FRAME (MOVABLE)
========================= */
.profile-pic{
  width:250px;
  height:300px;

  border-radius:20%;
  overflow:hidden;

  position:relative;

  margin:20px auto;

  border:3px solid #eee;

  /* 🎮 FRAME CONTROL */
  transform: translateX(-90px) translateY(60px);
}


/* =========================
   IMAGE (INSIDE CONTROL)
========================= */
.profile-pic img{
  position:absolute;
  top:50%;
  left:50%;

  width:120%;
  height:auto;
  object-fit:cover;

  /* 🎮 IMAGE CONTROL */
  transform: translate(-40%, -40%) translateX(-30px) translateY(15px);

  transition:0.3s ease;
}


*{
  margin:0;
  text-decoration: none;
  color: #000;
  padding:0;
  box-sizing:border-box;
  font-family:'URWForm', sans-serif;
}

body{
  overflow-x: hidden;   /* hides side scroll */
  overflow-y: auto;     /* allows vertical scroll */
}
/* NAVBAR */
.nav{
  position:absolute;
  top:var(--nav-top);
  left:var(--nav-side);
  right:var(--nav-side);

  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:10;
  
}


.nav{
  position:absolute;   /* 🔥 THIS IS THE KEY */
  top:32px;
  left:70px;
  right:70px;

  display:flex;
  justify-content:space-between;
  align-items:center;

  z-index:1000;     /* stays above everything */
}



.menu{
  position:fixed;   /* 🔥 ONLY THIS FLOATS */
  top:32px;
  right:70px;

  z-index:1000;

  padding:10px 24px;
  border-radius:999px;
  border:none;
  cursor:pointer;

  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(10px);
}

.nav-left{
  display:flex;
  align-items:center;
  gap:14px;

}

.nav-left span{
  font-size:15px;

  color:#2f2f2f;
}

/* LOGO */




















      .logo-grid {
  width: 40px;
  height: 40px;
  border: 2px solid #999;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  padding: 6px;
}

.logo-grid div {
  border: 1px solid #999;
  border-radius: 3px;
}

/* Custom layout (to match your image) */
.logo-grid div:nth-child(1) {
  grid-column: span 2;
}
.logo-grid div:nth-child(4) {
  grid-row: span 2;
}
.logo-grid div:nth-child(7) {
  grid-column: span 2;
}

.logo-grid:hover {
  transform: scale(1.05);
  transition: 0.3s;
}













.btn-submit {
  margin-top: 25px;
  padding: 12px 28px;
  border-radius: 50px; /* 🔥 fully rounded */
  border: 1px solid #333;
  background: transparent;
  color: #333;
  font-size: 13px;
  margin-left: 60px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover effect */
.btn-submit:hover {
  background: #333;
  color: #fff;
  transform: translateY(-2px);
}

/* Click effect */
.btn-submit:active {
  transform: scale(0.96);
}






.logo div{
    
  border:0.5px solid #d6d6d6;
}

/* MENU BUTTON */
.menu{
    
  padding:10px 24px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  margin-right: -40px;
  background:rgba(237, 228, 228, 0.6);
}

/* Hide floating menu when overlay is open */
.menu.hide{
  opacity:0;
  pointer-events:none;
}

/* HERO */
.hero{
 display:flex;
  min-height:110vh;
  height:auto;
  
  
}

/* LEFT SIDE */
.left{
  width:52%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;   /* 🔥 ADD THIS */
}

/* CONTENT POSITION FIX */
.content{
    
  margin-left:var(--content-left);
  transform:translateY(var(--content-top));
}

/* TITLE */
.content h1{
  font-size:var(--title-size);
   transform: translateX(0px) translateY(-80px);
  font-weight:300;
  text-align: center;
  line-height:1.1;
  color:#2f2f2f;
  margin-bottom:var(--title-gap);
  margin-top: 160px;
  margin-right: 200px;
}


/* SUBTEXT ********************************************************************** */
.content p{
  
  font-size:var(--subtitle-size);
  color:#6a6a6a;
  margin-bottom:var(--subtitle-gap);
   transform: translateX(15px) translateY(-80px);
  
  margin-left: 110px;
}

/* BUTTON */
.cta{
  width:var(--btn-width);
  height:var(--btn-height);
  border-radius:999px;
  border:1px solid #cfcfcf;
  background:transparent;
  font-size:14px;
  cursor:pointer;
     transform: translateX(20px) translateY(-80px);

    margin-left: 55px;

}

/* RIGHT IMAGE */
.right{
  width:var(--right-width);
  position:relative;
}

.right img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* IMAGE OVERLAY */
.right::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.12);
}











/* ===================== */
/* ABOUT SECTION */
/* ===================== */

.about{
  width:100%;
  padding:140px 20px;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

/* CENTER CONTAINER */
.about-container{
  max-width:800px;
}

/* TITLE */
.about-container h2{
  font-size:64px;
  font-weight:300;
  color:#2f2f2f;
  margin-bottom:40px;
}

/* SUBTITLE */
.about-container h4{
  font-size:18px;
  font-weight:400;
  color:#5a5a5a;
  margin-bottom:25px;
}

/* PARAGRAPH */
.about-container p{
  font-size:16px;
  line-height:1.8;
  color:#555;
  margin-bottom:50px;
}

/* BUTTON */
.about-btn{
  width:200px;
  height:52px;
  border-radius:999px;
  border:1px solid #cfcfcf;
  background:transparent;
  font-size:14px;
  cursor:pointer;
}









/* ===================== */
/* FULL WIDTH IMAGE */
/* ===================== */

.about-image{
  width:100%;
  height: 500px;
  overflow:hidden;
}

.about-image img{
  width:100%;
  height:100%;
  object-fit:cover;       /* makes it fill nicely */
  display:block;
}








/* ===================== */
/* SERVICES SECTION */
/* ===================== */

.services{
  padding:140px 20px;

  display:flex;
  justify-content:center;
  text-align:center;
}

/* CENTER WRAPPER */
.services-container{
  width:100%;
  max-width:1100px;
}

/* TITLE */
.services-container h2{
  font-size:64px;
  font-weight:300;
  color:#2f2f2f;
  margin-bottom:80px;
}

/* GRID */
.services-grid{
  display:flex;
  justify-content:space-between;
  gap:40px;
}

/* EACH SERVICE */
.service{
  flex:1;
}

/* SERVICE TITLE */
.service h3{
  font-size:22px;
  font-weight:400;
  margin-bottom:20px;
  color:#2f2f2f;
}

/* SERVICE TEXT */
.service p{
  font-size:15px;
  line-height:1.8;
  color:#6a6a6a;
}

/* ICON CONTAINER */
.service-icon{
  width:50px;
  height:50px;
  margin:0 auto 20px;

  display:flex;
  align-items:center;
  justify-content:center;
}

/* SVG STYLE */
.service-icon svg{
  width:32px;
  height:32px;

  stroke:#2f2f2f;
  stroke-width:1.5;
  fill:none;

  transition:0.3s ease;
}

/* HOVER EFFECT (SUBTLE) */
.service:hover svg{
  transform:translateY(-5px);
  opacity:0.7;
}








/* ===================== */
/* PORTFOLIO CARDS */
/* ===================== */

.portfolio{
  padding:80px 70px;
  background:#ffffff;
}

/* TITLE */
.portfolio h2{
  font-size:50px;
  font-weight:300;
  color:#2f2f2f;
  margin-bottom:40px;
}

/* GRID */
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:50px;
}

/* CARD */
.card{
  background:#ffffff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 40px rgba(0,0,0,0.08);
  transition:0.4s ease;
}

/* IMAGE */
.card img{
  width:100%;
  height:260px;
  object-fit:cover;
}

/* CONTENT */
.card-content{
  padding:25px;
}

/* TITLE */
.card-content h3{
  font-size:20px;
  margin-bottom:10px;
  color:#2f2f2f;
}

/* TEXT */
.card-content p{
  font-size:14px;
  color:#777;
  line-height:1.6;
}

/* HOVER EFFECT */
.card:hover{
  transform:translateY(-10px);
  box-shadow:0 30px 60px rgba(0,0,0,0.12);
}

/* HEADER ALIGN */
.portfolio-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:30px;
}

/* ===================== */
/* BUTTON CONTROL PANEL */
/* ===================== */

.view-btn{

  /* 🔹 SIZE CONTROLS */
  font-size:14px;          /* TEXT SIZE */
  padding:13px 40px;       /* BUTTON SIZE (height + width) */

  /* 🔹 POSITION CONTROLS */
  position:right;
  top:-23px;                 /* move up (-) / down (+) */
  left:-720px;                /* move right (+) / left (-) */

  /* 🔹 STYLE */
  border-radius:999px;
  border:1px solid #000000;
  color:#000000;
  text-decoration:none;

  transition:0.3s ease;
}

/* HOVER EFFECT (CUTE + PREMIUM) */
.view-btn:hover{
  background:#2f2f2f;
  color:#fff;
  transform:translateY(-2px);
}















/* ===================== */
/* CONTACT SECTION */
/* ===================== */

.contact{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}

/* BACKGROUND IMAGE */
.contact-bg{
  position:absolute;
  inset:0;
}

.contact-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* FORM CARD */
.contact-card{
  position:absolute;
  top:50%;
  left:80px;
  transform:translateY(-50%);

  width:420px;
  padding:50px;

  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(10px);
}

/* TITLE */
.contact-card h2{
  font-size:48px;
  font-weight:300;
  color:#2f2f2f;
  margin-bottom:20px;
}

/* LINE */
.line{
  width:100%;
  height:1px;
  background:#999;
  margin-bottom:30px;
}

/* ROW (FIRST + LAST NAME) */
.row{
  display:flex;
  gap:20px;
}

/* INPUTS */
.contact-card input,
.contact-card textarea{
  width:100%;
  border:none;
  border-bottom:1px solid #aaa;
  background:transparent;
  padding:12px 0;
  margin-bottom:25px;
  font-size:14px;
  outline:none;
}

/* TEXTAREA */
.contact-card textarea{
  resize:none;
  height:80px;
}












/* ===================== */
/* FOOTER EXACT STYLE */
/* ===================== */

.footer{
  background:#f5f5f5;
  padding:60px 70px 30px;
}

/* TOP NAME */
.footer-top h2{
  font-size:24px;
  font-weight:400;
  color:#000000;
  margin-bottom:30px;
}

/* TOP LINE */
.footer-line{
  width:100%;
  height:1px;
  background:#000000;
  opacity:0.2;
}

/* GRID */
.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  margin-top:40px;
}

/* COLUMNS */
.footer-col{
  padding:40px 30px;
}

/* VERTICAL LINES */
.footer-col:nth-child(2){
  border-left:1px solid rgb(0, 0, 0);
  border-right:1px solid rgb(0, 0, 0);
}

/* ===================== */
/* SOCIAL ICONS */
/* ===================== */

.socials{
  display:flex;
  gap:15px;
}

/* BASE STYLE */
.socials a{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;
  font-size:16px;

  color:#fff;
  transition:0.35s ease;
}

/* FACEBOOK */
.socials a:nth-child(3){
  background:#1877F2;
}

/* INSTAGRAM */
.socials a:nth-child(2){
  background:linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

/* LINKEDIN */
.socials a:nth-child(1){
  background:#0077B5;
}


.socials a:hover{
  transform:translateY(-6px) scale(1.1);
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
}
















/* TEXT */
.footer-col p{
  font-size:14px;
  color:#000000;
  margin-bottom:10px;
}

/* CENTER ALIGN */
.center{
  display:flex;
  align-items:center;
}

/* BOTTOM */
.footer-bottom{
  text-align:center;
  margin-top:40px;
}

.footer-bottom p{
  font-size:14px;
  color:#666;
}

/* CLICKABLE LINKS */
.footer-link{
    margin-top: 10px;
  display:block;
  font-size:14px;
  color:#000000;
  text-decoration:none;
  margin-bottom:10px;

  transition:0.3s ease;
}

/* HOVER EFFECT */
.footer-link:hover{
  transform:scale(1.08);   /* grow */
  color:#000;
}











/* ===================== */
/* POPUP */
/* ===================== */

.popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.4);

  display:flex;
  align-items:center;
  justify-content:center;

  opacity:0;
  pointer-events:none;

  transition:0.3s ease;
}

/* ACTIVE */
.popup.active{
  opacity:1;
  pointer-events:auto;
}

/* BOX */
.popup-box{
  width:400px;
  padding:40px;

  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);

  text-align:center;
  border-radius:12px;

  transform:scale(0.9);
  transition:0.3s ease;
}

/* SCALE IN */
.popup.active .popup-box{
  transform:scale(1);
}

/* TITLE */
.popup-box h3{
  font-size:22px;
  margin-bottom:20px;
  color:#2f2f2f;
}

/* TEXT */
.popup-box p{
  font-size:14px;
  color:#555;
  line-height:1.6;
  margin-bottom:30px;
}

/* BUTTON */
.popup-box button{
  padding:10px 25px;
  border-radius:999px;
  border:1px solid #ccc;
  background:transparent;
  cursor:pointer;
}

/* TRIGGER STYLE */
.popup-trigger{
  cursor:pointer;
  transition:0.3s;
}

.popup-trigger:hover{
  color:#000;
}
























section{
  position:relative;
}

/* LINE BETWEEN SECTIONS */
section::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:1px;
  background:#000;
  opacity:0.2;
}





/* Disable selection everywhere */
*{
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}




/* ===================== */
/* MENU OVERLAY */
/* ===================== */

.menu-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.3);

  opacity:0;
  pointer-events:none;

  transition:0.4s ease;
  z-index:999;
}

/* ACTIVE */
.menu-overlay.active{
  opacity:1;
  pointer-events:auto;
}

/* PANEL */
.menu-panel{
  position:absolute;
  top:0;
  right:0;

  width:50%;              /* stops at center */
  height:100%;

  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(20px);

  padding:60px;

  transform:translateX(100%);
  transition:0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

/* SLIDE IN */
.menu-overlay.active .menu-panel{
  transform:translateX(0);
}

/* HEADER */
.menu-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:60px;
}

.menu-header span{
  font-size:18px;
  color:#2f2f2f;
}

.menu-header button{
  font-size:20px;
  background:none;
  border:none;
  cursor:pointer;
}

/* LINKS */
.menu-links{
  display:flex;
  flex-direction:column;
  gap:25px;
}

/* LINKS STYLE */
.menu-links a{
  font-size:32px;
  font-weight:300;
  text-decoration:none;
  color:#2f2f2f;

  transition:0.3s ease;
}

/* HOVER EFFECT */
.menu-links a:hover{
  transform:translateX(10px);
  opacity:0.6;
}



